Function at 0x14004a520
Capabilities:
Encode data using xor
Get common file path
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
xor ebx, ebx
mov rax, qword [0x1401b7570]
sub rax, qword [0x1401b7568]
cmp rax, 0x300000
jbe 0x14004ac6a
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14004a994
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140059850
nop
lea rdx, str.MicrosoftWindowsSystem32
lea rcx, [rsp + 0x50]
call fcn.140059ef0
movups xmm0, xmmword [str.QTYISH]
movups xmmword [rsp + 0x30], xmm0
mov ecx, dword [0x14018f2b8]
mov dword [rsp + 0x40], ecx
movzx eax, word [0x14018f2bc]
mov esi, 0x67
mov word [rsp + 0x30], si
xor word [rsp + 0x32], 0x37
xor word [rsp + 0x34], 0x38
xor word [rsp + 0x36], 0x39
xor word [rsp + 0x38], 0x3a
xor word [rsp + 0x3a], 0x3b
xor word [rsp + 0x3c], 0x3c
xor word [rsp + 0x3e], 0x3d
xor cx, 0x3e
mov word [rsp + 0x40], cx
xor word [rsp + 0x42], 0x3f
xor ax, 0x40
mov word [rsp + 0x44], ax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.14005a290
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140059ef0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14004a69b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a696
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a696
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068bcc
movdqa xmm0, xmmword [0x1401901b0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], bx
lea r9, str.WaCr9Hx64bNsAPdEUjM__GADWSDF23EASDJ_XJ3mfZ2hDk4__9pVn7QzLu1sTwB5RYgF8_WaCr9Hx64bNsAPdEUjMvOyI
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
jne 0x14004a6d1
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor edx, edx
lea rcx, str.VALORANTUnrealWindow
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14004a8f2
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov ecx, WSACleanup
call fcn.140068e14
mov rcx, rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], WSACleanup
movups xmm0, xmmword [str.XJ3mfZ2h__zLu1sTwB5RYgF8_WaCr9_I0qKcS7J_XJ3mfZ2hDk__dswgawzLu1sTwB5RYgF8_WaCr9Hx64bNsAPdEUjMvOyI0qKcS7J]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14018f040]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14018f050]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x14018f060]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [0x14018f070]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [0x14018f080]
movups xmmword [rax + 0x50], xmm1
mov eax, dword [0x14018f090]
mov dword [rcx + 0x60], eax
movzx eax, word [0x14018f094]
mov word [rcx + 0x64], ax
movzx eax, byte [0x14018f096]
mov byte [rcx + 0x66], al
mov byte [rcx + 0x67], 0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400390b0
mov rdx, rbx
mov r9, qword [rbp - 0x40]
mov r8, qword [rbp - 0x58]
mov r10, qword [rbp - 0x48]
test r10, r10
je 0x14004a7cf
nop
lea rax, [rbp - 0x58]
cmp r9, 0xf
cmova rax, r8
movzx ecx, byte [rax + rdx]
xor cl, 0x4b
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
mov byte [rax + rdx], cl
inc rdx
cmp rdx, r10
jb 0x14004a7a0
cmp r9, 0xf
jbe 0x14004a806
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14004a7fe
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a895
mov rcx, r8
call fcn.140068bcc
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.1400390b0
mov rdx, rbx
cmp qword [rsp + 0x40], rbx
jbe 0x14004a853
nop
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
movzx ecx, byte [rax + rdx]
xor cl, 0x4b
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rax, qword [rbp - 0x78]
mov byte [rax + rdx], cl
inc rdx
cmp rdx, qword [rsp + 0x40]
jb 0x14004a820
mov r8d, edi
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x38]
call fcn.140046d20
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14004a8a1
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a89c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a89c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068bcc
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], send
mov byte [rbp - 0x78], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004a8f2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a8ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a8ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068bcc
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14004a935
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a930
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a930
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068bcc
movdqa xmm0, xmmword [0x1401901b0]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14004ac6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a98a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a98a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068bcc
jmp 0x14004ac6a
movups xmm3, xmmword [0x14018f3b8]
movups xmmword [rsp + 0x30], xmm3
movdqa xmm7, xmmword [0x140190320]
movdqa xmm6, xmmword [str.33338888]
movdqa xmm4, xmmword [0x1401907a0]
movdqa xmm5, xmmword [0x140190250]
mov r10d, dword [0x14019d010]
pextrw eax, xmm3, 7
test ax, ax
je 0x14004aade
mov r8d, ebx
cmp r10d, 2
jl 0x14004aaac
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
pmuldq xmm2, xmm4
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm4
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm5
psrad xmm2, 5
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm6
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm7
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140190270]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm7
movq xmm0, qword [rsp + 0x38]
xorps xmm2, xmm0
movq qword [rsp + 0x38], xmm2
jmp 0x14004aade
lea r9, [rsp + 0x30]
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x14004aab1
movups xmm0, xmmword [str.u_WJ_epR___3b__f]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x14018f2e0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14018f2d0]
movsd xmm0, qword [0x14018f2f0]
movups xmmword [rsp + 0x60], xmm1
movsd qword [rbp - 0x80], xmm0
cmp r10d, 2
jl 0x14004ac12
lea rcx, [rsp + 0x50]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
lea rcx, [rcx + 0x10]
cmp ebx, 0x18
jl 0x14004ab20
cmp ebx, 0x1c
jge 0x14004ac52
movsxd rax, ebx
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*2]
nop
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x36
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x1c
jl 0x14004ac20
mov r9d, 0x40
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret