Function at 0x18000f580
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov rax, qword [0x180417240]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x240]
mov qword [rax + 0x170], 0
mov rax, qword [rsp + 0x240]
mov qword [rax + 0x178], 0
mov rax, qword [rsp + 0x240]
mov byte [rax + 0x180], 1
mov rax, qword [rsp + 0x240]
mov byte [rax + 0x181], 1
movzx eax, byte [0x18041e822]
test eax, eax
je 0x18000f701
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call fcn.1801d8b0c
mov rcx, qword [rsp + 0x240]
add rcx, 0x178
mov r9, rax
lea r8, [0x180244fd8]
lea rdx, str.CONOUT_
call fcn.1801da6fc
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [rsp + 0x20]
call fcn.1800063e0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x258]
call fcn.180012c00
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x258]
call fcn.180012c70
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x120]
call fcn.1800164b0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.18000e280
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [rsp + 0x120]
call fcn.180012a90
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [rsp + 0x240]
mov qword [rcx + 0x170], rax
mov rax, qword [rsp + 0x240]
movzx eax, byte [rax + 0x180]
test eax, eax
je 0x18000f8e0
lea rcx, [rsp + 0xe8]
call fcn.18000e090
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x58]
call fcn.180012360
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.180015b60
mov rcx, rax
call fcn.180007ea0
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.18000df80
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
lea r8, str._:__:_
mov rdx, qword [rsp + 0x250]
lea rcx, [rsp + 0x160]
call fcn.180015bb0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x140]
call fcn.18000add0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
lea r8, str..log
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x200]
call fcn.18000ad80
nop
lea rcx, [rsp + 0x140]
call fcn.180005a50
nop
lea rcx, [rsp + 0x160]
call fcn.180005a50
nop
lea rcx, [rsp + 0x180]
call fcn.180005a50
mov rax, qword [rsp + 0x240]
add rax, 0x68
mov qword [rsp + 0xb0], rax
xor r8d, r8d
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x100]
call fcn.180016390
nop
lea r8, [rsp + 0x100]
mov rdx, qword [rsp + 0x248]
lea rcx, [rsp + 0x1a0]
call fcn.18000e9d0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov r9d, 0x40
mov r8d, 2
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.180016580
nop
lea rcx, [rsp + 0x1a0]
call fcn.18000ea60
nop
lea rcx, [rsp + 0x100]
call fcn.18000ea60
nop
lea rcx, [rsp + 0x200]
call fcn.180005a50
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x240]
call fcn.18000a4e0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
lea r8, str.Initialized_
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x1c0]
call fcn.18000ad80
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov r8w, reloc.WS2_32.dll_ntohs
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x240]
call fcn.18000f150
nop
lea rcx, [rsp + 0x1c0]
call fcn.180005a50
nop
lea rcx, [rsp + 0x1e0]
call fcn.180005a50
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1801ce080
add rsp, 0x238
ret