Function at 0x14003a9f0
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 [0x1400d7040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
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 0x14003aad2
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x14003aa80
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.14003b670
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.14003b460
nop
lea rcx, [rsp + 0x70]
call fcn.14003b360
jmp 0x14003aaf2
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
xor r8d, r8d
lea rdx, [0x1400af028]
lea rcx, [rbp - 0x70]
call fcn.140001f60
nop
movabs rax, 0x7fffffffffffffff
mov r14, rax
mov r13, qword [rbp - 0x60]
sub r14, r13
cmp r14, 0xb
jb 0x14003b20c
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r12, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r15, [r13 + 0xb]
mov ebx, 0xf
mov edi, ebx
lea rsi, [rsp + 0x70]
movabs rcx, 0x8000000000000000
mov edx, 0x16
cmp r15, rbx
jbe 0x14003abbf
mov rdi, r15
or rdi, rbx
cmp rdi, rax
jbe 0x14003ab7f
mov rdi, rax
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.1400a9308
test rax, rax
je 0x14003abab
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14003abba
cmp rdi, rdx
cmovb rdi, rdx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14003ab93
xor esi, esi
jmp 0x14003abba
cmp rcx, 0x1000
jb 0x14003abb2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003b1c6
jmp 0x14003ab64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9308
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rdi
mov r8, r13
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._antagonist]
movsd qword [rsi + r13], xmm0
movzx eax, word [0x1400b7f10]
mov word [rsi + r13 + 8], ax
movzx eax, byte [0x1400b7f12]
mov byte [rsi + r13 + 0xa], al
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.1400a8674
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14003a2c0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14003a910
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, str.x_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 0x14003ad1a
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.14003b360
nop
lea rcx, [rsp + 0x70]
call fcn.140002620
test dil, dil
je 0x14003ae2c
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r12, 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 0x14003ad70
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x14003ad2a
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a9308
test rax, rax
je 0x14003ad5c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14003ad6b
mov dil, 1
test ecx, ecx
jne 0x14003b1cc
jmp 0x14003ac8b
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14003ad44
xor esi, esi
jmp 0x14003ad6b
cmp rcx, 0x1000
jb 0x14003ad63
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003b1e3
jmp 0x14003acff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9308
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rdi
mov r8, r13
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._antagonist]
movsd qword [rsi + r13], xmm0
movzx eax, word [0x1400b7f10]
mov word [rsi + r13 + 8], ax
movzx eax, byte [0x1400b7f12]
mov byte [rsi + r13 + 0xa], al
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.1400a8674
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14003a2c0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400a88d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14003b212
lea rcx, [rsp + 0x40]
call fcn.14003b360
nop
lea rcx, [rsp + 0x70]
call fcn.140002620
cmp r14, 0x13
jb 0x14003b228
lea r15, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
mov r12, qword [rbp - 0x70]
cmova r15, r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r14, [r13 + 0x13]
mov rdi, rbx
lea rsi, [rsp + 0x70]
cmp r14, rbx
jbe 0x14003aef4
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x14003aeae
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a9308
test rax, rax
je 0x14003aee0
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14003aeef
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14003aec8
xor esi, esi
jmp 0x14003aeef
cmp rcx, 0x1000
jb 0x14003aee7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003b1e9
jmp 0x14003ae93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9308
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rdi
mov r8, r13
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str._antagonistconfigs]
movups xmmword [rsi + r13], xmm0
movzx eax, word [0x1400b7f28]
mov word [rsi + r13 + 0x10], ax
movzx eax, byte [0x1400b7f2a]
mov byte [rsi + r13 + 0x12], al
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.1400a8674
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14003a2c0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14003a910
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, str.x_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 0x14003b04a
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.14003b360
nop
lea rcx, [rsp + 0x70]
call fcn.140002620
test dil, dil
je 0x14003b156
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rsi, r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rdi, [rsp + 0x70]
cmp r14, 0xf
jbe 0x14003b0a0
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x14003b05a
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a9308
test rax, rax
je 0x14003b08c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14003b09b
mov dil, 1
test ecx, ecx
jne 0x14003b1ef
jmp 0x14003afbe
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14003b074
xor edi, edi
jmp 0x14003b09b
cmp rcx, 0x1000
jb 0x14003b093
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003b206
jmp 0x14003b02f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9308
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
mov r8, r13
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str._antagonistconfigs]
movups xmmword [rdi + r13], xmm0
movzx eax, word [0x1400b7f28]
mov word [rdi + r13 + 0x10], ax
movzx eax, byte [0x1400b7f2a]
mov byte [rdi + r13 + 0x12], al
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.1400a8674
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14003a2c0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400a88d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14003b1b0
lea rcx, [rsp + 0x40]
call fcn.14003b360
nop
lea rcx, [rsp + 0x70]
call fcn.140002620
call fcn.140040f20
lea rcx, str._debug_:_press_enter_to_close_console..
call fcn.140039bd0
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.140002620
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a91c0
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.14003a840
nop
call fcn.140001e60
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.14003a8b0
nop
call fcn.140001e60
int3
call fcn.140001e60
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.14003a8b0
nop
call fcn.140001e60
int3
call fcn.140001f00
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.14003a840
nop
call fcn.140001f00
int3