Function at 0x100851e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
mov esi, ecx
mov ecx, dword [0x101e0c0c]
push edi
mov edi, edx
mov dword [esp + 0x30], esi
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov edx, dword [ecx + 0x198c]
cmp byte [edx + 0x7f], 0
jne 0x10085580
test esi, esi
je 0x10085723
test edi, edi
jne 0x10085236
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085224
sub ecx, edi
lea edi, [ecx + esi]
mov ecx, dword [0x101e0c0c]
movss xmm1, dword [edx + 0x170]
xorps xmm3, xmm3
movss xmm4, dword [edx + 0xc8]
mov eax, edi
movss xmm6, dword [edx + 0xf0]
movaps xmm5, xmm4
addss xmm5, dword [0x10162850]
addss xmm6, dword [edx + 0xcc]
comiss xmm1, xmm3
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x24], xmm6
setae byte [esp + 0x17]
sub eax, esi
cmp eax, 0x7d0
jle 0x10085586
cmp byte [esp + 0x17], 0
jne 0x10085591
movups xmm0, xmmword [edx + 0x1cc]
movss xmm4, dword [ecx + 0x18ac]
xorps xmm1, xmm1
movaps xmmword [esp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
comiss xmm0, xmm6
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm1
jb 0x1008553c
cmp byte [ecx + 0x2c64], 0
movaps xmm1, xmm6
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x44], xmm1
jne 0x10085370
movss xmm0, dword [esp + 0x54]
subss xmm0, xmm6
divss xmm0, xmm4
cvttss2si edx, xmm0
mov dword [esp + 0x30], edx
test edx, edx
jle 0x10085370
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, edi
jae 0x10085355
nop
cmp eax, edx
jge 0x1008533d
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 + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp esi, edi
jb 0x10085310
movss xmm4, dword [esp + 0x20]
movss xmm5, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x24]
mov ecx, dword [0x101e0c0c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm6
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x44], xmm1
cmp esi, edi
jae 0x1008552c
movaps xmm6, xmm5
movss dword [esp + 0x2c], xmm1
addss xmm6, dword [0x101629cc]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm4
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x30], xmm2
nop
mov eax, dword [ecx + 0x198c]
comiss xmm2, dword [eax + 0x1d0]
jbe 0x100853d2
movss xmm0, dword [eax + 0x1d8]
comiss xmm0, xmm3
jbe 0x100853d2
comiss xmm6, dword [eax + 0x1cc]
jbe 0x100853d2
movss xmm0, dword [eax + 0x1d4]
comiss xmm0, xmm5
ja 0x100853df
cmp byte [ecx + 0x2c64], 0
je 0x100854dc
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 0x10085401
xorps xmm1, xmm1
jmp 0x10085459
push ecx
push eax
push esi
push ecx
mov ecx, dword [0x101e0c0c]
lea eax, [esp + 0x58]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x18ac]
mov ecx, dword [ecx + 0x18a8]
call fcn.10080e40
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x10162720]
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 + 0x38]
comiss xmm0, xmm1
jae 0x1008546a
movss dword [esp + 0x38], xmm1
push dword [esp + 0x44]
mov edx, eax
mov ecx, esi
push dword [esp + 0x44]
push 0
call fcn.10063ed0
movss xmm4, dword [esp + 0x2c]
add esp, 0xc
movss xmm3, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x30]
addss xmm3, xmm4
movss xmm1, dword [esp + 0x18]
addss xmm2, xmm4
mov esi, dword [esp + 0x28]
addss xmm1, xmm4
inc esi
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x44], xmm1
cmp esi, edi
jae 0x100854dc
movss xmm5, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x34]
mov ecx, dword [0x101e0c0c]
jmp 0x100853a0
xor eax, eax
mov dword [esp + 0x30], eax
cmp esi, edi
jae 0x10085517
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 0x100854e6
movss xmm1, dword [esp + 0x18]
movss xmm4, dword [esp + 0x20]
movss xmm6, dword [esp + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm5, dword [esp + 0x1c]
subss xmm1, xmm6
movss dword [esp + 0x3c], xmm1
movaps xmm2, xmm5
movss dword [esp + 0x50], xmm5
addss xmm2, dword [esp + 0x38]
movaps xmm0, xmm6
movss dword [esp + 0x54], xmm6
addss xmm0, xmm1
xorps xmm1, xmm1
lea ecx, [esp + 0x38]
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm0
call fcn.10065e10
push 0
xor edx, edx
lea ecx, [esp + 0x54]
call fcn.10065f40
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x17], 0
je 0x1008564f
comiss xmm3, xmm1
ja 0x1008564f
mov edx, dword [ecx + 0x198c]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x1008562e
movss xmm1, dword [edx + 0xc]
movss xmm2, dword [edx + 0x214]
mov eax, dword [edx + 0x1bc]
subss xmm2, xmm1
test eax, eax
je 0x1008561c
mov ecx, dword [eax + 0xc]
lea eax, [ecx + 1]
test eax, eax
cmovns ecx, eax
mov eax, dword [edx + 0x1bc]
mov dword [esp + 0x34], ecx
cmp ecx, dword [eax + 0x2c]
jge 0x10085723
mov esi, dword [edx + 0x1bc]
movss xmm0, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
shl ecx, 3
movss xmm2, dword [esi + 0x18]
sub ecx, dword [esp + 0x34]
subss xmm2, xmm0
mov esi, dword [esp + 0x30]
mulss xmm2, dword [eax + ecx*4]
mov ecx, dword [0x101e0c0c]
addss xmm2, xmm0
subss xmm2, dword [edx + 0x3c]
addss xmm1, xmm2
subss xmm1, xmm4
maxss xmm1, dword [0x10162728]
jmp 0x10085652
comiss xmm1, xmm3
jbe 0x10085641
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [edx + 0x58]
addss xmm1, xmm0
subss xmm1, xmm4
maxss xmm1, dword [0x10162728]
jmp 0x10085652
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0x18ac]
movss dword [esp + 0x20], xmm1
cmp esi, edi
jne 0x10085669
xorps xmm0, xmm0
jmp 0x100856ad
push ecx
push edi
push esi
push ecx
mov ecx, dword [ecx + 0x18a8]
lea eax, [esp + 0x58]
movss dword [esp], xmm1
push eax
call fcn.10080e40
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x10162720]
movss xmm2, dword [esp + 0x4c]
movss xmm5, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x40], xmm0
addss xmm1, xmm0
movss dword [esp + 0x44], xmm2
movaps xmm0, xmm6
movss dword [esp + 0x50], xmm5
addss xmm0, xmm2
movss dword [esp + 0x54], xmm6
lea ecx, [esp + 0x40]
movss dword [esp + 0x58], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x5c], xmm0
call fcn.10065e10
push 0
xor edx, edx
lea ecx, [esp + 0x54]
call fcn.10065f40
add esp, 4
test al, al
je 0x10085580
push dword [esp + 0x54]
movss xmm2, dword [esp + 0x24]
mov edx, edi
push dword [esp + 0x54]
mov ecx, esi
call fcn.10064070
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3