Function at 0x101395d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
mov esi, ecx
mov ecx, dword [0x101e6b78]
push edi
mov edi, edx
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov edx, dword [ecx + 0x19e4]
mov dword [esp + 0x34], edx
cmp byte [edx + 0x7f], 0
jne 0x10139ad4
test esi, esi
jne 0x1013960e
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
test edi, edi
jne 0x10139629
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10139617
sub ecx, edi
lea edi, [ecx + esi]
mov ecx, dword [0x101e6b78]
movss xmm1, dword [edx + 0x170]
xorps xmm2, xmm2
movss xmm3, dword [edx + 0xc8]
mov eax, edi
addss xmm3, dword [0x1017f1bc]
movss xmm4, dword [edx + 0xf0]
addss xmm4, dword [edx + 0xcc]
comiss xmm1, xmm2
addss xmm3, dword [0x1017f18c]
movss dword [esp + 0x24], xmm4
setae byte [esp + 0x13]
sub eax, esi
movss dword [esp + 0x18], xmm3
cmp eax, 0x7d0
jle 0x1013999b
cmp byte [esp + 0x13], 0
jne 0x101399a2
movups xmm0, xmmword [edx + 0x1cc]
movss xmm5, dword [ecx + 0x1900]
xorps xmm1, xmm1
movaps xmmword [esp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
comiss xmm0, xmm4
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm1
jb 0x10139951
cmp byte [ecx + 0x2cc0], 0
movaps xmm1, xmm4
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x3c], xmm1
jne 0x10139770
movss xmm0, dword [esp + 0x54]
subss xmm0, xmm4
divss xmm0, xmm5
cvttss2si edx, xmm0
mov dword [esp + 0x30], edx
test edx, edx
jle 0x10139770
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x10139755
nop dword [eax]
cmp eax, edx
jge 0x1013973d
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov edx, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp esi, edi
jb 0x10139710
movss xmm3, dword [esp + 0x18]
movss xmm4, dword [esp + 0x24]
movss xmm5, dword [esp + 0x1c]
mov ecx, dword [0x101e6b78]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm4
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x10139939
movaps xmm6, xmm3
movss dword [esp + 0x2c], xmm1
addss xmm6, dword [0x1017f334]
movaps xmm2, xmm1
movaps xmm4, xmm1
addss xmm2, xmm5
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x30], xmm2
nop
mov eax, dword [ecx + 0x19e4]
comiss xmm2, dword [eax + 0x1d0]
jbe 0x101397d2
movss xmm0, dword [eax + 0x1d8]
comiss xmm0, xmm4
jbe 0x101397d2
comiss xmm6, dword [eax + 0x1cc]
jbe 0x101397d2
movss xmm0, dword [eax + 0x1d4]
comiss xmm0, xmm3
ja 0x101397df
cmp byte [ecx + 0x2cc0], 0
je 0x101398e9
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
mov dword [esp + 0x28], eax
cmp esi, eax
jne 0x10139801
xorps xmm1, xmm1
jmp 0x10139861
movss xmm3, dword [0x1017f334]
push ecx
push eax
push esi
push ecx
mov ecx, dword [0x101e6b78]
lea eax, [esp + 0x58]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x1900]
mov ecx, dword [ecx + 0x18fc]
call fcn.10129fa0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x1017f0d0]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x54], xmm0
movd xmm1, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x48], xmm1
movss xmm0, dword [esp + 0x20]
mov edx, eax
push dword [esp + 0x3c]
maxss xmm0, xmm1
mov ecx, esi
push dword [esp + 0x3c]
push 0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x4c], xmm0
call fcn.1011b2d0
movss xmm5, dword [esp + 0x28]
add esp, 0xc
movss xmm4, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x30]
addss xmm4, xmm5
movss xmm1, dword [esp + 0x14]
addss xmm2, xmm5
mov esi, dword [esp + 0x28]
addss xmm1, xmm5
inc esi
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x101398e9
movss xmm3, dword [esp + 0x18]
movss xmm6, dword [esp + 0x34]
mov ecx, dword [0x101e6b78]
jmp 0x101397a0
xor eax, eax
mov dword [esp + 0x30], eax
cmp esi, edi
jae 0x10139924
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp esi, edi
jb 0x101398f3
movss xmm1, dword [esp + 0x14]
movss xmm5, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm5
addss xmm1, xmm0
movss xmm3, dword [esp + 0x18]
subss xmm1, xmm4
addss xmm1, dword [0x1017efe0]
movss dword [esp + 0x44], xmm1
movaps xmm2, xmm3
movss dword [esp + 0x50], xmm3
addss xmm2, dword [esp + 0x20]
movaps xmm0, xmm4
movss dword [esp + 0x54], xmm4
addss xmm0, xmm1
xorps xmm1, xmm1
lea ecx, [esp + 0x40]
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm0
call fcn.101198e0
push 0
xor edx, edx
lea ecx, [esp + 0x54]
call fcn.1011cfb0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x10139a05
comiss xmm2, xmm1
ja 0x10139a05
mov eax, dword [ecx + 0x19e4]
ucomiss xmm1, xmm2
mov dword [esp + 0x30], eax
lahf
test ah, 0x44
jp 0x101399dc
lea ecx, [esp + 0x50]
call fcn.101114f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
movss xmm1, dword [ecx + 0xc]
addss xmm1, dword [eax]
mov ecx, dword [0x101e6b78]
jmp 0x101399f3
comiss xmm1, xmm2
jbe 0x101399f3
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 0x58]
addss xmm1, xmm0
subss xmm1, dword [edx + 0xc8]
maxss xmm1, dword [0x1017f0d8]
jmp 0x10139a08
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0x1900]
movss dword [esp + 0x20], xmm1
cmp esi, edi
jne 0x10139a1f
xorps xmm1, xmm1
jmp 0x10139a62
movss xmm3, dword [0x1017f334]
lea eax, [esp + 0x48]
push ecx
push edi
push esi
push ecx
mov ecx, dword [ecx + 0x18fc]
movaps xmm2, xmm0
movss dword [esp], xmm1
push eax
call fcn.10129fa0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x1017f0d0]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x4c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm3, dword [esp + 0x18]
lea ecx, [esp + 0x40]
movss xmm4, dword [esp + 0x24]
movss dword [esp + 0x40], xmm1
addss xmm1, xmm3
movss dword [esp + 0x44], xmm0
addss xmm0, xmm4
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x58], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x5c], xmm0
call fcn.101198e0
push 0
xor edx, edx
lea ecx, [esp + 0x54]
call fcn.1011cfb0
add esp, 4
test al, al
je 0x10139ad4
push dword [esp + 0x54]
movss xmm2, dword [esp + 0x24]
mov edx, edi
push dword [esp + 0x54]
mov ecx, esi
call fcn.1011b170
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret