Function at 0x10080ff0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, dword [ebp + 0x1c]
movaps xmm1, xmm2
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x10], ecx
test edi, edi
jne 0x1008101c
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10081010
sub edx, edi
lea edi, [edx + esi]
cvttss2si eax, dword [ebp + 0xc]
movd xmm0, eax
cvttss2si eax, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
movd xmm2, eax
mov eax, dword [ebp + 0x18]
addss xmm0, dword [ecx + 0x30]
cvtdq2ps xmm2, xmm2
movss xmm4, dword [eax + 0xc]
addss xmm2, dword [ecx + 0x34]
movss dword [ebp + 0x1c], xmm0
movss dword [ebp + 0xc], xmm0
movss dword [ebp - 0x30], xmm4
comiss xmm2, xmm4
movss dword [ebp + 0x10], xmm2
ja 0x100815de
movss xmm5, dword [ecx + 0x10]
xorps xmm0, xmm0
divss xmm1, xmm5
push ebx
movss xmm3, dword [eax + 4]
mulss xmm5, xmm1
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebp + 0x24]
comiss xmm1, xmm0
movaps xmm0, xmm2
movss dword [ebp - 0xc], xmm5
addss xmm0, xmm5
movaps xmm1, xmm2
seta cl
movss dword [ebp - 4], xmm1
xor ebx, ebx
mov byte [ebp + 0x23], cl
comiss xmm3, xmm0
jbe 0x10081101
movss dword [ebp - 4], xmm1
test cl, cl
jne 0x10081101
movss dword [ebp - 4], xmm2
cmp esi, edi
jae 0x100810f9
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100810d2
inc esi
jmp 0x100810d4
mov esi, edi
movss xmm1, dword [ebp - 0xc]
addss xmm1, dword [ebp - 4]
movss xmm0, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
addss xmm0, xmm1
movss dword [ebp - 4], xmm1
movss xmm2, dword [eax + 4]
comiss xmm2, xmm0
ja 0x100810b5
movss xmm4, dword [ebp - 0x30]
mov cl, byte [ebp + 0x23]
mov eax, edi
sub eax, esi
cmp eax, 0x2710
jle 0x1008115d
test cl, cl
jne 0x1008115d
comiss xmm4, xmm1
mov ecx, esi
movss dword [ebp - 0x24], xmm1
jbe 0x1008115b
nop dword [eax]
cmp ecx, edi
jae 0x1008115b
mov eax, edi
sub eax, ecx
push eax
push 0xa
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1008113d
inc ecx
jmp 0x1008113f
mov ecx, edi
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
movss xmm1, dword [eax + 0xc]
comiss xmm1, xmm0
movss dword [ebp - 0x24], xmm0
ja 0x10081120
mov edi, ecx
cmp esi, edi
je 0x100815dd
mov edx, dword [ebp + 8]
mov eax, edi
sub eax, esi
lea ebx, [edx + 0xc]
lea ecx, [eax + eax*2]
mov dword [ebp - 0x30], ebx
mov ebx, dword [edx + 0xc]
add ecx, ecx
shl eax, 2
add ebx, ecx
push eax
push ecx
mov ecx, edx
mov dword [ebp - 0x34], ebx
call fcn.1007c000
mov eax, dword [ebp + 8]
mov ebx, 0
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], edx
cmp esi, edi
jae 0x1008154d
movss xmm6, dword [ebp - 4]
movss xmm7, dword [ebp + 0x1c]
cmp byte [ebp + 0x23], 0
je 0x1008122d
test ebx, ebx
jne 0x100811ee
movss xmm1, dword [ebp + 0x24]
movaps xmm0, xmm7
subss xmm0, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [esp], xmm1
movss xmm1, dword [ebp - 0x28]
push edi
push esi
call fcn.10080cd0
mov ebx, eax
cmp esi, ebx
jne 0x100811f0
inc ebx
cmp esi, ebx
jb 0x1008122d
addss xmm6, dword [ebp - 0xc]
movss xmm0, dword [ebp + 0xc]
xor ebx, ebx
movss dword [ebp + 0x1c], xmm0
movss dword [ebp - 4], xmm6
mov al, byte [esi]
cmp al, 0x20
je 0x10081212
cmp al, 9
jne 0x1008121c
inc esi
cmp esi, edi
jb 0x10081208
jmp 0x10081547
movaps xmm7, xmm0
cmp al, 0xa
jne 0x1008153f
inc esi
jmp 0x1008153f
movsx edx, byte [esi]
mov dword [ebp - 0x18], edx
cmp edx, 0x80
jae 0x1008123e
inc esi
jmp 0x10081259
push edi
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.100637b0
mov edx, dword [ebp - 0x18]
add esp, 4
add esi, eax
test edx, edx
je 0x10081547
cmp edx, 0x20
jae 0x10081299
cmp edx, 0xa
jne 0x10081290
movss xmm0, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
movss dword [ebp + 0x1c], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm6
comiss xmm0, dword [ecx + 0xc]
movss dword [ebp - 4], xmm0
ja 0x10081547
movaps xmm6, xmm0
jmp 0x1008153a
cmp edx, 0xd
je 0x1008153f
mov eax, dword [ebp - 0x10]
xorps xmm5, xmm5
movzx ecx, dx
cmp ecx, dword [eax + 0x14]
jl 0x100812ac
mov eax, dword [eax + 0x2c]
jmp 0x100812d1
mov eax, dword [eax + 0x1c]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
jne 0x100812c5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
jmp 0x100812d1
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
lea eax, [eax + ecx*8]
test eax, eax
je 0x10081531
movss xmm1, dword [ebp - 0x28]
movaps xmm5, xmm1
mulss xmm5, dword [eax + 4]
cmp edx, 0x20
je 0x10081531
cmp edx, 9
je 0x10081531
mov ecx, dword [ebp + 0x18]
movaps xmm7, xmm1
mulss xmm7, dword [eax + 8]
movaps xmm3, xmm1
mulss xmm3, dword [eax + 0x10]
movaps xmm6, xmm1
mulss xmm6, dword [eax + 0xc]
movaps xmm4, xmm1
addss xmm7, dword [ebp + 0x1c]
mulss xmm4, dword [eax + 0x14]
movss xmm0, dword [ecx + 8]
addss xmm3, dword [ebp + 0x1c]
comiss xmm0, xmm7
addss xmm6, dword [ebp - 4]
addss xmm4, dword [ebp - 4]
jb 0x10081527
movss xmm0, dword [ecx]
comiss xmm3, xmm0
jb 0x10081527
cmp byte [ebp + 0x28], 0
movss xmm1, dword [eax + 0x18]
movss xmm2, dword [eax + 0x1c]
movss dword [ebp - 8], xmm1
movss xmm1, dword [eax + 0x20]
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [eax + 0x24]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [ebp - 8]
movss dword [ebp - 0x2c], xmm2
je 0x10081483
comiss xmm0, xmm7
jbe 0x100813c5
movaps xmm1, xmm3
movss xmm2, dword [0x10162728]
subss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm7
movss xmm7, dword [ecx]
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [ebp - 8]
subss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, dword [ebp - 8]
movss dword [ebp - 8], xmm2
movss xmm2, dword [ebp - 0x2c]
movss xmm0, dword [ecx + 4]
comiss xmm0, xmm6
jbe 0x10081405
movaps xmm1, xmm4
movss xmm2, dword [0x10162728]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, xmm6
movss xmm6, dword [ecx + 4]
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x2c]
subss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, dword [ebp - 0x2c]
movss xmm0, dword [ecx + 8]
comiss xmm3, xmm0
jbe 0x10081438
subss xmm3, xmm7
subss xmm0, xmm7
divss xmm0, xmm3
movss xmm3, dword [ebp - 0x14]
subss xmm3, dword [ebp - 8]
mulss xmm0, xmm3
movss xmm3, dword [ecx + 8]
addss xmm0, dword [ebp - 8]
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ecx + 0xc]
comiss xmm4, xmm1
jbe 0x1008146a
subss xmm4, xmm6
movaps xmm0, xmm1
subss xmm0, xmm6
divss xmm0, xmm4
movss xmm4, dword [ebp - 0x18]
subss xmm4, xmm2
mulss xmm0, xmm4
movaps xmm4, xmm1
addss xmm0, xmm2
movss dword [ebp - 0x18], xmm0
comiss xmm6, xmm4
jb 0x1008147e
addss xmm5, dword [ebp + 0x1c]
movss xmm6, dword [ebp - 4]
jmp 0x10081535
movss xmm1, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x14]
add dword [ebp - 0x24], 4
movzx ecx, ax
mov word [edx], cx
mov word [edx + 6], cx
lea eax, [ecx + 1]
mov word [edx + 2], ax
lea eax, [ecx + 2]
mov word [edx + 4], ax
mov word [edx + 8], ax
lea eax, [ecx + 3]
mov ecx, dword [ebp + 0x14]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 0x1c]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x30], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov dword [eax + 0x10], ecx
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm2
movss dword [eax + 0x14], xmm3
movss dword [eax + 0x18], xmm6
mov dword [eax + 0x24], ecx
movss dword [eax + 0x20], xmm2
movss dword [eax + 0x28], xmm3
movss dword [eax + 0x2c], xmm4
mov dword [eax + 0x38], ecx
movss dword [eax + 0x34], xmm0
movss dword [eax + 0x3c], xmm7
movss dword [eax + 0x40], xmm4
mov dword [eax + 0x4c], ecx
movss dword [eax + 0x44], xmm1
movss dword [eax + 0x48], xmm0
add eax, 0x50
add edx, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
movss xmm6, dword [ebp - 4]
movss xmm7, dword [ebp + 0x1c]
addss xmm5, xmm7
movss dword [ebp + 0x1c], xmm5
movss xmm7, dword [ebp + 0x1c]
cmp esi, edi
jb 0x100811b7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax + 0x20]
lea ebx, [eax + 0x18]
mov eax, 0x66666667
imul ecx
mov ecx, ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.10082240
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
lea eax, [edx + 0xc]
mov edi, dword [eax + 4]
sub esi, dword [edx + 0x14]
sar esi, 1
cmp esi, edi
jle 0x100815ad
test edi, edi
je 0x10081592
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x10081597
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x30]
push eax
call fcn.10052b50
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
mov eax, dword [edx]
lea ecx, [eax - 1]
cmp ecx, eax
jl 0x100815c0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [edx + 8]
sub esi, dword [ebp - 0x34]
shl ecx, 5
add dword [ecx + eax], esi
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x38], eax
mov eax, dword [ebx]
mov dword [edx + 0x30], eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x24