Function at 0x479820
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 0x479885
push 0x17
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x479885
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 0x47a0c5
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 0x479997
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.00490a40
add esp, 0xc
neg al
sbb eax, eax
add eax, 2
jmp 0x4799ae
cmp eax, 0xd
jl 0x47a05a
cmp eax, 0xe
jg 0x47a05a
mov eax, 2
dec eax
je 0x479d1e
dec eax
jne 0x47a12e
mov eax, dword [esi]
push 0x546988
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 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4799fb
push 0
push eax
push ebp
call dword [ebp + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0
push 0x5469a0
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.0047b2b0
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 0x47a12e
cmp byte [eax + 0x18], 1
jne 0x479a73
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 0x479a88
mov eax, dword [esp + 0x18]
push 0
push ebp
push eax
call dword [eax + 0x24]
add esp, 0xc
mov edx, dword [esi]
push 0x5469c0
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 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x479acb
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x549b40
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x549b50]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
dec eax
jne 0x479be1
mov ecx, dword [ecx + 0xc]
push 0
push 0x5469d8
push ecx
call dword [ecx + 0x14]
lea eax, [esp + 0x60]
push esi
push eax
call fcn.00474350
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 0x47a12e
cmp byte [eax + 0x18], 1
je 0x479c0b
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x479b70
push 0
push ebp
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov edx, dword [esi]
push 0x5469f8
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 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x479baf
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x549b40
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x549b50]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
jne 0x479af8
jmp 0x47a12e
mov eax, dword [esi]
push 0x546a08
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 0x47a12e
cmp byte [ecx + 0x18], 1
jne 0x479c29
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 0x479c3e
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 0x47a12e
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 0x479cef
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 0x479cce
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 0x47a12e
mov eax, dword [esi]
push 0x5468f8
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 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x479d5d
push 0
push eax
push ebp
call dword [ebp + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x546918
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 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x479da0
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x549b10
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x549b20]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
dec eax
jne 0x479eba
mov ecx, dword [ecx + 0xc]
push 0
push 0x546930
push ecx
call dword [ecx + 0x14]
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.00474350
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 0x47a12e
cmp byte [eax + 0x18], 1
je 0x479c0b
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x479e45
push 0
push ebp
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov edx, dword [esi]
push 0x546950
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 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x479e88
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x549b10
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x549b20]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
jne 0x479dcd
jmp 0x47a12e
mov eax, dword [esi]
push 0x546960
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 0x47a12e
cmp byte [ecx + 0x18], 1
je 0x479c0b
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x479efd
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 0x546970
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.0047b600
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 0x47a12e
cmp byte [eax + 0x18], 1
je 0x479a55
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x479f70
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 0x47a12e
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 0x47a02f
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 0x47a002
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 0x47a12e
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x47a072
mov byte [ecx + 0x18], 1
jmp 0x479c0b
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], 0x550158
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 0x47a12e
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x47a0dd
mov byte [ecx + 0x18], 1
jmp 0x479a55
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], 0x550158
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 0x47a183
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 0x47a206
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 0x47a20a
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 0x47a227
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