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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f5308
sub esp, 0x54
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x4f4fb2
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 0x4f4fe2
mov eax, dword [0xa84ac0]
mov ecx, dword [0xa84ac4]
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 0x4f50ad
lea eax, [0x758ec0]
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.0044b0f0
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.00497120
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4f5085
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, [0x758ec0]
mov dword [esp], eax
mov dword [esp + 4], 0xa00000
mov dword [esp + 8], 0xa00000
call fcn.0044b030
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 0x4f5157
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.00464d50
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 0x4f52c5
cmp ebp, 0xa00000
seta bl
and ebx, edi
or ebx, eax
test bl, bl
je 0x4f5196
mov eax, 0xa00000
xor ebx, ebx
jmp 0x4f519c
mov eax, ebp
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x4f52f9
cmp eax, 0xa00000
ja 0x4f52ed
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.00497120
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
jne 0x4f5252
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x4f5213
mov ebp, dword [esp + 0x4c]
jmp 0x4f50f1
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, [0x758ec0]
mov dword [esp + 0x10], ecx
call fcn.0044b1b0
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 0x4f50f1
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x4f52a1
mov ebp, dword [0xa84a9c]
cmp dword [0xa84a98], eax
je 0x4f526c
xor eax, eax
jmp 0x4f5291
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.00403870
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
test al, al
je 0x4f52a1
mov edx, dword [0xa84ac0]
mov ebx, dword [0xa84ac4]
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.00464480
mov esi, ebx
mov ecx, eax
mov edx, 0xa00000
call fcn.00464580
nop
call fcn.00462fa0
jmp fcn.004f4f70