
uchar * unw_decode_x3(uchar *dp,uint code,void *arg)

{
  byte *pbVar1;
  byte bVar2;
  uint uVar3;
  byte bVar4;
  uint uVar5;
  byte *pbVar6;
  int unaff_EDI;
  undefined8 uVar8;
  uint local_64;
  char regname [20];
  byte *pbVar7;
  
  uVar8 = __x86_get_pc_thunk_di();
  pbVar1 = (byte *)uVar8;
  bVar4 = pbVar1[2];
  uVar3 = bVar4 & 0x7f;
  bVar2 = 0;
  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);
  while ((char)bVar4 < '\0') {
    bVar4 = *pbVar7;
    bVar2 = bVar2 + 7;
    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);
    if ((bVar2 & 0x20) != 0) {
      uVar5 = 0;
    }
    uVar3 = uVar5 | uVar3;
    pbVar7 = pbVar7 + 1;
  }
  pbVar6 = pbVar7 + 1;
  local_64 = *pbVar7 & 0x7f;
  if ((char)*pbVar7 < '\0') {
    bVar4 = 0;
    pbVar7 = pbVar6;
    do {
      pbVar6 = pbVar7 + 1;
      bVar2 = *pbVar7;
      bVar4 = bVar4 + 7;
      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);
      if ((bVar4 & 0x20) != 0) {
        uVar5 = 0;
      }
      local_64 = uVar5 | local_64;
      pbVar7 = pbVar6;
    } while ((char)bVar2 < '\0');
  }
  uVar5 = *pbVar1 & 0x3f;
  if ((char)*pbVar1 < '\0') {
    unw_print_abreg(regname,pbVar1[1] & 0x7f);
    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);
    return pbVar6;
  }
  unw_print_abreg(regname,pbVar1[1] & 0x7f);
  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);
  return pbVar6;
}



byte * FUN_0004b510(void)

{
  byte bVar1;
  byte bVar2;
  uint uVar3;
  byte bVar4;
  uint uVar5;
  byte *pbVar6;
  int unaff_EDI;
  undefined8 uVar8;
  uint local_64;
  undefined1 local_30 [32];
  byte *pbVar7;
  
  uVar8 = FUN_0004ab85();
  bVar1 = *(byte *)uVar8;
  bVar4 = ((byte *)uVar8)[2];
  uVar3 = bVar4 & 0x7f;
  bVar2 = 0;
  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);
  while ((char)bVar4 < '\0') {
    bVar4 = *pbVar7;
    bVar2 = bVar2 + 7;
    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);
    if ((bVar2 & 0x20) != 0) {
      uVar5 = 0;
    }
    uVar3 = uVar5 | uVar3;
    pbVar7 = pbVar7 + 1;
  }
  pbVar6 = pbVar7 + 1;
  local_64 = *pbVar7 & 0x7f;
  if ((char)*pbVar7 < '\0') {
    bVar4 = 0;
    pbVar7 = pbVar6;
    do {
      pbVar6 = pbVar7 + 1;
      bVar2 = *pbVar7;
      bVar4 = bVar4 + 7;
      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);
      if ((bVar4 & 0x20) != 0) {
        uVar5 = 0;
      }
      local_64 = uVar5 | local_64;
      pbVar7 = pbVar6;
    } while ((char)bVar2 < '\0');
  }
  uVar5 = bVar1 & 0x3f;
  if ((char)bVar1 < '\0') {
    FUN_0004b2e0();
    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);
    return pbVar6;
  }
  FUN_0004b2e0();
  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);
  return pbVar6;
}


