Function at 0x180007260
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x18011c028]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
lea rax, vtable.toadll::Logger.0
mov qword [rcx], rax
lea rdi, [rcx + 8]
mov qword [rsp + 0x30], rdi
mov eax, 9
mov word [rbp - 0x70], ax
lea rax, str.DEBUG
mov qword [rbp - 0x68], rax
mov eax, 0xc
mov word [rbp - 0x60], ax
lea rax, str.ERROR
mov qword [rbp - 0x58], rax
mov eax, 0xd
mov word [rbp - 0x50], ax
lea rax, str.EXCEPTION
mov qword [rbp - 0x48], rax
mov eax, 0xe
mov word [rbp - 0x40], ax
lea rax, str.WARNING
mov qword [rbp - 0x38], rax
mov dword [rdi], r14d
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
lea ecx, [r14 + 0x20]
call fcn.1800a7020
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x18]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [rdi + 0x30], 7
mov qword [rdi + 0x38], 8
mov dword [rdi], 0x3f800000
mov r8, qword [rdi + 8]
lea edx, [r14 + 0x10]
call fcn.1800046f0
nop
lea rbx, [rbp - 0x70]
mov r8, rbx
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1800099c0
add rbx, 0x10
lea rax, [rbp - 0x30]
cmp rbx, rax
jne 0x180007351
mov qword [rsi + 0x48], r14
lea rcx, [rsi + 0x50]
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
lea rcx, [rsi + 0xa0]
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
mov byte [rsi + 0xf0], 0
lea rdi, [rsi + 0xf8]
mov rcx, rdi
call fcn.180008c70
nop
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800cd168]
lea rdx, str.CONIN_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800cd174]
lea rdx, str.CONOUT_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800cd174]
lea rdx, str.CONERR_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsi + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov r8d, 8
lea rdx, str.Toad.log
lea rcx, [rbp - 0x28]
call fcn.18000a320
nop
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
test eax, eax
jne 0x1800074c4
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800074b4
lea rdx, [rbp]
jmp 0x1800074ce
xor r8d, r8d
lea rdx, [0x1800cd318]
lea rcx, [rsp + 0x50]
call fcn.18000a320
nop
mov r8d, 1
lea rdx, [0x1800cd194]
lea rcx, [rsp + 0x50]
call fcn.180009ff0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rsp + 0x70]
call fcn.180009ff0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rdi + 8]
mov r8d, 2
call fcn.180009170
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
xor r8d, r8d
add rcx, rdi
test rax, rax
je 0x1800075a8
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1800075b4
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rsp + 0x30]
call fcn.180005e50
nop
lea rcx, [rsp + 0x70]
call fcn.180005e50
nop
lea rcx, [rsp + 0x50]
call fcn.180005e50
lea rax, str._Y__d__b__n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xa
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.180007840
nop
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x180007611
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rdi
call fcn.180009800
lea rdx, [0x180009410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x70]
call fcn.180005e50
nop
lea rcx, [rbp - 0x28]
call fcn.180005e50
nop
mov rax, rsi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1800a6c70
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret