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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f603c
sub esp, 0x64
xor ebx, ebx
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, 0x5ee27a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.004fbd30
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp eax, 0
jge 0x4f5feb
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.004f6050
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], eax
cmp eax, 0
je 0x4f5d3c
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jge 0x4f5d5e
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
cmp eax, ebx
ja 0x4f5fe4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 4], eax
mov ebx, 0x5ee274
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.004fbc70
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4f5e65
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 4
call fcn.004f4100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edx
cmp edx, 0
je 0x4f5df7
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ecx
mov dword [esp], 0x5d0e60
call fcn.0040db10
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x30]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x2c]
cmp byte [0x6cfdd8], 0
jne 0x4f5e53
mov dword [eax], ebp
xor ebp, ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
xor ecx, ecx
mov byte [eax + 0x10], cl
mov dword [esp + 0x70], eax
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
add esp, 0x64
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040e4e0
mov eax, dword [esp + 0x28]
jmp 0x4f5e31
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ebx, 0x5ee274
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], 1
call fcn.004f4f80
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004f4100
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], eax
cmp eax, 0
je 0x4f5ef9
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], 4
call fcn.004f4100
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edx
cmp edx, 0
je 0x4f5f4b
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp], 0x5d0e60
call fcn.0040db10
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x38]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x34]
cmp byte [0x6cfdd8], 0
jne 0x4f5fd2
mov dword [eax], ebp
mov ebp, dword [esp + 0x58]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6cfdd8], 0
jne 0x4f5fbd
mov dword [eax + 8], ebp
mov ecx, 1
mov byte [eax + 0x10], cl
mov dword [esp + 0x70], eax
jmp 0x4f5e42
lea esi, [eax + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e4e0
mov eax, dword [esp + 0x28]
jmp 0x4f5fac
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040e4e0
mov eax, dword [esp + 0x28]
jmp 0x4f5f95
call fcn.00427a00
ud2
mov ecx, eax
inc ecx
cmp ecx, edx
ja 0x4f6035
sub edx, ecx
mov eax, ebp
cmp edx, 0
je 0x4f5ffd
add eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 0x60], edx
mov dword [esp + 4], edx
call fcn.004f6050
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
jmp 0x4f5d1d
call fcn.00427a00
ud2
call fcn.0044ff60
jmp fcn.004f5c80