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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5fa950
sub esp, 0x8c
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00464423
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0x4c], ebx
lea ebp, [0x6960a0]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409740
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x90]
lea edx, [ecx + 0x4c]
mov dword [esp + 0x74], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xa
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 0xa
call fcn.0046d240
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
jne 0x5fa93b
mov ecx, dword [esp + 0x90]
cmp byte [ecx + 0x4c], 0x1f
jne 0x5fa2dc
cmp byte [ecx + 0x4d], 0x8b
jne 0x5fa2dc
cmp byte [ecx + 0x4e], 8
je 0x5fa2fd
mov eax, dword [0x8c0d40]
mov ecx, dword [0x8c0d44]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
movzx edx, byte [ecx + 0x4f]
mov byte [esp + 0x27], dl
mov ebx, dword [ecx + 0x50]
test ebx, ebx
je 0x5fa361
add ebx, 0x7791f700
mov eax, 0
adc eax, 0xe
lea edi, [esp + 0x78]
mov ebp, eax
xor eax, eax
call fcn.0046442b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebp
mov ecx, dword [0x8bb250]
mov dword [esp + 0x88], ecx
lea edi, [esp + 0xa8]
lea esi, [esp + 0x78]
call fcn.0046490e
mov ecx, dword [esp + 0x90]
movzx eax, byte [ecx + 0x55]
mov byte [esp + 0xc4], al
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0xa
mov dword [esp + 8], 0x200
call fcn.005f9900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
movzx eax, byte [esp + 0x27]
test al, 4
je 0x5fa5f1
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x48], edx
lea ebx, [0x6960a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409740
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 2
call fcn.0046d240
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x5fa462
mov ebp, dword [0x8c0f9c]
cmp dword [0x8c0f98], edx
jne 0x5fa44d
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004038b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5fa445
mov eax, dword [0x8c0fc0]
mov ecx, dword [0x8c0fc4]
jmp 0x5fa44d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, dword [0x8c077c]
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov byte [esp + 0x14], 1
call fcn.005f97f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
movzx eax, word [ecx + 0x4c]
mov dword [esp + 0x3c], eax
lea edx, [0x68e040]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0x44], ebx
lea ebp, [0x6960a0]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409740
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0046d240
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x5fa58c
mov ebp, dword [0x8c0f9c]
cmp dword [0x8c0f98], edx
jne 0x5fa577
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x34], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004038b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5fa56f
mov eax, dword [0x8c0fc0]
mov ecx, dword [0x8c0fc4]
jmp 0x5fa577
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, dword [0x8c077c]
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov byte [esp + 0x14], 1
call fcn.005f97f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
movzx eax, byte [esp + 0x27]
test al, 8
je 0x5fa692
mov dword [esp], ecx
call fcn.005f9fe0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x5fa678
mov edx, dword [0x8c0f9c]
cmp dword [0x8c0f98], ebp
jne 0x5fa663
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call fcn.004038b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5fa65b
mov eax, dword [0x8c0fc0]
mov ecx, dword [0x8c0fc4]
jmp 0x5fa663
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x90]
test al, 0x10
je 0x5fa733
mov dword [esp], ecx
call fcn.005f9fe0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x5fa719
mov edx, dword [0x8c0f9c]
cmp dword [0x8c0f98], ebp
jne 0x5fa704
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call fcn.004038b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5fa6fc
mov eax, dword [0x8c0fc0]
mov ecx, dword [0x8c0fc4]
jmp 0x5fa704
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebx
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x90]
test al, 2
je 0x5fa811
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x40], edx
lea ebx, [0x6960a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409740
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 2
call fcn.0046d240
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x5fa7fa
mov ebp, dword [0x8c0f9c]
cmp dword [0x8c0f98], edx
jne 0x5fa7e5
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004038b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5fa7dd
mov eax, dword [0x8c0fc0]
mov ecx, dword [0x8c0fc4]
jmp 0x5fa7e5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
nop
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x44]
cmp word [eax + 0x4c], cx
jne 0x5fa91a
mov ecx, eax
mov dword [ecx + 0x44], 0
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x5fa8a4
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x6c], edx
lea ebx, [0x6960a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409740
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x68], ecx
mov eax, dword [eax + 0x3c]
mov edx, dword [esp + 8]
mov dword [esp + 0x64], edx
lea ebx, [0x6958c0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004097a0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
jmp 0x5fa8fd
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x6c], edx
lea ebx, [0x6960a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409740
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.005f8e50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x90]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x8e7a50]
test ecx, ecx
jne 0x5fa8f5
mov dword [edx + 0x40], eax
jmp 0x5fa8fd
lea edi, [edx + 0x40]
call fcn.00464190
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0x8c
ret
mov eax, dword [0x8c0d40]
mov ecx, dword [0x8c0d44]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ebx
add esp, 0x8c
ret
call fcn.00462d80
jmp fcn.005fa220