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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fd348
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.004886b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [0x5c4a20]
cmp ecx, edx
jne 0x4fd324
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jne 0x4fd318
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], eax
xor edx, edx
jmp 0x4fcfdb
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
call fcn.004fdfc0
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
cmp edx, ebx
jge 0x4fd30c
mov dword [esp + 0x20], edx
mov ebp, dword [esp + 0x74]
mov esi, dword [ebp + 4]
mov edi, dword [esi + 4]
mov esi, dword [esi + 0xc]
sub edi, esi
test edi, edi
je 0x4fd29b
mov dword [esp], ebp
call fcn.004fe0f0
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
test eax, eax
jge 0x4fd26d
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x5cda60]
mov dword [esp], ecx
lea edx, [esp + 0x38]
mov dword [esp + 4], edx
call fcn.0040a8f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x606b3b]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00506450
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jg 0x4fd1f8
mov edx, dword [eax + 4]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [edx]
mov edx, dword [edx + 0xc]
cmp edx, ebp
ja 0x4fd341
sub ebp, edx
sub ebx, edx
mov edi, ebx
neg ebx
sar ebx, 0x1f
and edx, ebx
add edx, esi
cmp ebp, ecx
jl 0x4fd139
cmp ecx, edi
ja 0x4fd33a
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call fcn.004380d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp edx, ebx
jae 0x4fd333
mov ebp, dword [esp + 0x44]
lea esi, [ebp + edx*8 + 4]
mov dword [esi], eax
mov eax, dword [0x79e7b0]
lea esi, [ebp + edx*8]
test eax, eax
jne 0x4fd128
mov dword [esi], ecx
jmp 0x4fcfb5
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040d8c0
jmp 0x4fcfb5
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x5cd0e0]
mov dword [esp], eax
lea edx, [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x5cd0e0]
mov dword [esp], eax
lea ecx, [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x606e4e]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00506450
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
jmp 0x4fd0d1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x5cd0e0]
mov dword [esp], eax
lea edx, [esp + 0x30]
mov dword [esp + 4], edx
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x6049e9]
mov dword [esp], eax
mov dword [esp + 4], 0x23
lea ecx, [esp + 0x48]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00506450
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
jmp 0x4fd0a8
mov edx, eax
sar eax, 0x1f
cmp eax, ecx
je 0x4fd27d
mov eax, edx
jmp 0x4fd021
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 4]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 0xc]
sub ebp, ebx
cmp edx, ebp
jle 0x4fd08d
mov eax, edx
jmp 0x4fd021
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [0x5cd0e0]
mov dword [esp], eax
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
lea eax, [0x60838f]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00506450
mov ebp, dword [esp + 0x74]
jmp 0x4fd005
mov byte [esp + 0x90], 1
add esp, 0x70
ret
mov byte [esp + 0x90], 0
add esp, 0x70
ret
mov ecx, 0
mov eax, 0
jmp 0x4fcfa3
call fcn.00424360
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.00446b60
jmp fcn.004fcf50