Function at 0x14003f410
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
sub rsp, 0x100
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [0x14014ef18]
mov rsi, rcx
mov r14, qword [0x14014ef10]
movsxd rbx, dword [0x14014ef88]
sub rax, r14
sar rax, 2
dec rax
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
cmp rbx, rax
jb 0x14003f46d
xor eax, eax
mov qword [rcx + 4], rax
mov dword [rcx], eax
jmp 0x14003fd0d
mov rcx, qword [0x14014efc8]
movabs rax, 0x2aaaaaaaaaaaaaab
mov r8, qword [0x14014efc0]
mov qword [rsp + 0x120], rdi
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
lea rdi, [rcx - 0xc]
movaps xmmword [rsp + 0xd0], xmm8
sub rcx, r8
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm10
imul rcx
movaps xmmword [rsp + 0xa0], xmm11
movaps xmmword [rsp + 0x90], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x70], xmm14
movaps xmmword [rsp + 0x60], xmm15
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jbe 0x14003f50a
lea rax, [rdx - 2]
lea rax, [rax + rax*2]
lea rcx, [r8 + rax*4]
jmp 0x14003f50d
mov rcx, rdi
movss xmm4, dword [rdi]
movss xmm3, dword [rcx]
movaps xmm6, xmm4
movss xmm5, dword [rcx + 4]
subss xmm6, xmm3
movss xmm13, dword [rdi + 4]
movaps xmm7, xmm13
movss dword [rsp + 0x20], xmm4
subss xmm7, xmm5
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm5
movaps xmm0, xmm6
mulss xmm0, xmm6
movaps xmm1, xmm7
mulss xmm1, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f564
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003f57e
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm4, dword [rsp + 0x20]
movss xmm3, dword [rsp + 0x24]
movss xmm5, dword [rsp + 0x28]
xorps xmm8, xmm8
ucomiss xmm0, xmm8
jp 0x14003f58a
je 0x14003f592
divss xmm6, xmm0
divss xmm7, xmm0
movss xmm1, dword [rsp + 0x48]
movss xmm0, dword [0x14014daf8]
movss xmm12, dword [0x14014f0b8]
movd xmm10, dword [r14 + rbx*4]
subss xmm0, xmm12
subss xmm1, dword [rsp + 0x40]
cvtdq2ps xmm10, xmm10
movss dword [rsp + 0x30], xmm1
movaps xmm11, xmm10
mulss xmm11, dword [0x1400ca128]
divss xmm0, xmm1
movaps xmm1, xmm7
movaps xmm2, xmm11
mulss xmm2, dword [0x14014db20]
movss dword [rsp + 0x34], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm2
movaps xmm15, xmm2
mulss xmm15, dword [0x1400ca140]
mulss xmm1, xmm2
movaps xmm14, xmm0
movss dword [rsp + 0x38], xmm2
movaps xmm2, xmm4
mulss xmm6, xmm15
subss xmm2, xmm0
mulss xmm7, xmm15
movaps xmm0, xmm13
subss xmm0, xmm1
movaps xmm9, xmm1
movss dword [rsp + 0x2c], xmm2
addss xmm14, xmm4
addss xmm9, xmm13
addss xmm6, xmm4
addss xmm7, xmm13
movss dword [rsp + 0x50], xmm0
cmp ebx, 5
jge 0x14003f751
subss xmm14, xmm3
subss xmm9, xmm5
subss xmm11, xmm15
movaps xmm0, xmm14
mulss xmm0, xmm14
movaps xmm1, xmm9
mulss xmm11, dword [0x14014db20]
mulss xmm1, xmm9
mulss xmm11, dword [rsp + 0x34]
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f69b
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003f6af
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm3, dword [rsp + 0x24]
movss xmm5, dword [rsp + 0x28]
comiss xmm0, xmm11
jbe 0x14003f6d2
movaps xmm1, xmm11
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, xmm9
mulss xmm0, xmm14
movaps xmm9, xmm1
movaps xmm14, xmm0
subss xmm6, xmm3
movaps xmm10, xmm3
subss xmm7, xmm5
addss xmm10, xmm14
addss xmm9, xmm5
movaps xmm0, xmm6
mulss xmm0, xmm6
movaps xmm1, xmm7
mulss xmm1, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f70b
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003f71f
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm3, dword [rsp + 0x24]
movss xmm5, dword [rsp + 0x28]
comiss xmm0, xmm11
jbe 0x14003f73e
divss xmm11, xmm0
movaps xmm0, xmm11
mulss xmm11, xmm7
mulss xmm0, xmm6
movaps xmm7, xmm11
movaps xmm6, xmm0
movss xmm4, dword [rsp + 0x20]
addss xmm6, xmm3
addss xmm7, xmm5
jmp 0x14003f902
subss xmm14, xmm4
subss xmm9, xmm13
movaps xmm1, xmm14
movaps xmm0, xmm9
mulss xmm1, xmm14
mulss xmm0, xmm9
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f782
xorps xmm2, xmm2
sqrtss xmm2, xmm1
jmp 0x14003f793
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm4, dword [rsp + 0x20]
movaps xmm2, xmm0
cmp ebx, 7
jge 0x14003f83e
ucomiss xmm2, xmm8
movss xmm11, dword [rdi + 8]
movaps xmm10, xmm11
jp 0x14003f7b3
jne 0x14003f7b3
xorps xmm0, xmm0
jmp 0x14003f7c9
movaps xmm0, xmm11
movaps xmm10, xmm14
divss xmm0, xmm2
mulss xmm10, xmm0
mulss xmm0, xmm9
subss xmm6, xmm4
movaps xmm9, xmm13
addss xmm9, xmm0
subss xmm7, xmm13
addss xmm10, xmm4
movaps xmm0, xmm6
movaps xmm14, xmm6
mulss xmm0, xmm14
movaps xmm1, xmm7
mulss xmm1, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f808
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003f816
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm4, dword [rsp + 0x20]
ucomiss xmm0, xmm8
jp 0x14003f827
jne 0x14003f827
movaps xmm6, xmm11
jmp 0x14003f8f5
movaps xmm8, xmm11
divss xmm8, xmm0
movaps xmm6, xmm8
mulss xmm6, xmm14
jmp 0x14003f8f0
ucomiss xmm2, xmm8
mulss xmm15, dword [0x1400ca140]
mulss xmm10, dword [rsp + 0x34]
mulss xmm15, dword [0x14014db20]
addss xmm15, xmm10
movaps xmm10, xmm15
jp 0x14003f86d
jne 0x14003f86d
xorps xmm0, xmm0
jmp 0x14003f883
movaps xmm0, xmm15
movaps xmm10, xmm14
divss xmm0, xmm2
mulss xmm10, xmm0
mulss xmm0, xmm9
subss xmm6, xmm4
movaps xmm9, xmm13
addss xmm9, xmm0
subss xmm7, xmm13
addss xmm10, xmm4
movaps xmm0, xmm6
movaps xmm11, xmm6
mulss xmm0, xmm11
movaps xmm1, xmm7
mulss xmm1, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f8c2
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003f8d0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm4, dword [rsp + 0x20]
ucomiss xmm0, xmm8
jp 0x14003f8de
jne 0x14003f8de
movaps xmm6, xmm15
jmp 0x14003f8f5
movaps xmm8, xmm15
divss xmm8, xmm0
movaps xmm6, xmm8
mulss xmm6, xmm11
mulss xmm8, xmm7
movaps xmm7, xmm13
addss xmm6, xmm4
addss xmm7, xmm8
movss xmm8, dword [rdi + 8]
movaps xmm11, xmm4
movaps xmm14, xmm13
subss xmm11, xmm4
subss xmm14, xmm13
movaps xmm1, xmm11
movaps xmm0, xmm14
mulss xmm1, xmm11
mulss xmm0, xmm14
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f941
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003f94f
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm4, dword [rsp + 0x20]
comiss xmm0, xmm8
jbe 0x14003f972
movaps xmm1, xmm8
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, xmm14
mulss xmm0, xmm11
movaps xmm14, xmm1
movaps xmm11, xmm0
movss xmm5, dword [rsp + 0x2c]
addss xmm11, xmm4
subss xmm5, xmm4
movaps xmm15, xmm13
addss xmm15, xmm14
movss xmm14, dword [rsp + 0x50]
subss xmm14, xmm13
movaps xmm0, xmm5
movss dword [rsp + 0x2c], xmm5
mulss xmm0, xmm5
movaps xmm1, xmm14
mulss xmm1, xmm14
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003f9c1
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003f9d5
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm4, dword [rsp + 0x20]
movss xmm5, dword [rsp + 0x2c]
comiss xmm0, xmm8
jbe 0x14003f9f4
divss xmm8, xmm0
movaps xmm0, xmm8
mulss xmm8, xmm14
mulss xmm0, xmm5
movaps xmm14, xmm8
movaps xmm5, xmm0
cmp byte [0x1400dc0d8], 0
addss xmm5, xmm4
mulss xmm6, dword [0x1400ca0fc]
addss xmm13, xmm14
mov rdx, qword [0x14014ef70]
mulss xmm7, dword [0x1400ca0fc]
mov rcx, qword [0x14014ef78]
mulss xmm10, dword [0x1400ca134]
mulss xmm11, dword [0x1400ca0ec]
mulss xmm15, dword [0x1400ca0ec]
addss xmm6, xmm10
mulss xmm9, dword [0x1400ca134]
mulss xmm5, dword [0x1400ca0dc]
mulss xmm13, dword [0x1400ca0dc]
addss xmm6, xmm11
movss xmm11, dword [rsp + 0x4c]
addss xmm7, xmm9
movss xmm10, dword [rsp + 0x44]
addss xmm6, xmm5
addss xmm7, xmm15
movaps xmm15, xmmword [rsp + 0x60]
addss xmm7, xmm13
je 0x14003fc13
cmp rdx, rcx
je 0x14003fa9d
mov rcx, rdx
mov qword [0x14014ef78], rdx
mov rdi, qword [0x14014efe0]
mov rbx, qword [0x14014efd8]
mov r8, rdi
mov rax, qword [0x14014ef80]
sub r8, rbx
sub rax, rdx
sar r8, 3
sar rax, 3
mov qword [rsp + 0x50], r8
cmp r8, rax
jbe 0x14003fb16
movabs rax, 0x1fffffffffffffff
cmp r8, rax
ja 0x14003fd31
lea rdx, [rsp + 0x50]
lea rcx, [0x14014ef70]
call fcn.140042780
mov rcx, qword [0x14014ef78]
mov rdx, qword [0x14014ef70]
movss xmm12, dword [0x14014f0b8]
mov rdi, qword [0x14014efe0]
mov rbx, qword [0x14014efd8]
movss xmm13, dword [rsp + 0x30]
movss xmm14, dword [rsp + 0x40]
cmp rbx, rdi
je 0x14003fc0a
movss xmm8, dword [0x1400ca33c]
movaps xmm9, xmm11
subss xmm9, xmm10
nop
cmp rcx, qword [0x14014ef80]
movss xmm2, dword [rbx]
movss xmm3, dword [rbx + 4]
movss xmm0, dword [0x14014daf8]
movss xmm1, dword [0x14014dafc]
subss xmm0, xmm12
subss xmm1, dword [0x14014f0bc]
divss xmm2, xmm8
divss xmm3, xmm8
subss xmm2, xmm12
subss xmm3, dword [0x14014f0bc]
divss xmm2, xmm0
divss xmm3, xmm1
mulss xmm2, xmm13
mulss xmm3, xmm9
addss xmm2, xmm14
addss xmm3, xmm10
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm3
je 0x14003fbd2
movaps xmm0, xmm2
unpcklps xmm0, xmm3
movsd qword [rcx], xmm0
mov rcx, qword [0x14014ef78]
add rcx, 8
movsd qword [rsp + 0x50], xmm0
mov qword [0x14014ef78], rcx
jmp 0x14003fbed
mov rdx, rcx
lea r8, [rsp + 0x50]
lea rcx, [0x14014ef70]
call fcn.140043b60
mov rcx, qword [0x14014ef78]
movss xmm12, dword [0x14014f0b8]
add rbx, 8
cmp rbx, rdi
jne 0x14003fb40
mov rdx, qword [0x14014ef70]
mov byte [0x1400dc0d8], 0
jmp 0x14003fc21
movss xmm13, dword [rsp + 0x30]
movss xmm14, dword [rsp + 0x40]
movss xmm0, dword [0x14014daf8]
movaps xmm2, xmm6
movss xmm1, dword [0x14014dafc]
subss xmm2, xmm12
subss xmm0, xmm12
movaps xmm3, xmm7
subss xmm11, xmm10
subss xmm3, dword [0x14014f0bc]
subss xmm1, dword [0x14014f0bc]
divss xmm2, xmm0
divss xmm3, xmm1
mulss xmm2, xmm13
mulss xmm3, xmm11
addss xmm2, xmm14
addss xmm3, xmm10
cmp rdx, rcx
je 0x14003fca5
movss xmm0, dword [rdx]
ucomiss xmm0, xmm2
jp 0x14003fc8e
jne 0x14003fc8e
movss xmm0, dword [rdx + 4]
ucomiss xmm0, xmm3
jp 0x14003fc8e
je 0x14003fc97
add rdx, 8
cmp rdx, rcx
jne 0x14003fc77
cmp rdx, rcx
je 0x14003fca5
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movss xmm0, dword [rsp + 0x38]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
mov rdi, qword [rsp + 0x120]
movaps xmm14, xmmword [rsp + 0x70]
movss dword [rsi], xmm6
movaps xmm6, xmmword [rsp + 0xf0]
movss dword [rsi + 4], xmm7
movaps xmm7, xmmword [rsp + 0xe0]
movss dword [rsi + 8], xmm0
mov rax, rsi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009aa20
mov rbx, qword [rsp + 0x138]
add rsp, 0x100
pop r14
pop rsi
pop rbp
ret
call fcn.14000fc00
int3