Function at 0x140035ac0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1400c6f10]
xor rax, rsp
mov qword [rbp + 0xc8], rax
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov qword [rbp + 0xc0], rax
mov rcx, qword [0x1400d2f48]
sub rcx, qword [0x1400d2f40]
movabs r14, 0x4924924924924925
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov edi, 0
mov eax, edi
je 0x140035c37
movabs rax, 0x492492492492492
cmp rdx, rax
ja 0x14003620c
imul rbx, rdx, 0x38
cmp rbx, 0x1000
jb 0x140035bcf
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140036206
call fcn.14006f240
test rax, rax
je 0x140035bc8
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140035bdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x140035bdf
mov rcx, rbx
call fcn.14006f240
mov rdi, rax
mov r15, rdi
mov qword [rbp + 0xb0], rdi
lea rax, [rbx + rdi]
mov qword [rbp + 0xc0], rax
mov rbx, qword [0x1400d2f48]
mov rdx, qword [0x1400d2f40]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov rax, r14
imul rbx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x38
add rax, rdi
mov rsi, rax
mov qword [rbp + 0xb8], rax
jmp 0x140035c45
mov rsi, qword [rbp + 0xb8]
mov r15, qword [rbp + 0xb0]
cmp rdi, rax
je 0x140036186
mov rbx, qword [0x1400d2f98]
add rbx, 0x1260
mov rcx, qword [0x1400d2f30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400361fa
xorps xmm12, xmm12
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x98], 0
mov rcx, qword [0x1400d2f30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400361fa
mov rax, rbx
shr rax, 0x24
add rax, 0xfffffffffffffff8
mov r9d, 0xc
lea r8, [rbp + 0x90]
mov rcx, qword [0x1400d2f60]
test rax, 0xfffffffffffffff7
je 0x140035cd0
mov rdx, rbx
call fcn.140031470
jmp 0x140035cdd
and ebx, 0xffffff
mov edx, ebx
call fcn.140031620
mov rbx, qword [0x1400d2f98]
add rbx, 0x126c
mov rcx, qword [0x1400d2f30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400361fa
mov qword [rbp + 0xa0], 0
mov dword [rbp + 0xa8], 0
mov rcx, qword [0x1400d2f30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400361fa
mov rax, rbx
shr rax, 0x24
add rax, 0xfffffffffffffff8
mov r9d, 0xc
lea r8, [rbp + 0xa0]
mov rcx, qword [0x1400d2f60]
test rax, 0xfffffffffffffff7
je 0x140035d5b
mov rdx, rbx
call fcn.140031470
jmp 0x140035d68
and ebx, 0xffffff
mov edx, ebx
call fcn.140031620
mov rcx, qword [0x1400d2f98]
add rcx, 0x1278
call fcn.140039960
movaps xmm13, xmm0
xor r12d, r12d
sub rsi, r15
mov rax, r14
imul rsi
mov r13, rdx
sar r13, 4
mov rax, r13
shr rax, 0x3f
add r13, rax
je 0x140036186
movss xmm14, dword [0x140094258]
nop dword [rax + rax]
movups xmm7, xmmword [r15]
movups xmm9, xmmword [r15 + 0x10]
movups xmm8, xmmword [r15 + 0x20]
movsd xmm10, qword [r15 + 0x30]
mov rcx, qword [r15 + 8]
add rcx, 0x1b0
call fcn.140039960
movq rax, xmm7
cmp rax, qword [0x1400d2f88]
je 0x140036173
comiss xmm12, xmm0
jae 0x140036173
movq rax, xmm8
test rax, rax
je 0x140036173
movaps xmmword [rbp + 0x50], xmm7
movaps xmmword [rbp + 0x60], xmm9
movaps xmmword [rbp + 0x70], xmm8
movsd qword [rbp + 0x80], xmm10
mov r8d, 8
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140032810
movaps xmmword [rbp], xmm7
movaps xmmword [rbp + 0x10], xmm9
movaps xmmword [rbp + 0x20], xmm8
movsd qword [rbp + 0x30], xmm10
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.140032810
movss xmm6, dword [rbp - 0x58]
movss xmm11, dword [rsp + 0x50]
comiss xmm6, xmm11
jae 0x140036173
movsd xmm0, qword [rbp + 0xa0]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [rbp + 0xa8]
mov dword [rsp + 0x78], eax
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [rbp + 0x98]
mov dword [rbp - 0x78], eax
movsd xmm0, qword [rsp + 0x48]
movsd qword [rbp - 0x70], xmm0
movss dword [rbp - 0x68], xmm11
movss dword [rsp + 0x20], xmm13
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140031c70
movss xmm15, dword [rsp + 0x40]
movss dword [rsp + 0x58], xmm15
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x5c], xmm0
movsd xmm0, qword [rbp + 0xa0]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [rbp + 0xa8]
mov dword [rbp - 0x48], eax
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x40], xmm0
mov eax, dword [rbp + 0x98]
mov dword [rbp - 0x38], eax
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbp - 0x30], xmm0
movss dword [rbp - 0x28], xmm6
movss dword [rsp + 0x20], xmm13
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.140031c70
movss xmm0, dword [rsp + 0x4c]
subss xmm0, dword [rbp + 0x94]
movss xmm1, dword [0x1400942dc]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movss xmm0, dword [rsp + 0x48]
subss xmm0, dword [rbp + 0x90]
movss xmm1, dword [0x1400942dc]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
subss xmm11, dword [rbp + 0x98]
movss xmm1, dword [0x1400942dc]
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x140035f9a
sqrtss xmm6, xmm6
jmp 0x140035fa5
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
mulss xmm6, xmm14
mov rax, qword [0x1400d2f58]
cmp byte [rax + 0x1f], 0
je 0x140036013
movsd xmm1, qword [rbp + 0xa0]
movsd qword [rbp - 0x20], xmm1
mov eax, dword [rbp + 0xa8]
mov dword [rbp - 0x18], eax
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x10], xmm0
mov eax, dword [rbp + 0x98]
mov dword [rbp - 8], eax
movaps xmmword [rbp], xmm7
movaps xmmword [rbp + 0x10], xmm9
movaps xmmword [rbp + 0x20], xmm8
movsd qword [rbp + 0x30], xmm10
movaps xmm3, xmm13
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp]
call fcn.1400329f0
mov rax, qword [0x1400d2f58]
cmp byte [rax + 0x1e], 0
je 0x14003607c
mov rax, qword [0x1400cff20]
mov rax, qword [rax + 0x1dc0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140004940
mov rcx, qword [0x1400d2f58]
movss xmm2, dword [0x14009430c]
divss xmm2, xmm6
movss xmm0, dword [0x1400942f0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9d, dword [rcx + 0x10]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140020450
mov rax, qword [0x1400d2f58]
cmp byte [rax + 0x20], 0
je 0x140036173
cvttss2si eax, xmm15
cvttss2si ecx, dword [rsp + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss xmm4, dword [0x140094328]
divss xmm4, xmm6
movaps xmm0, xmm3
subss xmm0, xmm4
cvttss2si r14d, xmm0
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
movss xmm1, dword [0x140094324]
divss xmm1, xmm6
movaps xmm0, xmm2
subss xmm0, xmm1
cvttss2si esi, xmm0
addss xmm4, xmm3
cvttss2si edi, xmm4
movss xmm0, dword [0x140094340]
divss xmm0, xmm6
addss xmm0, xmm2
cvttss2si ebx, xmm0
mov rax, qword [0x1400cff20]
mov rax, qword [rax + 0x1dc0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140004940
mov rcx, qword [0x1400d2f58]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x64], xmm1
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [0x1400942c4]
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x20], xmm12
mov r9d, dword [rcx + 0x10]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140020050
inc r12d
add r15, 0x38
movsxd rax, r12d
cmp rax, r13
jb 0x140035db0
lea rcx, [rbp + 0xb0]
call fcn.1400152d0
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.14006f220
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1400310b0
int3
call fcn.140039cf0
int3