Function at 0x140005880
Capabilities:
Encode data using xor
Execute command
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1402b87c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
lea rcx, [0x140276288]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.140002c50
lea rcx, [rbp - 0x19]
call fcn.140002350
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400058d1
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rbx
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400058f0
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140006f70
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140005945
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d47d8
movdqa xmm0, xmmword [0x140276790]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
lea rcx, [rbp + 0x17]
mov rdi, qword [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, rdi
mov r8, qword [rbp + 0x27]
cmp r8, 0x13
jne 0x14000599c
lea rdx, str.8494_4144_2474_8844
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000599c
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140003670
jmp 0x140005b93
lea rcx, [rbp + 0x17]
movups xmm0, xmmword [str.__mQZ_UOX]
mov eax, dword [0x1402766f0]
movups xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x29], eax
movzx eax, word [0x1402766f4]
mov word [rbp - 0x25], ax
movzx eax, byte [0x1402766f6]
mov byte [rbp - 0x23], al
cmp qword [rbp + 0x2f], 0xf
ja 0x1400059d3
mov rdi, rcx
cmp dword [0x1402b8810], 2
jl 0x140005b12
movdqa xmm5, xmmword [0x1402767a0]
movdqa xmm4, xmmword [0x1402767f0]
movdqa xmm6, xmmword [0x1402767c0]
movdqa xmm0, xmmword [0x140276800]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp - 0x35]
mov edx, dword [rbp + 7]
nop dword [rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402767e0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402767e0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x140005a10
cmp eax, 0x17
jge 0x140005b4b
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x34
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x140005b20
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400067d0
mov rcx, rax
mov rdx, rdi
call fcn.1400067d0
mov rcx, rax
lea rdx, [0x14027633c]
call fcn.1400067d0
mov rcx, rax
lea rdx, [0x140006af0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140005bd1
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005bcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d47d8
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401d42a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret