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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x8009e6
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x78]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call ecx
lea eax, [0xb71c24]
mov dword [esp], eax
call fcn.00508830
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
call edx
lea eax, [0xb71c24]
mov dword [esp], eax
call fcn.00508830
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x80084a
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x800760
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x8007d0
nop
movzx edx, byte [0x107d8f8]
test dl, dl
je 0x80079d
mov dword [0x107d8fc], ecx
mov edx, dword [0x10a66d0]
test edx, edx
jne 0x80078c
mov eax, dword [esp + 0x64]
mov dword [0x107d900], eax
jmp 0x8007a1
lea edi, [0x107d900]
mov eax, dword [esp + 0x64]
call fcn.00469aa0
jmp 0x8007a1
mov eax, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x8007c8
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x8007d6
or edx, 0x80
jmp 0x8007d6
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x8007d6
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004df1c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp], eax
call fcn.00409d50
mov eax, dword [esp + 4]
lea ecx, [0xa98cc0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0xb380e2]
mov dword [esp], eax
mov dword [esp + 4], 0xa
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004f7860
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
lea edx, [0xc2b370]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00507c60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x18]
cmp ecx, edx
jae 0x8008d0
mov dword [esp + 0x24], eax
lea ebp, [0xa989c0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00451110
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x24]
lea ebp, [ebx + eax*8 + 4]
mov esi, dword [esp + 0x28]
mov dword [ebp], esi
mov ebp, dword [0x10a66d0]
lea edi, [ebx + eax*8]
test ebp, ebp
jne 0x8008f0
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
jmp 0x8008f9
mov eax, dword [esp + 0x3c]
call fcn.00469aa0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
xor eax, eax
jmp 0x80090a
inc eax
cmp eax, edx
jge 0x8009a6
mov dword [esp + 0x38], eax
lea ebp, [ebx + eax*8]
mov dword [esp + 0x48], ebp
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
test esi, esi
je 0x800938
movzx ebp, byte [edi]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jb 0x800909
xchg ebp, eax
cmp al, 0x39
xchg ebp, eax
ja 0x800909
mov dword [esp], 0
lea eax, [0xc2b498]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.00454830
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jae 0x8009dc
mov ebp, dword [esp + 0x40]
lea esi, [ebp + edx*8 + 4]
mov dword [esi], ecx
mov ecx, dword [0x10a66d0]
test ecx, ecx
jne 0x80098e
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
jmp 0x800997
mov edi, dword [esp + 0x48]
call fcn.00469aa0
mov eax, edx
mov ecx, dword [esp + 0x30]
mov edx, ebx
mov ebx, ebp
jmp 0x800909
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea eax, [0xc2b370]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.005083f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
add esp, 0x5c
ret
mov eax, edx
mov ecx, ebx
call fcn.00469b20
nop
call fcn.00468690
jmp fcn.008006e0