Function at 0x140001000
Capabilities:
Encode data using xor
Execute command

Disassembly:
sub rsp, 0x1b8
mov r10d, dword [0x140005050]
lea rcx, [rsp + 0x30]
lea r11, [0x140000000]
movaps xmmword [rsp + 0x1a0], xmm6
movups xmm0, xmmword [r11 + 0x33b0]
lea rax, [r11 + 0x33b0]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x80], xmm1
movups xmm1, xmmword [rax + 0xa0]
movups xmmword [rcx + 0x90], xmm0
movups xmmword [rcx + 0xa0], xmm1
xor ecx, ecx
mov r8d, ecx
cmp r10d, 2
jl 0x1400011f0
movdqa xmm0, xmmword [str.4444444444444444]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140003470]
movdqa xmm4, xmmword [0x1400034b0]
movdqa xmm6, xmmword [str.3333]
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140003490]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r9d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140003490]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp r8d, 0xb0
jl 0x1400010e0
jmp 0x140001237
lea r9, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xb0
jl 0x140001200
lea rdx, [r11 + 0x32f0]
mov rax, qword [rdx + 0xb0]
lea r8, [rsp + 0xe0]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8 - 0x80], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 - 0x70], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r8 - 0x60], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r8 - 0x50], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r8 - 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r8 - 0x30], xmm1
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [r8 - 0x20], xmm0
movups xmm0, xmmword [rdx + 0x80]
movups xmmword [r8 - 0x10], xmm1
movups xmm1, xmmword [rdx + 0x90]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rdx + 0xa0]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8 + 0x20], xmm0
mov qword [r8 + 0x30], rax
movzx eax, byte [rdx + 0xb8]
mov byte [r8 + 0x38], al
cmp r10d, 2
jl 0x140001422
movdqa xmm0, xmmword [str.4444444444444444]
lea rdx, [rsp + 0xe4]
movdqa xmm5, xmmword [0x140003470]
movdqa xmm4, xmmword [0x1400034b0]
movdqa xmm6, xmmword [str.3333]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140003490]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140003490]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0xb8
jl 0x140001310
cmp ecx, 0xb9
jge 0x140001462
movsxd rax, ecx
lea r8, [rsp + 0xe0]
add r8, rax
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xb9
jl 0x140001430
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r9d, 0x40
lea r8, str.Overlay_Hooking_Error.
lea rdx, str.Failed_to_load_Discord_Overlay_Hook._Please_contact_support_with_error_code:___2__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
movaps xmm6, xmmword [rsp + 0x1a0]
mov al, 1
add rsp, 0x1b8
ret