Function at 0x14005f240
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 - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor ebx, ebx
lea rcx, str.Traced_Rewrite
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_SHGetFolderPathA]
xorps xmm0, xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
movups xmmword [rbp - 0x70], xmm0
test eax, eax
js 0x14005f2d0
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x14005f2c1
lea rdx, [rbp - 0x50]
jmp 0x14005f2da
xor r8d, r8d
lea rdx, [0x140074c12]
lea rcx, [rbp - 0x70]
call fcn.140009630
nop
movabs rcx, 0x7fffffffffffffff
mov r15, rcx
mov rax, qword [rbp - 0x60]
sub r15, rax
cmp r15, 0xa
jb 0x14005fc1d
lea r13, [rbp - 0x70]
mov r14, qword [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r12, [rax + 0xa]
mov edi, 0xf
mov ebx, edi
lea rsi, [rsp + 0x30]
movabs rdx, 0x8000000000000000
mov r8d, 0x16
cmp r12, rbx
jbe 0x14005f3b7
mov rbx, r12
or rbx, rdi
cmp rbx, rcx
jbe 0x14005f37a
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.140070d70
test rax, rax
je 0x14005f50a
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005f3ae
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14005f38e
xor esi, esi
jmp 0x14005f3b2
cmp rcx, 0x1000
jb 0x14005f3a6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005fbe7
jmp 0x14005f35b
call fcn.140070d70
mov rsi, rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rbx
mov r8, rax
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.Traced_V2]
mov r13, qword [rbp - 0x60]
movsd qword [rsi + r13], xmm0
movzx eax, word [0x14007c340]
mov word [rsi + r13 + 8], ax
mov byte [rsi + r12], 0
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x78], rax
call fcn.140070374
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140001980
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140003000
movsd xmm0, qword [rax]
movsd qword [rsp + 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
lea rax, [0x14008a0c8]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x14005f4b0
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14005f4c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f4bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f4bc
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 0x14005fbed
jmp 0x14005f470
call fcn.140070ff4
movdqa xmm0, xmmword [0x14007c9f0]
movdqu xmmword [rsp + 0x60], xmm0
xor eax, eax
mov word [rsp + 0x50], ax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005f518
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f511
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f511
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070ff4
xor eax, eax
test bl, bl
je 0x14005f709
lea r13, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rbx, rdi
lea rsi, [rsp + 0x30]
cmp r12, rbx
jbe 0x14005f5d0
mov rbx, r12
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x14005f595
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140070d70
test rax, rax
je 0x14005f6fd
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005f5cb
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x14005f5c8
cmp rcx, 0x1000
jb 0x14005f5c3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005fbfc
jmp 0x14005f576
call fcn.140070d70
mov rsi, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rbx
mov r8, qword [rbp - 0x60]
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.Traced_V2]
mov r13, qword [rbp - 0x60]
movsd qword [rsi + r13], xmm0
movzx eax, word [0x14007c340]
mov word [rsi + r13 + 8], ax
mov byte [rsi + r12], 0
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x78], rax
call fcn.140070374
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140001980
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.1400705d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14005fc23
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14005f6b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f6af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f6af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070ff4
movdqa xmm0, xmmword [0x14007c9f0]
movdqu xmmword [rsp + 0x60], xmm0
xor eax, eax
mov word [rsp + 0x50], ax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005f70b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f704
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f704
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070ff4
xor eax, eax
cmp r15, 0x19
jb 0x14005fc39
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r12, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r15, [r13 + 0x19]
mov rbx, rdi
lea rsi, [rsp + 0x30]
cmp r15, rbx
jbe 0x14005f7c9
mov rbx, r15
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x14005f78e
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140070d70
test rax, rax
je 0x14005f926
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005f7c4
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x14005f7c1
cmp rcx, 0x1000
jb 0x14005f7bc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005fc02
jmp 0x14005f76f
call fcn.140070d70
mov rsi, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
mov r8, r13
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Traced_V2Configurations]
movups xmmword [rsi + r13], xmm0
movsd xmm0, qword [0x1400751d8]
movsd qword [rsi + r13 + 0x10], xmm0
movzx eax, byte [0x1400751e0]
mov byte [rsi + r13 + 0x18], al
mov byte [rsi + r15], 0
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x78], rax
call fcn.140070374
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140001980
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140003000
movsd xmm0, qword [rax]
movsd qword [rsp + 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
lea rax, [0x14008a0c8]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x14005f8ca
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14005f8db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f8d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f8d6
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 0x14005fc08
jmp 0x14005f88a
call fcn.140070ff4
movdqa xmm0, xmmword [0x14007c9f0]
movdqu xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov word [rsp + 0x50], r12w
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005f932
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f92d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f92d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070ff4
test bl, bl
je 0x14005fb2c
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rsi, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rbx, [rsp + 0x30]
cmp r15, 0xf
jbe 0x14005f9ed
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x14005f9ad
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140070d70
test rax, rax
je 0x14005fb20
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14005f9e8
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14005f9c8
mov rbx, r12
jmp 0x14005f9e8
cmp rcx, 0x1000
jb 0x14005f9e0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005fc17
jmp 0x14005f98e
call fcn.140070d70
mov rbx, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
mov r8, r13
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Traced_V2Configurations]
movups xmmword [rbx + r13], xmm0
movsd xmm0, qword [0x1400751d8]
movsd qword [rbx + r13 + 0x10], xmm0
movzx eax, byte [0x1400751e0]
mov byte [rbx + r13 + 0x18], al
mov byte [rbx + r15], 0
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x78], rax
call fcn.140070374
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140001980
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.1400705d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14005fbd1
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14005fad8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fad3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fad3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070ff4
movdqa xmm0, xmmword [0x14007c9f0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005fb2c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fb27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fb27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070ff4
call fcn.14005b660
lea rdx, str.Something_went_wrong..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14005aca0
mov rcx, rax
lea rdx, [0x14007b368]
call fcn.14005aca0
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 0x14005fb9f
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14005fb97
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fb97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140070ff4
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140070c30
lea r11, [rsp + 0x1d0]
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 + 0x50]
lea rcx, str.create_directory
call fcn.1400029b0
nop
call fcn.140001210
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x80]
call fcn.14005f1e0
nop
call fcn.140001210
int3
call fcn.140001210
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x80]
call fcn.14005f1e0
nop
call fcn.140001210
int3
call fcn.1400012b0
nop
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.create_directory
call fcn.1400029b0
nop
call fcn.1400012b0
int3