Function at 0x18005eb00
Capabilities:
Get session user name
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1800d7030]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, qword [0x180229bf8]
call fcn.18005e850
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
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, str.r_n__
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, [0x1800c4d08]
lea rdx, str.conout_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.banana__hooter_cheat
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 2
mov r8b, 0xf0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x40], 0x105
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18005ec13
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180017340
lea rdx, str.Welcome_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180005900
lea rdx, [0x18005e820]
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]
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x18005ec5b
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.180007320
lea rdx, [0x180019c40]
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]
lea rdx, [0x180012200]
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]
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1801f3f00], rax
test rax, rax
je 0x18005ee37
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 0x19]
lea rdx, str.Got_GameAssembly.dll_0x_p
lea rcx, [rsp + 0x20]
call fcn.180003170
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rdx, [0x180012260]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
mov rcx, rax
lea rdx, [0x1800bf9f8]
call fcn.180005900
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
mov rdx, qword [0x1801f3f00]
call fcn.1800101c0
lea rdx, [0x180012200]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
lea rdx, [0x180019c40]
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
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18005ed78
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ed73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ed73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180096610
call fcn.18005f2b0
test al, al
je 0x18005ee37
mov rcx, qword [0x180229c00]
mov rax, qword [0x1801f3f00]
add rax, 0x3ae4f0
mov qword [rcx], rax
mov rax, qword [0x1801f3f00]
add rax, 0x3adf90
mov qword [rcx + 8], rax
mov rax, qword [0x1801f3f00]
add rax, 0x1c80bd0
mov qword [rcx + 0x10], rax
mov rax, qword [0x1801f3f00]
add rax, 0x1c81370
mov qword [rcx + 0x18], rax
mov rax, qword [0x1801f3f00]
add rax, 0x33d110
mov qword [rcx + 0x20], rax
call fcn.1800131f0
lea rcx, [0x180229c28]
lea rdx, [0x1801f3038]
cmp rcx, rdx
je 0x18005ee14
cmp qword [0x1801f3050], 0x10
cmovae rdx, qword [0x1801f3038]
mov r8, qword [0x1801f3048]
call fcn.180017340
lea rcx, [0x180229c20]
call fcn.18005b080
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, str.RIFFz
call qword [sym.imp.WINMM.dll_PlaySoundA]
mov al, 1
jmp 0x18005ee39
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180096080
mov rbx, qword [rsp + 0x180]
add rsp, 0x170
pop rdi
ret