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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fad14
sub esp, 0x58
mov eax, dword [esp + 0x60]
cmp eax, 7
jne 0x4fad0b
mov ecx, dword [esp + 0x5c]
cmp dword [ecx], 0x6e6e6f63
jne 0x4fa914
cmp word [ecx + 4], 0x6365
jne 0x4fa914
cmp byte [ecx + 6], 0x74
je 0x4fab5e
cmp eax, 6
jne 0x4fab46
cmp dword [ecx], 0x7473696c
jne 0x4fab46
cmp word [ecx + 4], 0x6e65
jne 0x4fab46
movzx eax, byte [esp + 0x70]
test al, al
je 0x4faa66
nop
nop
mov eax, dword [0x726f10]
lea ecx, [0x72340c]
mov dword [esp], ecx
lea ecx, [0x602820]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea eax, [0x5c65d8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
call fcn.004de2b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4faa19
mov dword [esp + 0x2c], ebx
je 0x4faa15
mov ecx, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea edx, [0x597b60]
mov dword [esp + 0x48], edx
lea edx, [0x5fe9c0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004bd300
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov ecx, ebx
jmp 0x4fa9a5
mov dword [esp], 0x10
lea eax, [0x5d4264]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
movzx eax, byte [esp + 0x70]
mov byte [esp + 0x10], al
movzx eax, word [esp + 0x72]
mov word [esp + 0x12], ax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
call fcn.0042fd50
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x58
ret
lea eax, [0x5c65d8]
mov dword [esp], eax
mov dword [esp + 4], 3
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
call fcn.004eb630
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
je 0x4fab19
mov dword [esp + 0x34], ecx
je 0x4fab15
mov eax, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x597b60]
mov dword [esp + 0x48], ecx
lea ecx, [0x5fe9b8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004bd300
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov eax, ecx
jmp 0x4faaa5
lea ecx, [0x5c65d8]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], eax
call fcn.004ec8e0
mov edx, dword [esp + 0xc]
xor eax, eax
xor ebx, ebx
lea ecx, [0x6024c0]
jmp 0x4fa998
mov eax, dword [0x7278bc]
mov ecx, dword [0x7278b8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
lea eax, [0x5c65d8]
mov dword [esp], eax
mov dword [esp + 4], 3
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
call fcn.004eb630
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4fac11
mov dword [esp + 0x30], edx
je 0x4fac0d
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea edx, [0x597b60]
mov dword [esp + 0x48], edx
lea edx, [0x5fe9a8]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004bd300
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov eax, edx
jmp 0x4fab9d
lea ecx, [0x5c65d8]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.004ebd80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
je 0x4facc0
mov dword [esp + 0x30], ecx
je 0x4facbc
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x597b60]
mov dword [esp + 0x48], ecx
lea ecx, [0x5fe9b0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004bd300
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov eax, ecx
jmp 0x4fac4c
mov dword [esp + 0x44], eax
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004ebbe0
mov dword [esp], 8
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
lea eax, [0x603620]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.0042fd50
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x58
ret
mov ecx, dword [esp + 0x5c]
jmp 0x4fa914
call fcn.0044b750
jmp fcn.004fa8d0