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

Disassembly:
mov al, byte [0x1011dcd0]
sub esp, 0x7c
test al, 1
push ebx
push edi
jne 0x1008a8aa
mov bl, al
lea eax, [esp + 0xa]
lea ecx, [esp + 0xb]
push eax
or bl, 1
push ecx
mov ecx, 0x1011da50
mov byte [0x1011dcd0], bl
call fcn.1008bfc0
push 0x1008aad0
call fcn.100dcac2
add esp, 4
mov eax, dword [0x1011da54]
lea edx, [esp + 0x1c]
push eax
mov ecx, dword [eax]
push ecx
push edx
mov ecx, 0x1011da50
call fcn.1007e960
mov ecx, dword [0x1011db88]
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 0x1008aac2
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 0x1008aa68
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, 0x1011da50
call fcn.1008ddf0
mov edi, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, 0x1011da50
call fcn.1008ddd0
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.1008dfe0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
jne 0x1008a9f7
mov eax, dword [esi]
add eax, 0xc
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x1008a984
xor edi, edi
jmp 0x1008a98c
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, 0x1011da50
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
call fcn.1007e830
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.1001d020
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.100918f0
inc dword [esi + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, 0x1011da50
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
call fcn.1007e830
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.1001d020
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.100918f0
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 0x1008a90c
cmp byte [esp + 0x9c], bl
je 0x1008aaa8
mov ecx, dword [0x1011dcc8]
lea eax, [esp + 0x78]
push eax
push 1
push ecx
mov ecx, 0x1011dcc0
call fcn.10070710
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 0x1008a8fa
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x7c
ret 0x10