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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
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 + 0x18], eax
add esp, 4
xor ebp, ebp
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x48222c
push 0x38
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x48222c
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 8], ecx
add esp, 0x44
ret
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi + 0x1ec]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
push str.token_STATEMENT_SELECT
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov edx, dword [esi + 0x1ec]
mov dword [esp + 0x70], eax
mov eax, dword [esi]
push str.token_CLAUSE_END
mov ecx, dword [eax + 4]
push ecx
push edx
call sym.mymacro.exe_antlr3RewriteRuleTOKENStreamNewAE
mov ebx, eax
mov eax, dword [esi]
push 0x555900
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
xor edi, edi
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x555910]
mov ecx, dword [esi]
add esp, 0x30
mov edx, dword [ecx + 4]
mov edx, dword [edx + 8]
cmp byte [edx], 1
je case.default.0x4822b6
cmp byte [edx + 0x18], 1
je 0x482653
dec eax
cmp eax, 3
ja case.default.0x4822b6
jmp dword [eax*4 + 0x4827e8]
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov ebp, eax
mov eax, dword [esi]
push 0x5538f8
push 0x29
mov eax, dword [eax + 4]
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 case.default.0x4822b6
cmp byte [ecx + 0x18], 1
je 0x482653
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x48231a
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0x1ec]
push ebp
push eax
push ecx
call dword [ecx + 0x30]
add esp, 0x14
mov ebp, eax
mov eax, dword [esi]
push 0x553918
push 0x2a
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
cmp byte [eax], 1
je case.default.0x4822b6
cmp byte [eax + 0x18], 1
je 0x482653
mov eax, dword [eax + 0xc]
push 0
push 0x553928
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.00485ad0
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ebx, 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 case.default.0x4822b6
cmp byte [eax + 0x18], 1
je 0x482474
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne case.default.0x4822b6
mov eax, dword [esi + 0x1ec]
push ebx
push ebp
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp case.default.0x4822b6
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov ebp, eax
push 0x553948
push 0x2a
mov eax, dword [edx + 4]
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 case.default.0x4822b6
cmp byte [ecx + 0x18], 1
je 0x482653
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x48241a
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0x1ec]
push ebp
push eax
push ecx
call dword [ecx + 0x30]
add esp, 0x14
mov ebp, eax
mov eax, dword [esi]
push 0
push 0x553960
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x48]
push esi
push eax
call fcn.00485ad0
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ebx, 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 case.default.0x4822b6
cmp byte [eax + 0x18], 1
jne 0x482492
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
mov dword [edx + 8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4824a8
mov eax, dword [esi + 0x1ec]
push ebx
push ebp
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 1
mov ebx, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x5e
jne 0x4824c8
mov ebx, 1
dec ebx
jne case.default.0x4822b6
mov ecx, dword [esi]
push 0x553980
push 0x5e
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 case.default.0x4822b6
cmp byte [eax + 0x18], 1
je 0x482653
mov eax, dword [eax + 0xc]
push 0
push 0x553998
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x54]
push esi
push ecx
call fcn.00485ad0
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov ebx, 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 case.default.0x4822b6
cmp byte [eax + 0x18], 1
je 0x482653
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4824a8
jmp 0x482499
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov ebp, eax
mov eax, dword [esi]
push 0x5539a8
push 0x2a
mov eax, dword [eax + 4]
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 case.default.0x4822b6
cmp byte [ecx + 0x18], 1
je 0x482653
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4825c0
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0x1ec]
push ebp
push eax
push ecx
call dword [ecx + 0x30]
add esp, 0x14
mov ebp, eax
mov eax, dword [esi]
push 0x5539b8
push 0x27
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
cmp byte [eax], 1
je case.default.0x4822b6
cmp byte [eax + 0x18], 1
jne case.default.0x4822b6
jmp 0x482653
mov ecx, dword [ecx + 4]
push 0x5539c8
push 0x3c
push ecx
call dword [ecx + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je case.default.0x4822b6
cmp byte [ecx + 0x18], 1
je 0x482653
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x482629
push 0
push eax
push ebx
call dword [ebx + 0x24]
add esp, 0xc
mov eax, dword [esi]
push 0x5539d8
push 0x29
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 case.default.0x4822b6
cmp byte [ecx + 0x18], 1
jne 0x482671
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x482686
push 0
push eax
mov eax, dword [esp + 0x64]
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 case.default.0x4822b6
mov edx, dword [esi + 0x1ec]
push 0
push str.token_retval
push eax
push edx
call sym.mymacro.exe_antlr3RewriteRuleSubtreeStreamNewAEE
mov ebx, eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov ebp, 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_END_SELECT
push 0x36
push edi
call dword [edi + 0x48]
add esp, 0xc
push eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [edi + 0x30]
mov ecx, dword [esi + 0x1ec]
push eax
push ebp
push ecx
call dword [ecx + 0x1c]
push ebx
mov edi, ebp
call dword [ebx + 0x50]
add esp, 0x1c
mov ecx, dword [esi]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov ebx, eax
mov eax, dword [esi]
add esp, 8
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x482749
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov ebx, eax
mov eax, dword [esi + 0x1ec]
push ebp
push eax
call dword [eax + 0x34]
mov ebp, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esi + 0x1ec]
push ebx
push ebp
push edi
push eax
call dword [eax + 0x8c]
add esp, 0x20
jmp 0x48274d
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
push eax
call dword [eax + 0x50]
mov eax, dword [esp + 0x14]
push eax
call dword [eax + 0x50]
mov edx, dword [esi]
add esp, 8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x4827b2
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 edi, 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 ebp
push edx
push eax
call dword [edi + 0x28]
add esp, 0x14
mov edi, eax
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jle 0x4827cf
mov ecx, dword [esp + 0x14]
push ecx
push 0x38
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x58]
mov edx, eax
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov dword [edx + 8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret