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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f710b
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
lea edx, [0x5ee32a]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.00485df0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
test eax, eax
jl 0x4f70d4
lea ecx, [eax + 1]
mov edx, dword [esp + 0x64]
cmp ecx, edx
ja 0x4f7104
sub edx, ecx
mov ebx, edx
neg edx
sar edx, 0x1f
and ecx, edx
mov edx, dword [esp + 0x60]
add ecx, edx
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.004f7120
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4f70b0
mov eax, dword [esp + 0x2c]
test eax, eax
jl 0x4f708c
mov ecx, dword [esp + 0x64]
cmp eax, ecx
ja 0x4f70fd
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004f88d0
movzx eax, byte [esp + 8]
test al, al
je 0x4f701b
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
lea edx, [0x5ee324]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.00485d40
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f6f3e
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [0x5ee324]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], 1
call fcn.004f6190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.004f55b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
jne 0x4f6f1a
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.004f55b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
jne 0x4f6ef6
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
lea eax, [0x5cc700]
mov dword [esp], eax
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x71de50]
test ecx, ecx
jne 0x4f6ee0
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x71de50]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4f6eca
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov byte [eax + 0x10], 1
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x3c]
jmp 0x4f6e9e
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0x3c]
jmp 0x4f6e83
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, 0x5c
ret
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, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.004f55b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
jne 0x4f6ff7
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ecx
lea eax, [0x5cc700]
mov dword [esp], eax
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0x71de50]
test ecx, ecx
jne 0x4f6fe1
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [0x71de50]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4f6fcb
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x4f6ea2
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0040e560
mov eax, dword [esp + 0x40]
jmp 0x4f6fc2
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0x40]
jmp 0x4f6fa7
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, 0x5c
ret
lea eax, [0x5bf3e0]
mov dword [esp], eax
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
mov ecx, dword [0x71de50]
test ecx, ecx
jne 0x4f7070
lea ecx, [0x5f47be]
mov dword [eax], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x61e120]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov dword [esp + 0x54], eax
mov dword [esp], eax
lea ecx, [0x5f47be]
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0x54]
jmp 0x4f7046
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.004f7120
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
jmp 0x4f6d2b
call fcn.00425870
ud2
call fcn.00425870
ud2
call fcn.0044a3c0
jmp fcn.004f6ca0