Function at 0x180076370
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x18014a040]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, rcx
mov qword [rbp - 0x30], rcx
xor r15d, r15d
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], r15d
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov ecx, 0x20
call fcn.1800cc9cc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x18]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rdi + 0x30], 7
mov qword [rdi + 0x38], 8
mov dword [rdi], 0x3f800000
mov r8, qword [rdi + 8]
mov edx, 0x10
call fcn.180064fe0
nop
lea rbx, [rbp - 0x70]
nop dword [rax]
mov r8, rbx
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.180078960
add rbx, 0x10
lea rax, [rbp - 0x30]
cmp rbx, rax
jne 0x180076470
mov qword [rsi + 0x48], r15
xorps xmm0, xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x70], xmm0
movups xmmword [rsi + 0x80], xmm0
movups xmmword [rsi + 0x90], xmm0
movups xmmword [rsi + 0x68], xmm0
movups xmmword [rsi + 0x78], xmm0
movups xmmword [rsi + 0x88], xmm0
mov qword [rsi + 0x58], r15
mov qword [rsi + 0x60], r15
mov rdi, 0xffffffffffffffff
mov dword [rsi + 0x98], edi
mov dword [rsi + 0x50], 2
mov dword [rsi + 0x9c], r15d
movups xmmword [rsi + 0xa0], xmm0
movups xmmword [rsi + 0xb0], xmm0
movups xmmword [rsi + 0xc0], xmm0
movups xmmword [rsi + 0xd0], xmm0
movups xmmword [rsi + 0xe0], xmm0
movups xmmword [rsi + 0xb8], xmm0
movups xmmword [rsi + 0xc8], xmm0
movups xmmword [rsi + 0xd8], xmm0
mov qword [rsi + 0xa8], r15
mov qword [rsi + 0xb0], r15
mov dword [rsi + 0xe8], edi
mov dword [rsi + 0xa0], 2
mov dword [rsi + 0xec], r15d
mov byte [rsi + 0xf0], 0
lea r14, [rsi + 0xf8]
mov rcx, r14
call fcn.180077e60
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, [0x18012acf0]
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, [0x18012acfc]
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, [0x18012acfc]
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], r15
mov qword [rbp - 0x10], r15
mov r8d, 8
lea rdx, str.Toad.log
lea rcx, [rbp - 0x28]
call fcn.1800745b0
nop
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 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 0x180076668
lea rax, [rbp]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180076656
mov r8, rdi
lea rdx, [rbp]
jmp 0x180076672
xor r8d, r8d
lea rdx, [0x1800f5067]
lea rcx, [rsp + 0x50]
call fcn.1800745b0
nop
mov r8d, 1
lea rdx, [0x18012ad1c]
lea rcx, [rsp + 0x50]
call fcn.180073fa0
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], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rsp + 0x70]
call fcn.180073fa0
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], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
lea rcx, [r14 + 8]
mov r8d, 2
call fcn.180078300
mov rcx, rax
mov rax, qword [r14]
movsxd rdx, dword [rax + 4]
xor r8d, r8d
test rcx, rcx
lea rcx, [r14 + rdx]
je 0x180076750
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 0x18007675c
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.180074d20
nop
lea rcx, [rsp + 0x70]
call fcn.180074d20
nop
lea rcx, [rsp + 0x50]
call fcn.180074d20
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.1800769a0
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800767b9
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r14
call fcn.180067e50
lea rdx, [0x180067760]
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.180074d20
nop
lea rcx, [rbp - 0x28]
call fcn.180074d20
nop
mov rax, rsi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1800cc250
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret