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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f5fdc
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, 0x5ee21a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.004fbcd0
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp eax, 0
jge 0x4f5f8b
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.004f5ff0
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 0x4f5cdc
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 0x4f5cfe
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 0x4f5f84
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, 0x5ee214
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.004fbc10
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4f5e05
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 4
call fcn.004f40a0
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 0x4f5d97
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], 0x5d0e00
call fcn.0040da40
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 [0x6cfdf8], 0
jne 0x4f5df3
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.0040e410
mov eax, dword [esp + 0x28]
jmp 0x4f5dd1
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ebx, 0x5ee214
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], 1
call fcn.004f4f20
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.004f40a0
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 0x4f5e99
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.004f40a0
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 0x4f5eeb
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], 0x5d0e00
call fcn.0040da40
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 [0x6cfdf8], 0
jne 0x4f5f72
mov dword [eax], ebp
mov ebp, dword [esp + 0x58]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6cfdf8], 0
jne 0x4f5f5d
mov dword [eax + 8], ebp
mov ecx, 1
mov byte [eax + 0x10], cl
mov dword [esp + 0x70], eax
jmp 0x4f5de2
lea esi, [eax + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e410
mov eax, dword [esp + 0x28]
jmp 0x4f5f4c
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040e410
mov eax, dword [esp + 0x28]
jmp 0x4f5f35
call fcn.00427930
ud2
mov ecx, eax
inc ecx
cmp ecx, edx
ja 0x4f5fd5
sub edx, ecx
mov eax, ebp
cmp edx, 0
je 0x4f5f9d
add eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 0x60], edx
mov dword [esp + 4], edx
call fcn.004f5ff0
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 0x4f5cbd
call fcn.00427930
ud2
call fcn.0044fe90
jmp fcn.004f5c20