PUSH EBP
LEA EDX,[EAX + 0x3]
PUSH EDI
CALL 0x0004ab85
ADD EDI,0x68ae6
PUSH ESI
PUSH EBX
SUB ESP,0x5c
MOVZX EBX,byte ptr [EAX]
MOV dword ptr [ESP + 0x14],0x0
MOV byte ptr [ESP + 0x27],BL
MOVZX EBX,byte ptr [EAX + 0x1]
MOVZX EAX,byte ptr [EAX + 0x2]
MOV dword ptr [ESP + 0x2c],EDI
MOV byte ptr [ESP + 0x28],BL
MOV ECX,EAX
AND ECX,0x7f
MOV dword ptr [ESP + 0x10],ECX
XOR ECX,ECX
TEST AL,AL
JNS 0x0004b5a1
LEA ESI,[ESI]
NOP
ADD EDX,0x1
MOVZX EAX,byte ptr [EDX + -0x1]
ADD ECX,0x7
XOR EDI,EDI
XOR EBX,EBX
MOV EBP,dword ptr [ESP + 0x14]
MOV ESI,EAX
AND ESI,0x7f
SHLD EDI,ESI,CL
SHL ESI,CL
TEST CL,0x20
CMOVNZ EDI,ESI
CMOVNZ ESI,EBX
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x8],ESI
MOV ESI,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x8]
OR ESI,EBP
OR EBX,EDI
MOV dword ptr [ESP + 0x14],ESI
MOV dword ptr [ESP + 0x10],EBX
TEST AL,AL
JS 0x0004b558
MOVZX EAX,byte ptr [EDX]
LEA ESI,[EDX + 0x1]
MOV dword ptr [ESP + 0xc],0x0
MOV EDX,EAX
AND EDX,0x7f
MOV dword ptr [ESP + 0x8],EDX
TEST AL,AL
JNS 0x0004b60d
XOR EBX,EBX
NOP
ADD ESI,0x1
MOVZX EAX,byte ptr [ESI + -0x1]
ADD EBX,0x7
XOR EBP,EBP
MOV ECX,EBX
MOV EDX,EAX
AND EDX,0x7f
MOV EDI,EDX
SHLD EBP,EDX,CL
XOR EDX,EDX
SHL EDI,CL
TEST BL,0x20
CMOVNZ EBP,EDI
CMOVNZ EDI,EDX
MOV dword ptr [ESP + 0x1c],EBP
MOV EBP,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x18],EDI
MOV ECX,dword ptr [ESP + 0x1c]
MOV EDI,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0x18]
OR ECX,EBP
OR EDX,EDI
MOV dword ptr [ESP + 0xc],ECX
MOV dword ptr [ESP + 0x8],EDX
TEST AL,AL
JS 0x0004b5c0
MOVZX EAX,byte ptr [ESP + 0x27]
MOV EDX,dword ptr [ESP + 0x28]
LEA EBP,[ESP + 0x3c]
MOV EDI,dword ptr [ESP + 0x8]
MOV EBX,EAX
AND EDX,0x7f
SHL EDI,0x2
AND EBX,0x3f
TEST AL,AL
MOV EAX,EBP
JS 0x0004b668
CALL 0x0004b2e0
SUB ESP,0x8
PUSH EDI
PUSH EBP
PUSH dword ptr [ESP + 0x20]
PUSH EBX
MOV EBX,dword ptr [ESP + 0x44]
LEA EAX,[EBX + 0xfffda682]
PUSH EAX
LEA EAX,[EBX + 0xfffda92c]
PUSH EAX
CALL 0x00013060
ADD ESP,0x20
MOV EAX,ESI
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x0004b2e0
SUB ESP,0x8
PUSH EDI
PUSH EBP
PUSH dword ptr [ESP + 0x20]
PUSH EBX
MOV EBX,dword ptr [ESP + 0x44]
LEA EAX,[EBX + 0xfffda682]
PUSH EAX
LEA EAX,[EBX + 0xfffda8f8]
PUSH EAX
CALL 0x00013060
ADD ESP,0x20
MOV EAX,ESI
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "byte * FUN_0004b510(void)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}\n\n" (function_definition "byte * FUN_0004b510(void)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}" type_identifier (pointer_declarator "* FUN_0004b510(void)" * (function_declarator "FUN_0004b510(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint local_64;" type_identifier identifier ;) (declaration "undefined1 local_30 [32];" type_identifier (array_declarator "local_30 [32]" identifier [ number_literal ]) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (expression_statement "uVar8 = FUN_0004ab85();" (assignment_expression "uVar8 = FUN_0004ab85()" identifier = (call_expression "FUN_0004ab85()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = *(byte *)uVar8;" (assignment_expression "bVar1 = *(byte *)uVar8" identifier = (pointer_expression "*(byte *)uVar8" * (cast_expression "(byte *)uVar8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar4 = ((byte *)uVar8)[2];" (assignment_expression "bVar4 = ((byte *)uVar8)[2]" identifier = (subscript_expression "((byte *)uVar8)[2]" (parenthesized_expression "((byte *)uVar8)" ( (cast_expression "(byte *)uVar8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ])) ;) (expression_statement "uVar3 = bVar4 & 0x7f;" (assignment_expression "uVar3 = bVar4 & 0x7f" identifier = (binary_expression "bVar4 & 0x7f" identifier & number_literal)) ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);" (assignment_expression "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(byte *)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (while_statement "while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" while (parenthesized_expression "((char)bVar4 < '\0')" ( (binary_expression "(char)bVar4 < '\0'" (cast_expression "(char)bVar4" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" { (expression_statement "bVar4 = *pbVar7;" (assignment_expression "bVar4 = *pbVar7" identifier = (pointer_expression "*pbVar7" * identifier)) ;) (expression_statement "bVar2 = bVar2 + 7;" (assignment_expression "bVar2 = bVar2 + 7" identifier = (binary_expression "bVar2 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);" (assignment_expression "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f)" identifier = (binary_expression "(bVar4 & 0x7f) << (bVar2 & 0x1f)" (parenthesized_expression "(bVar4 & 0x7f)" ( (binary_expression "bVar4 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }" if (parenthesized_expression "((bVar2 & 0x20) != 0)" ( (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" ( (binary_expression "bVar2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar5 = 0;\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar3 = uVar5 | uVar3;" (assignment_expression "uVar3 = uVar5 | uVar3" identifier = (binary_expression "uVar5 | uVar3" identifier | identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = *pbVar7 & 0x7f;" (assignment_expression "local_64 = *pbVar7 & 0x7f" identifier = (binary_expression "*pbVar7 & 0x7f" (pointer_expression "*pbVar7" * identifier) & number_literal)) ;) (if_statement "if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" if (parenthesized_expression "((char)*pbVar7 < '\0')" ( (binary_expression "(char)*pbVar7 < '\0'" (cast_expression "(char)*pbVar7" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar7" * identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" { (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) (do_statement "do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');" do (compound_statement "{\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    }" { (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar7;" (assignment_expression "bVar2 = *pbVar7" identifier = (pointer_expression "*pbVar7" * identifier)) ;) (expression_statement "bVar4 = bVar4 + 7;" (assignment_expression "bVar4 = bVar4 + 7" identifier = (binary_expression "bVar4 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);" (assignment_expression "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f)" identifier = (binary_expression "(bVar2 & 0x7f) << (bVar4 & 0x1f)" (parenthesized_expression "(bVar2 & 0x7f)" ( (binary_expression "bVar2 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }" if (parenthesized_expression "((bVar4 & 0x20) != 0)" ( (binary_expression "(bVar4 & 0x20) != 0" (parenthesized_expression "(bVar4 & 0x20)" ( (binary_expression "bVar4 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar5 = 0;\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "local_64 = uVar5 | local_64;" (assignment_expression "local_64 = uVar5 | local_64" identifier = (binary_expression "uVar5 | local_64" identifier | identifier)) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) }) while (parenthesized_expression "((char)bVar2 < '\0')" ( (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "uVar5 = bVar1 & 0x3f;" (assignment_expression "uVar5 = bVar1 & 0x3f" identifier = (binary_expression "bVar1 & 0x3f" identifier & number_literal)) ;) (if_statement "if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }" if (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }" { (expression_statement "FUN_0004b2e0();" (call_expression "FUN_0004b2e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" identifier (argument_list "((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" ( (cast_expression "(char *)(unaff_EDI + 0x433de)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x433de)" ( (binary_expression "unaff_EDI + 0x433de" identifier + number_literal) ))) , (binary_expression "unaff_EDI + 0x43168" identifier + number_literal) , identifier , identifier , identifier , (binary_expression "local_64 << 2" identifier << number_literal) ))) ;) (return_statement "return pbVar6;" return identifier ;) })) (expression_statement "FUN_0004b2e0();" (call_expression "FUN_0004b2e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" identifier (argument_list "((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" ( (cast_expression "(char *)(unaff_EDI + 0x43412)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x43412)" ( (binary_expression "unaff_EDI + 0x43412" identifier + number_literal) ))) , (binary_expression "unaff_EDI + 0x43168" identifier + number_literal) , identifier , identifier , identifier , (binary_expression "local_64 << 2" identifier << number_literal) ))) ;) (return_statement "return pbVar6;" return identifier ;) })))
(translation_unit "uchar * unw_decode_x3(uchar *dp,uint code,void *arg)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  char regname [20];\n  byte *pbVar7;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  pbVar1 = (byte *)uVar8;\n  bVar4 = pbVar1[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = *pbVar1 & 0x3f;\n  if ((char)*pbVar1 < '\0') {\n    unw_print_abreg(regname,pbVar1[1] & 0x7f);\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n    return pbVar6;\n  }\n  unw_print_abreg(regname,pbVar1[1] & 0x7f);\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n  return pbVar6;\n}\n\n" (function_definition "uchar * unw_decode_x3(uchar *dp,uint code,void *arg)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  char regname [20];\n  byte *pbVar7;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  pbVar1 = (byte *)uVar8;\n  bVar4 = pbVar1[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = *pbVar1 & 0x3f;\n  if ((char)*pbVar1 < '\0') {\n    unw_print_abreg(regname,pbVar1[1] & 0x7f);\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n    return pbVar6;\n  }\n  unw_print_abreg(regname,pbVar1[1] & 0x7f);\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n  return pbVar6;\n}" type_identifier (pointer_declarator "* unw_decode_x3(uchar *dp,uint code,void *arg)" * (function_declarator "unw_decode_x3(uchar *dp,uint code,void *arg)" identifier (parameter_list "(uchar *dp,uint code,void *arg)" ( (parameter_declaration "uchar *dp" type_identifier (pointer_declarator "*dp" * identifier)) , (parameter_declaration "uint code" type_identifier identifier) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) )))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  char regname [20];\n  byte *pbVar7;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  pbVar1 = (byte *)uVar8;\n  bVar4 = pbVar1[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = *pbVar1 & 0x3f;\n  if ((char)*pbVar1 < '\0') {\n    unw_print_abreg(regname,pbVar1[1] & 0x7f);\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n    return pbVar6;\n  }\n  unw_print_abreg(regname,pbVar1[1] & 0x7f);\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n  return pbVar6;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint local_64;" type_identifier identifier ;) (declaration "char regname [20];" primitive_type (array_declarator "regname [20]" identifier [ number_literal ]) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (expression_statement "uVar8 = __x86_get_pc_thunk_di();" (assignment_expression "uVar8 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar1 = (byte *)uVar8;" (assignment_expression "pbVar1 = (byte *)uVar8" identifier = (cast_expression "(byte *)uVar8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "bVar4 = pbVar1[2];" (assignment_expression "bVar4 = pbVar1[2]" identifier = (subscript_expression "pbVar1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = bVar4 & 0x7f;" (assignment_expression "uVar3 = bVar4 & 0x7f" identifier = (binary_expression "bVar4 & 0x7f" identifier & number_literal)) ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);" (assignment_expression "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(byte *)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (while_statement "while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" while (parenthesized_expression "((char)bVar4 < '\0')" ( (binary_expression "(char)bVar4 < '\0'" (cast_expression "(char)bVar4" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" { (expression_statement "bVar4 = *pbVar7;" (assignment_expression "bVar4 = *pbVar7" identifier = (pointer_expression "*pbVar7" * identifier)) ;) (expression_statement "bVar2 = bVar2 + 7;" (assignment_expression "bVar2 = bVar2 + 7" identifier = (binary_expression "bVar2 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);" (assignment_expression "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f)" identifier = (binary_expression "(bVar4 & 0x7f) << (bVar2 & 0x1f)" (parenthesized_expression "(bVar4 & 0x7f)" ( (binary_expression "bVar4 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }" if (parenthesized_expression "((bVar2 & 0x20) != 0)" ( (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" ( (binary_expression "bVar2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar5 = 0;\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar3 = uVar5 | uVar3;" (assignment_expression "uVar3 = uVar5 | uVar3" identifier = (binary_expression "uVar5 | uVar3" identifier | identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = *pbVar7 & 0x7f;" (assignment_expression "local_64 = *pbVar7 & 0x7f" identifier = (binary_expression "*pbVar7 & 0x7f" (pointer_expression "*pbVar7" * identifier) & number_literal)) ;) (if_statement "if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" if (parenthesized_expression "((char)*pbVar7 < '\0')" ( (binary_expression "(char)*pbVar7 < '\0'" (cast_expression "(char)*pbVar7" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar7" * identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" { (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) (do_statement "do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');" do (compound_statement "{\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    }" { (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar7;" (assignment_expression "bVar2 = *pbVar7" identifier = (pointer_expression "*pbVar7" * identifier)) ;) (expression_statement "bVar4 = bVar4 + 7;" (assignment_expression "bVar4 = bVar4 + 7" identifier = (binary_expression "bVar4 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);" (assignment_expression "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f)" identifier = (binary_expression "(bVar2 & 0x7f) << (bVar4 & 0x1f)" (parenthesized_expression "(bVar2 & 0x7f)" ( (binary_expression "bVar2 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }" if (parenthesized_expression "((bVar4 & 0x20) != 0)" ( (binary_expression "(bVar4 & 0x20) != 0" (parenthesized_expression "(bVar4 & 0x20)" ( (binary_expression "bVar4 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar5 = 0;\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "local_64 = uVar5 | local_64;" (assignment_expression "local_64 = uVar5 | local_64" identifier = (binary_expression "uVar5 | local_64" identifier | identifier)) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) }) while (parenthesized_expression "((char)bVar2 < '\0')" ( (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "uVar5 = *pbVar1 & 0x3f;" (assignment_expression "uVar5 = *pbVar1 & 0x3f" identifier = (binary_expression "*pbVar1 & 0x3f" (pointer_expression "*pbVar1" * identifier) & number_literal)) ;) (if_statement "if ((char)*pbVar1 < '\0') {\n    unw_print_abreg(regname,pbVar1[1] & 0x7f);\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n    return pbVar6;\n  }" if (parenthesized_expression "((char)*pbVar1 < '\0')" ( (binary_expression "(char)*pbVar1 < '\0'" (cast_expression "(char)*pbVar1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar1" * identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    unw_print_abreg(regname,pbVar1[1] & 0x7f);\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);\n    return pbVar6;\n  }" { (expression_statement "unw_print_abreg(regname,pbVar1[1] & 0x7f);" (call_expression "unw_print_abreg(regname,pbVar1[1] & 0x7f)" identifier (argument_list "(regname,pbVar1[1] & 0x7f)" ( identifier , (binary_expression "pbVar1[1] & 0x7f" (subscript_expression "pbVar1[1]" identifier [ number_literal ]) & number_literal) ))) ;) (expression_statement "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2)" identifier (argument_list "((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2)" ( (cast_expression "(char *)(unaff_EDI + 0x433de)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x433de)" ( (binary_expression "unaff_EDI + 0x433de" identifier + number_literal) ))) , (binary_expression "unaff_EDI + 0x43168" identifier + number_literal) , identifier , identifier , identifier , (binary_expression "local_64 << 2" identifier << number_literal) ))) ;) (return_statement "return pbVar6;" return identifier ;) })) (expression_statement "unw_print_abreg(regname,pbVar1[1] & 0x7f);" (call_expression "unw_print_abreg(regname,pbVar1[1] & 0x7f)" identifier (argument_list "(regname,pbVar1[1] & 0x7f)" ( identifier , (binary_expression "pbVar1[1] & 0x7f" (subscript_expression "pbVar1[1]" identifier [ number_literal ]) & number_literal) ))) ;) (expression_statement "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2)" identifier (argument_list "((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,regname,local_64 << 2)" ( (cast_expression "(char *)(unaff_EDI + 0x43412)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x43412)" ( (binary_expression "unaff_EDI + 0x43412" identifier + number_literal) ))) , (binary_expression "unaff_EDI + 0x43168" identifier + number_literal) , identifier , identifier , identifier , (binary_expression "local_64 << 2" identifier << number_literal) ))) ;) (return_statement "return pbVar6;" return identifier ;) })))
(translation_unit "byte * FUN_0004b510(void)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}\n\n" (function_definition "byte * FUN_0004b510(void)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}" type_identifier (pointer_declarator "* FUN_0004b510(void)" * (function_declarator "FUN_0004b510(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint local_64;" type_identifier identifier ;) (declaration "undefined1 local_30 [32];" type_identifier (array_declarator "local_30 [32]" identifier [ number_literal ]) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (expression_statement "uVar8 = FUN_0004ab85();" (assignment_expression "uVar8 = FUN_0004ab85()" identifier = (call_expression "FUN_0004ab85()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = *(byte *)uVar8;" (assignment_expression "bVar1 = *(byte *)uVar8" identifier = (pointer_expression "*(byte *)uVar8" * (cast_expression "(byte *)uVar8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar4 = ((byte *)uVar8)[2];" (assignment_expression "bVar4 = ((byte *)uVar8)[2]" identifier = (subscript_expression "((byte *)uVar8)[2]" (parenthesized_expression "((byte *)uVar8)" ( (cast_expression "(byte *)uVar8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ])) ;) (expression_statement "uVar3 = bVar4 & 0x7f;" (assignment_expression "uVar3 = bVar4 & 0x7f" identifier = (binary_expression "bVar4 & 0x7f" identifier & number_literal)) ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);" (assignment_expression "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(byte *)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (while_statement "while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" while (parenthesized_expression "((char)bVar4 < '\0')" ( (binary_expression "(char)bVar4 < '\0'" (cast_expression "(char)bVar4" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" { (expression_statement "bVar4 = *pbVar7;" (assignment_expression "bVar4 = *pbVar7" identifier = (pointer_expression "*pbVar7" * identifier)) ;) (expression_statement "bVar2 = bVar2 + 7;" (assignment_expression "bVar2 = bVar2 + 7" identifier = (binary_expression "bVar2 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);" (assignment_expression "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f)" identifier = (binary_expression "(bVar4 & 0x7f) << (bVar2 & 0x1f)" (parenthesized_expression "(bVar4 & 0x7f)" ( (binary_expression "bVar4 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }" if (parenthesized_expression "((bVar2 & 0x20) != 0)" ( (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" ( (binary_expression "bVar2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar5 = 0;\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar3 = uVar5 | uVar3;" (assignment_expression "uVar3 = uVar5 | uVar3" identifier = (binary_expression "uVar5 | uVar3" identifier | identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = *pbVar7 & 0x7f;" (assignment_expression "local_64 = *pbVar7 & 0x7f" identifier = (binary_expression "*pbVar7 & 0x7f" (pointer_expression "*pbVar7" * identifier) & number_literal)) ;) (if_statement "if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" if (parenthesized_expression "((char)*pbVar7 < '\0')" ( (binary_expression "(char)*pbVar7 < '\0'" (cast_expression "(char)*pbVar7" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar7" * identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" { (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) (do_statement "do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');" do (compound_statement "{\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    }" { (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar7;" (assignment_expression "bVar2 = *pbVar7" identifier = (pointer_expression "*pbVar7" * identifier)) ;) (expression_statement "bVar4 = bVar4 + 7;" (assignment_expression "bVar4 = bVar4 + 7" identifier = (binary_expression "bVar4 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);" (assignment_expression "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f)" identifier = (binary_expression "(bVar2 & 0x7f) << (bVar4 & 0x1f)" (parenthesized_expression "(bVar2 & 0x7f)" ( (binary_expression "bVar2 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }" if (parenthesized_expression "((bVar4 & 0x20) != 0)" ( (binary_expression "(bVar4 & 0x20) != 0" (parenthesized_expression "(bVar4 & 0x20)" ( (binary_expression "bVar4 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar5 = 0;\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "local_64 = uVar5 | local_64;" (assignment_expression "local_64 = uVar5 | local_64" identifier = (binary_expression "uVar5 | local_64" identifier | identifier)) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) }) while (parenthesized_expression "((char)bVar2 < '\0')" ( (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "uVar5 = bVar1 & 0x3f;" (assignment_expression "uVar5 = bVar1 & 0x3f" identifier = (binary_expression "bVar1 & 0x3f" identifier & number_literal)) ;) (if_statement "if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }" if (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }" { (expression_statement "FUN_0004b2e0();" (call_expression "FUN_0004b2e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" identifier (argument_list "((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" ( (cast_expression "(char *)(unaff_EDI + 0x433de)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x433de)" ( (binary_expression "unaff_EDI + 0x433de" identifier + number_literal) ))) , (binary_expression "unaff_EDI + 0x43168" identifier + number_literal) , identifier , identifier , identifier , (binary_expression "local_64 << 2" identifier << number_literal) ))) ;) (return_statement "return pbVar6;" return identifier ;) })) (expression_statement "FUN_0004b2e0();" (call_expression "FUN_0004b2e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" identifier (argument_list "((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" ( (cast_expression "(char *)(unaff_EDI + 0x43412)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x43412)" ( (binary_expression "unaff_EDI + 0x43412" identifier + number_literal) ))) , (binary_expression "unaff_EDI + 0x43168" identifier + number_literal) , identifier , identifier , identifier , (binary_expression "local_64 << 2" identifier << number_literal) ))) ;) (return_statement "return pbVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )) [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (while_statement while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , (binary_expression IDENT << LIT) ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , (binary_expression IDENT << LIT) ))) ;) (return_statement return IDENT ;) })))
(function_definition "byte * FUN_0004b510(void)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}" (type_identifier "byte") (pointer_declarator "* FUN_0004b510(void)" (* "*") (function_declarator "FUN_0004b510(void)" (identifier "FUN_0004b510") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  byte bVar4;\n  uint uVar5;\n  byte *pbVar6;\n  int unaff_EDI;\n  undefined8 uVar8;\n  uint local_64;\n  undefined1 local_30 [32];\n  byte *pbVar7;\n  \n  uVar8 = FUN_0004ab85();\n  bVar1 = *(byte *)uVar8;\n  bVar4 = ((byte *)uVar8)[2];\n  uVar3 = bVar4 & 0x7f;\n  bVar2 = 0;\n  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);\n  while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }\n  pbVar6 = pbVar7 + 1;\n  local_64 = *pbVar7 & 0x7f;\n  if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }\n  uVar5 = bVar1 & 0x3f;\n  if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }\n  FUN_0004b2e0();\n  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n  return pbVar6;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined8 uVar8;" (type_identifier "undefined8") (identifier "uVar8") (; ";")) (declaration "uint local_64;" (type_identifier "uint") (identifier "local_64") (; ";")) (declaration "undefined1 local_30 [32];" (type_identifier "undefined1") (array_declarator "local_30 [32]" (identifier "local_30") ([ "[") (number_literal "32") (] "]")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (expression_statement "uVar8 = FUN_0004ab85();" (assignment_expression "uVar8 = FUN_0004ab85()" (identifier "uVar8") (= "=") (call_expression "FUN_0004ab85()" (identifier "FUN_0004ab85") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "bVar1 = *(byte *)uVar8;" (assignment_expression "bVar1 = *(byte *)uVar8" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)uVar8" (* "*") (cast_expression "(byte *)uVar8" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar8")))) (; ";")) (expression_statement "bVar4 = ((byte *)uVar8)[2];" (assignment_expression "bVar4 = ((byte *)uVar8)[2]" (identifier "bVar4") (= "=") (subscript_expression "((byte *)uVar8)[2]" (parenthesized_expression "((byte *)uVar8)" (( "(") (cast_expression "(byte *)uVar8" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar8")) () ")")) ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = bVar4 & 0x7f;" (assignment_expression "uVar3 = bVar4 & 0x7f" (identifier "uVar3") (= "=") (binary_expression "bVar4 & 0x7f" (identifier "bVar4") (& "&") (number_literal "0x7f"))) (; ";")) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" (identifier "bVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);" (assignment_expression "pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20)" (identifier "pbVar7") (= "=") (cast_expression "(byte *)((ulonglong)uVar8 >> 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (while_statement "while ((char)bVar4 < '\0') {\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" (while "while") (parenthesized_expression "((char)bVar4 < '\0')" (( "(") (binary_expression "(char)bVar4 < '\0'" (cast_expression "(char)bVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar4")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    bVar4 = *pbVar7;\n    bVar2 = bVar2 + 7;\n    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);\n    if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }\n    uVar3 = uVar5 | uVar3;\n    pbVar7 = pbVar7 + 1;\n  }" ({ "{") (expression_statement "bVar4 = *pbVar7;" (assignment_expression "bVar4 = *pbVar7" (identifier "bVar4") (= "=") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7"))) (; ";")) (expression_statement "bVar2 = bVar2 + 7;" (assignment_expression "bVar2 = bVar2 + 7" (identifier "bVar2") (= "=") (binary_expression "bVar2 + 7" (identifier "bVar2") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);" (assignment_expression "uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f)" (identifier "uVar5") (= "=") (binary_expression "(bVar4 & 0x7f) << (bVar2 & 0x1f)" (parenthesized_expression "(bVar4 & 0x7f)" (( "(") (binary_expression "bVar4 & 0x7f" (identifier "bVar4") (& "&") (number_literal "0x7f")) () ")")) (<< "<<") (parenthesized_expression "(bVar2 & 0x1f)" (( "(") (binary_expression "bVar2 & 0x1f" (identifier "bVar2") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if ((bVar2 & 0x20) != 0) {\n      uVar5 = 0;\n    }" (if "if") (parenthesized_expression "((bVar2 & 0x20) != 0)" (( "(") (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" (( "(") (binary_expression "bVar2 & 0x20" (identifier "bVar2") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar5 = 0;\n    }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar5 | uVar3;" (assignment_expression "uVar3 = uVar5 | uVar3" (identifier "uVar3") (= "=") (binary_expression "uVar5 | uVar3" (identifier "uVar5") (| "|") (identifier "uVar3"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_64 = *pbVar7 & 0x7f;" (assignment_expression "local_64 = *pbVar7 & 0x7f" (identifier "local_64") (= "=") (binary_expression "*pbVar7 & 0x7f" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (& "&") (number_literal "0x7f"))) (; ";")) (if_statement "if ((char)*pbVar7 < '\0') {\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" (if "if") (parenthesized_expression "((char)*pbVar7 < '\0')" (( "(") (binary_expression "(char)*pbVar7 < '\0'" (cast_expression "(char)*pbVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    bVar4 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');\n  }" ({ "{") (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" (identifier "bVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" (identifier "pbVar7") (= "=") (identifier "pbVar6")) (; ";")) (do_statement "do {\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    } while ((char)bVar2 < '\0');" (do "do") (compound_statement "{\n      pbVar6 = pbVar7 + 1;\n      bVar2 = *pbVar7;\n      bVar4 = bVar4 + 7;\n      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);\n      if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }\n      local_64 = uVar5 | local_64;\n      pbVar7 = pbVar6;\n    }" ({ "{") (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar2 = *pbVar7;" (assignment_expression "bVar2 = *pbVar7" (identifier "bVar2") (= "=") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7"))) (; ";")) (expression_statement "bVar4 = bVar4 + 7;" (assignment_expression "bVar4 = bVar4 + 7" (identifier "bVar4") (= "=") (binary_expression "bVar4 + 7" (identifier "bVar4") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);" (assignment_expression "uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f)" (identifier "uVar5") (= "=") (binary_expression "(bVar2 & 0x7f) << (bVar4 & 0x1f)" (parenthesized_expression "(bVar2 & 0x7f)" (( "(") (binary_expression "bVar2 & 0x7f" (identifier "bVar2") (& "&") (number_literal "0x7f")) () ")")) (<< "<<") (parenthesized_expression "(bVar4 & 0x1f)" (( "(") (binary_expression "bVar4 & 0x1f" (identifier "bVar4") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if ((bVar4 & 0x20) != 0) {\n        uVar5 = 0;\n      }" (if "if") (parenthesized_expression "((bVar4 & 0x20) != 0)" (( "(") (binary_expression "(bVar4 & 0x20) != 0" (parenthesized_expression "(bVar4 & 0x20)" (( "(") (binary_expression "bVar4 & 0x20" (identifier "bVar4") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = 0;\n      }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_64 = uVar5 | local_64;" (assignment_expression "local_64 = uVar5 | local_64" (identifier "local_64") (= "=") (binary_expression "uVar5 | local_64" (identifier "uVar5") (| "|") (identifier "local_64"))) (; ";")) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" (identifier "pbVar7") (= "=") (identifier "pbVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((char)bVar2 < '\0')" (( "(") (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar2")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}"))) (expression_statement "uVar5 = bVar1 & 0x3f;" (assignment_expression "uVar5 = bVar1 & 0x3f" (identifier "uVar5") (= "=") (binary_expression "bVar1 & 0x3f" (identifier "bVar1") (& "&") (number_literal "0x3f"))) (; ";")) (if_statement "if ((char)bVar1 < '\0') {\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }" (if "if") (parenthesized_expression "((char)bVar1 < '\0')" (( "(") (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_0004b2e0();\n    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);\n    return pbVar6;\n  }" ({ "{") (expression_statement "FUN_0004b2e0();" (call_expression "FUN_0004b2e0()" (identifier "FUN_0004b2e0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" (identifier "printf") (argument_list "((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" (( "(") (cast_expression "(char *)(unaff_EDI + 0x433de)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x433de)" (( "(") (binary_expression "unaff_EDI + 0x433de" (identifier "unaff_EDI") (+ "+") (number_literal "0x433de")) () ")"))) (, ",") (binary_expression "unaff_EDI + 0x43168" (identifier "unaff_EDI") (+ "+") (number_literal "0x43168")) (, ",") (identifier "uVar5") (, ",") (identifier "uVar3") (, ",") (identifier "local_30") (, ",") (binary_expression "local_64 << 2" (identifier "local_64") (<< "<<") (number_literal "2")) () ")"))) (; ";")) (return_statement "return pbVar6;" (return "return") (identifier "pbVar6") (; ";")) (} "}"))) (expression_statement "FUN_0004b2e0();" (call_expression "FUN_0004b2e0()" (identifier "FUN_0004b2e0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);" (call_expression "printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" (identifier "printf") (argument_list "((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2)" (( "(") (cast_expression "(char *)(unaff_EDI + 0x43412)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x43412)" (( "(") (binary_expression "unaff_EDI + 0x43412" (identifier "unaff_EDI") (+ "+") (number_literal "0x43412")) () ")"))) (, ",") (binary_expression "unaff_EDI + 0x43168" (identifier "unaff_EDI") (+ "+") (number_literal "0x43168")) (, ",") (identifier "uVar5") (, ",") (identifier "uVar3") (, ",") (identifier "local_30") (, ",") (binary_expression "local_64 << 2" (identifier "local_64") (<< "<<") (number_literal "2")) () ")"))) (; ";")) (return_statement "return pbVar6;" (return "return") (identifier "pbVar6") (; ";")) (} "}")))

type_1 * function_1(type_1 *dp,type_2 code,void *arg)

{
  type_3 *pbVar1;
  type_3 var_3;
  type_2 var_5;
  type_3 var_2;
  type_2 var_4;
  type_3 *pbVar6;
  int var_10;
  type_4 uVar8;
  type_2 var_7;
  char regname [20];
  type_3 *var_6;
  
  uVar8 = var_1();
  pbVar1 = (type_3 *)uVar8;
  var_2 = pbVar1[2];
  var_5 = var_2 & 0x7f;
  var_3 = 0;
  var_6 = (type_3 *)((type_5)uVar8 >> 0x20);
  while ((char)var_2 < '\0') {
    var_2 = *var_6;
    var_3 = var_3 + 7;
    var_4 = (var_2 & 0x7f) << (var_3 & 0x1f);
    if ((var_3 & 0x20) != 0) {
      var_4 = 0;
    }
    var_5 = var_4 | var_5;
    var_6 = var_6 + 1;
  }
  pbVar6 = var_6 + 1;
  var_7 = *var_6 & 0x7f;
  if ((char)*var_6 < '\0') {
    var_2 = 0;
    var_6 = pbVar6;
    do {
      pbVar6 = var_6 + 1;
      var_3 = *var_6;
      var_2 = var_2 + 7;
      var_4 = (var_3 & 0x7f) << (var_2 & 0x1f);
      if ((var_2 & 0x20) != 0) {
        var_4 = 0;
      }
      var_7 = var_4 | var_7;
      var_6 = pbVar6;
    } while ((char)var_3 < '\0');
  }
  var_4 = *pbVar1 & 0x3f;
  if ((char)*pbVar1 < '\0') {
    var_8(regname,pbVar1[1] & 0x7f);
    var_9((char *)(var_10 + 0x433de),var_10 + 0x43168,var_4,var_5,regname,var_7 << 2);
    return pbVar6;
  }
  var_8(regname,pbVar1[1] & 0x7f);
  var_9((char *)(var_10 + 0x43412),var_10 + 0x43168,var_4,var_5,regname,var_7 << 2);
  return pbVar6;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (while_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))))

byte * MASKED(void)

{
  byte bVar1;
  byte bVar2;
  uint uVar3;
  byte bVar4;
  uint uVar5;
  byte *pbVar6;
  int unaff_EDI;
  undefined8 uVar8;
  uint local_64;
  undefined1 local_30 [32];
  byte *pbVar7;
  
  uVar8 = FUN_0004ab85();
  bVar1 = *(byte *)uVar8;
  bVar4 = ((byte *)uVar8)[2];
  uVar3 = bVar4 & 0x7f;
  bVar2 = 0;
  pbVar7 = (byte *)((ulonglong)uVar8 >> 0x20);
  while ((char)bVar4 < '\0') {
    bVar4 = *pbVar7;
    bVar2 = bVar2 + 7;
    uVar5 = (bVar4 & 0x7f) << (bVar2 & 0x1f);
    if ((bVar2 & 0x20) != 0) {
      uVar5 = 0;
    }
    uVar3 = uVar5 | uVar3;
    pbVar7 = pbVar7 + 1;
  }
  pbVar6 = pbVar7 + 1;
  local_64 = *pbVar7 & 0x7f;
  if ((char)*pbVar7 < '\0') {
    bVar4 = 0;
    pbVar7 = pbVar6;
    do {
      pbVar6 = pbVar7 + 1;
      bVar2 = *pbVar7;
      bVar4 = bVar4 + 7;
      uVar5 = (bVar2 & 0x7f) << (bVar4 & 0x1f);
      if ((bVar4 & 0x20) != 0) {
        uVar5 = 0;
      }
      local_64 = uVar5 | local_64;
      pbVar7 = pbVar6;
    } while ((char)bVar2 < '\0');
  }
  uVar5 = bVar1 & 0x3f;
  if ((char)bVar1 < '\0') {
    FUN_0004b2e0();
    printf((char *)(unaff_EDI + 0x433de),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);
    return pbVar6;
  }
  FUN_0004b2e0();
  printf((char *)(unaff_EDI + 0x43412),unaff_EDI + 0x43168,uVar5,uVar3,local_30,local_64 << 2);
  return pbVar6;
}

