Function at 0x180026cf0
Capabilities:
Query environment variable
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1801007a0]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x40], rax
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180026d30
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180024bc0
nop
lea rdx, [rsp + 0x60]
call fcn.180028ec0
nop
lea rcx, [rsp + 0x60]
call fcn.180025e00
lea rax, str.Recon
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 5
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180024bc0
nop
lea rdx, [rsp + 0x60]
call fcn.180028ec0
nop
lea rcx, [rsp + 0x60]
call fcn.180025e00
lea rbx, [0x18011a6c0]
mov rcx, rbx
call fcn.1800260b0
test al, al
jne 0x180026dd4
mov rcx, rbx
cmp qword [0x18011a6d8], 8
cmovae rcx, qword [0x18011a6c0]
call fcn.1800a87b4
shr rax, 0x20
test eax, eax
jne 0x18002709f
lea rax, str.Recon.log
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 9
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180024bc0
nop
lea rdx, [rsp + 0x60]
call fcn.180028ec0
nop
lea rcx, [rsp + 0x60]
call fcn.180025e00
nop
jmp 0x180026e18
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x180026e30
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, [0x1800b2518]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov edi, 1
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea r8d, [rdi + 1]
lea rdx, str.CONOUT_
lea rcx, [0x180177358]
call fcn.180028440
xor r8d, r8d
test rax, rax
mov rax, qword [0x180177350]
movsxd rcx, dword [rax + 4]
lea rax, [0x180177350]
je 0x180026ead
add rcx, rax
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 0x180026ebb
add rcx, rax
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, edi
lea rdx, str.CONIN_
lea rcx, [0x18011a6f0]
call fcn.180028440
xor r8d, r8d
test rax, rax
mov rax, qword [0x18011a6e0]
movsxd rcx, dword [rax + 4]
lea rax, [0x18011a6e0]
je 0x180026ef8
add rcx, rax
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 0x180026f06
add rcx, rax
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]
cmp qword [0x18011a6d8], 8
cmovae rbx, qword [0x18011a6c0]
cmp qword [0x1801772b8], 0
jne 0x180027058
mov edx, 0xa
lea r8d, [rdx + 0x36]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_wchar_t_const____ptr64__int__int_]
mov rbx, rax
test rax, rax
je 0x180027058
mov byte [0x1801772b4], dil
mov byte [0x1801772a9], 0
lea rcx, [0x180177238]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], r9
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x28], r8
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea rcx, [0x180177238]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [0x1801772b8], rbx
mov rax, qword [0x180177670]
mov qword [0x1801772ac], rax
mov qword [0x1801772a0], rsi
lea rdx, [rsp + 0x60]
lea rcx, [0x180177238]
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.180028880
mov rbx, 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 0x180027001
mov qword [0x1801772a0], rsi
jmp 0x180027016
mov qword [0x1801772a0], rbx
lea rcx, [0x180177238]
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 + 0x68]
test rcx, rcx
je 0x180027036
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180027036
mov r8, qword [rax]
mov edx, edi
mov rcx, rax
call qword [r8]
mov rax, qword [0x180177230]
movsxd rcx, dword [rax + 4]
lea rax, [0x180177230]
add rcx, rax
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 0x18002707a
mov rax, qword [0x180177230]
movsxd rcx, dword [rax + 4]
lea rax, [0x180177230]
add rcx, rax
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]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800a8bf0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov r8, rbx
mov edx, eax
call fcn.1800291c0
int3