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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a8fb8
sub esp, 0x54
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x4a8c62
mov ecx, dword [esp + 0x60]
mov edx, ecx
sar ecx, 0x1f
cmp eax, ecx
setne cl
mov ebx, dword [esp + 0x60]
cmp edx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ecx, ebp
test cl, cl
je 0x4a8c92
mov eax, dword [0x57d5c0]
mov ecx, dword [0x57d5c4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
cmp ebx, 0xa00000
setb cl
test eax, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ecx, ebp
test cl, cl
je 0x4a8d5d
lea eax, [0x4d7180]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
call fcn.00447580
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
nop
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0046d7f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4a8d35
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x54
ret
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x54
ret
lea eax, [0x4d7180]
mov dword [esp], eax
mov dword [esp + 4], 0xa00000
mov dword [esp + 8], 0xa00000
call fcn.004474c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x4c], esi
xor esi, esi
jmp 0x4a8e07
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov esi, dword [esp + 0x40]
sub esi, eax
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
sbb edi, edx
mov dword [esp + 0x38], edi
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045ee10
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov eax, ecx
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x3c]
mov ebx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ebx
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
seta al
test ebp, ebp
seta bl
and ebx, edi
or ebx, eax
test bl, bl
je 0x4a8f75
cmp ebp, 0xa00000
seta bl
and ebx, edi
or ebx, eax
test bl, bl
je 0x4a8e46
mov eax, 0xa00000
xor ebx, ebx
jmp 0x4a8e4c
mov eax, ebp
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x4a8fa9
cmp eax, 0xa00000
ja 0x4a8f9d
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xa00000
mov dword [esp + 0x14], eax
call fcn.0046d7f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
jne 0x4a8f02
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x4a8ec3
mov ebp, dword [esp + 0x4c]
jmp 0x4a8da1
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
lea ecx, [0x4d7180]
mov dword [esp + 0x10], ecx
call fcn.00447640
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov ebx, edi
mov eax, dword [esp + 0x24]
jmp 0x4a8da1
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x4a8f51
mov ebp, dword [0x57d59c]
cmp dword [0x57d598], eax
je 0x4a8f1c
xor eax, eax
jmp 0x4a8f41
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00403970
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
test al, al
je 0x4a8f51
mov edx, dword [0x57d5c0]
mov ebx, dword [0x57d5c4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x54
ret
mov ecx, eax
mov edx, 0xa00000
call fcn.0045e5e0
mov esi, ebx
mov ecx, eax
mov edx, 0xa00000
call fcn.0045e680
nop
call fcn.0045d0e0
jmp fcn.004a8c20