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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd6e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
movss xmm1, dword [0x100ecfe4]
xorps xmm0, xmm0
push esi
mov esi, ecx
unpcklps xmm0, xmm1
xorps xmm2, xmm2
push edi
xor edi, edi
movq qword [esi + 0x8c], xmm0
mov eax, edi
xorps xmm0, xmm0
mov dword [esi + 0x94], eax
unpcklps xmm0, xmm2
movq qword [esi + 0x98], xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm2
movss xmm2, dword [0x100ecfc0]
movq qword [esi + 0xa4], xmm0
mov dword [esi + 0xa0], eax
mov dword [esi + 0xac], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x2c], edi
mov dword [esi + 0x68], 0x3e8
mov dword [esi + 0x6c], 0xa
mov dword [esi + 0x70], 0x3dcccccd
mov dword [esi + 0x74], 0x40000000
mov dword [esi + 0x78], 0x41a00000
mov dword [ebp - 0x2c], edi
mov dword [esi + 0xb0], 0x43fa0000
mov dword [esi + 0x38], 2
cmp dword [esi + 4], eax
je 0x1000698a
lea ecx, [esi + 8]
nop
mov edx, dword [ecx]
test edx, edx
je 0x1000692d
mov eax, dword [edx + 0x24]
mov dword [ecx], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x24], eax
dec dword [ecx + 0x20]
mov dword [ecx + 0x10], edx
mov edx, dword [ecx]
test edx, edx
jne 0x10006916
mov eax, dword [esi + 0x38]
movaps xmm1, xmm2
mov dword [ecx + 0x38], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ed2a0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, edi
inc edi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100ed2a0]
cvtpd2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [ecx + 0x50], xmm1
add ecx, 4
cmp edi, dword [esi + 0x38]
jb 0x10006910
mov eax, dword [ebx + 0xc]
xor edi, edi
mov dword [esi + 4], eax
mov eax, dword [0x1012f57c]
mov eax, dword [eax + 0x488]
call eax
sub eax, dword [esi + 0x50]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ed2a0]
mov eax, dword [0x1012f57c]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x100ecdc4]
movss dword [ebp - 0x1c], xmm0
addss xmm0, dword [esi + 0x3c]
movss dword [esi + 0x3c], xmm0
mov eax, dword [eax + 0x488]
call eax
movss xmm7, dword [ebp - 0x1c]
xor edx, edx
movaps xmm0, xmm7
movss xmm1, dword [0x100ecf48]
addss xmm0, xmm7
mov dword [esi + 0x50], eax
xorps xmm6, xmm6
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
addss xmm0, dword [esi + 0x54]
movss dword [esi + 0x54], xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movq qword [esi + 0x8c], xmm0
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x38], edx
jbe 0x10006d7c
movaps xmm1, xmm7
mulss xmm1, dword [0x100ecfb0]
movss dword [ebp - 0x24], xmm1
nop dword [eax]
movaps xmm0, xmm1
movss xmm1, dword [0x100ecfc0]
addss xmm0, dword [esi + edx*4 + 0x58]
comiss xmm0, xmm1
movss dword [esi + edx*4 + 0x58], xmm0
jb 0x10006a6f
nop dword [eax]
subss xmm0, xmm1
comiss xmm0, xmm1
movss dword [esi + edx*4 + 0x58], xmm0
jae 0x10006a60
lea eax, [esi + 8]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
test eax, eax
je 0x10006b78
movss xmm0, dword [esi + 0x3c]
mov edi, eax
subss xmm0, dword [edi + 0x18]
comiss xmm0, dword [esi + 0x74]
jb 0x10006ab6
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + 0x24]
mov dword [edx], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + edx*4 + 0x18]
mov dword [edi + 0x24], eax
dec dword [esi + edx*4 + 0x28]
mov eax, dword [ebp - 0x18]
mov dword [esi + edx*4 + 0x18], edi
jmp 0x10006b6e
movaps xmm3, xmm7
lea eax, [edi + 0x24]
mulss xmm3, dword [esi + 0x98]
movaps xmm4, xmm7
mov dword [ebp - 0x18], eax
mulss xmm4, dword [esi + 0x9c]
movaps xmm5, xmm7
mulss xmm5, dword [esi + 0xa0]
addss xmm3, dword [edi + 0xc]
addss xmm4, dword [edi + 0x10]
addss xmm5, dword [edi + 0x14]
movss dword [edi + 0xc], xmm3
movss dword [edi + 0x10], xmm4
movss dword [edi + 0x14], xmm5
movss xmm0, dword [esi + 0xa4]
movss xmm1, dword [esi + 0xa8]
subss xmm0, xmm3
movss xmm2, dword [esi + 0xac]
subss xmm1, xmm4
subss xmm2, xmm5
mulss xmm0, xmm7
mulss xmm1, xmm7
mulss xmm2, xmm7
addss xmm3, xmm0
addss xmm4, xmm1
addss xmm5, xmm2
movss dword [edi + 0xc], xmm3
mulss xmm3, xmm7
movss dword [edi + 0x10], xmm4
movss dword [edi + 0x14], xmm5
addss xmm3, dword [edi]
mulss xmm4, xmm7
mulss xmm5, xmm7
addss xmm4, dword [edi + 4]
movss dword [edi], xmm3
addss xmm5, dword [edi + 8]
movss dword [edi + 4], xmm4
movss dword [edi + 8], xmm5
mov eax, dword [eax]
test eax, eax
jne 0x10006a82
movss xmm1, dword [esi + 0x3c]
movaps xmm0, xmm1
subss xmm0, dword [esi + edx*4 + 0x40]
comiss xmm0, dword [esi + 0x70]
jbe 0x10006d6a
movss dword [esi + edx*4 + 0x40], xmm1
cmp dword [esi + 0x6c], 0
mov dword [ebp - 0x18], 0
jbe 0x10006d6a
mov eax, dword [esi + edx*4 + 0x18]
test eax, eax
je 0x10006bba
mov edi, eax
mov eax, dword [edi + 0x24]
mov dword [esi + edx*4 + 0x18], eax
jmp 0x10006bdf
mov eax, dword [esi + edx*4 + 0x28]
cmp eax, dword [esi + 0x68]
jae 0x10006bdf
push 0x28
call fcn.100b0f1d
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xffffffff
xorps xmm6, xmm6
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + edx*4 + 0x28]
cmp ecx, dword [esi + 0x68]
jae 0x10006d55
mov eax, dword [esi + edx*4 + 8]
mov dword [edi + 0x24], eax
mov dword [esi + edx*4 + 8], edi
movq xmm0, qword [esi + 0x8c]
movq qword [edi + 0xc], xmm0
mov eax, dword [esi + 0x94]
mov dword [edi + 0x14], eax
movss xmm0, dword [esi + 0xb0]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x10006c6b
lea eax, [ebp - 0x34]
push eax
call fcn.10005230
movss xmm0, dword [esi + 0xb0]
movss xmm1, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mulss xmm1, xmm0
mulss xmm2, xmm0
addss xmm1, dword [edi + 0xc]
mulss xmm3, xmm0
addss xmm2, dword [edi + 0x10]
addss xmm3, dword [edi + 0x14]
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm2
movss dword [edi + 0x14], xmm3
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x18], eax
movss xmm0, dword [esi + edx*4 + 0x58]
mulss xmm0, dword [0x100ecdd8]
movss dword [ebp - 0x20], xmm0
call fcn.10005300
mulss xmm0, dword [0x100ecfb0]
movaps xmmword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x20]
cvtps2pd xmm0, xmm0
call fcn.100dadc0
movaps xmm2, xmmword [ebp - 0x50]
xorps xmm1, xmm1
addss xmm2, dword [esi + 0x80]
mov edx, dword [ebp - 0x14]
xorps xmm6, xmm6
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esi + 0x84]
mulss xmm1, dword [0x100ecfb0]
addss xmm0, xmm6
addss xmm1, dword [esi + 0x88]
unpcklps xmm2, xmm0
movq qword [edi], xmm2
movss dword [ebp - 0x38], xmm1
mov eax, dword [ebp - 0x38]
mov dword [edi + 8], eax
test edx, edx
jne 0x10006d1a
mov eax, dword [ebx + 0xc]
cmp eax, 0xa
jne 0x10006cfe
mov dword [edi + 0x20], 0xff471f00
jmp 0x10006d4a
cmp eax, 0xb
jne 0x10006d0c
mov dword [edi + 0x20], 0xffababab
jmp 0x10006d4a
cmp eax, 0xc
jne 0x10006d4a
mov dword [edi + 0x20], 0xffffed00
jmp 0x10006d4a
cmp edx, 1
jne 0x10006d4a
mov eax, dword [ebx + 0xc]
cmp eax, 0xa
jne 0x10006d30
mov dword [edi + 0x20], 0xff7d5200
jmp 0x10006d4a
cmp eax, 0xb
jne 0x10006d3e
mov dword [edi + 0x20], 0xffdbdbdb
jmp 0x10006d4a
cmp eax, 0xc
jne 0x10006d4a
mov dword [edi + 0x20], 0xffc76600
mov dword [edi + 0x1c], 0x3f800000
inc dword [esi + edx*4 + 0x28]
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [esi + 0x6c]
jb 0x10006ba7
movss xmm7, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [esi + 0x38]
jb 0x10006a40
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8