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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f99cf
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x2f
call fcn.004024a0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x4f9927
mov edx, dword [esp + 0x68]
cmp ecx, edx
ja 0x4f99c9
lea eax, [ecx + 1]
cmp eax, edx
ja 0x4f99c2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f8ce0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
sub eax, ecx
mov dword [esp + 0x24], eax
mov ebx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x64]
add ecx, eax
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x10]
test esi, esi
je 0x4f98f1
mov dword [esp + 0x48], eax
mov eax, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x58], esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00504720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x10]
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x4f9738
test dl, dl
je 0x4f9738
mov edx, dword [esp + 0x24]
cmp ecx, edx
je 0x4f97d3
lea eax, [0x95a8a0]
mov dword [esp], eax
call fcn.0040af00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xc
mov eax, dword [0xe8ff30]
test eax, eax
jne 0x4f97c6
lea ecx, [0x9d261e]
mov dword [edi], ecx
mov ecx, dword [esp + 0x68]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f97b0
mov eax, dword [esp + 0x64]
mov dword [edi + 8], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0xaa52f0]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x60
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x64]
call fcn.00456ab0
mov edi, edx
jmp 0x4f977b
lea eax, [0x9d261e]
call fcn.00456ab0
jmp 0x4f9763
test eax, eax
jl 0x4f9738
mov ecx, dword [esp + 0x30]
shl ecx, 3
cmp eax, ecx
jg 0x4f9738
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f6a30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.004f7410
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ebx, [0x95a720]
mov dword [esp], ebx
call fcn.0040af00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [0xe8ff30]
test eax, eax
jne 0x4f98e6
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f98d0
mov eax, dword [esp + 0x54]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.00456ab0
mov edi, edx
jmp 0x4f989d
mov eax, dword [esp + 0x5c]
call fcn.00456ab0
jmp 0x4f987e
mov dword [esp + 0x50], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.004f8f80
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov eax, 0x10
mov dword [esp + 0x30], eax
jmp 0x4f96fb
lea eax, [0x95a8a0]
mov dword [esp], eax
call fcn.0040af00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xc
mov eax, dword [0xe8ff30]
test eax, eax
jne 0x4f99b5
lea ecx, [0x9d261e]
mov dword [edi], ecx
mov ecx, dword [esp + 0x68]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f999f
mov eax, dword [esp + 0x64]
mov dword [edi + 8], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0xaa52f0]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x60
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x64]
call fcn.00456ab0
mov edi, edx
jmp 0x4f996a
lea eax, [0x9d261e]
call fcn.00456ab0
jmp 0x4f9952
mov ecx, edx
call fcn.00456b90
call fcn.00456b50
nop
call fcn.00455270
jmp fcn.004f9650