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

Disassembly:
mov al, byte [0x1011dd00]
sub esp, 0x7c
test al, 1
push ebx
push edi
jne 0x1008a56a
mov bl, al
lea eax, [esp + 0xa]
lea ecx, [esp + 0xb]
push eax
or bl, 1
push ecx
mov ecx, 0x1011da80
mov byte [0x1011dd00], bl
call fcn.1008bc80
push 0x1008a790
call fcn.100dca65
add esp, 4
mov eax, dword [0x1011da84]
lea edx, [esp + 0x1c]
push eax
mov ecx, dword [eax]
push ecx
push edx
mov ecx, 0x1011da80
call fcn.1007e6a0
mov ecx, dword [0x1011dbb8]
xor ebx, ebx
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0x14]
lea eax, [ecx + eax*4]
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
jle 0x1008a782
push ebp
push esi
mov esi, dword [esp + 0x90]
lea edx, [esp + 0x7c]
mov ebp, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 3
mov eax, dword [edi + 0xc]
mov edx, dword [ebp]
mov cl, byte [esp + 0x98]
add eax, edx
cmp cl, bl
mov dword [esp + 0x14], eax
je 0x1008a728
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, 0x1011da80
call fcn.1008df80
mov edi, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, 0x1011da80
call fcn.1008df60
mov edi, dword [edi]
mov eax, dword [eax]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push edi
push eax
call fcn.1008e170
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
jne 0x1008a6b7
mov eax, dword [esi]
add eax, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x1008a644
xor edi, edi
jmp 0x1008a64c
mov edi, dword [eax + 8]
sub edi, ecx
sar edi, 2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, 0x1011da80
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
call fcn.1007e570
mov edx, dword [eax]
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], eax
call fcn.1001cfc0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x64], edx
mov dword [eax + 0x10], edi
mov ecx, dword [esi]
add ecx, 0xc
lea eax, [esp + 0x14]
push eax
push 1
mov edx, dword [ecx + 8]
push edx
call fcn.10086f90
inc dword [esi + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, 0x1011da80
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
call fcn.1007e570
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], edx
call fcn.1001cfc0
mov edx, eax
mov eax, dword [edx]
add eax, 0x10
mov ecx, dword [edx + 4]
push eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esi]
add ecx, 0x1c
push 1
mov edx, dword [ecx + 8]
push edx
call fcn.10086f90
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x94]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add ebp, 4
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add ecx, 4
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jne 0x1008a5cc
cmp byte [esp + 0x9c], bl
je 0x1008a768
mov ecx, dword [0x1011dcf8]
lea eax, [esp + 0x78]
push eax
push 1
push ecx
mov ecx, 0x1011dcf0
call fcn.100703f0
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x18]
add ecx, 3
mov eax, ebp
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x1008a5ba
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x7c
ret 0x10