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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2e4
push ebx
push esi
mov esi, dword [0x102062f0]
mov eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], esi
push edi
test esi, esi
je 0x1002dee1
test cl, 7
je 0x1002dee1
push 7
lea ecx, [esp + 0xd8]
call fcn.1002a100
movss xmm5, dword [0x102064bc]
add esp, 4
movss xmm4, dword [0x102064b8]
xor edi, edi
movss xmm1, dword [0x10206664]
movss xmm0, dword [0x10206654]
movss xmm3, dword [0x102064c0]
mulss xmm1, xmm5
lea ebx, [edi + 1]
mov byte [esp + 0x1a], 0
mulss xmm0, xmm4
mov byte [esp + 0x1b], 0
movss xmm6, dword [0x101c7324]
movaps xmm2, xmm6
addss xmm1, xmm0
movss xmm0, dword [0x10206674]
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [0x10206648]
mulss xmm0, xmm4
addss xmm1, dword [0x10206684]
divss xmm2, xmm1
movss xmm1, dword [0x10206658]
mulss xmm1, xmm5
addss xmm1, xmm0
movss xmm0, dword [0x10206668]
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [0x1020664c]
mulss xmm0, xmm4
addss xmm1, dword [0x10206678]
mulss xmm1, xmm2
addss xmm1, xmm6
mulss xmm1, dword [0x10206870]
addss xmm1, dword [0x10206868]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [0x1020665c]
mulss xmm1, xmm5
addss xmm1, xmm0
movss xmm0, dword [0x1020666c]
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [0x101c736c]
addss xmm1, dword [0x1020667c]
mulss xmm1, xmm2
addss xmm1, xmm6
subss xmm0, xmm1
mulss xmm0, dword [0x10206874]
addss xmm0, dword [0x1020686c]
movss dword [esp + 0x74], xmm0
nop
push 0
lea eax, [esp + 0x1f]
mov ecx, edi
push eax
lea eax, [esp + 0x22]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x90]
call fcn.1002a240
add esp, 0x14
cmp byte [0x10206728], 0
je 0x1002cec0
lea eax, [edi + 1]
cmp dword [esp + 0x30], eax
jne 0x1002d28f
cmp byte [esp + 0x1a], 0
mov edx, dword [esp + 0x34]
je 0x1002d293
test edx, ebx
je 0x1002d293
movss xmm2, dword [0x101c72f4]
movss xmm6, dword [esp + 0x80]
movss xmm4, dword [esp + 0x7c]
movss xmm0, dword [0x10206714]
movss xmm3, dword [esp + 0x84]
mulss xmm6, xmm2
mulss xmm4, xmm2
mulss xmm6, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm2
movaps xmm1, xmm6
mulss xmm1, dword [0x102065e4]
mulss xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x102065d4]
movss xmm2, dword [0x101c7324]
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102065f4]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x102065c8]
mulss xmm4, dword [0x102065cc]
addss xmm1, dword [0x10206604]
divss xmm2, xmm1
movaps xmm1, xmm6
mulss xmm6, dword [0x102065dc]
mulss xmm1, dword [0x102065d8]
addss xmm6, xmm4
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102065e8]
mulss xmm3, dword [0x102065ec]
addss xmm1, xmm0
movss xmm0, dword [0x101c736c]
addss xmm6, xmm3
addss xmm1, dword [0x102065f8]
addss xmm6, dword [0x102065fc]
mulss xmm1, xmm2
mulss xmm6, xmm2
addss xmm1, dword [0x101c7324]
movss xmm2, dword [esp + 0x7c]
addss xmm6, dword [0x101c7324]
mulss xmm1, dword [0x10206870]
subss xmm0, xmm6
movss xmm6, dword [esp + 0x84]
addss xmm1, dword [0x10206868]
mulss xmm0, dword [0x10206874]
movss dword [esp + 0xa4], xmm1
movss xmm1, dword [esp + 0x80]
addss xmm0, dword [0x1020686c]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [0x10206714]
mulss xmm1, xmm0
mulss xmm2, xmm0
movss dword [esp + 0x14], xmm1
mulss xmm1, dword [0x102065e4]
mulss xmm6, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x102065d4]
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [0x101c7324]
addss xmm1, xmm0
movss xmm0, dword [0x102065f4]
mulss xmm0, xmm6
addss xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x102065c8]
addss xmm1, dword [0x10206604]
divss xmm2, xmm1
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x102065d8]
addss xmm1, xmm0
movss xmm0, dword [0x102065e8]
mulss xmm0, xmm6
addss xmm1, xmm0
addss xmm1, dword [0x102065f8]
mulss xmm1, xmm2
addss xmm1, dword [0x101c7324]
mulss xmm1, dword [0x10206870]
addss xmm1, dword [0x10206868]
movss xmm7, dword [esp + 0x14]
lea eax, [esp + 0x9c]
mulss xmm7, dword [0x102065dc]
mov esi, dword [esp + edi*4 + 0xd8]
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x102065cc]
push ecx
mov ecx, dword [esp + 0x70]
movss dword [esp + 0x30], xmm1
addss xmm7, xmm0
movss dword [esp + 0xa0], xmm1
movss xmm0, dword [0x102065ec]
mulss xmm0, xmm6
addss xmm7, xmm0
movss xmm0, dword [0x101c736c]
addss xmm7, dword [0x102065fc]
mulss xmm7, xmm2
addss xmm7, dword [0x101c7324]
subss xmm0, xmm7
mulss xmm0, dword [0x10206874]
addss xmm0, dword [0x1020686c]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [0x102062f4]
movss dword [esp], xmm0
push esi
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.1005e850
movss xmm0, dword [esp + 0x74]
subss xmm0, dword [esp + 0x14]
movss xmm2, dword [esp + 0x70]
subss xmm2, dword [esp + 0x2c]
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1002d1bf
sqrtsd xmm0, xmm0
jmp 0x1002d1c4
call fcn.10199330
movss xmm4, dword [esp + 0x20]
lea eax, [esp + 0xac]
movss xmm5, dword [esp + 0x1c]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push esi
mov esi, dword [esp + 0x70]
mov ecx, esi
push eax
lea eax, [esp + 0x48]
movss xmm7, dword [esp + 0x34]
divss xmm4, xmm1
push eax
lea eax, [esp + 0x54]
push eax
divss xmm5, xmm1
mulss xmm4, dword [0x102062f8]
mulss xmm5, dword [0x102062f8]
movss xmm6, dword [esp + 0x24]
movaps xmm1, xmm4
addss xmm1, xmm7
movaps xmm3, xmm4
xorps xmm3, xmmword [0x101c7e10]
subss xmm7, xmm4
movaps xmm2, xmm5
addss xmm2, xmm6
subss xmm6, xmm5
movaps xmm0, xmm1
addss xmm1, xmm5
subss xmm0, xmm5
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x5c], xmm6
movss dword [esp + 0x50], xmm1
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
addss xmm2, xmm3
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0x54], xmm2
call fcn.1005f110
xorps xmm0, xmm0
comiss xmm0, dword [edi*4 + 0x102067c0]
jbe 0x1002d28f
lea ecx, [esp + 0x7c]
call fcn.1002bb90
mov edx, dword [esp + 0x34]
cmp byte [0x10206728], 0
je 0x1002d2a9
lea eax, [edi + 4]
cmp dword [esp + 0x30], eax
jne 0x1002d8c5
cmp byte [esp + 0x1b], 0
je 0x1002d8c5
mov ecx, dword [edi*4 + 0x101eb060]
mov eax, ecx
and eax, edx
cmp eax, ecx
jne 0x1002d8c5
lea eax, [esp + 0xb4]
mov ecx, 4
mov dword [eax + 4], 0
lea eax, [eax + 8]
mov dword [eax - 8], 0
sub ecx, 1
jne 0x1002d2d3
movss xmm4, dword [0x101c7324]
movss xmm1, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
movss xmm3, dword [esp + 0x94]
movss xmm6, dword [esp + 0x50]
movss xmm7, dword [esp + 0x54]
movss xmm0, dword [esp + 0x58]
mulss xmm1, xmm4
mulss xmm0, xmm4
mulss xmm2, xmm4
mulss xmm3, xmm4
mulss xmm7, xmm4
movaps xmm5, xmm2
movss dword [esp + 0x14], xmm1
mulss xmm6, xmm4
movaps xmm4, xmm1
movss xmm1, dword [0x10206714]
addss xmm5, xmm7
movss dword [esp + 0x20], xmm0
addss xmm4, xmm6
movss dword [esp + 0x24], xmm3
addss xmm3, xmm0
movss dword [esp + 0x10], xmm2
movss xmm2, dword [0x101c7324]
mulss xmm5, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [0x102065e4]
movaps xmm0, xmm4
mulss xmm0, dword [0x102065d4]
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102065f4]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x102065c8]
mulss xmm4, dword [0x102065cc]
addss xmm1, dword [0x10206604]
divss xmm2, xmm1
movaps xmm1, xmm5
mulss xmm5, dword [0x102065dc]
mulss xmm1, dword [0x102065d8]
addss xmm5, xmm4
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm3, dword [0x102065ec]
mulss xmm0, dword [0x102065e8]
addss xmm5, xmm3
movss xmm3, dword [0x101c734c]
addss xmm1, xmm0
movss xmm0, dword [0x101c736c]
addss xmm5, dword [0x102065fc]
addss xmm1, dword [0x102065f8]
mulss xmm5, xmm2
mulss xmm1, xmm2
addss xmm5, dword [0x101c7324]
movss xmm2, dword [esp + 0x8c]
addss xmm1, dword [0x101c7324]
mulss xmm2, xmm3
subss xmm0, xmm5
mulss xmm1, dword [0x10206870]
movaps xmm4, xmm2
addss xmm4, xmm6
movss dword [esp + 0x2c], xmm2
mulss xmm0, dword [0x10206874]
addss xmm1, dword [0x10206868]
movss xmm2, dword [0x10206714]
addss xmm0, dword [0x1020686c]
mulss xmm4, xmm2
movss dword [esp + 0xb4], xmm1
movss xmm1, dword [esp + 0x94]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x90]
mulss xmm0, xmm3
mulss xmm1, xmm3
movaps xmm5, xmm0
movss dword [esp + 0x3c], xmm0
addss xmm5, xmm7
movss dword [esp + 0x1c], xmm1
mulss xmm5, xmm2
movaps xmm3, xmm1
movss xmm7, dword [0x102065ec]
addss xmm3, dword [esp + 0x20]
movaps xmm1, xmm5
movss xmm6, dword [0x102065fc]
mulss xmm1, dword [0x102065e4]
movaps xmm0, xmm4
mulss xmm0, dword [0x102065d4]
mulss xmm3, xmm2
addss xmm1, xmm0
movss xmm2, dword [0x101c7324]
movaps xmm0, xmm3
mulss xmm0, dword [0x102065f4]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x102065c8]
mulss xmm4, dword [0x102065cc]
addss xmm1, dword [0x10206604]
divss xmm2, xmm1
movaps xmm1, xmm5
mulss xmm5, dword [0x102065dc]
mulss xmm1, dword [0x102065d8]
addss xmm5, xmm4
movss xmm4, dword [0x1020686c]
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102065e8]
mulss xmm3, xmm7
addss xmm1, xmm0
movss xmm0, dword [0x101c736c]
addss xmm5, xmm3
movss xmm3, dword [0x101c734c]
addss xmm1, dword [0x102065f8]
addss xmm5, xmm6
mulss xmm1, xmm2
mulss xmm5, xmm2
addss xmm1, dword [0x101c7324]
movss xmm2, dword [esp + 0x54]
addss xmm5, dword [0x101c7324]
mulss xmm2, xmm3
mulss xmm1, dword [0x10206870]
subss xmm0, xmm5
movss dword [esp + 0x38], xmm2
movss xmm5, dword [0x10206874]
addss xmm1, dword [0x10206868]
mulss xmm0, xmm5
movss dword [esp + 0xbc], xmm1
movss xmm1, dword [esp + 0x58]
addss xmm0, xmm4
mulss xmm1, xmm3
movss dword [esp + 0x20], xmm1
movss xmm1, dword [0x10206714]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, xmm3
movss xmm3, dword [esp + 0x2c]
addss xmm3, xmm0
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm2
movss xmm2, dword [esp + 0x1c]
addss xmm2, dword [esp + 0x20]
mulss xmm3, xmm1
mulss xmm0, xmm1
mulss xmm2, xmm1
movss xmm1, dword [0x102065e4]
mulss xmm1, xmm0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [0x102065d4]
mulss xmm0, xmm3
movss dword [esp + 0x2c], xmm3
movss xmm3, dword [0x102065d8]
mulss xmm3, dword [esp + 0x3c]
addss xmm1, xmm0
movss xmm0, dword [0x102065f4]
mulss xmm0, xmm2
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [0x101c7324]
addss xmm1, xmm0
addss xmm1, dword [0x10206604]
divss xmm2, xmm1
movss xmm0, dword [0x102065c8]
mulss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x102065dc]
mulss xmm1, dword [esp + 0x3c]
addss xmm3, xmm0
movss xmm0, dword [0x102065e8]
mulss xmm0, dword [esp + 0x1c]
addss xmm3, xmm0
movss xmm0, dword [0x102065cc]
mulss xmm0, dword [esp + 0x2c]
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x1c]
addss xmm3, dword [0x102065f8]
addss xmm1, xmm0
movss xmm0, dword [0x101c736c]
mulss xmm3, xmm2
addss xmm1, xmm6
addss xmm3, dword [0x101c7324]
mulss xmm1, xmm2
mulss xmm3, dword [0x10206870]
addss xmm1, dword [0x101c7324]
movss xmm2, dword [esp + 0x14]
addss xmm3, dword [0x10206868]
addss xmm2, dword [esp + 0x78]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x10]
addss xmm1, dword [esp + 0x38]
movss dword [esp + 0xc4], xmm3
movss xmm3, dword [esp + 0x24]
addss xmm3, dword [esp + 0x20]
mulss xmm0, xmm5
addss xmm0, xmm4
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [0x10206714]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
movss xmm0, dword [0x102065d4]
movss dword [esp + 0x10], xmm1
mulss xmm1, dword [0x102065e4]
mulss xmm0, xmm2
movss dword [esp + 0x14], xmm2
movss xmm2, dword [0x101c7324]
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102065f4]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x102065c8]
addss xmm1, dword [0x10206604]
divss xmm2, xmm1
movss xmm1, dword [esp + 0x10]
mulss xmm1, dword [0x102065d8]
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102065e8]
mulss xmm3, xmm7
addss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x102065dc]
addss xmm1, dword [0x102065f8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x102065cc]
mulss xmm1, xmm2
addss xmm1, dword [0x101c7324]
mulss xmm1, dword [0x10206870]
addss xmm1, dword [0x10206868]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0x10]
addss xmm1, xmm0
movss xmm0, dword [0x101c736c]
movaps xmm7, xmm1
addss xmm7, xmm3
addss xmm7, xmm6
mulss xmm7, xmm2
addss xmm7, dword [0x101c7324]
subss xmm0, xmm7
mulss xmm0, xmm5
addss xmm0, xmm4
movss xmm1, dword [esp + 0x24]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
movss dword [esp + 0xd4], xmm1
movss dword [esp + 0xd8], xmm0
call fcn.100289b0
push eax
push 4
lea eax, [esp + 0xc4]
mov ecx, esi
push eax
call fcn.1005cd50
push dword [esp + edi*4 + 0xe4]
lea eax, [esp + 0xb8]
mov ecx, esi
push 4
push eax
call fcn.1005da80
inc edi
rol ebx, 1
cmp edi, 3
jl 0x1002ce80
mov edi, dword [esp + 0xd4]
test edi, 0xff000000
je 0x1002d91e
movss xmm2, dword [0x10206310]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1002d91e
push 0x1f
push ecx
mov dword [esp], 0x40c2c75c
xorps xmm3, xmm3
push 0x102066fc
mov ecx, esi
call fcn.1005df90
push edi
push dword [esi + 0x54]
mov ecx, esi
push dword [esi + 0x5c]
call fcn.1005da80
mov dword [esi + 0x54], 0
cmp byte [0x10206728], 0
je 0x1002dee1
mov eax, dword [0x10206888]
cmp eax, 0xffffffff
je 0x1002d941
cmp eax, dword [0x1020688c]
jne 0x1002dee1
mov ebx, dword [esp + 0x30]
lea eax, [ebx - 1]
cmp eax, 6
ja 0x1002dee1
mov ecx, 8
call fcn.100289b0
movss xmm5, dword [0x10206750]
mov edi, eax
movss xmm4, dword [0x1020674c]
movss xmm1, dword [0x10206664]
movss xmm0, dword [0x10206654]
movss xmm3, dword [0x10206754]
mulss xmm1, xmm5
mulss xmm0, xmm4
movss xmm2, dword [0x101c7324]
movss xmm7, dword [0x1020666c]
addss xmm1, xmm0
movss xmm6, dword [0x10206664]
movss xmm0, dword [0x10206674]
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [0x10206658]
movss dword [esp + 0x10], xmm0
addss xmm1, dword [0x10206684]
divss xmm2, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x10206648]
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm0, dword [0x10206668]
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [0x1020664c]
mulss xmm0, xmm4
addss xmm1, dword [0x10206678]
mulss xmm1, xmm2
addss xmm1, dword [0x101c7324]
mulss xmm1, dword [0x10206870]
addss xmm1, dword [0x10206868]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [0x1020665c]
mulss xmm1, xmm5
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm3
movss xmm3, dword [0x102064bc]
mulss xmm6, xmm3
addss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [0x10206654]
addss xmm1, dword [0x1020667c]
mulss xmm1, xmm2
movss xmm2, dword [0x101c736c]
addss xmm1, dword [0x101c7324]
subss xmm2, xmm1
movss xmm1, dword [0x102064c0]
mulss xmm2, dword [0x10206874]
addss xmm2, dword [0x1020686c]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [0x102064b8]
mulss xmm0, xmm2
addss xmm6, xmm0
movss xmm0, dword [0x10206674]
mulss xmm0, xmm1
addss xmm6, xmm0
movss xmm0, dword [0x101c7324]
addss xmm6, dword [0x10206684]
divss xmm0, xmm6
movss xmm6, dword [esp + 0x10]
mulss xmm6, xmm3
movss dword [esp + 0x10], xmm6
movss xmm6, dword [0x10206648]
movss xmm5, dword [esp + 0x10]
mulss xmm6, xmm2
addss xmm5, xmm6
movss xmm6, dword [0x10206668]
mulss xmm6, xmm1
addss xmm5, xmm6
movaps xmm6, xmm5
addss xmm6, dword [0x10206678]
mulss xmm6, xmm0
addss xmm6, dword [0x101c7324]
mulss xmm6, dword [0x10206870]
mulss xmm7, xmm1
addss xmm6, dword [0x10206868]
movss xmm1, dword [0x101c736c]
movss dword [esp + 0x10], xmm6
movss xmm6, dword [0x1020665c]
mulss xmm6, xmm3
movss xmm3, dword [0x1020664c]
mulss xmm3, xmm2
movaps xmm2, xmm6
movss dword [esp + 0x24], xmm6
addss xmm2, xmm3
addss xmm2, xmm7
addss xmm2, dword [0x1020667c]
mulss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x40], xmm0
addss xmm2, dword [0x101c7324]
subss xmm1, xmm2
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x30]
mulss xmm1, dword [0x10206874]
movss dword [esp + 0x24], xmm2
addss xmm1, dword [0x1020686c]
movaps xmm0, xmm1
movss dword [esp + 0x14], xmm1
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x44], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x38], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
addss xmm1, dword [0x101c7294]
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1002dc05
sqrtsd xmm0, xmm0
jmp 0x1002dc0a
call fcn.10199330
movss xmm1, dword [0x101c72a8]
cvtsd2ss xmm0, xmm0
comiss xmm0, xmm1
ja 0x1002dc1e
movaps xmm0, xmm1
movss xmm2, dword [0x101c736c]
lea eax, [esp + 0x48]
divss xmm2, xmm0
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 0
push edi
push eax
movaps xmm1, xmm2
mulss xmm2, dword [esp + 0x48]
mulss xmm1, dword [esp + 0x34]
mulss xmm2, dword [0x101c7430]
mulss xmm1, dword [0x101c7430]
movss dword [esp + 0x48], xmm2
movss xmm2, dword [0x101c7434]
movss dword [esp + 0x34], xmm1
call fcn.1005f220
movss xmm2, dword [0x101c7434]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 0
push edi
push eax
call fcn.1005f220
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x48]
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x38]
subss xmm0, xmm1
addss xmm1, dword [esp + 0x30]
push ecx
mov dword [esp], 0x40000000
mov ecx, esi
push edi
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, xmm2
movss dword [esp + 0x48], xmm1
addss xmm2, dword [esp + 0x28]
push eax
lea eax, [esp + 0x4c]
push eax
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x54], xmm2
call fcn.1005e850
movss xmm0, dword [0x102064b8]
lea ecx, [ebx + ebx*2]
subss xmm0, dword [0x1020674c]
mov eax, dword [ecx*4 + 0x101b422c]
sub esp, 0x18
movss dword [esp + 0x68], xmm0
movss xmm0, dword [0x102064bc]
subss xmm0, dword [0x10206750]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [0x102064c0]
subss xmm0, dword [0x10206754]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [0x102064c4]
subss xmm0, dword [0x10206758]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + eax*4 + 0x68]
mov eax, dword [ecx*4 + 0x101b4228]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + eax*4 + 0x68]
mov eax, dword [ecx*4 + 0x101b4224]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + eax*4 + 0x68]
lea eax, [esp + 0x108]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [ebx*4 + 0x101b4280]
push 0x200
push eax
call fcn.10008310
add esp, 0x24
mov ecx, 0xe
call fcn.100289b0
movss xmm0, dword [esp + 0x10]
mov edx, eax
addss xmm0, dword [0x101c7468]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x101c7468]
movss dword [esp + 0x28], xmm0
test edx, 0xff000000
je 0x1002de43
lea ecx, [esp + 0xf0]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ddf2
sub ecx, edi
lea eax, [esp + 0xf0]
add ecx, eax
cmp eax, ecx
je 0x1002de43
push dword [esp + 0x28]
mov eax, dword [esi + 0x28]
push dword [esp + 0x28]
movups xmm0, xmmword [esi + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
push edx
push esi
movups xmmword [esp + 0x74], xmm0
call fcn.10064f90
mov ecx, 0xd
call fcn.100289b0
movss xmm1, dword [esp + 0x10]
mov edx, eax
addss xmm1, dword [0x101c7464]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0x14]
addss xmm1, dword [0x101c7464]
movss dword [esp + 0x28], xmm1
test edx, 0xff000000
je 0x1002dee1
lea ecx, [esp + 0xf0]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002de90
sub ecx, edi
lea eax, [esp + 0xf0]
add ecx, eax
cmp eax, ecx
je 0x1002dee1
push dword [esp + 0x28]
mov eax, dword [esi + 0x28]
push dword [esp + 0x28]
movups xmm0, xmmword [esi + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
push edx
push esi
movups xmmword [esp + 0x74], xmm0
call fcn.10064f90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret