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

Disassembly:
sub esp, 0xa0
push ebx
xor ebx, ebx
mov eax, edx
mov edx, dword [esp + 0xac]
push esi
mov esi, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xb4]
cmp ecx, 0x10
push edi
sete bl
mov dword [esp + 0x30], esi
mov edi, dword [esi]
inc ebx
imul ebx, edx
cmp dword [esp + 0xc0], 0
jne 0x1008af45
push dword [esp + 0xbc]
push ecx
push dword [edi + 4]
mov ecx, esi
push dword [edi]
push edx
push dword [esp + 0xc4]
mov edx, eax
call fcn.10089f60
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 0x14
push ebp
mov ebp, dword [edi + 4]
mov edx, ebp
mov edi, dword [edi]
mov ecx, edi
push 0
push ebx
call fcn.10088730
test eax, eax
jne 0x1008af61
mov dword [esp + 0x14], eax
jmp 0x1008af74
imul edi, ebp
imul edi, ebx
push edi
call fcn.10129185
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xb4]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
movaps xmm0, xmmword [0x10179340]
xor edx, edx
mov edi, dword [esi]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x6c], 2
movaps xmm0, xmmword [0x101792f0]
movups xmmword [esp + 0x94], xmm0
mov dword [esp + 0x70], 2
movaps xmm0, xmmword [0x10179360]
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x74], 1
mov ebp, dword [esp + eax + 0x5c]
mov ecx, ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
sub ecx, dword [esp + eax + 0x40]
mov eax, dword [edi]
dec ecx
add eax, ecx
movaps xmm0, xmmword [0x10179370]
div ebp
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 2
mov dword [esp + 0x90], 2
mov dword [esp + 0xa4], 2
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 1
mov dword [esp + 0x18], eax
movups xmmword [esp + 0x78], xmm0
mov edx, dword [esp + ecx + 0x78]
mov dword [esp + 0x1c], edx
test eax, eax
je 0x1008b185
mov ebp, dword [esp + ecx + 0x94]
lea eax, [edx - 1]
mov ecx, dword [edi + 4]
xor edx, edx
sub ecx, ebp
mov dword [esp + 0x20], ebp
add eax, ecx
div dword [esp + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1008b185
mov edi, dword [edi + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xbc]
push dword [esp + 0xc0]
imul edi, ecx
push edx
push eax
push ecx
push dword [esp + 0xc8]
imul edi, edx
mov ecx, esi
push dword [esp + 0x40]
mov edx, dword [esp + 0x40]
add edi, 7
sar edi, 3
inc edi
imul edi, eax
mov dword [esp + 0x54], edi
call fcn.10089f60
test eax, eax
je 0x1008b1b2
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x1008b172
mov edx, dword [esp + 0x18]
xor eax, eax
mov edi, dword [esp + 0x1c]
mov esi, edx
imul esi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], esi
nop dword [eax + eax]
test edx, edx
jle 0x1008b155
xor edi, edi
mov esi, eax
mov ebp, edx
nop word [eax + eax]
mov ecx, dword [esp + 0x34]
push ebx
mov eax, dword [ecx + 0xc]
add eax, esi
push eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
imul eax, dword [esp + 0x28]
add eax, dword [esp + ecx + 0x48]
add eax, edi
imul eax, ebx
add eax, dword [esp + 0x1c]
push eax
call fcn.1011d990
mov eax, dword [esp + 0x1c]
add esp, 0xc
add esi, ebx
add edi, dword [esp + eax + 0x5c]
sub ebp, 1
jne 0x1008b100
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
add ebp, edi
add eax, esi
sub ecx, 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
jne 0x1008b0f0
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
push dword [esi + 0xc]
call fcn.10128249
add dword [esp + 0x2c], edi
add esp, 4
sub dword [esp + 0x2c], edi
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, 0x1c
jl 0x1008af85
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], eax
mov eax, 1
pop esi
pop ebx
add esp, 0xa0
ret 0x14
push dword [esp + 0x14]
call fcn.10128249
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 0x14