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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [0x100b6004]
xor eax, esp
mov dword [esp + 0xfc], eax
cmp dword [0x11a080dc], 0
push esi
push edi
mov dword [0x11a07fa8], 1
je 0x10040490
movss xmm0, dword [0x11a080f4]
mulss xmm0, dword [0x100aa6e8]
push ecx
movss dword [esp], xmm0
push 0xb62
call dword [0x11a5f2d4]
push 0x206
call dword [0x11a5f1d4]
push 0
call dword [0x11a5f1a8]
movss xmm6, dword [0x100aaa70]
xor eax, eax
movss xmm2, dword [0x100aa6c8]
mov edi, 0x100a5754
mov dword [esp + 0x1c], eax
mov esi, 0x11a08138
mov dword [esp + 0x20], edi
nop word [eax + eax]
movss xmm0, dword [esi - 0x30]
comiss xmm0, dword [esi]
jae 0x10040ac7
movss xmm0, dword [esi - 0x18]
comiss xmm0, dword [esi + 0x18]
jae 0x10040ac7
cvttss2si eax, dword [0x11a080d4]
mov edx, dword [edi - 4]
lea ecx, [edx*4]
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x58], xmm0
movaps xmm3, xmm0
mulss xmm3, dword [0x100aa984]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm3
test edx, edx
jns 0x10040539
lea eax, [esp + 0x50]
sub eax, ecx
movss xmm5, dword [eax - 4]
xorps xmm5, xmm6
jmp 0x1004053f
movss xmm5, dword [esp + ecx + 0x4c]
movss xmm4, dword [0x11a080a4]
mov ecx, dword [edi]
addss xmm5, xmm4
lea edi, [ecx*4]
movss dword [esp + 0x34], xmm5
test ecx, ecx
jns 0x1004056e
lea eax, [esp + 0x50]
sub eax, edi
movss xmm7, dword [eax - 4]
xorps xmm7, xmm6
jmp 0x10040574
movss xmm7, dword [esp + edi + 0x4c]
mov edi, dword [esp + 0x20]
movss xmm5, dword [0x11a080a8]
addss xmm7, xmm5
mov edi, dword [edi + 4]
movss dword [esp + 0x38], xmm7
lea eax, [edi*4]
mov dword [esp + 0xc], eax
test edi, edi
jns 0x100405ae
lea eax, [esp + 0x50]
sub eax, dword [esp + 0xc]
movss xmm7, dword [eax - 4]
xorps xmm7, xmm6
jmp 0x100405b4
movss xmm7, dword [esp + eax + 0x4c]
movss dword [esp + 0x5c], xmm3
lea eax, [edx*4]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm0
mov dword [esp + 0xc], eax
addss xmm7, dword [0x11a080ac]
movss dword [esp + 0x40], xmm7
test edx, edx
jns 0x100405f5
lea eax, [esp + 0x5c]
sub eax, dword [esp + 0xc]
movss xmm7, dword [eax - 4]
xorps xmm7, xmm6
jmp 0x100405fb
movss xmm7, dword [esp + eax + 0x58]
lea eax, [ecx*4]
mov dword [esp + 0xc], eax
addss xmm7, xmm4
test ecx, ecx
jns 0x10040624
lea eax, [esp + 0x5c]
sub eax, dword [esp + 0xc]
movss xmm6, dword [eax - 4]
xorps xmm6, xmmword [0x100aaa70]
jmp 0x1004062a
movss xmm6, dword [esp + eax + 0x58]
lea eax, [edi*4]
mov dword [esp + 0xc], eax
addss xmm6, xmm5
test edi, edi
jns 0x10040653
lea eax, [esp + 0x5c]
sub eax, dword [esp + 0xc]
movss xmm5, dword [eax - 4]
xorps xmm5, xmmword [0x100aaa70]
jmp 0x10040659
movss xmm5, dword [esp + eax + 0x58]
movss dword [esp + 0x68], xmm0
lea eax, [edx*4]
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x70], xmm0
mov dword [esp + 0xc], eax
addss xmm5, dword [0x11a080ac]
test edx, edx
jns 0x1004069e
lea eax, [esp + 0x68]
sub eax, dword [esp + 0xc]
movss xmm1, dword [eax - 4]
xorps xmm1, xmmword [0x100aaa70]
movss dword [esp + 0x10], xmm1
jmp 0x100406b2
movss xmm2, dword [esp + eax + 0x64]
movss dword [esp + 0x10], xmm2
movss xmm2, dword [0x100aa6c8]
movss xmm1, dword [esp + 0x10]
lea eax, [ecx*4]
mov dword [esp + 0xc], eax
addss xmm1, xmm4
movss dword [esp + 0x10], xmm1
test ecx, ecx
jns 0x100406e7
lea eax, [esp + 0x68]
sub eax, dword [esp + 0xc]
movss xmm4, dword [eax - 4]
xorps xmm4, xmmword [0x100aaa70]
jmp 0x100406ed
movss xmm4, dword [esp + eax + 0x64]
lea eax, [edi*4]
mov dword [esp + 0xc], eax
addss xmm4, dword [0x11a080a8]
movss dword [esp + 0x18], xmm4
test edi, edi
jns 0x10040720
lea eax, [esp + 0x68]
sub eax, dword [esp + 0xc]
movss xmm4, dword [eax - 4]
xorps xmm4, xmmword [0x100aaa70]
jmp 0x10040726
movss xmm4, dword [esp + eax + 0x64]
movss dword [esp + 0x78], xmm3
lea eax, [edx*4]
movss xmm3, dword [0x100aaa70]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x7c], xmm0
mov dword [esp + 0xc], eax
addss xmm4, dword [0x11a080ac]
movss dword [esp + 0x14], xmm4
test edx, edx
jns 0x1004076f
lea eax, [esp + 0x74]
sub eax, dword [esp + 0xc]
movss xmm4, dword [eax - 4]
xorps xmm4, xmm3
jmp 0x10040775
movss xmm4, dword [esp + eax + 0x70]
lea edx, [ecx*4]
addss xmm4, dword [0x11a080a4]
test ecx, ecx
jns 0x10040798
lea eax, [esp + 0x74]
sub eax, edx
movss xmm0, dword [eax - 4]
xorps xmm0, xmm3
jmp 0x1004079e
movss xmm0, dword [esp + edx + 0x70]
lea ecx, [edi*4]
addss xmm0, dword [0x11a080a8]
test edi, edi
jns 0x100407c5
lea eax, [esp + 0x74]
sub eax, ecx
movss xmm3, dword [eax - 4]
xorps xmm3, xmmword [0x100aaa70]
jmp 0x100407cb
movss xmm3, dword [esp + ecx + 0x70]
cmp dword [esp + 0x1c], 4
subss xmm1, xmm4
addss xmm3, dword [0x11a080ac]
mov dword [esp + 0x88], 4
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0x18]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
subss xmm0, xmm3
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm7
movss xmm7, dword [esp + 0x18]
subss xmm7, xmm6
movss xmm6, dword [esp + 0x14]
subss xmm6, xmm5
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x18], xmm7
movss dword [esp + 0x14], xmm6
jge 0x10040849
movss xmm0, dword [0x100aa8ec]
jmp 0x10040851
movss xmm0, dword [0x100aa8dc]
movss xmm5, dword [0x100aa724]
xor eax, eax
divss xmm5, xmm0
mov dword [esp + 0xc], eax
movss xmm1, dword [0x100aa6fc]
xorps xmm3, xmm3
movss dword [esp + 0x30], xmm0
xorps xmm4, xmm4
movss dword [esp + 0x2c], xmm5
nop dword [eax]
xor edi, edi
comiss xmm0, xmm3
jbe 0x10040a92
mulss xmm4, xmm2
movss dword [esp + 0x4c], xmm4
nop word [eax + eax]
movss xmm0, dword [esi - 0x30]
mulss xmm0, xmm1
addss xmm0, xmm1
subss xmm0, xmm2
comiss xmm0, xmm4
ja 0x10040a74
movss xmm0, dword [esi]
mulss xmm0, xmm1
addss xmm0, xmm1
comiss xmm4, xmm0
ja 0x10040a74
movss xmm0, dword [esi - 0x18]
mulss xmm0, xmm1
mulss xmm3, xmm5
addss xmm0, xmm1
subss xmm0, xmm5
comiss xmm0, xmm3
ja 0x10040a74
movss xmm0, dword [esi + 0x18]
mulss xmm0, xmm1
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x10040a74
movss xmm2, dword [esp + 0x10]
lea ecx, [esp + 0x80]
mulss xmm2, xmm4
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x28]
addss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm7
movaps xmm7, xmm6
movss xmm6, dword [esp + 0x24]
mulss xmm6, xmm5
addss xmm2, dword [esp + 0x34]
movss xmm5, dword [esp + 0x28]
addss xmm1, xmm0
mulss xmm5, dword [esp + 0x2c]
movss xmm0, dword [0x100aa6c8]
mulss xmm7, xmm4
addss xmm6, xmm2
addss xmm1, dword [esp + 0x38]
movss xmm4, dword [esp + 0x3c]
mulss xmm3, xmm4
mulss xmm4, dword [esp + 0x2c]
addss xmm5, xmm1
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x94], xmm1
addss xmm7, xmm3
movss xmm1, dword [esp + 0x10]
movss xmm3, dword [esp + 0x14]
mulss xmm1, xmm0
addss xmm7, dword [esp + 0x40]
movss dword [esp + 0x44], xmm2
mulss xmm3, xmm0
movss dword [esp + 0x90], xmm2
movss xmm2, dword [esp + 0x18]
addss xmm4, xmm7
mulss xmm2, xmm0
movaps xmm0, xmm1
addss xmm1, dword [esp + 0x44]
addss xmm0, xmm6
movss dword [esp + 0x98], xmm7
movss dword [esp + 0xac], xmm6
movss dword [esp + 0xb0], xmm5
movss dword [esp + 0xb4], xmm4
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm2
addss xmm2, dword [esp + 0x48]
addss xmm0, xmm5
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmm3
addss xmm0, xmm4
addss xmm3, xmm7
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xec], xmm3
call fcn.1003fe00
movss xmm1, dword [0x100aa6fc]
movss xmm4, dword [esp + 0x4c]
movss xmm5, dword [esp + 0x2c]
movss xmm2, dword [0x100aa6c8]
movss xmm6, dword [esp + 0x14]
movss xmm7, dword [esp + 0x18]
movss xmm0, dword [esp + 0x30]
inc edi
movd xmm3, edi
cvtdq2ps xmm3, xmm3
comiss xmm0, xmm3
ja 0x100408a0
mov eax, dword [esp + 0xc]
xorps xmm3, xmm3
movss xmm2, dword [0x100aa8dc]
inc eax
mov dword [esp + 0xc], eax
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
movss xmm2, dword [0x100aa6c8]
ja 0x10040880
movss xmm6, dword [0x100aaa70]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 0xc
inc eax
add esi, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
cmp edi, 0x100a579c
jl 0x100404d0
push 0x203
call dword [0x11a5f1d4]
push 1
call dword [0x11a5f1a8]
cmp dword [0x11a080dc], 0
je 0x10040b17
movss xmm0, dword [0x11a080f4]
push ecx
movss dword [esp], xmm0
push 0xb62
call dword [0x11a5f2d4]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret