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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4fa983
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call fcn.004f9c10
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0x1c]
test ecx, ecx
jne 0x4fa919
test esi, esi
jne 0x4fa823
mov ecx, ebp
and ebp, 0x1f
mov dword [esp + 0x48], ebp
cmp ebp, 0x11
jne 0x4fa677
xor edx, edx
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x88]
mov dword [esp], esi
mov dword [esp + 4], 9
call fcn.004f97e0
mov eax, dword [esp + 8]
cmp eax, 8
je 0x4fa66e
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0xc]
dec edx
mov dword [ecx + 0xc], edx
test byte [ecx], al
lea edx, [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00503910
mov eax, dword [esp + 0x48]
cmp eax, 0x17
je 0x4fa4a2
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.0048e870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jge 0x4fa470
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.0048e140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004f9860
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004f97e0
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
cmp ecx, 8
je 0x4fa28c
cmp ecx, 7
jne 0x4fa263
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
jmp 0x4fa155
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov edx, dword [0x8727ac]
mov ebx, dword [0x8727a8]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004f94c0
mov eax, dword [esp + 0x40]
jmp 0x4fa24a
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.0048e870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jge 0x4fa3bd
mov eax, dword [esp + 0x48]
cmp eax, 0x11
jne 0x4fa447
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
call fcn.00490190
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00491010
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x34]
mov dword [esp + 8], edi
call fcn.0048e870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jge 0x4fa3bd
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.0048e140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
call fcn.0048f3c0
mov eax, dword [esp + 0x40]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
jmp 0x4fa325
test ecx, ecx
jne 0x4fa3ca
mov eax, dword [esp + 0x48]
cmp eax, 0x17
je 0x4fa3d1
add esp, 0x84
ret
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call fcn.00490190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00490c00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0048f3c0
jmp 0x4fa3ca
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0048f990
mov ecx, dword [esp + 0x40]
jmp 0x4fa3bd
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov edx, dword [0x730940]
mov ebx, dword [0x730944]
mov ebp, dword [0x730948]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004f9860
jmp 0x4fa21c
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.0048db90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jge 0x4fa524
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.0048e870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jge 0x4fa4fb
mov eax, dword [esp + 0x48]
jmp 0x4fa1a9
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
lea ebp, [ecx + 1]
mov dword [esp + 0xc], ebp
call fcn.0048f990
mov ecx, dword [esp + 0x40]
jmp 0x4fa4f2
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.0048db90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.0048db90
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 0x1f
sub ecx, eax
sar ecx, 1
mov eax, dword [esp + 0x44]
add eax, ecx
cmp eax, 4
jge 0x4fa581
mov eax, 4
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
call fcn.00490190
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
call fcn.0048e870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
call fcn.00490c00
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], esi
call fcn.00490940
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
call fcn.0048f3c0
mov ecx, dword [esp + 0x40]
jmp 0x4fa4ca
mov eax, dword [esp + 0x40]
jmp 0x4fa28c
cmp ebp, 0x14
je 0x4fa76b
cmp ebp, 0x17
jne 0x4fa68a
jmp 0x4fa153
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00490190
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], ecx
lea edx, [0x6dc220]
mov dword [esp], edx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [eax + 4], 5
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x4fa750
lea ecx, [0x704dba]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4fa73a
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov dword [esp], ecx
lea edx, [0x847c60]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004f9520
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.004f96b0
add esp, 0x84
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x6c]
jmp 0x4fa6f4
mov dword [esp], eax
lea ecx, [0x704dba]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x6c]
jmp 0x4fa6d9
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0048ee00
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4fa794
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x4fa68a
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.004fe800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
lea eax, [0x6a3fa0]
mov dword [esp], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00490f20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.0048f3c0
add esp, 0x84
ret
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
call fcn.00490190
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
lea edx, [0x6dc220]
mov dword [esp], edx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [eax + 4], 5
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x4fa8fe
lea ecx, [0x704dba]
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4fa8e8
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov dword [esp], ecx
lea edx, [0x847c60]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004f9520
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.004f96b0
add esp, 0x84
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x6c]
jmp 0x4fa8a2
mov dword [esp], eax
lea ecx, [0x704dba]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x6c]
jmp 0x4fa887
mov eax, dword [esp + 0x88]
mov ebx, dword [eax + 0xc]
dec ebx
mov dword [eax + 0xc], ebx
mov dword [esp], eax
call fcn.004f96b0
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4fa96a
add esp, 0x84
ret
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004f94c0
jmp 0x4fa963
call fcn.004486b0
jmp fcn.004fa0b0