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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
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 + 0x30], eax
add esp, 4
mov dword [esp + 0x80], 0
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x476055
push 0x17
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x476055
mov eax, dword [esp + 0x7c]
xor ecx, ecx
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], ecx
add esp, 0x68
ret
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi + 0x1ec]
mov edi, eax
mov eax, dword [esi]
push str.token_STATEMENT_LOOP
mov dword [esp + 0x3c], edi
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov edx, dword [esi + 0x1ec]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push str.token_STATEMENT_DO
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov edx, dword [esi + 0x1ec]
mov ebp, eax
mov eax, dword [esi]
push str.token_AUX_SYMBOL_COLON
mov dword [esp + 0x4c], ebp
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov edx, dword [esi + 0x1ec]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push str.rule_doCondition
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
mov edx, dword [esi + 0x1ec]
mov dword [esp + 0x50], eax
mov eax, dword [esi]
push str.rule_loopCondition
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
mov edx, dword [esi + 0x1ec]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
add esp, 0x44
mov ecx, dword [eax + 4]
push str.rule_simpleStatement
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAE
mov ebx, eax
mov eax, dword [esi]
push 1
mov dword [esp + 0x30], ebx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], 0
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 0x14
cmp eax, 0xb
jne 0x476895
mov edx, dword [esi]
push 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x63
jne 0x476167
mov ecx, dword [esi]
push 3
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
push esi
call fcn.0048d210
add esp, 0xc
neg al
sbb eax, eax
add eax, 2
jmp 0x47617e
cmp eax, 0xd
jl 0x47682a
cmp eax, 0xe
jg 0x47682a
mov eax, 2
dec eax
je 0x4764ee
dec eax
jne 0x4768fe
mov eax, dword [esi]
push 0x552028
push 0xb
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4761cb
push 0
push eax
push ebp
call dword [ebp + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0
push 0x552040
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00477a80
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], 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 0x4768fe
cmp byte [eax + 0x18], 1
jne 0x476243
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
pop ebx
mov dword [edx + 8], ecx
add esp, 0x68
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x476258
mov eax, dword [esp + 0x18]
push 0
push ebp
push eax
call dword [eax + 0x24]
add esp, 0xc
mov edx, dword [esi]
push 0x552060
push 0x63
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x47629b
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x5551e0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x5551f0]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
dec eax
jne 0x4763b1
mov ecx, dword [ecx + 0xc]
push 0
push 0x552078
push ecx
call dword [ecx + 0x14]
lea eax, [esp + 0x60]
push esi
push eax
call fcn.00470b20
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], 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 0x4768fe
cmp byte [eax + 0x18], 1
je 0x4763db
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x476340
push 0
push ebp
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov edx, dword [esi]
push 0x552098
push 0x63
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x47637f
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x5551e0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x5551f0]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
jne 0x4762c8
jmp 0x4768fe
mov eax, dword [esi]
push 0x5520a8
push 0xc
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
jne 0x4763f9
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x34]
mov ecx, eax
mov dword [ecx], edi
pop edi
pop esi
pop ebp
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
pop ebx
mov dword [ecx + 8], edx
add esp, 0x68
ret
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x47640e
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4768fe
mov edx, dword [esi + 0x1ec]
push 0
push str.token_retval
push eax
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edi, dword [esi + 0x1ec]
add esp, 0x18
push eax
push str.STATEMENT_DO_CONDITION
push 0x34
push edi
call dword [edi + 0x48]
add esp, 0xc
push eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [edi + 0x30]
mov ebp, dword [esi + 0x1ec]
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x1ec]
push eax
push edi
push ecx
call dword [ebp + 0x1c]
push ebx
call dword [ebx + 0x40]
add esp, 0x20
test al, al
je 0x4764bf
mov ebp, dword [esi + 0x1ec]
push ebx
call dword [ebx + 0x2c]
mov edx, dword [esi + 0x1ec]
push eax
push edi
push edx
call dword [ebp + 0x1c]
push ebx
call dword [ebx + 0x40]
add esp, 0x14
test al, al
jne 0x47649e
push ebx
call dword [ebx + 0x20]
mov eax, dword [esi + 0x1ec]
push edi
mov edi, dword [esp + 0x88]
push edi
push eax
call dword [eax + 0x1c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], edi
push eax
call dword [eax + 0x50]
mov edi, dword [esp + 0x44]
add esp, 0x14
jmp 0x4768fe
mov eax, dword [esi]
push 0x551f98
push 0xb
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x47652d
push 0
push eax
push ebp
call dword [ebp + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x551fb8
push 0x63
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x476570
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x5551b0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x5551c0]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
dec eax
jne 0x47668a
mov ecx, dword [ecx + 0xc]
push 0
push 0x551fd0
push ecx
call dword [ecx + 0x14]
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.00470b20
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], 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 0x4768fe
cmp byte [eax + 0x18], 1
je 0x4763db
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x476615
push 0
push ebp
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov edx, dword [esi]
push 0x551ff0
push 0x63
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x476658
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x5551b0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x5551c0]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
jne 0x47659d
jmp 0x4768fe
mov eax, dword [esi]
push 0x552000
push 0xc
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x4768fe
cmp byte [ecx + 0x18], 1
je 0x4763db
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4766cd
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0
push 0x552010
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x78]
push esi
push eax
call fcn.00477dd0
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], 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 0x4768fe
cmp byte [eax + 0x18], 1
je 0x476225
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x476740
mov eax, dword [esp + 0x1c]
push 0
push ebp
push eax
call dword [eax + 0x24]
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4768fe
mov edx, dword [esi + 0x1ec]
push 0
push str.token_retval
push eax
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov ebp, eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edi, dword [esi + 0x1ec]
add esp, 0x18
push eax
push str.STATEMENT_DO
push 0xb
push edi
call dword [edi + 0x48]
add esp, 0xc
push eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [edi + 0x30]
mov ebx, dword [esi + 0x1ec]
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x1ec]
push eax
push edi
push ecx
call dword [ebx + 0x1c]
mov ebx, dword [esp + 0x3c]
push ebx
call dword [ebx + 0x40]
add esp, 0x20
test al, al
je 0x4767ff
mov edx, dword [esi + 0x1ec]
push ebx
mov dword [esp + 0x28], edx
call dword [ebx + 0x2c]
mov edx, dword [esi + 0x1ec]
push eax
mov eax, dword [esp + 0x2c]
push edi
push edx
call dword [eax + 0x1c]
mov ebx, dword [esp + 0x30]
push ebx
call dword [ebx + 0x40]
add esp, 0x14
test al, al
jne 0x4767d2
push ebx
call dword [ebx + 0x20]
mov eax, dword [esi + 0x1ec]
push edi
mov edi, dword [esp + 0x88]
push edi
push eax
call dword [eax + 0x1c]
push ebp
mov dword [esp + 0x4c], edi
call dword [ebp + 0x50]
mov edi, dword [esp + 0x44]
add esp, 0x14
jmp 0x4768fe
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x476842
mov byte [ecx + 0x18], 1
jmp 0x4763db
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 3
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0x55b7e8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x34], 0x1f
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 0x38], 1
jmp 0x4768fe
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4768ad
mov byte [ecx + 0x18], 1
jmp 0x476225
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], 0x55b7e8
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0x1f
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], 0
mov eax, dword [esi]
push 0xffffffffffffffff
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ebp, 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 0x476953
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov ecx, dword [esp + 0x88]
mov ebp, eax
mov eax, dword [esi + 0x1ec]
push ecx
push eax
call dword [eax + 0x34]
mov ecx, eax
mov eax, dword [esi + 0x1ec]
push ebp
push edi
push ecx
push eax
mov dword [esp + 0x58], ecx
call dword [eax + 0x8c]
add esp, 0x20
mov eax, dword [esp + 0x14]
push eax
call dword [eax + 0x50]
mov eax, dword [esp + 0x2c]
push eax
call dword [eax + 0x50]
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x50]
mov eax, dword [esp + 0x24]
push eax
call dword [eax + 0x50]
mov eax, dword [esp + 0x2c]
push eax
call dword [eax + 0x50]
push ebx
call dword [ebx + 0x50]
mov edx, dword [esi]
add esp, 0x18
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x4769d6
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 ebx, dword [esi + 0x1ec]
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 + 0x1ec]
push edi
push edx
push eax
call dword [ebx + 0x28]
add esp, 0x14
mov ebx, eax
jmp 0x4769da
mov ebx, dword [esp + 0x38]
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jle 0x4769f7
mov ecx, dword [esp + 0x2c]
push ecx
push 0x17
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x7c]
mov edx, eax
mov dword [edx], edi
pop edi
pop esi
mov dword [edx + 4], ebp
pop ebp
mov dword [edx + 8], ebx
pop ebx
add esp, 0x68
ret