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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4a8b56
sub esp, 0xb8
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0044a11b
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
call edx
lea esi, [esp + 4]
lea edi, [esp + 0x64]
call fcn.0044a5fe
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x2f], cl
lea edi, [esp + 0x50]
lea esi, [esp + 0x64]
call fcn.0044a5fe
movzx ecx, byte [esp + 0x2f]
test cl, cl
jne 0x4a8ae1
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0044a118
lea edi, [esp + 0x98]
call fcn.0044a118
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x9c], edx
lea edi, [esp + 0x78]
lea esi, [esp + 0x98]
call fcn.0044a5e0
lea ecx, [0x50f880]
mov dword [esp], ecx
call fcn.0040d050
mov ecx, dword [0x5d3b70]
mov edi, dword [esp + 4]
mov dword [esp + 0x38], edi
lea edx, [edi + 0x24]
test ecx, ecx
jne 0x4a8a9d
lea esi, [esp + 0x78]
call fcn.0044a5e0
mov edi, edx
lea esi, [esp + 0xc4]
call fcn.0044a5fe
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
lea eax, [0x53b7a0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.004a8050
mov edi, esp
lea esi, [esp + 0xc4]
call fcn.0044a5fe
call fcn.00476560
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
sete dl
test ecx, ecx
setbe bl
and edx, ebx
test eax, eax
setl bl
or ebx, edx
test bl, bl
je 0x4a893e
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 1
mov ecx, dword [0x5becbc]
mov edx, dword [0x5becb8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a8cb0
lea eax, [0x504820]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
lea ecx, [0x4a9100]
mov dword [eax], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a8920
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
lea edx, [0x53ba00]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
nop
call fcn.00424e00
add esp, 0xb8
ret
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
jmp 0x4a88f8
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x38]
lea ecx, [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
call fcn.0044e6c0
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x52b7d0]
mov dword [esp + 4], eax
call fcn.004245e0
test eax, eax
jne 0x4a8a90
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4a89fe
lea eax, [0x504820]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
lea ecx, [0x4a91a0]
mov dword [eax], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a89e0
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
lea edx, [0x53ba00]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
nop
call fcn.00424e00
add esp, 0xb8
ret
mov dword [esp + 0x44], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
jmp 0x4a89b8
lea eax, [0x504820]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
lea ecx, [0x4a9150]
mov dword [eax], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a8a76
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00474dd0
mov eax, dword [0x5d3b70]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 0x20]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x4a8a61
mov dword [ecx + 0x20], ebx
jmp 0x4a898a
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040d8c0
mov ecx, dword [esp + 0x38]
jmp 0x4a898a
mov dword [esp + 0x40], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x40]
jmp 0x4a8a2c
nop
call fcn.00424e00
add esp, 0xb8
ret
mov dword [esp + 0x3c], edx
lea eax, [0x513080]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0040d9d0
lea eax, [0x51cc60]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0xc4]
mov dword [esp + 8], eax
call fcn.0040d9d0
jmp 0x4a8843
mov edi, esp
lea esi, [esp + 0x50]
call fcn.0044a5fe
lea edi, [esp + 0x14]
lea esi, [esp + 0xc4]
call fcn.0044a5fe
call fcn.00475010
movzx eax, byte [esp + 0x28]
test al, al
je 0x4a87c2
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.004a7f20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], eax
nop
call fcn.00424e00
add esp, 0xb8
ret
call fcn.004486e0
jmp fcn.004a8730