Function at 0x1006e570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, dword [0x1017bfd8]
mov ebx, edx
push edi
mov edi, ecx
mov eax, dword [esi + 0x19e4]
mov byte [eax + 0x7c], 1
mov edx, dword [esi + 0x19e4]
cmp byte [edx + 0x7f], 0
jne 0x1006ea88
test edi, edi
jne 0x1006e5a8
push ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
test ebx, ebx
jne 0x1006e5bc
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e5b0
sub ecx, ebx
lea ebx, [ecx + edi]
movss xmm1, dword [edx + 0x170]
lea eax, [edx + 0xc8]
movss xmm4, dword [eax]
xorps xmm0, xmm0
movss xmm2, dword [edx + 0xf0]
addss xmm2, dword [edx + 0xcc]
comiss xmm1, xmm0
mov dword [ebp - 0x20], eax
mov eax, ebx
movss dword [ebp - 8], xmm4
movss dword [ebp - 0x10], xmm2
setae cl
sub eax, edi
cmp eax, 0x7d0
jle 0x1006e93f
test cl, cl
jne 0x1006e943
movaps xmm1, xmm2
movss xmm5, dword [esi + 0x1900]
movss dword [ebp - 0xc], xmm5
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x30], xmm1
cmp byte [esi + 0x2cbc], cl
jne 0x1006e70f
movss xmm0, dword [edx + 0x1d0]
subss xmm0, xmm2
divss xmm0, xmm5
cvttss2si ecx, xmm0
mov dword [ebp - 0x18], ecx
test ecx, ecx
jle 0x1006e70f
xor eax, eax
mov dword [ebp - 0x14], eax
cmp edi, ebx
jae 0x1006e6fb
cmp eax, ecx
jge 0x1006e6ec
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, ebx
mov dword [ebp - 0x1c], eax
cmp edi, eax
jne 0x1006e68b
xorps xmm0, xmm0
jmp 0x1006e6cd
movss xmm2, dword [esi + 0x1900]
push ecx
push eax
push edi
push ecx
mov ecx, dword [esi + 0x18fc]
lea eax, [ebp - 0x24]
mov dword [esp], 0xbf800000
push eax
call fcn.1005fe90
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [0x10145038]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
maxss xmm0, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
lea edi, [eax + 1]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
movss dword [ebp - 0x2c], xmm0
cmp edi, ebx
jb 0x1006e662
movss xmm4, dword [ebp - 8]
movss xmm5, dword [ebp - 0xc]
movss xmm2, dword [ebp - 0x10]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm2
movss dword [ebp - 0x30], xmm1
cmp edi, ebx
jae 0x1006e8f1
movaps xmm3, xmm4
movss dword [ebp - 0x18], xmm1
addss xmm3, dword [0x101452dc]
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, xmm5
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm0
nop dword [eax + eax]
mov eax, dword [esi + 0x19e4]
comiss xmm0, dword [eax + 0x1d0]
jbe 0x1006e772
movss xmm0, dword [eax + 0x1d8]
comiss xmm0, xmm2
jbe 0x1006e772
comiss xmm3, dword [eax + 0x1cc]
jbe 0x1006e772
movss xmm0, dword [eax + 0x1d4]
comiss xmm0, xmm4
ja 0x1006e77f
cmp byte [esi + 0x2cbc], 0
je 0x1006e84c
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, ebx
mov dword [ebp - 0x14], eax
cmp edi, eax
jne 0x1006e7a0
xorps xmm0, xmm0
jmp 0x1006e7e2
movss xmm2, dword [esi + 0x1900]
push ecx
push eax
push edi
push ecx
mov ecx, dword [esi + 0x18fc]
lea eax, [ebp - 0x3c]
mov dword [esp], 0xbf800000
push eax
call fcn.1005fe90
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [0x10145038]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
push dword [ebp - 0x30]
maxss xmm0, dword [ebp - 0x2c]
push dword [ebp - 0x34]
mov edx, eax
mov ecx, edi
push 0
movss dword [ebp - 0x2c], xmm0
call fcn.10042c70
movss xmm5, dword [ebp - 0xc]
add esp, 0xc
movss xmm2, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x1c]
addss xmm2, xmm5
movss xmm1, dword [ebp - 0x30]
addss xmm0, xmm5
mov edi, dword [ebp - 0x14]
addss xmm1, xmm5
mov esi, dword [0x1017bfd8]
inc edi
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x30], xmm1
cmp edi, ebx
jae 0x1006e84c
movss xmm3, dword [ebp - 0x20]
movss xmm4, dword [ebp - 8]
jmp 0x1006e740
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp edi, ebx
jae 0x1006e8db
nop dword [eax]
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, ebx
mov dword [ebp - 0x20], eax
cmp edi, eax
jne 0x1006e881
xorps xmm0, xmm0
jmp 0x1006e8c3
movss xmm2, dword [esi + 0x1900]
push ecx
push eax
push edi
push ecx
mov ecx, dword [esi + 0x18fc]
lea eax, [ebp - 0x3c]
mov dword [esp], 0xbf800000
push eax
call fcn.1005fe90
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [0x10145038]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
maxss xmm0, dword [ebp - 0x2c]
lea edi, [eax + 1]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
movss dword [ebp - 0x2c], xmm0
cmp edi, ebx
jb 0x1006e860
movss xmm2, dword [ebp - 0x10]
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [ebp - 0xc]
addss xmm1, dword [ebp - 0x30]
movss xmm3, dword [ebp - 8]
lea ecx, [ebp - 0x2c]
movaps xmm0, xmm1
movss dword [ebp - 0x38], xmm1
subss xmm0, xmm2
movss dword [ebp - 0x44], xmm3
xorps xmm1, xmm1
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x3c], xmm0
call fcn.10044ce0
push 0
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.10044e10
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test cl, cl
je 0x1006e95e
mov ecx, dword [ebp - 0x20]
call fcn.10045440
mov esi, dword [0x1017bfd8]
movaps xmm1, xmm0
movss dword [ebp - 0xc], xmm0
xorps xmm0, xmm0
jmp 0x1006e966
xorps xmm1, xmm1
movss dword [ebp - 0xc], xmm1
movss xmm2, dword [esi + 0x1900]
cmp edi, ebx
je 0x1006e9a7
push ecx
push ebx
push edi
push ecx
mov ecx, dword [esi + 0x18fc]
lea eax, [ebp - 0x3c]
movss dword [esp], xmm1
push eax
call fcn.1005fe90
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [0x10145038]
movss xmm2, dword [ebp - 0x38]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm3, dword [ebp - 8]
lea ecx, [ebp - 0x34]
movss xmm4, dword [ebp - 0x10]
movaps xmm1, xmm3
addss xmm1, xmm0
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0x30], xmm2
addss xmm0, xmm2
movss dword [ebp - 0x44], xmm3
movss dword [ebp - 0x40], xmm4
movss dword [ebp - 0x3c], xmm1
xorps xmm1, xmm1
movss dword [ebp - 0x38], xmm0
call fcn.10044ce0
push 0
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.10044e10
add esp, 4
test al, al
je 0x1006ea88
mov esi, dword [0x1017bfd8]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], 1
movups xmm0, xmmword [esi + 0x15bc]
lea ecx, [esi + 0x1a4c]
movups xmmword [ebp - 0x54], xmm0
call fcn.10053840
movups xmm0, xmmword [esi + 0x15cc]
mov edx, ebx
mov ecx, edi
movss xmm2, dword [ebp - 0xc]
movups xmmword [esi + 0x15bc], xmm0
movss xmm0, dword [ebp - 0x44]
addss xmm0, dword [0x10145040]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x40]
addss xmm0, dword [0x10145040]
movss dword [ebp - 0x30], xmm0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10042e40
call fcn.1004d3c0
push dword [ebp - 0x40]
movss xmm2, dword [ebp - 0xc]
mov edx, ebx
push dword [ebp - 0x44]
mov ecx, edi
call fcn.10042e40
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret