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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x564
mov eax, dword [0x6d7160]
xor eax, esp
mov dword [esp + 0x560], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x60], eax
push edi
lea eax, [esp + 0x78]
mov dword [esp + 0x14], esi
mov dword [esp + 0x60], ebx
call fcn.00460730
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.00464470
mov edi, eax
xor esi, esi
add esp, 4
cmp edi, esi
je 0x464892
lea ecx, [esp + 0x78]
call fcn.00460780
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.00607d6d
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx]
cmp edi, esi
je 0x4648b8
cmp byte [edi + 0x20f], 0
je 0x4648b8
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x7c]
call fcn.004cc440
mov ecx, eax
mov eax, edi
call fcn.0040cfa0
xor ebx, ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], ebx
call fcn.004cc420
test eax, eax
ja 0x4648f6
lea ecx, [esp + 0x78]
call fcn.00460780
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.00607d6d
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
xor esi, esi
push ebx
lea ecx, [esp + 0x7c]
call fcn.004cc0e0
mov edi, eax
xor eax, eax
cmp edi, esi
mov dword [esp + 0xc], eax
je 0x464929
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x464911
sub eax, edx
lea ecx, [esp + 0xc]
call fcn.00459750
mov eax, dword [esp + 0xc]
cmp eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
je 0x464979
add eax, 4
cmp eax, esi
je 0x464979
cmp byte [eax], 0x23
je 0x464a5b
lea eax, [esp + 0x18]
push ebx
push eax
lea eax, [esp + 0x14]
call fcn.00461e50
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x464a8e
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x464a5b
test dword [eax], 0xffffff00
je 0x464a5b
cmp byte [eax + 4], 0
je 0x464a5b
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x80]
call fcn.004cc160
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov esi, dword [eax + 4]
mov dword [esp + 0x3c], esi
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 0xc]
xor edi, edi
mov dword [esp + 0x44], eax
sub eax, esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov dword [esp + 0x58], eax
mov eax, dword [esi]
xor ebx, ebx
sub ecx, edx
test eax, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ecx
je 0x464a30
test dword [eax], 0xffffff00
je 0x464a30
cmp byte [eax + 4], bl
je 0x464a30
lea eax, [esp + 0x2c]
call fcn.004017d0
lea eax, [esp + 0x30]
jmp 0x464a34
lea eax, [esp + 0x2c]
mov esi, dword [esp + 0x14]
call fcn.004017d0
push edi
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00462d20
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x464a8e
lea esi, [esp + 0x18]
call fcn.004647c0
lea edi, [esp + 0xc]
call fcn.00401700
mov esi, dword [esp + 0x10]
add esi, 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], esi
call fcn.004cc420
cmp esi, eax
jb 0x4648f0
jmp 0x4648cb
lea esi, [esp + 0x18]
call fcn.004647c0
lea edi, [esp + 0xc]
call fcn.00401700
lea ecx, [esp + 0x78]
call fcn.00460780
mov ecx, dword [esp + 0x56c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00607d6d
mov esp, ebp
pop ebp
ret