
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 print_vms_time(bfd_int64_t vmstime)

{
  uint in_EAX;
  tm *ptVar1;
  int in_EDX;
  time_t unxtime;
  undefined4 uStack_8;
  
  uStack_8 = 0x1fc36;
  unxtime = __divdi3(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0
                    );
  ptVar1 = gmtime(&unxtime);
  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,
         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 FUN_0001fc30(uint param_1,int param_2)

{
  tm *ptVar1;
  time_t local_10 [2];
  undefined4 uStack_8;
  
  uStack_8 = 0x1fc36;
  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)
                             ,10000000,0);
  ptVar1 = gmtime(local_10);
  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,
         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);
  return;
}


PUSH EBX
CALL 0x00013f70
ADD EBX,0x943ca
SUB ESP,0x18
ADD EAX,0xb414c000
ADC EDX,0xff836a98
PUSH 0x0
PUSH 0x989680
PUSH EDX
PUSH EAX
CALL 0x0006b2c0
POP EDX
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[ESP + 0x18]
PUSH EAX
CALL 0x000132a0
ADD ESP,0xc
PUSH dword ptr [EAX]
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [EAX + 0xc]
MOV ECX,dword ptr [EAX + 0x10]
LEA EDX,[ECX + 0x1]
PUSH EDX
MOV EAX,dword ptr [EAX + 0x14]
ADD EAX,0x76c
PUSH EAX
LEA EAX,[EBX + 0xfffc2afd]
PUSH EAX
CALL 0x00013060
ADD ESP,0x38
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001fc30(uint param_1,int param_2)\n\n{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0001fc30(uint param_1,int param_2)\n\n{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001fc30(uint param_1,int param_2)" identifier (parameter_list "(uint param_1,int param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" { (declaration "tm *ptVar1;" type_identifier (pointer_declarator "*ptVar1" * identifier) ;) (declaration "time_t local_10 [2];" type_identifier (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1fc36;" (assignment_expression "uStack_8 = 0x1fc36" identifier = number_literal) ;) (expression_statement "local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);" (assignment_expression "local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (call_expression "FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" identifier (argument_list "(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" ( (binary_expression "param_1 + 0xb414c000" identifier + number_literal) , (binary_expression "param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)" (binary_expression "param_2 + -0x7c9568" identifier + number_literal) + (call_expression "(uint)(0x4beb3fff < param_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x4beb3fff < param_1)" ( (binary_expression "0x4beb3fff < param_1" number_literal < identifier) )))) , number_literal , number_literal )))) ;) (expression_statement "ptVar1 = gmtime(local_10);" (assignment_expression "ptVar1 = gmtime(local_10)" identifier = (call_expression "gmtime(local_10)" identifier (argument_list "(local_10)" ( identifier )))) ;) (expression_statement "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);" (call_expression "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" identifier (argument_list "("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" ( (string_literal ""%04u-%02u-%02uT%02u:%02u:%02u"" " string_content ") , (binary_expression "ptVar1->tm_year + 0x76c" (field_expression "ptVar1->tm_year" identifier -> field_identifier) + number_literal) , (binary_expression "ptVar1->tm_mon + 1" (field_expression "ptVar1->tm_mon" identifier -> field_identifier) + number_literal) , (field_expression "ptVar1->tm_mday" identifier -> field_identifier) , (field_expression "ptVar1->tm_hour" identifier -> field_identifier) , (field_expression "ptVar1->tm_min" identifier -> field_identifier) , (field_expression "ptVar1->tm_sec" identifier -> field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 print_vms_time(bfd_int64_t vmstime)\n\n{\n  uint in_EAX;\n  tm *ptVar1;\n  int in_EDX;\n  time_t unxtime;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  unxtime = __divdi3(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0\n                    );\n  ptVar1 = gmtime(&unxtime);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}\n\n" comment (function_definition "void __regparm3 print_vms_time(bfd_int64_t vmstime)\n\n{\n  uint in_EAX;\n  tm *ptVar1;\n  int in_EDX;\n  time_t unxtime;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  unxtime = __divdi3(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0\n                    );\n  ptVar1 = gmtime(&unxtime);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "print_vms_time(bfd_int64_t vmstime)" identifier (parameter_list "(bfd_int64_t vmstime)" ( (parameter_declaration "bfd_int64_t vmstime" type_identifier identifier) ))) (compound_statement "{\n  uint in_EAX;\n  tm *ptVar1;\n  int in_EDX;\n  time_t unxtime;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  unxtime = __divdi3(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0\n                    );\n  ptVar1 = gmtime(&unxtime);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" { (declaration "uint in_EAX;" type_identifier identifier ;) (declaration "tm *ptVar1;" type_identifier (pointer_declarator "*ptVar1" * identifier) ;) (declaration "int in_EDX;" primitive_type identifier ;) (declaration "time_t unxtime;" type_identifier identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1fc36;" (assignment_expression "uStack_8 = 0x1fc36" identifier = number_literal) ;) (expression_statement "unxtime = __divdi3(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0\n                    );" (assignment_expression "unxtime = __divdi3(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0\n                    )" identifier = (call_expression "__divdi3(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0\n                    )" identifier (argument_list "(in_EAX + 0xb414c000,in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX),10000000,0\n                    )" ( (binary_expression "in_EAX + 0xb414c000" identifier + number_literal) , (binary_expression "in_EDX + -0x7c9568 + (uint)(0x4beb3fff < in_EAX)" (binary_expression "in_EDX + -0x7c9568" identifier + number_literal) + (call_expression "(uint)(0x4beb3fff < in_EAX)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x4beb3fff < in_EAX)" ( (binary_expression "0x4beb3fff < in_EAX" number_literal < identifier) )))) , number_literal , number_literal )))) ;) (expression_statement "ptVar1 = gmtime(&unxtime);" (assignment_expression "ptVar1 = gmtime(&unxtime)" identifier = (call_expression "gmtime(&unxtime)" identifier (argument_list "(&unxtime)" ( (pointer_expression "&unxtime" & identifier) )))) ;) (expression_statement "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);" (call_expression "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" identifier (argument_list "("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" ( (string_literal ""%04u-%02u-%02uT%02u:%02u:%02u"" " string_content ") , (binary_expression "ptVar1->tm_year + 0x76c" (field_expression "ptVar1->tm_year" identifier -> field_identifier) + number_literal) , (binary_expression "ptVar1->tm_mon + 1" (field_expression "ptVar1->tm_mon" identifier -> field_identifier) + number_literal) , (field_expression "ptVar1->tm_mday" identifier -> field_identifier) , (field_expression "ptVar1->tm_hour" identifier -> field_identifier) , (field_expression "ptVar1->tm_min" identifier -> field_identifier) , (field_expression "ptVar1->tm_sec" identifier -> field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001fc30(uint param_1,int param_2)\n\n{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001fc30(uint param_1,int param_2)\n\n{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001fc30(uint param_1,int param_2)" identifier (parameter_list "(uint param_1,int param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" { (declaration "tm *ptVar1;" type_identifier (pointer_declarator "*ptVar1" * identifier) ;) (declaration "time_t local_10 [2];" type_identifier (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1fc36;" (assignment_expression "uStack_8 = 0x1fc36" identifier = number_literal) ;) (expression_statement "local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);" (assignment_expression "local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (call_expression "FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" identifier (argument_list "(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" ( (binary_expression "param_1 + 0xb414c000" identifier + number_literal) , (binary_expression "param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)" (binary_expression "param_2 + -0x7c9568" identifier + number_literal) + (call_expression "(uint)(0x4beb3fff < param_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x4beb3fff < param_1)" ( (binary_expression "0x4beb3fff < param_1" number_literal < identifier) )))) , number_literal , number_literal )))) ;) (expression_statement "ptVar1 = gmtime(local_10);" (assignment_expression "ptVar1 = gmtime(local_10)" identifier = (call_expression "gmtime(local_10)" identifier (argument_list "(local_10)" ( identifier )))) ;) (expression_statement "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);" (call_expression "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" identifier (argument_list "("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" ( (string_literal ""%04u-%02u-%02uT%02u:%02u:%02u"" " string_content ") , (binary_expression "ptVar1->tm_year + 0x76c" (field_expression "ptVar1->tm_year" identifier -> field_identifier) + number_literal) , (binary_expression "ptVar1->tm_mon + 1" (field_expression "ptVar1->tm_mon" identifier -> field_identifier) + number_literal) , (field_expression "ptVar1->tm_mday" identifier -> field_identifier) , (field_expression "ptVar1->tm_hour" identifier -> field_identifier) , (field_expression "ptVar1->tm_min" identifier -> field_identifier) , (field_expression "ptVar1->tm_sec" identifier -> field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression (binary_expression IDENT + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) )))) , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (binary_expression (field_expression IDENT -> field_identifier) + LIT) , (binary_expression (field_expression IDENT -> field_identifier) + LIT) , (field_expression IDENT -> field_identifier) , (field_expression IDENT -> field_identifier) , (field_expression IDENT -> field_identifier) , (field_expression IDENT -> field_identifier) ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001fc30(uint param_1,int param_2)\n\n{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001fc30(uint param_1,int param_2)" (identifier "FUN_0001fc30") (parameter_list "(uint param_1,int param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  tm *ptVar1;\n  time_t local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1fc36;\n  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);\n  ptVar1 = gmtime(local_10);\n  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);\n  return;\n}" ({ "{") (declaration "tm *ptVar1;" (type_identifier "tm") (pointer_declarator "*ptVar1" (* "*") (identifier "ptVar1")) (; ";")) (declaration "time_t local_10 [2];" (type_identifier "time_t") (array_declarator "local_10 [2]" (identifier "local_10") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0x1fc36;" (assignment_expression "uStack_8 = 0x1fc36" (identifier "uStack_8") (= "=") (number_literal "0x1fc36")) (; ";")) (expression_statement "local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0);" (assignment_expression "local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (= "=") (call_expression "FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" (identifier "FUN_0006b2c0") (argument_list "(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)\n                             ,10000000,0)" (( "(") (binary_expression "param_1 + 0xb414c000" (identifier "param_1") (+ "+") (number_literal "0xb414c000")) (, ",") (binary_expression "param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)" (binary_expression "param_2 + -0x7c9568" (identifier "param_2") (+ "+") (number_literal "-0x7c9568")) (+ "+") (call_expression "(uint)(0x4beb3fff < param_1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x4beb3fff < param_1)" (( "(") (binary_expression "0x4beb3fff < param_1" (number_literal "0x4beb3fff") (< "<") (identifier "param_1")) () ")")))) (, ",") (number_literal "10000000") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "ptVar1 = gmtime(local_10);" (assignment_expression "ptVar1 = gmtime(local_10)" (identifier "ptVar1") (= "=") (call_expression "gmtime(local_10)" (identifier "gmtime") (argument_list "(local_10)" (( "(") (identifier "local_10") () ")")))) (; ";")) (expression_statement "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);" (call_expression "printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" (identifier "printf") (argument_list "("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,\n         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec)" (( "(") (string_literal ""%04u-%02u-%02uT%02u:%02u:%02u"" (" """) (string_content "%04u-%02u-%02uT%02u:%02u:%02u") (" """)) (, ",") (binary_expression "ptVar1->tm_year + 0x76c" (field_expression "ptVar1->tm_year" (identifier "ptVar1") (-> "->") (field_identifier "tm_year")) (+ "+") (number_literal "0x76c")) (, ",") (binary_expression "ptVar1->tm_mon + 1" (field_expression "ptVar1->tm_mon" (identifier "ptVar1") (-> "->") (field_identifier "tm_mon")) (+ "+") (number_literal "1")) (, ",") (field_expression "ptVar1->tm_mday" (identifier "ptVar1") (-> "->") (field_identifier "tm_mday")) (, ",") (field_expression "ptVar1->tm_hour" (identifier "ptVar1") (-> "->") (field_identifier "tm_hour")) (, ",") (field_expression "ptVar1->tm_min" (identifier "ptVar1") (-> "->") (field_identifier "tm_min")) (, ",") (field_expression "ptVar1->tm_sec" (identifier "ptVar1") (-> "->") (field_identifier "tm_sec")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(type_1 vmstime)

{
  type_2 var_2;
  type_3 *ptVar1;
  int var_3;
  type_4 unxtime;
  type_5 uStack_8;
  
  uStack_8 = 0x1fc36;
  unxtime = var_1(var_2 + 0xb414c000,var_3 + -0x7c9568 + (type_2)(0x4beb3fff < var_2),10000000,0
                    );
  ptVar1 = var_4(&unxtime);
  var_5("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,
         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier))))) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal)) (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal)) (field_expression argument: (identifier) field: (field_identifier)) (field_expression argument: (identifier) field: (field_identifier)) (field_expression argument: (identifier) field: (field_identifier)) (field_expression argument: (identifier) field: (field_identifier))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 MASKED(uint param_1,int param_2)

{
  tm *ptVar1;
  time_t local_10 [2];
  undefined4 uStack_8;
  
  uStack_8 = 0x1fc36;
  local_10[0] = FUN_0006b2c0(param_1 + 0xb414c000,param_2 + -0x7c9568 + (uint)(0x4beb3fff < param_1)
                             ,10000000,0);
  ptVar1 = gmtime(local_10);
  printf("%04u-%02u-%02uT%02u:%02u:%02u",ptVar1->tm_year + 0x76c,ptVar1->tm_mon + 1,ptVar1->tm_mday,
         ptVar1->tm_hour,ptVar1->tm_min,ptVar1->tm_sec);
  return;
}

