Function at 0x140002db0
Capabilities:
Get common file path
Set console window title

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 [0x1400aa040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor ebx, ebx
lea rcx, str.glo
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
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 0x140002ec2
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 0x140002e36
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140005230
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.140004f10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140002ee2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ebb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ebb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082534
jmp 0x140002ee2
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
xor r8d, r8d
lea rdx, [0x140087d88]
lea rcx, [rbp - 0x70]
call fcn.1400016a0
nop
movabs rcx, 0x7fffffffffffffff
mov r14, rcx
mov rax, qword [rbp - 0x60]
sub r14, rax
cmp r14, 4
jb 0x1400037a9
lea r13, [rbp - 0x70]
mov r15, qword [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r12, [rax + 4]
mov edi, 0xf
mov ebx, edi
lea rsi, [rsp + 0x70]
movabs rdx, 0x8000000000000000
mov r8d, 0x16
cmp r12, rbx
jbe 0x140002fb4
mov rbx, r12
or rbx, rdi
cmp rbx, rcx
jbe 0x140002f77
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.1400824f0
test rax, rax
je 0x1400030f9
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002fab
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140002f8b
xor esi, esi
jmp 0x140002faf
cmp rcx, 0x1000
jb 0x140002fa3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003771
jmp 0x140002f58
call fcn.1400824f0
mov rsi, rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rbx
mov r8, rax
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp - 0x60]
mov dword [rsi + r13], 0x6f6c675c
mov byte [rsi + r12], 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.1400817a4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400021d0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140002bd0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1400aa0c8]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400030a0
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400030b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x140003777
jmp 0x140003060
call fcn.140082534
movdqa xmm0, xmmword [0x14009a410]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003107
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003100
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082534
xor eax, eax
test bl, bl
je 0x1400032e4
lea r13, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov rbx, rdi
lea rsi, [rsp + 0x70]
cmp r12, rbx
jbe 0x1400031be
mov rbx, r12
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x140003183
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400824f0
test rax, rax
je 0x1400032d8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400031b9
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x1400031b6
cmp rcx, 0x1000
jb 0x1400031b1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003787
jmp 0x140003164
call fcn.1400824f0
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rbx
mov r8, qword [rbp - 0x60]
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp - 0x60]
mov dword [rsi + r13], 0x6f6c675c
mov byte [rsi + r12], 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.1400817a4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400021d0
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.140081a04
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400037af
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140003290
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000328b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000328b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082534
movdqa xmm0, xmmword [0x14009a410]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400032e6
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082534
xor eax, eax
cmp r14, 8
jb 0x1400037c5
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r12, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r14, [r13 + 8]
mov rbx, rdi
lea rsi, [rsp + 0x70]
cmp r14, rbx
jbe 0x1400033a3
mov rbx, r14
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x140003368
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400824f0
test rax, rax
je 0x1400034ec
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000339e
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x14000339b
cmp rcx, 0x1000
jb 0x140003396
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000378d
jmp 0x140003349
call fcn.1400824f0
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
mov r8, r13
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x6766635c6f6c675c
mov qword [rsi + r13], rax
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.1400817a4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400021d0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140002bd0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1400aa0c8]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140003491
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400034a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000349d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000349d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x140003793
jmp 0x140003451
call fcn.140082534
movdqa xmm0, xmmword [0x14009a410]
movdqu xmmword [rsp + 0x40], xmm0
xor r12d, r12d
mov word [rsp + 0x30], r12w
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400034f8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082534
test bl, bl
je 0x1400036d8
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rsi, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rbx, [rsp + 0x70]
cmp r14, 0xf
jbe 0x1400035b2
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x140003572
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400824f0
test rax, rax
je 0x1400036cc
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400035ad
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14000358d
mov rbx, r12
jmp 0x1400035ad
cmp rcx, 0x1000
jb 0x1400035a5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400037a3
jmp 0x140003553
call fcn.1400824f0
mov rbx, rax
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rdi
mov r8, r13
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x6766635c6f6c675c
mov qword [rbx + r13], rax
mov byte [rbx + 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.1400817a4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400021d0
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.140081a04
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14000375b
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140003685
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003680
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082534
movdqa xmm0, xmmword [0x14009a410]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400036d8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082534
call fcn.1400108e0
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
mov rax, qword [rbp - 0x58]
cmp rax, 0xf
jbe 0x140003729
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140003721
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003721
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140082534
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140082230
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 + 0x30]
lea rcx, str.create_directory
call fcn.140002b00
nop
call fcn.1400013a0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
call fcn.140002b70
nop
call fcn.1400013a0
int3
call fcn.1400013a0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
call fcn.140002b70
nop
call fcn.1400013a0
int3
call fcn.140001440
nop
shr rdx, 0x20
lea r8, [rsp + 0x30]
lea rcx, str.create_directory
call fcn.140002b00
nop
call fcn.140001440
int3