Function at 0x180084040
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 r14
push r15
sub rsp, 0xcd0
mov rax, qword [0x18021c8c0]
xor rax, rsp
mov qword [rsp + 0xcc0], rax
mov r15, rcx
mov qword [rsp + 0x88], rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea edx, [r14 + 2]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
mov qword [r15 + 0x50], r14
mov qword [r15 + 0x58], r14
mov qword [r15 + 0x60], r14
mov qword [r15 + 0x68], r14
mov qword [r15 + 0x78], r14
mov qword [r15 + 0x80], 7
mov word [r15 + 0x68], r14w
lea rcx, [r15 + 0x88]
call fcn.1800849e0
nop
lea rcx, [r15 + 0x190]
call fcn.1800849e0
nop
lea rbx, [r15 + 0x298]
mov qword [rsp + 0xb0], rbx
lea rax, [0x1801b9568]
mov qword [rbx], rax
lea rcx, [rbx + 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 rdi, [rbx + 0x10]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
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 [rbx]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rcx + rbx], rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rcx + rbx - 4], edx
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rdi], rax
mov byte [rdi + 0x7c], r14b
mov byte [rdi + 0x71], r14b
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rdi + 0x80], r14
mov rax, qword [0x1802e2690]
mov qword [rdi + 0x74], rax
mov qword [rdi + 0x68], r14
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x180084257
mov r8d, 0x3ff
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
mov qword [rsp + 0x90], r14
movdqa xmm0, xmmword [0x1801dc900]
movdqu xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x90], r14b
lea rax, [rsp + 0xc0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800841e0
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x90]
call fcn.180025c30
nop
mov r8d, 6
lea rdx, str.DELTA
lea rcx, [rsp + 0x90]
call fcn.180032ae0
mov qword [rsp + 0x68], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x90]
call fcn.180004430
jmp 0x180084284
mov qword [rsp + 0x68], r14
movdqa xmm0, xmmword [0x1801dc900]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
xor r8d, r8d
lea rdx, [0x1801af83c]
lea rcx, [rsp + 0x68]
call fcn.180025c30
nop
mov rdi, qword [rsp + 0x78]
lea rbx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rbx, qword [rsp + 0x68]
call fcn.180171828
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180085030
nop
lea rdx, [rsp + 0x48]
lea rcx, [r15 + 0x68]
call fcn.1800856b0
nop
lea rcx, [rsp + 0x48]
call fcn.180087b30
nop
lea rcx, [rsp + 0x68]
call fcn.180004430
call fcn.180171828
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.180085030
nop
lea rdx, [rsp + 0x48]
lea rcx, [r15 + 0x68]
call fcn.1800856b0
nop
lea rcx, [rsp + 0x48]
call fcn.180087b30
call fcn.180171828
lea rcx, [0x1801b950c]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 5
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180085030
nop
lea rdx, [rsp + 0x48]
lea rcx, [r15 + 0x68]
call fcn.1800856b0
nop
lea rcx, [rsp + 0x48]
call fcn.180087b30
lea rcx, [r15 + 0x68]
call fcn.1800867f0
test al, al
jne 0x18008439c
lea rcx, [r15 + 0x68]
cmp qword [r15 + 0x80], 8
jb 0x18008438b
mov rcx, qword [r15 + 0x68]
call fcn.180171a88
shr rax, 0x20
test eax, eax
jne 0x18008461f
call fcn.180171828
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.180085030
nop
lea rdx, [rsp + 0x48]
lea rcx, [r15 + 0x68]
call fcn.1800856b0
nop
lea rcx, [rsp + 0x48]
call fcn.180087b30
nop
jmp 0x1800843ef
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x180084407
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.Hyper
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 rbx, [r15 + 0x190]
lea rcx, [rbx + 8]
mov r8d, 2
lea rdx, str.CONOUT_
call fcn.180084b50
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
xor r8d, r8d
test rax, rax
je 0x1800844be
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 0x1800844c9
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]
lea rbx, [r15 + 0x298]
lea rcx, [rbx + 0x10]
mov r8d, 1
lea rdx, str.CONIN_
call fcn.180084b50
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
xor r8d, r8d
test rax, rax
je 0x180084502
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 0x18008450d
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]
lea rdi, [r15 + 0x88]
lea rcx, [r15 + 0x68]
cmp qword [rcx + 0x18], 8
jb 0x180084522
mov rcx, qword [rcx]
lea rbx, [rdi + 8]
cmp qword [rbx + 0x80], 0
je 0x180084576
mov rax, qword [rdi]
mov ecx, dword [rax + 4]
movsxd rcx, ecx
add rcx, rdi
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, r15
mov rcx, qword [rsp + 0xcc0]
xor rcx, rsp
call fcn.180172080
lea r11, [rsp + 0xcd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov edx, 0xa
lea r8d, [rdx + 0x36]
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_wchar_t_const____ptr64__int__int_]
test rax, rax
je 0x180084530
mov r8d, 1
mov rdx, rax
mov rcx, rbx
call fcn.180087860
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.180087480
mov rsi, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x1800845c8
mov qword [rbx + 0x68], r14
jmp 0x1800845d6
mov qword [rbx + 0x68], rsi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1800845fc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1800845fc
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
test rbx, rbx
je 0x180084536
add rcx, rdi
xor r8d, r8d
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 0x18008454a
lea r8, [r15 + 0x68]
mov edx, eax
lea rcx, str.create_directory
call fcn.180085960
int3