Function at 0x140053970
Capabilities:
Check for debugger via api
Encode data using xor
Set console window title

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 - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400c9a00]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r13d, r13d
movups xmm0, xmmword [str.XDB]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x14007e570]
movups xmmword [rbp - 0x29], xmm1
movsd xmm0, qword [0x14007e580]
movsd qword [rbp - 0x19], xmm0
mov ecx, r13d
cmp dword [0x1400c9a58], 2
jl 0x140053afc
movdqa xmm4, xmmword [0x14005e1b0]
mov edx, r13d
movdqa xmm3, xmmword [0x14007e790]
movdqa xmm5, xmmword [str.9999]
movdqa xmm0, xmmword [0x14007e6e0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x35]
movdqa xmm6, xmmword [0x14007e6c0]
mov r8d, dword [rbp - 0x79]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x28
jl 0x140053a13
jmp 0x140053b2d
lea r8, [rbp - 0x39]
mov eax, 0x1f7047dd
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x28
jl 0x140053b00
lea rax, [rbp - 0x39]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140053b40
mov r15, qword [0x1400c9e20]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, rbx
jb 0x140053ea7
lea r12, [0x1400c9e10]
cmp qword [0x1400c9e28], 0xf
cmova r12, qword [0x1400c9e10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
lea r14, [rbx + r15]
mov edi, 0xf
lea rsi, [rbp - 0x79]
cmp r14, rdi
jbe 0x140053c1e
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x140053bd9
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140054f60
test rax, rax
je 0x140053c0b
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140053c1a
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140053bf3
mov rsi, r13
jmp 0x140053c1a
cmp rcx, 0x1000
jb 0x140053c12
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140053ead
jmp 0x140053bbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140054f60
mov rsi, rax
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], rdi
mov r8, rbx
lea rdx, [rbp - 0x39]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + rbx]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r14], r13b
mov rcx, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x61]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140053c7d
lea rax, [rcx + 1]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x79]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x79]
mov word [rax + rcx], 0x20
lea rax, [rbp - 0x79]
jmp 0x140053ca1
mov qword [rsp + 0x20], 1
lea r9, [0x14007e588]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rbp - 0x79]
call fcn.14003f920
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [0x1400c9e38]
cmp qword [0x1400c9e50], 0xf
cmova rdx, qword [0x1400c9e38]
mov r8, qword [0x1400c9e48]
lea rcx, [rbp - 0x59]
call fcn.14004c500
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x140053d60
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053d5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053d5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400549dc
movdqa xmm0, xmmword [0x14007e650]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x140053db7
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053daa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053daa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400549dc
movdqa xmm0, xmmword [0x14007e650]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.140044b00
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [rbp - 0x11], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rbp - 0x11]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call fcn.140043d40
call fcn.1400449f0
call fcn.140044c50
call fcn.140044dc0
call fcn.140044ae0
call fcn.140045120
lea rcx, [rsp + 0x30]
call fcn.14004d560
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x140053e35
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140053e73
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053e6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053e6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400549dc
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140054af0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400477e0
int3
call fcn.14003df70
int3