Function at 0x5fa130
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 0x5fa654
sub esp, 0x84
mov eax, 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x1f], 0
nop
mov eax, dword [esp + 0x98]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x28], eax
cmp eax, 0x14
ja 0x5fa189
lea ebx, [eax - 0x12]
cmp ebx, 1
jbe 0x5fa1b3
cmp eax, 0x14
je 0x5fa193
jmp 0x5fa60d
cmp eax, 0x16
jbe 0x5fa1b3
cmp eax, 0x17
jne 0x5fa1aa
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
jmp 0x5fa1ec
cmp eax, 0x1a
jne 0x5fa60d
test ecx, 0x200
je 0x5fa1c4
mov ebx, dword [esp + 0x94]
jmp 0x5fa1f6
test ecx, 0x80
je 0x5fa1d7
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
jmp 0x5fa1e0
mov ebx, dword [esp + 0x94]
mov ebp, ebx
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5fa454
mov ebp, dword [esp + 0x8c]
mov esi, dword [ebp + 0x54]
inc esi
mov dword [ebp + 0x54], esi
cmp esi, 0x3e8
ja 0x5fa213
xor eax, eax
jmp 0x5fa3ea
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004bc6b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x28]
cmp ecx, 0x17
jne 0x5fa247
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 4]
jmp 0x5fa274
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
call fcn.004ba740
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edx
lea ecx, [0x68da00]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edx
lea ebx, [0x6980e0]
mov dword [esp + 0x44], ebx
lea ebp, [esp + 0x58]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x8c]
mov esi, dword [ebp + 0x58]
lea edi, [0x68fb80]
mov dword [esp], edi
mov dword [esp + 4], esi
lea esi, [esp + 0x44]
mov dword [esp + 8], esi
call fcn.0040c840
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5fa47e
lea eax, [0x68da00]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
lea ebx, [0x6980e0]
mov dword [esp], ebx
lea ebp, [esp + 0x64]
mov dword [esp + 4], ebp
call fcn.00408f50
mov eax, dword [esp + 8]
lea ecx, [0x6980e0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x58]
lea ebx, [0x68fb80]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x44]
mov dword [esp + 8], edx
call fcn.0040cbc0
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x58]
lea edx, [0x68da00]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea edx, [0x5fa660]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
lea ecx, [0x6980e0]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x80], ecx
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov ebp, eax
mov eax, 1
mov byte [esp + 0x1e], al
mov edx, dword [esp + 0x88]
mov esi, dword [edx]
mov dword [esp], ebp
mov edi, dword [esp + 0x90]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + 0x9c]
mov byte [esp + 0x10], cl
movzx ecx, byte [esp + 0x9d]
mov byte [esp + 0x11], cl
call esi
mov eax, dword [esp + 0x8c]
dec dword [eax + 0x54]
movzx eax, byte [esp + 0x1e]
test al, 1
je 0x5fa44d
and eax, 0xfffffffe
mov byte [esp + 0x1f], al
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov eax, dword [esp + 0x8c]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x6c770d]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004d9760
add esp, 0x84
ret
mov eax, dword [esp + 0x98]
test eax, eax
je 0x5fa5db
test eax, 0x200
jne 0x5fa5db
lea ecx, [0x73f518]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test ecx, ecx
je 0x5fa4bc
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea eax, [0x6d2914]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cb5c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edx, [0x69d1c0]
mov dword [esp], edx
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x98]
mov dword [edi + 8], eax
mov eax, dword [0x91eb10]
test eax, eax
jne 0x5fa5b5
mov ecx, dword [esp + 0x90]
mov dword [edi], ecx
mov ecx, dword [esp + 0x94]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x5fa5a1
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xc], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [0x73d87c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
lea eax, [0x6a0820]
mov dword [esp], eax
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00408f50
mov eax, dword [esp + 8]
lea ecx, [0x6a0820]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436cf0
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x2c]
mov edx, edi
mov edi, ecx
call fcn.00462ed0
mov edi, edx
jmp 0x5fa557
mov eax, dword [esp + 0x90]
call fcn.00462ed0
lea ecx, [edi + 4]
mov eax, dword [esp + 0x94]
mov edx, edi
mov edi, ecx
call fcn.00462ed0
mov edi, edx
jmp 0x5fa53f
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004bc560
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x98]
jmp 0x5fa4a5
lea eax, [0x69f1a0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x6ce8c1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x6955e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436cf0
nop
call fcn.00436170
add esp, 0x84
ret
call fcn.00461ac0
jmp fcn.005fa130