Function at 0x4a5ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x160]
push edi
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x20]
mov edx, dword [esi]
mov dword [esp + 0x6c], eax
xor ebx, ebx
add esp, 4
mov eax, dword [edx + 4]
mov dword [esp + 0x28], ebx
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x20], ebx
jle 0x4a5f5a
push 0x2b
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x4a5f5a
mov eax, dword [esp + 0x160]
xor ecx, ecx
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 8]
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0x14c
ret
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
xor ebp, ebp
push 1
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x6c], ebx
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], ebp
push eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], ebx
call dword [eax + 0x18]
add esp, 0x10
sub eax, 0x23
je 0x4a6023
dec eax
je 0x4a601c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x20], ebx
jle 0x4a5fca
mov byte [ecx + 0x18], 1
jmp 0x4a6976
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x5676b0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0x4a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], ebx
jmp 0x4a7554
mov eax, 3
jmp 0x4a605b
mov eax, dword [esi]
push 2
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
push esi
call fcn.004b4c40
add esp, 0xc
test al, al
je 0x4a6045
mov eax, 1
jmp 0x4a605b
push esi
call fcn.004b5730
add esp, 4
test al, al
je 0x4a74ed
mov eax, 2
dec eax
je 0x4a6fba
dec eax
je 0x4a6cb8
dec eax
jne 0x4a7554
mov edx, dword [esi]
push 0x5618e8
push 0x24
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a60c7
mov edx, dword [esi + 0x1a8]
push str.token_STATEMENT_IFCOLOR
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
push 0
push edi
push eax
mov dword [esp + 0x5c], eax
call dword [eax + 0x24]
add esp, 0x18
mov eax, dword [esi]
push 0
push 0x561900
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x150]
push esi
push eax
call fcn.004b0060
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov dword [esp + 0x90], edx
mov edx, dword [ecx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x94], eax
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0xc]
mov ecx, dword [esi]
add esp, 0x18
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6165
mov edx, dword [esi + 0x1a8]
push str.rule_expression
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
mov ebx, eax
mov eax, dword [esp + 0x8c]
push 0
push eax
push ebx
mov dword [esp + 0x4c], ebx
call dword [ebx + 0x24]
add esp, 0x18
mov ecx, dword [esi]
push 0x561920
push 0x63
mov eax, dword [ecx + 4]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
add esp, 0xc
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a61be
mov edx, dword [esi + 0x1a8]
push str.token_AUX_SYMBOL_COMMA
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov ebp, eax
push 0
push edi
push ebp
mov dword [esp + 0x50], ebp
call dword [ebp + 0x24]
add esp, 0x18
mov eax, dword [esi]
push 0
push 0x561938
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x108]
push esi
push eax
call fcn.004b0060
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov dword [esp + 0x84], edx
mov edx, dword [ecx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x88], eax
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0xc]
mov ecx, dword [esi]
add esp, 0x18
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6260
test ebx, ebx
jne 0x4a6252
mov edx, dword [esi + 0x1a8]
push str.rule_expression
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x74]
push 0
push eax
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov ecx, dword [esi]
push 0x561958
push 0x63
mov eax, dword [ecx + 4]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
add esp, 0xc
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a62c0
test ebp, ebp
jne 0x4a62b6
mov edx, dword [esi + 0x1a8]
push str.token_AUX_SYMBOL_COMMA
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x38], ebp
push 0
push edi
push ebp
call dword [ebp + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0
push 0x561970
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0xc0]
push esi
push eax
call fcn.004b0060
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], edx
mov edx, dword [ecx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0xc]
mov ecx, dword [esi]
add esp, 0x18
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6365
test ebx, ebx
jne 0x4a6354
mov edx, dword [esi + 0x1a8]
push str.rule_expression
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x8c]
push 0
push eax
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov ecx, dword [esi]
push 0x561990
push 0x63
mov eax, dword [ecx + 4]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
add esp, 0xc
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a63c5
test ebp, ebp
jne 0x4a63bb
mov edx, dword [esi + 0x1a8]
push str.token_AUX_SYMBOL_COMMA
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x38], ebp
push 0
push edi
push ebp
call dword [ebp + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0
push 0x5619b0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x138]
push esi
push eax
call fcn.004b0060
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6456
test ebx, ebx
jne 0x4a644c
mov edx, dword [esi + 0x1a8]
push str.rule_expression
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
push 0
push ebp
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 1
mov edi, 2
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x25
jne 0x4a6476
mov edi, 1
dec edi
jne 0x4a64d0
mov edx, dword [esi]
push 0x5619d0
push 0x25
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a64d0
mov edx, dword [esi + 0x1a8]
push str.token_STATEMENT_THEN
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
push 0
push edi
push eax
mov dword [esp + 0x68], eax
call dword [eax + 0x24]
add esp, 0x18
mov eax, dword [esi]
push 0
push 0x5619f0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0xd8]
push esi
push eax
call fcn.0049b9b0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6558
mov edx, dword [esi + 0x1a8]
push str.rule_statementSeparator
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
push 0
push edi
push eax
mov dword [esp + 0x6c], eax
call dword [eax + 0x24]
add esp, 0x18
mov eax, dword [esi]
push 1
mov edi, 2
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 8
jl 0x4a657c
cmp eax, 0xa
jle 0x4a6638
cmp eax, 0x1d
je 0x4a6638
cmp eax, 0x2f
je 0x4a6638
cmp eax, 0x77
je 0x4a6638
cmp eax, 0x8e
jl 0x4a65a9
cmp eax, 0x8f
jle 0x4a6638
cmp eax, 0x64
jne 0x4a65bd
mov eax, dword [0x59eb88]
test eax, eax
jle 0x4a663d
jmp 0x4a6638
cmp eax, 4
jl 0x4a65c7
cmp eax, 7
jle 0x4a6638
cmp eax, 0xb
je 0x4a6638
cmp eax, 0xd
je 0x4a6638
cmp eax, 0xf
jl 0x4a65db
cmp eax, 0x10
jle 0x4a6638
cmp eax, 0x15
jl 0x4a65e5
cmp eax, 0x18
jle 0x4a6638
cmp eax, 0x1a
je 0x4a6638
cmp eax, 0x23
jl 0x4a65f4
cmp eax, 0x24
jle 0x4a6638
cmp eax, 0x29
je 0x4a6638
cmp eax, 0x2b
je 0x4a6638
cmp eax, 0x2e
je 0x4a6638
cmp eax, 0x31
je 0x4a6638
cmp eax, 0x33
je 0x4a6638
cmp eax, 0x42
jl 0x4a6617
cmp eax, 0x43
jle 0x4a6638
cmp eax, 0x8a
jl 0x4a6625
cmp eax, 0x8b
jle 0x4a6638
cmp eax, 0x68
je 0x4a662f
cmp eax, 0x76
jne 0x4a663d
mov eax, dword [0x59eb80]
test eax, eax
jne 0x4a663d
mov edi, 1
mov eax, edi
dec eax
jne 0x4a66e2
mov edx, dword [esi]
push 0
push 0x561a10
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x120]
push esi
push edx
call fcn.00499d30
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6558
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4a66d3
push str.rule_statement
push ecx
mov ecx, dword [esi + 0x1a8]
push ecx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
add esp, 0xc
mov dword [esp + 0x30], eax
push 0
push edi
push eax
call dword [eax + 0x24]
add esp, 0xc
jmp 0x4a6558
mov edx, dword [esi]
push 1
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x26
jne 0x4a6702
mov edi, 1
dec edi
jne 0x4a67a5
mov ecx, dword [esi]
push 0
push 0x561a28
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0xf0]
push esi
push ecx
call fcn.004a8430
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0xc]
mov edx, dword [esi]
add esp, 0x18
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a66e2
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a6796
mov eax, dword [esi + 0x1a8]
push str.rule_elseIf
push ecx
push eax
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
add esp, 0xc
mov dword [esp + 0x2c], eax
push 0
push edi
push eax
call dword [eax + 0x24]
add esp, 0xc
jmp 0x4a66e2
mov ecx, dword [esi]
push 1
mov edi, 2
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x27
jne 0x4a67c5
mov edi, 1
dec edi
jne 0x4a6854
mov eax, dword [esi]
push 0
push 0x561a40
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x9c]
push esi
push eax
call fcn.004a8b60
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6854
mov edx, dword [esi + 0x1a8]
push str.rule_elseRule
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
push 0
push edi
push eax
mov dword [esp + 0x54], eax
call dword [eax + 0x24]
add esp, 0x18
mov eax, dword [esi]
push 1
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x28
je 0x4a68e4
cmp eax, 0x40
je 0x4a68dd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4a6887
mov byte [ecx + 0x18], 1
jmp 0x4a6976
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x5676b0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0x49
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], 0
jmp 0x4a7554
mov eax, 2
jmp 0x4a68e9
mov eax, 1
dec eax
je 0x4a69b9
dec eax
jne 0x4a6a0c
mov eax, dword [esi]
push 0x561a60
push 0x40
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
mov edi, eax
add esp, 0xc
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a694a
mov edx, dword [esi + 0x1a8]
push str.token_CLAUSE_END
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
push 0
push edi
push eax
mov dword [esp + 0x78], eax
call dword [eax + 0x24]
add esp, 0x18
mov eax, dword [esi]
push 0x561a70
push 0x23
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
mov edi, eax
add esp, 0xc
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
jne 0x4a699a
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x10]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0x14c
ret
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6a0c
mov edx, dword [esi + 0x1a8]
push str.token_STATEMENT_IF
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov dword [esp + 0x68], eax
jmp 0x4a6a02
mov eax, dword [esi]
push 0x561a50
push 0x28
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
mov edi, eax
add esp, 0xc
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4a6a0c
mov edx, dword [esi + 0x1a8]
push str.token_STATEMENT_ENDIF
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov dword [esp + 0x64], eax
push 0
push edi
push eax
call dword [eax + 0x24]
add esp, 0x18
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a7554
mov edx, dword [esi + 0x1a8]
push 0
push str.token_retval
push eax
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov edx, dword [esi + 0x1a8]
mov dword [esp + 0x74], eax
mov eax, dword [esi]
push ebp
push str.token_exp4
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov ecx, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xac]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esi + 0x1a8]
push str.token_exp3
push edx
push eax
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov edx, dword [esi]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
push ecx
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0x1a8]
push str.token_exp2
push eax
push ecx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x88], eax
mov eax, dword [esi]
add esp, 0x40
mov ecx, dword [eax + 4]
push edx
mov edx, dword [esi + 0x1a8]
push str.token_exp1
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov ebx, eax
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esp + 0x5c]
add esp, 0x18
test eax, eax
je 0x4a6aec
push eax
call dword [eax + 0x44]
add esp, 4
mov ecx, dword [esi + 0x1a8]
push edi
push eax
push ecx
call dword [ecx + 0x34]
mov ebp, eax
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edi, dword [esi + 0x1a8]
add esp, 0x10
push eax
push str.AUX_SYMBOL_LPARENTHESIS
push 0x65
push edi
call dword [edi + 0x4c]
add esp, 0xc
push eax
mov eax, dword [esi + 0x1a8]
push eax
call dword [edi + 0x34]
add esp, 0xc
mov edi, eax
test ebx, ebx
jne 0x4a6b34
xor eax, eax
jmp 0x4a6b3b
push ebx
call dword [ebx + 0x2c]
add esp, 4
mov ecx, dword [esi + 0x1a8]
push eax
push edi
push ecx
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x54]
add esp, 0xc
test eax, eax
jne 0x4a6b56
xor eax, eax
jmp 0x4a6b61
mov eax, dword [esp + 0x48]
push eax
call dword [eax + 0x2c]
add esp, 4
mov ecx, dword [esi + 0x1a8]
push eax
push edi
push ecx
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x58]
add esp, 0xc
test eax, eax
jne 0x4a6b7c
xor eax, eax
jmp 0x4a6b87
mov eax, dword [esp + 0x4c]
push eax
call dword [eax + 0x2c]
add esp, 4
mov ecx, dword [esi + 0x1a8]
push eax
push edi
push ecx
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
jne 0x4a6ba2
xor eax, eax
jmp 0x4a6bad
mov eax, dword [esp + 0x40]
push eax
call dword [eax + 0x2c]
add esp, 4
mov ecx, dword [esi + 0x1a8]
push eax
push edi
push ecx
call dword [ecx + 0x1c]
mov eax, dword [esi + 0x1a8]
push edi
push ebp
push eax
call dword [eax + 0x1c]
mov eax, dword [esp + 0x48]
add esp, 0x18
test eax, eax
je 0x4a6bff
mov edi, dword [esp + 0x30]
push edi
call dword [edi + 0x40]
add esp, 4
test al, al
je 0x4a6bf8
mov eax, dword [esp + 0x30]
mov edi, dword [esi + 0x1a8]
push eax
call dword [eax + 0x2c]
push eax
push ebp
push edi
call dword [edi + 0x1c]
add esp, 0x10
jmp 0x4a6bd0
push edi
call dword [edi + 0x20]
add esp, 4
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4a6c36
push edi
call dword [edi + 0x40]
add esp, 4
test al, al
je 0x4a6c2f
mov eax, dword [esp + 0x2c]
mov edi, dword [esi + 0x1a8]
push eax
call dword [eax + 0x2c]
push eax
push ebp
push edi
call dword [edi + 0x1c]
mov edi, dword [esp + 0x3c]
add esp, 0x10
jmp 0x4a6c07
push edi
call dword [edi + 0x20]
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a6c45
push eax
call dword [eax + 0x2c]
add esp, 4
mov ecx, dword [esi + 0x1a8]
push eax
push ebp
push ecx
call dword [ecx + 0x1c]
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x1a8]
push ebp
push edi
push eax
call dword [eax + 0x1c]
mov eax, dword [esp + 0x7c]
add esp, 0x18
test eax, eax
mov dword [esp + 0x18], edi
je 0x4a6c77
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a6c86
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a6c95
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a6ca4
push eax
call dword [eax + 0x50]
add esp, 4
test ebx, ebx
je 0x4a7554
push ebx
call dword [ebx + 0x50]
add esp, 4
jmp 0x4a7554
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov ebx, eax
push 0x561868
push 0x23
mov eax, dword [edx + 4]
mov dword [esp + 0x34], ebx
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4a7554
cmp byte [ecx + 0x18], 1
je 0x4a6976
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a6d1d
mov ecx, dword [esi + 0x1a8]
push eax
push ecx
call dword [ecx + 0x40]
mov ecx, dword [esi + 0x1a8]
push ebx
push eax
push ecx
call dword [ecx + 0x34]
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x28], ebx
mov edx, dword [esi]
push 0
push 0x561878
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0xa8]
push esi
push edx
call fcn.004b01d0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a6d94
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 0x561898
push 0x25
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a6dd3
mov dword [0x59eb80], 1
mov edx, dword [esi]
push 0
push 0x5618a8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0xb4]
push esi
push edx
call fcn.004a90c0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a6e4a
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 1
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x26
jne 0x4a6e7a
mov ecx, dword [esi]
push edi
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
mov edi, 1
dec edi
jne 0x4a6eee
mov eax, dword [esi]
push 0
push 0x5618b8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0xcc]
push esi
push eax
call fcn.004a8430
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a6e4a
jmp 0x4a6e3b
mov edx, dword [esi]
push 1
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x27
jne 0x4a6f1e
mov ecx, dword [esi]
push edi
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
mov edi, 1
dec edi
jne 0x4a6f98
mov eax, dword [esi]
push 0
push 0x5618c8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0xe4]
push esi
push eax
call fcn.004a8b60
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a6f98
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x4a7554
mov dword [0x59eb80], 0
jmp 0x4a7554
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov ebx, eax
push 0x561768
push 0x23
mov eax, dword [edx + 4]
mov dword [esp + 0x34], ebx
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4a7554
cmp byte [ecx + 0x18], 1
je 0x4a6976
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a701f
mov ecx, dword [esi + 0x1a8]
push eax
push ecx
call dword [ecx + 0x40]
mov ecx, dword [esi + 0x1a8]
push ebx
push eax
push ecx
call dword [ecx + 0x34]
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x28], ebx
mov edx, dword [esi]
push 0
push 0x561788
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0xfc]
push esi
push edx
call fcn.004b01d0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a7096
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 1
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x25
jne 0x4a70b6
mov edi, 1
dec edi
jne 0x4a70e7
mov ecx, dword [esi]
push 0x5617a8
push 0x25
mov eax, dword [ecx + 4]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [esi]
push 0
push 0x5617c8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x114]
push esi
push edx
call fcn.0049b9b0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov edx, dword [esi]
push 1
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 8
jl 0x4a715c
cmp eax, 0xa
jle 0x4a7218
cmp eax, 0x1d
je 0x4a7218
cmp eax, 0x2f
je 0x4a7218
cmp eax, 0x77
je 0x4a7218
cmp eax, 0x8e
jl 0x4a7189
cmp eax, 0x8f
jle 0x4a7218
cmp eax, 0x64
jne 0x4a719d
mov eax, dword [0x59eb88]
test eax, eax
jle 0x4a721d
jmp 0x4a7218
cmp eax, 4
jl 0x4a71a7
cmp eax, 7
jle 0x4a7218
cmp eax, 0xb
je 0x4a7218
cmp eax, 0xd
je 0x4a7218
cmp eax, 0xf
jl 0x4a71bb
cmp eax, 0x10
jle 0x4a7218
cmp eax, 0x15
jl 0x4a71c5
cmp eax, 0x18
jle 0x4a7218
cmp eax, 0x1a
je 0x4a7218
cmp eax, 0x23
jl 0x4a71d4
cmp eax, 0x24
jle 0x4a7218
cmp eax, 0x29
je 0x4a7218
cmp eax, 0x2b
je 0x4a7218
cmp eax, 0x2e
je 0x4a7218
cmp eax, 0x31
je 0x4a7218
cmp eax, 0x33
je 0x4a7218
cmp eax, 0x42
jl 0x4a71f7
cmp eax, 0x43
jle 0x4a7218
cmp eax, 0x8a
jl 0x4a7205
cmp eax, 0x8b
jle 0x4a7218
cmp eax, 0x68
je 0x4a720f
cmp eax, 0x76
jne 0x4a721d
mov eax, dword [0x59eb80]
test eax, eax
jne 0x4a721d
mov edi, 1
mov eax, edi
dec eax
jne 0x4a72a6
mov ecx, dword [esi]
push 0
push 0x5617e8
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x12c]
push esi
push ecx
call fcn.00499d30
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0xc]
mov edx, dword [esi]
add esp, 0x18
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a7138
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp 0x4a7138
mov ecx, dword [esi]
push 1
mov edi, 2
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x26
jne 0x4a72c6
mov edi, 1
dec edi
jne 0x4a734d
mov eax, dword [esi]
push 0
push 0x561800
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x144]
push esi
push eax
call fcn.004a8430
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a72a6
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp 0x4a72a6
mov edx, dword [esi]
push 1
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x27
jne 0x4a736d
mov edi, 1
dec edi
jne 0x4a73e7
mov ecx, dword [esi]
push 0
push 0x561818
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x15c]
push esi
push ecx
call fcn.004a8b60
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0xc]
mov edx, dword [esi]
add esp, 0x18
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
je 0x4a6976
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a73e7
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x28
je 0x4a7465
cmp eax, 0x40
je 0x4a745e
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4a741a
mov byte [ecx + 0x18], 1
jmp 0x4a6976
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x5676b0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0x42
jmp 0x4a68c6
mov eax, 2
jmp 0x4a746a
mov eax, 1
dec eax
je 0x4a74d0
dec eax
jne 0x4a7554
mov eax, dword [esi]
push 0x561838
push 0x40
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
je 0x4a7554
cmp byte [ecx + 0x18], 1
je 0x4a6976
push 0x561848
push 0x23
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je 0x4a7554
cmp byte [eax + 0x18], 1
jne 0x4a7554
jmp 0x4a6976
mov edx, dword [esi]
push 0x561828
push 0x28
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
jmp 0x4a74b8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x20], ebx
jle 0x4a7503
mov byte [ecx + 0x18], 1
jmp 0x4a6976
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x5676b0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0x4a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], 1
mov eax, dword [esi]
push 0xffffffffffffffff
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov edi, eax
mov eax, dword [esi]
add esp, 8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jne 0x4a7651
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esi + 0x1a8]
push ecx
push eax
call dword [eax + 0x38]
mov ebx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esi + 0x1a8]
push edi
push ebx
push ebp
push eax
call dword [eax + 0x90]
mov eax, dword [esp + 0x78]
add esp, 0x20
test eax, eax
je 0x4a75b9
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a75c8
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4a75d7
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a75e6
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a75f5
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4a7604
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a7613
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a7622
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a7631
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a7640
push eax
call dword [eax + 0x50]
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4a7659
push eax
call dword [eax + 0x50]
add esp, 4
jmp 0x4a7659
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x4a76ab
push eax
call dword [eax + 0x24]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x30]
mov eax, dword [esi]
mov ebp, dword [esi + 0x1a8]
add esp, 8
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
push eax
push 0xffffffffffffffff
push ecx
call dword [ecx + 0x14]
mov ecx, dword [esi]
add esp, 8
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + 0x1a8]
push ebx
push edx
push eax
call dword [ebp + 0x2c]
add esp, 0x14
mov ebp, eax
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jle 0x4a76c8
mov ecx, dword [esp + 0x68]
push ecx
push 0x2b
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x160]
mov edx, eax
mov dword [edx], ebx
mov dword [edx + 4], edi
pop edi
pop esi
mov dword [edx + 8], ebp
pop ebp
pop ebx
add esp, 0x14c
ret