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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xcc]
xor ecx, ecx
push edi
mov dword [esp + 0x20], ecx
mov edi, 0x1011dc04
mov ebp, 1
mov eax, ebp
shl eax, cl
mov ecx, dword [esp + 0xd4]
test dword [ecx], eax
mov dword [esp + 0x2c], eax
je 0x1008b434
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fxch st(2)
fmul dword [edi - 0xc]
fxch st(2)
fmul dword [edi - 4]
lea ebx, [edi - 0xc]
mov dword [esp + 0x18], ebp
faddp st(2)
fmul dword [edi - 8]
faddp st(1)
fadd dword [edi]
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x1008b1cf
mov dword [esp + 0x18], 0
fld dword [esi + 0xc]
fstp dword [esp + 0x30]
fld dword [esi + 4]
mov edx, dword [esp + 0x30]
fstp dword [esp + 0x34]
fld dword [esi + 8]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], edx
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x54]
mov dword [esp + 0x5c], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x5c], eax
call fcn.10019330
fadd dword [edi]
mov dword [esp + 0x10], ebp
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x1008b223
mov dword [esp + 0x10], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi]
push eax
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.1000d370
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x44], edx
mov ecx, ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
call fcn.10019330
fadd dword [edi]
mov dword [esp + 0x28], ebp
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x1008b275
mov dword [esp + 0x28], 0
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.1000d370
mov edx, dword [eax]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov ecx, ebx
mov edx, dword [eax + 8]
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x78], edx
call fcn.10019330
fadd dword [edi]
mov dword [esp + 0x1c], ebp
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x1008b2c8
mov dword [esp + 0x1c], 0
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0xc0]
call fcn.1000d370
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x50], edx
mov ecx, ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
call fcn.10019330
fadd dword [edi]
mov dword [esp + 0x24], ebp
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x1008b31a
mov dword [esp + 0x24], 0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.1000d370
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov ecx, ebx
mov edx, dword [eax + 8]
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x6c], edx
call fcn.10019330
fadd dword [edi]
mov dword [esp + 0x14], ebp
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x1008b36d
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0xb4]
call fcn.1000d370
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x78]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x80], edx
mov ecx, ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x84], eax
call fcn.10019330
fadd dword [edi]
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x1008b3bb
xor ebp, ebp
lea edx, [esp + 0xc0]
push 7
push edx
mov ecx, esi
call fcn.100116e0
fld dword [eax + 4]
fmul dword [edi - 8]
fld dword [eax + 8]
fmul dword [edi - 4]
faddp st(1)
fld dword [eax]
fmul dword [ebx]
faddp st(1)
fadd dword [edi]
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
jne 0x1008b3f6
mov eax, 1
jmp 0x1008b3f8
xor eax, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add eax, ebp
mov ebp, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x18]
add eax, ebp
add eax, ebx
add eax, edx
add eax, ecx
je 0x1008b458
cmp eax, 8
jne 0x1008b434
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x2c]
not eax
and dword [ecx], eax
mov ecx, dword [esp + 0x20]
add edi, 0x10
inc ecx
cmp ecx, 6
mov dword [esp + 0x20], ecx
jl 0x1008b17c
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xbc
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xbc
ret 8