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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f85b6
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test byte [eax], al
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0x80]
test byte [eax], al
mov dword [eax + 0x14], 0
mov eax, dword [esp + 0x80]
test byte [eax], al
add eax, 0x1064
test byte [eax], al
jmp 0x4f82e9
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x80]
test byte [eax], al
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
test ecx, ecx
jne 0x4f8329
jmp 0x4f834c
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
lea ecx, [0x5cce90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040b2a0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x60]
jmp 0x4f834e
jmp 0x4f834e
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
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 + 0x2c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x80]
test byte [eax], al
mov ecx, dword [esp + 0x80]
test byte [ecx], al
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x20]
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 + 0x3c]
test eax, eax
jne 0x4f83e7
jmp 0x4f8444
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
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 + 0x44], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x80]
test byte [edx], al
mov dword [edx + 0x1074], eax
mov eax, dword [0x5efdd0]
test eax, eax
je 0x4f8426
jmp 0x4f8428
jmp 0x4f843a
call fcn.004757c0
mov dword [edi], ecx
mov eax, dword [edx + 0x1078]
mov dword [edi + 4], eax
jmp 0x4f843a
mov dword [edx + 0x1078], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
test byte [eax], al
movzx eax, byte [eax + 0x1064]
mov ecx, dword [esp + 0x80]
test byte [ecx], al
movzx ecx, byte [ecx + 0x1065]
shl ecx, 8
or eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x80]
test byte [ecx], al
movzx ecx, byte [ecx + 0x1066]
mov edx, dword [esp + 0x80]
test byte [edx], al
movzx edx, byte [edx + 0x1067]
shl edx, 8
or ecx, edx
mov dword [esp + 0x24], ecx
mov edx, eax
not eax
cmp ax, cx
jne 0x4f84a1
jmp 0x4f850b
mov eax, dword [esp + 0x80]
test byte [eax], al
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046bb20
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x80]
test byte [ecx], al
lea edx, [0x53ad70]
mov dword [ecx + 0x1074], edx
mov edx, dword [0x5efdd0]
test edx, edx
je 0x4f84ed
jmp 0x4f84ef
jmp 0x4f8501
call fcn.004757c0
mov dword [edi], eax
mov edx, dword [ecx + 0x1078]
mov dword [edi + 4], edx
jmp 0x4f8501
mov dword [ecx + 0x1078], eax
add esp, 0x7c
ret
test edx, edx
je 0x4f8514
jmp 0x4f8594
mov eax, dword [esp + 0x80]
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 + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x80]
test byte [ebx], al
mov dword [ebx + 0x1080], ecx
mov dword [ebx + 0x1084], edx
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4f8567
jmp 0x4f8569
jmp 0x4f857b
call fcn.004757c0
mov dword [edi], eax
mov ecx, dword [ebx + 0x107c]
mov dword [edi + 4], ecx
jmp 0x4f857b
mov dword [ebx + 0x107c], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004f8910
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
test byte [eax], al
mov dword [eax + 0x1090], edx
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004f85c0
add esp, 0x7c
ret
call fcn.004743b0
jmp fcn.004f82a0