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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b8c2b
sub esp, 0x60
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x4b89f7
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.004b8d70
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
mov ebp, dword [esp + 8]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x64]
mov dword [esp], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4b89e7
test eax, eax
jne 0x4b89e7
xor eax, eax
jmp 0x4b8a49
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jge 0x4b8c17
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x54], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 0x50], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebx
lea edx, [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b9170
mov edx, dword [0x8e1ef0]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4b8b5d
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b8a42
mov ecx, dword [esp + 0x1c]
cmp dword [0x8ef500], eax
je 0x4b8b20
mov edx, 1
jmp 0x4b8b50
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [0x8ef504]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404680
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x48]
mov edx, eax
mov eax, dword [esp + 0x2c]
test dl, dl
je 0x4b8a42
jmp 0x4b8bf7
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
call fcn.004b8940
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b8a42
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x4b8c03
mov eax, dword [esp + 0x30]
cmp dword [0x8ef500], eax
je 0x4b8bc5
mov ecx, 1
jmp 0x4b8bed
mov ecx, dword [0x8ef504]
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00404680
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x30]
test cl, cl
je 0x4b8a42
jmp 0x4b8c07
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x60
ret
call fcn.00470060
jmp fcn.004b8940