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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fc7d7
sub esp, 0x50
mov edx, dword [esp + 0x54]
cmp edx, 2
jne 0x4fc4a5
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x4fc494
mov edx, dword [0x701698]
mov ebx, dword [0x70169c]
mov ebp, dword [0x7016a0]
cmp ebx, 4
je 0x4fc48b
cmp ebx, 0x10
jne 0x4fc360
xor eax, eax
jmp 0x4fc347
inc eax
cmp eax, 0xa
jge 0x4fc46a
jae 0x4fc7cc
movzx esi, byte [edx + eax]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4fc346
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x4fc3dd
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
lea eax, [0x5b8540]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 4
jge 0x4fc3d6
mov dword [esp + 0x3c], eax
lea edx, [eax + 4]
mov ebx, dword [esp + 0x48]
cmp edx, ebx
je 0x4fc3b0
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045eba0
lea eax, [0x610b58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov ecx, 4
jmp 0x4fc391
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004f8210
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x5b1160]
mov dword [esp], edx
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x5d2d65]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fc458
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x610a2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045e220
mov eax, ecx
jmp 0x4fc436
cmp byte [edx + 0xa], 0xff
jne 0x4fc360
cmp byte [edx + 0xb], 0xff
jne 0x4fc360
lea eax, [edx + 0xc]
mov ecx, 4
jmp 0x4fc364
mov eax, edx
mov ecx, ebx
jmp 0x4fc364
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
jmp 0x4fc334
cmp edx, 0x17
jne 0x4fc733
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4fc6df
mov eax, dword [0x6fcfc0]
mov ecx, dword [0x6fcfc4]
mov edx, dword [0x6fcfc8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
cmp ecx, 4
jne 0x4fc6cd
movzx ebx, byte [eax]
movzx ebp, byte [eax + 1]
movzx esi, byte [eax + 2]
movzx edi, byte [eax + 3]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edx, dword [0x6fcfd0]
mov ecx, dword [0x6fcfd4]
cmp ecx, 0x10
jge 0x4fc6c3
mov byte [esp + 0x1f], bl
xchg ebp, eax
mov byte [esp + 0x1e], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1c], al
xchg edi, eax
lea eax, [esp + 0x2c]
cmp edx, eax
je 0x4fc553
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045eba0
movzx edx, byte [esp + 0x1f]
mov byte [esp + 0x38], dl
movzx edx, byte [esp + 0x1e]
mov byte [esp + 0x39], dl
movzx edx, byte [esp + 0x1d]
mov byte [esp + 0x3a], dl
movzx edx, byte [esp + 0x1c]
mov byte [esp + 0x3b], dl
lea eax, [esp + 0x2c]
mov ecx, 0x10
test eax, eax
je 0x4fc62a
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ecx
lea eax, [0x701a00]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004f7910
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea ecx, [0x5baee0]
mov dword [esp], ecx
call fcn.0040b910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
cmp ecx, 0x10
jge 0x4fc623
mov dword [esp + 0x40], eax
lea edx, [eax + 8]
mov ebx, dword [esp + 0x44]
cmp ebx, edx
je 0x4fc5fd
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045eba0
lea eax, [0x610b6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov ecx, 0x10
jmp 0x4fc5de
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004f8210
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x5b1160]
mov dword [esp], edx
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x5d2d75]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fc6b1
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x610a2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045e220
mov eax, ecx
jmp 0x4fc68f
mov ecx, 0x10
jmp 0x4fc525
cmp ecx, 0x10
je 0x4fc580
xor eax, eax
xor ecx, ecx
jmp 0x4fc580
mov ecx, dword [0x701698]
mov edx, dword [0x70169c]
mov ebx, dword [0x7016a0]
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov esi, dword [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004f8dc0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4fc4ba
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
jmp 0x4fc4cc
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004f8210
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x5b1160]
mov dword [esp], edx
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x5d4f59]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fc7ba
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x610a2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045e220
mov eax, ecx
jmp 0x4fc798
mov ecx, 0xa
call fcn.0045e2a0
nop
call fcn.0045ccc0
jmp fcn.004fc2f0