Function at 0x18006d440
Capabilities:
Get common file path
Get startup folder
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcf0
mov rax, qword [0x180166880]
xor rax, rsp
mov qword [rsp + 0xce0], rax
mov r12, rcx
mov qword [rsp + 0xa0], rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov dword [rcx], ebx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rbx
lea edx, [rbx + 2]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
mov qword [r12 + 0x50], rbx
mov qword [r12 + 0x58], rbx
mov qword [r12 + 0x60], rbx
lea rsi, [r12 + 0x68]
mov qword [rsp + 0x88], rsi
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
lea rax, [r12 + 0x88]
mov qword [rsp + 0xb0], rax
mov rcx, rax
call fcn.18006dd70
nop
lea r15, [r12 + 0x190]
mov qword [rsp + 0x98], r15
mov rcx, r15
call fcn.18006dd70
nop
lea r14, [r12 + 0x298]
mov qword [rsp + 0x90], r14
mov qword [rsp + 0xd8], r14
lea rax, [0x18011a218]
mov qword [r14], rax
lea rcx, [r14 + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 1
lea r13, [r14 + 0x10]
mov qword [rsp + 0xa8], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [r14]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rcx + r14], rax
mov rax, qword [r14]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rcx + r14 - 4], edx
mov qword [rsp + 0x30], r13
mov rcx, r13
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [r13], rax
mov byte [r13 + 0x7c], bl
mov byte [r13 + 0x71], bl
mov rcx, r13
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [r13 + 0x80], rbx
mov rax, qword [0x1801f3588]
mov qword [r13 + 0x74], rax
mov qword [r13 + 0x68], rbx
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x18006d6aa
mov r8d, 0x3ff
lea rdx, [rsp + 0x4e0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc8], xmm1
lea rax, [rsp + 0xe0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18006d630
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xb8]
call fcn.180024740
nop
mov r8d, 6
lea rdx, str.DELTA
lea rcx, [rsp + 0xb8]
call fcn.18002c920
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0xb8]
call fcn.180004060
jmp 0x18006d6cf
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
xor r8d, r8d
lea rdx, [0x18011213c]
lea rcx, [rsp + 0x68]
call fcn.180024740
mov rdi, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
cmp qword [rsp + 0x80], 0xf
cmovbe rdi, rcx
call fcn.1800e1464
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.18006e820
nop
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18006f070
nop
lea rcx, [rsp + 0x48]
call fcn.1800715e0
nop
lea rcx, [rsp + 0x68]
call fcn.180004060
call fcn.1800e1464
lea rcx, str.LucaModzZ
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 9
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.18006e820
nop
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18006f070
nop
lea rcx, [rsp + 0x48]
call fcn.1800715e0
call fcn.1800e1464
lea rcx, [0x18011a1bc]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 4
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.18006e820
nop
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18006f070
nop
lea rcx, [rsp + 0x48]
call fcn.1800715e0
mov rcx, rsi
call fcn.1800702a0
test al, al
jne 0x18006d7e4
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x18006d7d0
mov rcx, qword [rsi]
call fcn.1800e16c4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18006d9ab
call fcn.1800e1464
lea rcx, str.de.log
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 6
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.18006e820
nop
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18006f070
nop
lea rcx, [rsp + 0x48]
call fcn.1800715e0
nop
jmp 0x18006d853
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x18006d86b
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.Pain
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov r9d, 2
mov r8b, 0xeb
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov edx, 0xf060
mov r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
lea rcx, [r15 + 8]
mov r8d, 2
lea rdx, str.CONOUT_
call fcn.18006df20
mov rcx, rax
mov rax, qword [r15]
movsxd rdx, dword [rax + 4]
xor r8d, r8d
test rcx, rcx
lea rcx, [r15 + rdx]
je 0x18006d91f
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 0x18006d92a
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]
mov r8d, 1
lea rdx, str.CONIN_
mov rcx, r13
call fcn.18006df20
mov rcx, rax
mov rax, qword [r14]
movsxd rdx, dword [rax + 4]
xor r8d, r8d
test rcx, rcx
lea rcx, [r14 + rdx]
je 0x18006d95f
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 0x18006d96a
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]
mov rdx, rsi
mov rcx, qword [rsp + 0xb0]
call fcn.18006e2a0
nop
mov rax, r12
mov rcx, qword [rsp + 0xce0]
xor rcx, rsp
call fcn.1800e1e90
lea r11, [rsp + 0xcf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
shr rdx, 0x20
mov r8, rsi
lea rcx, str.create_directory
call fcn.18006f300
int3