Function at 0x14001af90
Capabilities:
Create thread
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 - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor edi, edi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [0x1402002e8], rax
mov ecx, 0x10
call fcn.1400f4460
mov dword [rax], 0xa
lea rcx, [0x14001ab20]
mov qword [rax + 8], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14001c020]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14001b780
mov dword [rsp + 0x50], edi
lea rdx, str.Menu:_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011fa0
lea rdx, str.1._Load_traki_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011fa0
lea rdx, str.2._Exit_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011fa0
lea rdx, str.Enter_your_choice:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011fa0
lea rdx, [rsp + 0x50]
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:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [rsp + 0x50]
cmp eax, 1
jne 0x14001b6c5
call fcn.14001adc0
mov ecx, 0x18
call fcn.1400f4460
mov dword [rax], 3
mov rcx, qword [0x1402002e8]
mov qword [rax + 8], rcx
lea rcx, [0x14001ad30]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14001c050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14001b6b6
cmp dword [rbp - 0x78], edi
je 0x14001b6aa
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14001b6aa
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea rax, [rbp - 0x40]
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 0x14001b201
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14001b171
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140012410
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x60]
cmova rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.14001b7f0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14001b221
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b1fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b1fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f44a4
jmp 0x14001b221
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
xor r8d, r8d
lea rdx, [0x1401225f8]
lea rcx, [rbp - 0x60]
call fcn.1400050d0
nop
movabs rbx, 0x7fffffffffffffff
mov r12, rbx
mov r13, qword [rbp - 0x50]
sub r12, r13
cmp r12, 6
jb 0x14001b7af
lea rdx, [rbp - 0x60]
mov r15, qword [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, r15
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea rax, [r13 + 6]
mov edi, 0xf
mov esi, edi
lea r14, [rsp + 0x60]
movabs rcx, 0x8000000000000000
mov r8d, 0x16
cmp rax, rdi
jbe 0x14001b300
mov rsi, rax
or rsi, rdi
cmp rsi, rbx
jbe 0x14001b2bd
mov rsi, rbx
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.1400f4460
test rax, rax
je 0x14001b421
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14001b2f2
cmp rsi, r8
cmovb rsi, r8
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x14001b2d2
mov r14, rcx
jmp 0x14001b2fb
cmp rcx, 0x1000
jb 0x14001b2ea
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001b7a3
jmp 0x14001b29e
call fcn.1400f4460
mov r14, rax
mov rdx, qword [rsp + 0x50]
lea rax, [r13 + 6]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
mov r8, r13
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str._traki]
mov dword [r14 + r13], eax
movzx eax, word [0x1401227f0]
mov word [r14 + r13 + 4], ax
mov byte [r14 + r13 + 6], 0
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
call fcn.1400f391c
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.14000a770
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.1400f3b7c
shr rax, 0x20
test eax, eax
jne 0x14001b7b5
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001b3d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b3d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b3d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f44a4
xor r8d, r8d
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r8w
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14001b430
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b428
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f44a4
xor r8d, r8d
cmp r12, 0xe
jb 0x14001b7c9
lea rax, [rbp - 0x60]
mov r14, qword [rbp - 0x48]
cmp r14, 0xf
cmova rax, r15
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r8
lea r12, [r13 + 0xe]
lea rsi, [rsp + 0x60]
cmp r12, 0xf
jbe 0x14001b4f5
mov rdi, r12
or rdi, 0xf
cmp rdi, rbx
jbe 0x14001b4b0
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400f4460
test rax, rax
je 0x14001b625
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001b4eb
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14001b4cb
mov rsi, r8
jmp 0x14001b4f0
cmp rcx, 0x1000
jb 0x14001b4e3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001b7a9
jmp 0x14001b491
call fcn.1400f4460
mov rsi, rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rdi
mov r8, r13
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._trakiconfigs]
movsd qword [rsi + r13], xmm0
mov eax, dword [0x140122800]
mov dword [rsi + r13 + 8], eax
movzx eax, word [0x140122804]
mov word [rsi + r13 + 0xc], ax
mov byte [rsi + r12], 0
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
call fcn.1400f391c
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.14000a770
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.1400f3b7c
shr rax, 0x20
test eax, eax
jne 0x14001b78f
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001b5dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b5d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b5d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f44a4
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], cx
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14001b631
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b62c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b62c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f44a4
call fcn.14000d250
cmp dword [rbp - 0x68], 0
je 0x14001b69e
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14001b69e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
cmp r14, 0xf
jbe 0x14001b741
lea rdx, [r14 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14001b691
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b691
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400f44a4
jmp 0x14001b741
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp eax, 2
lea rdx, str.Exiting..._n
je 0x14001b6df
lea rdx, str.Invalid_choice._Exiting..._n
call fcn.140011fa0
lea rcx, [rsp + 0x50]
call fcn.140002850
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs rdx, 0x7fffffffc46535ff
cmp rax, rdx
je 0x14001b727
mov ecx, 1
mov r8d, 0xff
cmovl ecx, r8d
test cl, cl
jns 0x14001b727
add rax, 0x3b9aca00
mov qword [rsp + 0x50], rax
jmp 0x14001b736
movabs rbx, 0x7fffffffffffffff
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.140005640
nop
cmp dword [rbp - 0x68], 0
je 0x14001b74e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400f4440
lea r11, [rsp + 0x2e0]
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
mov dword [rbp - 0x68], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000b190
nop
call fcn.140002790
int3
call fcn.140002790
int3
call fcn.140002830
nop
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000b190
nop
call fcn.140002830
int3