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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4f88f9
sub esp, 0x84
mov eax, dword [esp + 0x88]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x80], eax
mov dword [esp], eax
call fcn.004f0840
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x88]
test byte [eax], al
cmp dword [eax + 0x1090], ecx
jl 0x4f862a
jmp 0x4f864e
mov eax, dword [esp + 0x88]
test byte [eax], al
mov ecx, dword [eax + 0x1090]
mov dword [esp + 0x28], ecx
cmp ecx, edx
jbe 0x4f8646
jmp 0x4f88f3
jmp 0x4f8648
mov dword [esp + 0x3c], ecx
jmp 0x4f8650
jmp 0x4f8650
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x88]
test byte [eax], al
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
test ecx, ecx
jne 0x4f867c
jmp 0x4f869f
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
lea ecx, [0x5ccea0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040b2a0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x60]
jmp 0x4f86a1
jmp 0x4f86a1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004818f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x88]
test byte [eax], al
mov ecx, dword [esp + 0x88]
test byte [ecx], al
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x24]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax + 0xc], edx
adc ecx, ebx
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x88]
test byte [eax], al
mov ecx, dword [esp + 0x88]
test byte [ecx], al
mov ecx, dword [ecx + 0x1090]
sub ecx, dword [esp + 0x24]
mov dword [eax + 0x1090], ecx
mov eax, dword [esp + 0x88]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f08d0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4f877e
jmp 0x4f87de
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f8a50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x88]
test byte [edx], al
mov dword [edx + 0x1074], eax
mov eax, dword [0x5efdd0]
test eax, eax
je 0x4f87bd
jmp 0x4f87bf
jmp 0x4f87d1
call fcn.004757c0
mov dword [edi], ecx
mov eax, dword [edx + 0x1078]
mov dword [edi + 4], eax
jmp 0x4f87d1
mov dword [edx + 0x1078], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x68], eax
mov dword [esp], eax
call fcn.004f07f0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
test eax, eax
sete al
mov byte [esp + 0x23], al
je 0x4f880d
jmp 0x4f880f
jmp 0x4f8829
mov eax, dword [esp + 0x88]
test byte [eax], al
mov eax, dword [eax + 0x1090]
test eax, eax
setg al
mov byte [esp + 0x23], al
jmp 0x4f8829
movzx eax, byte [esp + 0x23]
test al, al
jne 0x4f8837
jmp 0x4f88dd
mov eax, dword [esp + 0x88]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x64], eax
mov dword [esp], eax
call fcn.004f0e50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x88]
test byte [ebx], al
mov dword [ebx + 0x1080], ecx
mov dword [ebx + 0x1084], edx
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4f888a
jmp 0x4f888c
jmp 0x4f889e
call fcn.004757c0
mov dword [edi], eax
mov ecx, dword [ebx + 0x107c]
mov dword [edi + 4], ecx
jmp 0x4f889e
mov dword [ebx + 0x107c], eax
mov eax, dword [esp + 0x88]
test byte [eax], al
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4f88b9
jmp 0x4f88bb
jmp 0x4f88ca
mov ecx, dword [eax + 0x1068]
call fcn.004757b0
mov dword [edi], ecx
jmp 0x4f88ca
lea ecx, [0x5329f0]
mov dword [eax + 0x1068], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.004f8910
add esp, 0x84
ret
call fcn.00475870
nop
call fcn.004743b0
jmp fcn.004f85c0