Function at 0x140048f80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400d2040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor ebx, ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x140049047
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140048ff5
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140049bd0
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x70]
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400499c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400498c0
jmp 0x140049067
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
xor r8d, r8d
lea rdx, [0x1400ab048]
lea rcx, [rbp - 0x70]
call fcn.140001b20
nop
movabs rax, 0x7fffffffffffffff
mov r14, rax
mov r12, qword [rbp - 0x60]
sub r14, r12
cmp r14, 6
jb 0x140049765
lea r13, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r15, [r12 + 6]
mov ebx, 0xf
mov edi, ebx
lea rsi, [rsp + 0x70]
movabs rcx, 0x8000000000000000
mov edx, 0x16
cmp r15, rbx
jbe 0x140049135
mov rdi, r15
or rdi, rbx
cmp rdi, rax
jbe 0x1400490f5
mov rdi, rax
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.1400a5978
test rax, rax
je 0x140049121
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140049130
cmp rdi, rdx
cmovb rdi, rdx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140049109
xor esi, esi
jmp 0x140049130
cmp rcx, 0x1000
jb 0x140049128
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004971f
jmp 0x1400490da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a5978
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rdi
mov r8, r12
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.paste]
mov dword [r12 + rsi], eax
movzx eax, word [0x1400b50e0]
mov word [r12 + rsi + 4], ax
mov byte [rsi + r15], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400a4cbc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140048850
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140048ea0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, str.PP_v_
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140049280
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.1400498c0
nop
lea rcx, [rsp + 0x70]
call fcn.140005120
test dil, dil
je 0x140049382
lea r13, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov rdi, rbx
lea rsi, [rsp + 0x70]
cmp r15, rbx
jbe 0x1400492d6
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x140049290
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a5978
test rax, rax
je 0x1400492c2
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400492d1
mov dil, 1
test ecx, ecx
jne 0x140049725
jmp 0x1400491f1
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400492aa
xor esi, esi
jmp 0x1400492d1
cmp rcx, 0x1000
jb 0x1400492c9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004973c
jmp 0x140049265
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a5978
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rdi
mov r8, r12
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.paste]
mov dword [r12 + rsi], eax
movzx eax, word [0x1400b50e0]
mov word [r12 + rsi + 4], ax
mov byte [rsi + r15], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400a4cbc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140048850
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400a4f1c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004976b
lea rcx, [rsp + 0x40]
call fcn.1400498c0
nop
lea rcx, [rsp + 0x70]
call fcn.140005120
cmp r14, 0xe
jb 0x140049781
lea r15, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
mov r13, qword [rbp - 0x70]
cmova r15, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r14, [r12 + 0xe]
mov rdi, rbx
lea rsi, [rsp + 0x70]
cmp r14, rbx
jbe 0x14004944b
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x140049405
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a5978
test rax, rax
je 0x140049437
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140049446
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14004941f
xor esi, esi
jmp 0x140049446
cmp rcx, 0x1000
jb 0x14004943e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140049742
jmp 0x1400493ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a5978
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rdi
mov r8, r12
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.pasteconfigs]
movsd qword [r12 + rsi], xmm0
mov eax, dword [0x1400b50f0]
mov dword [r12 + rsi + 8], eax
movzx eax, word [0x1400b50f4]
mov word [r12 + rsi + 0xc], ax
mov byte [rsi + r14], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400a4cbc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140048850
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140048ea0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, str.PP_v_
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400495a2
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.1400498c0
nop
lea rcx, [rsp + 0x70]
call fcn.140005120
test dil, dil
je 0x1400496af
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rsi, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rdi, [rsp + 0x70]
cmp r14, 0xf
jbe 0x1400495f8
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1400495b2
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a5978
test rax, rax
je 0x1400495e4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400495f3
mov dil, 1
test ecx, ecx
jne 0x140049748
jmp 0x140049516
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400495cc
xor edi, edi
jmp 0x1400495f3
cmp rcx, 0x1000
jb 0x1400495eb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004975f
jmp 0x140049587
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a5978
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
mov r8, r12
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.pasteconfigs]
movsd qword [r12 + rdi], xmm0
mov eax, dword [0x1400b50f0]
mov dword [r12 + rdi + 8], eax
movzx eax, word [0x1400b50f4]
mov word [r12 + rdi + 0xc], ax
mov byte [rdi + r14], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400a4cbc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140048850
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400a4f1c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140049709
lea rcx, [rsp + 0x40]
call fcn.1400498c0
nop
lea rcx, [rsp + 0x70]
call fcn.140005120
call fcn.14004fdb0
lea rcx, str.Error_:_Restart_Your_PC
call fcn.140048160
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.140005120
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a5830
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140048dd0
nop
call fcn.140001a00
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.140048e40
nop
call fcn.140001a00
int3
call fcn.140001a00
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.140048e40
nop
call fcn.140001a00
int3
call fcn.140001aa0
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140048dd0
nop
call fcn.140001aa0
int3