
sftp_request * fxp_realpath_send(char *path)

{
  sftp_request *psVar1;
  sftp_packet *pkt;
  
  psVar1 = sftp_alloc_request();
  pkt = sftp_pkt_init(0x10);
  sftp_pkt_adduint32(pkt,(ulong)psVar1->id);
  sftp_pkt_addstring_start(pkt);
  sftp_pkt_addstring_str(pkt,path);
  sftp_send(pkt);
  return psVar1;
}



undefined4 * FUN_0011c5d0(undefined8 param_1)

{
  undefined4 *puVar1;
  undefined8 uVar2;
  
  puVar1 = (undefined4 *)FUN_0011bdc0();
  uVar2 = FUN_0011bbab(0x10);
  FUN_0011bb4b(uVar2,*puVar1);
  FUN_0011bc36(uVar2);
  FUN_0011bed4(uVar2,param_1);
  FUN_0011c247(uVar2);
  return puVar1;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV R12,RDI
CALL 0x0011bdc0
MOV RBP,RAX
MOV EDI,0x10
CALL 0x0011bbab
MOV RBX,RAX
MOV ESI,dword ptr [RBP]
MOV RDI,RAX
CALL 0x0011bb4b
MOV RDI,RBX
CALL 0x0011bc36
MOV RSI,R12
MOV RDI,RBX
CALL 0x0011bed4
MOV RDI,RBX
CALL 0x0011c247
MOV RAX,RBP
POP RBX
POP RBP
POP R12
RET
(translation_unit "undefined4 * FUN_0011c5d0(undefined8 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_0011c5d0(undefined8 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_0011c5d0(undefined8 param_1)" * (function_declarator "FUN_0011c5d0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_0011bdc0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0011bdc0()" identifier = (cast_expression "(undefined4 *)FUN_0011bdc0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0011bdc0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "uVar2 = FUN_0011bbab(0x10);" (assignment_expression "uVar2 = FUN_0011bbab(0x10)" identifier = (call_expression "FUN_0011bbab(0x10)" identifier (argument_list "(0x10)" ( number_literal )))) ;) (expression_statement "FUN_0011bb4b(uVar2,*puVar1);" (call_expression "FUN_0011bb4b(uVar2,*puVar1)" identifier (argument_list "(uVar2,*puVar1)" ( identifier , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "FUN_0011bc36(uVar2);" (call_expression "FUN_0011bc36(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_0011bed4(uVar2,param_1);" (call_expression "FUN_0011bed4(uVar2,param_1)" identifier (argument_list "(uVar2,param_1)" ( identifier , identifier ))) ;) (expression_statement "FUN_0011c247(uVar2);" (call_expression "FUN_0011c247(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "sftp_request * fxp_realpath_send(char *path)\n\n{\n  sftp_request *psVar1;\n  sftp_packet *pkt;\n  \n  psVar1 = sftp_alloc_request();\n  pkt = sftp_pkt_init(0x10);\n  sftp_pkt_adduint32(pkt,(ulong)psVar1->id);\n  sftp_pkt_addstring_start(pkt);\n  sftp_pkt_addstring_str(pkt,path);\n  sftp_send(pkt);\n  return psVar1;\n}\n\n" (function_definition "sftp_request * fxp_realpath_send(char *path)\n\n{\n  sftp_request *psVar1;\n  sftp_packet *pkt;\n  \n  psVar1 = sftp_alloc_request();\n  pkt = sftp_pkt_init(0x10);\n  sftp_pkt_adduint32(pkt,(ulong)psVar1->id);\n  sftp_pkt_addstring_start(pkt);\n  sftp_pkt_addstring_str(pkt,path);\n  sftp_send(pkt);\n  return psVar1;\n}" type_identifier (pointer_declarator "* fxp_realpath_send(char *path)" * (function_declarator "fxp_realpath_send(char *path)" identifier (parameter_list "(char *path)" ( (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) )))) (compound_statement "{\n  sftp_request *psVar1;\n  sftp_packet *pkt;\n  \n  psVar1 = sftp_alloc_request();\n  pkt = sftp_pkt_init(0x10);\n  sftp_pkt_adduint32(pkt,(ulong)psVar1->id);\n  sftp_pkt_addstring_start(pkt);\n  sftp_pkt_addstring_str(pkt,path);\n  sftp_send(pkt);\n  return psVar1;\n}" { (declaration "sftp_request *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "sftp_packet *pkt;" type_identifier (pointer_declarator "*pkt" * identifier) ;) (expression_statement "psVar1 = sftp_alloc_request();" (assignment_expression "psVar1 = sftp_alloc_request()" identifier = (call_expression "sftp_alloc_request()" identifier (argument_list "()" ( )))) ;) (expression_statement "pkt = sftp_pkt_init(0x10);" (assignment_expression "pkt = sftp_pkt_init(0x10)" identifier = (call_expression "sftp_pkt_init(0x10)" identifier (argument_list "(0x10)" ( number_literal )))) ;) (expression_statement "sftp_pkt_adduint32(pkt,(ulong)psVar1->id);" (call_expression "sftp_pkt_adduint32(pkt,(ulong)psVar1->id)" identifier (argument_list "(pkt,(ulong)psVar1->id)" ( identifier , (cast_expression "(ulong)psVar1->id" ( (type_descriptor "ulong" type_identifier) ) (field_expression "psVar1->id" identifier -> field_identifier)) ))) ;) (expression_statement "sftp_pkt_addstring_start(pkt);" (call_expression "sftp_pkt_addstring_start(pkt)" identifier (argument_list "(pkt)" ( identifier ))) ;) (expression_statement "sftp_pkt_addstring_str(pkt,path);" (call_expression "sftp_pkt_addstring_str(pkt,path)" identifier (argument_list "(pkt,path)" ( identifier , identifier ))) ;) (expression_statement "sftp_send(pkt);" (call_expression "sftp_send(pkt)" identifier (argument_list "(pkt)" ( identifier ))) ;) (return_statement "return psVar1;" return identifier ;) })))
(translation_unit "undefined4 * FUN_0011c5d0(undefined8 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_0011c5d0(undefined8 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_0011c5d0(undefined8 param_1)" * (function_declarator "FUN_0011c5d0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_0011bdc0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0011bdc0()" identifier = (cast_expression "(undefined4 *)FUN_0011bdc0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0011bdc0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "uVar2 = FUN_0011bbab(0x10);" (assignment_expression "uVar2 = FUN_0011bbab(0x10)" identifier = (call_expression "FUN_0011bbab(0x10)" identifier (argument_list "(0x10)" ( number_literal )))) ;) (expression_statement "FUN_0011bb4b(uVar2,*puVar1);" (call_expression "FUN_0011bb4b(uVar2,*puVar1)" identifier (argument_list "(uVar2,*puVar1)" ( identifier , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "FUN_0011bc36(uVar2);" (call_expression "FUN_0011bc36(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_0011bed4(uVar2,param_1);" (call_expression "FUN_0011bed4(uVar2,param_1)" identifier (argument_list "(uVar2,param_1)" ( identifier , identifier ))) ;) (expression_statement "FUN_0011c247(uVar2);" (call_expression "FUN_0011c247(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_0011c5d0(undefined8 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_0011c5d0(undefined8 param_1)" (* "*") (function_declarator "FUN_0011c5d0(undefined8 param_1)" (identifier "FUN_0011c5d0") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0011bdc0();\n  uVar2 = FUN_0011bbab(0x10);\n  FUN_0011bb4b(uVar2,*puVar1);\n  FUN_0011bc36(uVar2);\n  FUN_0011bed4(uVar2,param_1);\n  FUN_0011c247(uVar2);\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_0011bdc0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0011bdc0()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0011bdc0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0011bdc0()" (identifier "FUN_0011bdc0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar2 = FUN_0011bbab(0x10);" (assignment_expression "uVar2 = FUN_0011bbab(0x10)" (identifier "uVar2") (= "=") (call_expression "FUN_0011bbab(0x10)" (identifier "FUN_0011bbab") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")")))) (; ";")) (expression_statement "FUN_0011bb4b(uVar2,*puVar1);" (call_expression "FUN_0011bb4b(uVar2,*puVar1)" (identifier "FUN_0011bb4b") (argument_list "(uVar2,*puVar1)" (( "(") (identifier "uVar2") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (expression_statement "FUN_0011bc36(uVar2);" (call_expression "FUN_0011bc36(uVar2)" (identifier "FUN_0011bc36") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_0011bed4(uVar2,param_1);" (call_expression "FUN_0011bed4(uVar2,param_1)" (identifier "FUN_0011bed4") (argument_list "(uVar2,param_1)" (( "(") (identifier "uVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_0011c247(uVar2);" (call_expression "FUN_0011c247(uVar2)" (identifier "FUN_0011c247") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

type_1 * function_1(char *path)

{
  type_1 *psVar1;
  type_2 *pkt;
  
  psVar1 = var_1();
  pkt = var_2(0x10);
  var_3(pkt,(type_3)psVar1->id);
  var_4(pkt);
  var_5(pkt,path);
  var_6(pkt);
  return psVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

undefined4 * MASKED(undefined8 param_1)

{
  undefined4 *puVar1;
  undefined8 uVar2;
  
  puVar1 = (undefined4 *)FUN_0011bdc0();
  uVar2 = FUN_0011bbab(0x10);
  FUN_0011bb4b(uVar2,*puVar1);
  FUN_0011bc36(uVar2);
  FUN_0011bed4(uVar2,param_1);
  FUN_0011c247(uVar2);
  return puVar1;
}

