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

Disassembly:
sub esp, 0xb0
mov ecx, dword [esp + 0xbc]
push ebp
mov ebp, dword [esp + 0xb8]
mov eax, dword [ebp]
push edi
push 0
push ecx
push ebp
call dword [eax + 0x378]
mov edi, eax
test edi, edi
mov dword [esp + 0xb4], edi
je 0x10008de4
mov eax, dword [esp + 0xdc]
mov edx, dword [ebp]
push 0
push eax
push ebp
call dword [edx + 0x378]
test eax, eax
mov dword [esp + 0x24], eax
je 0x10008de4
mov edx, dword [esp + 0x100]
mov ecx, dword [ebp]
push 0
push edx
push ebp
call dword [ecx + 0x378]
test eax, eax
mov dword [esp + 0x6c], eax
je 0x10008de4
mov ecx, dword [esp + 0x11c]
mov eax, dword [ebp]
push ebx
push 0
push ecx
push ebp
call dword [eax + 0x378]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x68], ebx
je 0x10008de3
mov ecx, dword [esp + 0xd4]
movss xmm3, dword [esp + 0xec]
movss xmm4, dword [esp + 0x12c]
subss xmm3, dword [esp + 0xe4]
mov edx, dword [esp + 0xd8]
subss xmm4, dword [esp + 0x124]
movss xmm6, dword [esp + 0xe8]
mov eax, dword [esp + 0xd0]
movss xmm0, dword [esp + 0xf0]
movss xmm5, dword [0x1000c044]
cvtsi2ss xmm1, ecx
divss xmm3, xmm1
divss xmm4, xmm1
movss xmm1, dword [esp + 0x130]
subss xmm1, dword [esp + 0x128]
cvtsi2ss xmm2, edx
divss xmm1, xmm2
subss xmm0, xmm6
divss xmm0, xmm2
add edx, eax
cmp eax, edx
push esi
movaps xmm7, xmm0
movaps xmm2, xmm1
mulss xmm7, xmm5
mulss xmm2, xmm5
addss xmm2, dword [esp + 0x12c]
mov esi, eax
addss xmm7, xmm6
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x1c], xmm2
mov dword [esp + 0x5c], esi
mov dword [esp + 0xb4], edx
jge 0x10008d86
mov edx, dword [esp + 0xd0]
add ecx, edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xe0]
imul eax, ecx
lea ebx, [ecx*4]
add eax, edx
lea eax, [edi + eax*4]
mov edi, dword [esp + 0xf8]
mulss xmm3, xmm5
addss xmm3, dword [esp + 0xe8]
mulss xmm4, xmm5
addss xmm4, dword [esp + 0x128]
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0xfc]
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0x94], xmm4
mov dword [esp + 0x64], eax
jmp 0x10008710
movss xmm2, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x14]
mov edi, edi
cmp edx, dword [esp + 0x38]
cvtsi2ss xmm5, esi
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x30], xmm4
mov dword [esp + 0x24], edx
jge 0x10008d44
movss xmm0, dword [esp + 0x11c]
subss xmm0, xmm5
movaps xmm1, xmm0
mulss xmm1, xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x80], xmm1
mov dword [esp + 0x4c], eax
jmp 0x10008760
movss xmm4, dword [esp + 0x30]
lea ecx, [ecx]
xorps xmm6, xmm6
comiss xmm4, xmm6
jb 0x100087ae
comiss xmm2, xmm6
jb 0x100087ae
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x13c]
cvtsi2ss xmm0, edx
mulss xmm0, xmm4
cvttss2si ecx, xmm0
cmp ecx, edx
cvtsi2ss xmm0, esi
mulss xmm0, xmm2
cvttss2si eax, xmm0
jge 0x100087ae
cmp eax, esi
jge 0x100087ae
imul eax, dword [esp + 0x140]
mov edx, dword [esp + 0x6c]
add eax, ecx
mov eax, dword [edx + eax*4]
jmp 0x100087b0
xor eax, eax
movss xmm3, dword [0x1000c040]
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
mov edx, eax
cvtsi2ss xmm0, ecx
mulss xmm0, xmm3
movss dword [esp + 0xa8], xmm0
sar edx, 8
and edx, 0xff
mov ecx, eax
and ecx, 0xff
cvtsi2ss xmm0, edx
mulss xmm0, xmm3
movss dword [esp + 0x98], xmm0
cvtsi2ss xmm0, ecx
mov ecx, dword [esp + 0x74]
mulss xmm0, xmm3
sar eax, 0x18
movss dword [esp + 0xb8], xmm0
and eax, 0xff
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
movss dword [esp + 0x90], xmm0
movaps xmm0, xmm6
movaps xmm1, xmm6
add ecx, 8
mov esi, 9
jmp 0x10008840
movss xmm2, dword [ecx - 8]
addss xmm2, dword [esp + 0x18]
comiss xmm2, xmm6
movss xmm4, dword [ecx - 4]
addss xmm4, xmm7
jb 0x10008891
comiss xmm4, xmm6
jb 0x10008891
cvtsi2ss xmm5, edi
mulss xmm5, xmm2
cvttss2si edx, xmm5
cmp edx, edi
cvtsi2ss xmm2, ebx
mulss xmm2, xmm4
cvttss2si eax, xmm2
jge 0x10008891
cmp eax, ebx
jge 0x10008891
imul eax, dword [esp + 0x100]
add eax, edx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + eax*4]
jmp 0x10008893
xor eax, eax
movss xmm4, dword [ecx]
sar eax, 0x18
and eax, 0xff
cvtsi2ss xmm2, eax
mulss xmm2, xmm3
mulss xmm4, xmm2
addss xmm4, xmm0
movaps xmm0, xmm4
movss xmm4, dword [ecx + 4]
mulss xmm4, xmm2
add ecx, 0x10
dec esi
addss xmm4, xmm1
movaps xmm1, xmm4
jne 0x10008840
movss xmm2, dword [esp + 0x14c]
movss xmm4, dword [0x1000c080]
mulss xmm0, xmm2
mulss xmm0, xmm4
movaps xmm7, xmm0
mulss xmm1, xmm2
mulss xmm1, xmm4
movss dword [esp + 0x44], xmm1
fld dword [esp + 0x44]
movss dword [esp + 0x54], xmm7
fmul dword [esp + 0x44]
movss xmm5, dword [0x1000c03c]
fld dword [esp + 0x54]
movaps xmm0, xmm5
fmul dword [esp + 0x54]
faddp st(1)
fadd dword [0x1000c03c]
fsqrt
fstp dword [esp + 0x10]
divss xmm0, dword [esp + 0x10]
movaps xmm4, xmm0
mulss xmm4, xmm7
movss dword [esp + 0x3c], xmm4
movaps xmm4, xmm0
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm6
mulss xmm4, xmm1
movss dword [esp + 0x58], xmm4
jb 0x10008994
movss xmm1, dword [esp + 0x14]
comiss xmm1, xmm6
jb 0x10008994
cvtsi2ss xmm4, edi
mulss xmm4, xmm0
cvttss2si ecx, xmm4
cmp ecx, edi
cvtsi2ss xmm0, ebx
mulss xmm0, xmm1
cvttss2si eax, xmm0
jge 0x10008994
cmp eax, ebx
jge 0x10008994
imul eax, dword [esp + 0x100]
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax*4]
jmp 0x10008996
xor eax, eax
cvtsi2ss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x118]
movss xmm4, dword [esp + 0x120]
subss xmm1, xmm0
sar eax, 0x18
and eax, 0xff
movss dword [esp + 0x68], xmm1
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
mulss xmm0, xmm2
subss xmm4, xmm0
movss dword [esp + 0x40], xmm4
fld dword [esp + 0x40]
movaps xmm0, xmm5
fmul dword [esp + 0x40]
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
faddp st(1)
fadd dword [esp + 0x80]
fsqrt
fstp dword [esp + 0x10]
divss xmm0, dword [esp + 0x10]
movaps xmm2, xmm0
movaps xmm3, xmm0
mulss xmm3, dword [esp + 0x78]
mulss xmm0, xmm4
movaps xmm4, xmm0
addss xmm4, xmm5
mulss xmm2, xmm1
movss dword [esp + 0x48], xmm4
fld dword [esp + 0x48]
movss dword [esp + 0x60], xmm3
fmul dword [esp + 0x48]
movss dword [esp + 0x50], xmm2
fld dword [esp + 0x60]
mulss xmm0, dword [esp + 0x70]
fmul dword [esp + 0x60]
movaps xmm1, xmm5
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fsqrt
fstp dword [esp + 0x10]
divss xmm1, dword [esp + 0x10]
movaps xmm7, xmm1
mulss xmm7, xmm2
mulss xmm2, dword [esp + 0x3c]
movss dword [esp + 0xb0], xmm7
movaps xmm7, xmm1
mulss xmm7, xmm3
mulss xmm3, dword [esp + 0x58]
mulss xmm1, xmm4
addss xmm0, xmm3
movss xmm3, dword [esp + 0x104]
addss xmm0, xmm2
movss dword [esp + 0xa0], xmm1
movaps xmm1, xmm0
movaps xmm2, xmm0
mulss xmm1, xmm3
mulss xmm1, dword [esp + 0x10c]
comiss xmm6, xmm1
mulss xmm2, xmm3
mulss xmm2, dword [esp + 0x110]
mulss xmm0, xmm3
mulss xmm0, dword [esp + 0x114]
movss dword [esp + 0x88], xmm7
jbe 0x10008ae0
movss dword [esp + 0x34], xmm6
jmp 0x10008af1
comiss xmm1, xmm5
movss dword [esp + 0x34], xmm5
ja 0x10008af1
movss dword [esp + 0x34], xmm1
comiss xmm6, xmm2
jbe 0x10008afe
movss dword [esp + 0x20], xmm6
jmp 0x10008b0f
comiss xmm2, xmm5
movss dword [esp + 0x20], xmm5
ja 0x10008b0f
movss dword [esp + 0x20], xmm2
comiss xmm6, xmm0
jbe 0x10008b1c
movss dword [esp + 0x28], xmm6
jmp 0x10008b2d
comiss xmm0, xmm5
movss dword [esp + 0x28], xmm5
ja 0x10008b2d
movss dword [esp + 0x28], xmm0
fld dword [esp + 0xa0]
fmul dword [esp + 0x70]
fld dword [esp + 0x88]
fmul dword [esp + 0x58]
faddp st(1)
fld dword [esp + 0xb0]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x148]
call sub.MSVCR71.dll__CIpow
movss xmm0, dword [esp + 0x144]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
movss xmm4, dword [esp + 0x10]
fmul dword [esp + 0x114]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x10c]
mulss xmm4, dword [esp + 0x110]
fmul dword [esp + 0x144]
mulss xmm2, xmm0
mulss xmm4, xmm0
comiss xmm2, xmm4
fstp dword [esp + 0x10]
movaps xmm0, xmm2
ja 0x10008baf
movaps xmm0, xmm4
movss xmm5, dword [esp + 0x10]
comiss xmm0, xmm5
ja 0x10008bbd
movaps xmm0, xmm5
movss xmm1, dword [esp + 0x90]
movss xmm7, dword [0x1000c03c]
movss xmm3, dword [esp + 0x34]
mulss xmm3, dword [esp + 0xa8]
mulss xmm0, xmm1
mulss xmm2, xmm1
movaps xmm6, xmm0
movaps xmm0, xmm7
subss xmm0, xmm6
mulss xmm3, xmm0
addss xmm3, xmm2
movss xmm2, dword [esp + 0x20]
mulss xmm2, dword [esp + 0x98]
mulss xmm2, xmm0
mulss xmm4, xmm1
addss xmm2, xmm4
movaps xmm4, xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm2, dword [esp + 0xb8]
mulss xmm2, xmm0
mulss xmm5, xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm3
addss xmm2, xmm5
addss xmm0, xmm6
jbe 0x10008c45
movaps xmm3, xmm1
jmp 0x10008c4d
comiss xmm3, xmm7
jbe 0x10008c4d
movaps xmm3, xmm7
comiss xmm1, xmm4
jbe 0x10008c57
movaps xmm4, xmm1
jmp 0x10008c5f
comiss xmm4, xmm7
jbe 0x10008c5f
movaps xmm4, xmm7
comiss xmm1, xmm2
jbe 0x10008c69
movaps xmm2, xmm1
jmp 0x10008c71
comiss xmm2, xmm7
jbe 0x10008c71
movaps xmm2, xmm7
comiss xmm1, xmm0
jbe 0x10008c7b
movaps xmm0, xmm1
jmp 0x10008c83
comiss xmm0, xmm7
jbe 0x10008c83
movaps xmm0, xmm7
movss xmm1, dword [0x1000c038]
movss xmm7, dword [esp + 0x14]
mulss xmm0, xmm1
addss xmm0, dword [0x1000c044]
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [esp + 0x7c]
shl edx, 8
mulss xmm3, xmm1
cvttss2si eax, xmm3
or edx, eax
shl edx, 8
mulss xmm4, xmm1
cvttss2si ecx, xmm4
or edx, ecx
mov ecx, dword [esp + 0x4c]
shl edx, 8
mulss xmm2, xmm1
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x1c]
or edx, eax
mov eax, dword [esp + 0x24]
mov dword [ecx], edx
add ecx, 4
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x84]
inc eax
mov dword [esp + 0x4c], ecx
cmp eax, dword [esp + 0x38]
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x24], eax
jl 0x10008757
movss xmm0, dword [esp + 0x8c]
movss xmm4, dword [esp + 0x94]
movss xmm1, dword [esp + 0x9c]
movss xmm3, dword [esp + 0xa4]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
inc esi
cmp esi, ecx
addss xmm7, xmm0
addss xmm2, xmm1
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x1c], xmm2
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], eax
jl 0x10008702
mov edi, dword [esp + 0xbc]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0xcc]
mov ecx, dword [ebp]
push 2
push edi
push edx
push ebp
call dword [ecx + 0x37c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xe4]
mov eax, dword [ebp]
push 2
push ecx
push edx
push ebp
call dword [eax + 0x37c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x108]
mov eax, dword [ebp]
push 2
push ecx
push edx
push ebp
call dword [eax + 0x37c]
mov ecx, dword [esp + 0x124]
mov eax, dword [ebp]
push 2
push ebx
push ecx
push ebp
call dword [eax + 0x37c]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0xb0
ret 0x8c