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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
xor ecx, ecx
push edi
mov dword [esp + 0x28], ecx
mov ebx, 0x101329cc
mov ebp, 1
mov eax, ebp
shl eax, cl
mov ecx, dword [esp + 0x8c]
test dword [ecx], eax
mov dword [esp + 0x2c], eax
je 0x100857c2
fld dword [esi]
lea edi, [ebx - 0xc]
fld dword [esi + 4]
mov dword [esp + 0x24], ebp
fld dword [esi + 8]
fmul dword [ebx - 4]
fxch st(1)
fmul dword [ebx - 8]
faddp st(1)
fxch st(1)
fmul dword [edi]
faddp st(1)
fadd dword [ebx]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x100855eb
mov dword [esp + 0x24], 0
fld dword [esi + 0xc]
lea edx, [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esi + 4]
push edx
fstp dword [esp + 0x38]
fld dword [esi + 8]
mov ecx, edi
fstp dword [esp + 0x3c]
call fcn.10018ec0
fadd dword [ebx]
mov dword [esp + 0x20], ebp
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x10085627
mov dword [esp + 0x20], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi]
push eax
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.1000d0e0
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.10018ec0
fadd dword [ebx]
mov dword [esp + 0x1c], ebp
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x10085662
mov dword [esp + 0x1c], 0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.1000d0e0
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.10018ec0
fadd dword [ebx]
mov dword [esp + 0x18], ebp
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x1008569e
mov dword [esp + 0x18], 0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.1000d0e0
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.10018ec0
fadd dword [ebx]
mov dword [esp + 0x14], ebp
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x100856d9
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.1000d0e0
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.10018ec0
fadd dword [ebx]
mov dword [esp + 0x10], ebp
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x10085715
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.1000d0e0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.10018ec0
fadd dword [ebx]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x10085746
xor ebp, ebp
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.1000d0e0
lea edx, [esp + 0x78]
push edx
mov ecx, edi
call fcn.10018ec0
fadd dword [ebx]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
jne 0x10085780
mov eax, 1
jmp 0x10085782
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add eax, ebp
mov ebp, dword [esp + 0x18]
add eax, edx
mov edx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x24]
add eax, ebp
add eax, edi
add eax, edx
add eax, ecx
je 0x100857e3
cmp eax, 8
jne 0x100857c2
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
not eax
and edx, eax
mov dword [ecx], edx
mov ecx, dword [esp + 0x28]
inc ecx
add ebx, 0x10
cmp ecx, 6
mov dword [esp + 0x28], ecx
jl 0x10085599
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x74
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x74
ret 8