Function at 0x180054430
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
xor edi, edi
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
test rax, rax
je 0x180054460
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSystemMenu]
xor r8d, r8d
mov edx, 0xf060
mov rcx, rax
call qword [sym.imp.USER32.dll_DeleteMenu]
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
btr eax, 0x10
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
btr eax, 0x12
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, 1
call fcn.1800763e8
mov rbx, rax
mov ecx, 1
call fcn.1800763e8
mov r9, rbx
lea r8, [0x1800d6b84]
lea rdx, str.CONOUT_
mov rcx, rax
call fcn.1800811e4
mov ecx, 2
call fcn.1800763e8
mov rbx, rax
mov ecx, 2
call fcn.1800763e8
mov r9, rbx
lea r8, [0x1800d6b84]
lea rdx, str.CONOUT_
mov rcx, rax
call fcn.1800811e4
xor ecx, ecx
call fcn.1800763e8
mov rbx, rax
xor ecx, ecx
call fcn.1800763e8
mov r9, rbx
lea r8, [0x1800d6b80]
lea rdx, str.CONIN_
mov rcx, rax
call fcn.1800811e4
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x61], 0xf
mov edx, 0x20
lea rcx, [rbp - 0x79]
call fcn.180007eb0
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], 0x19
mov qword [rbp - 0x61], 0x1f
vmovups xmm0, xmmword [str.Initializing_phasmohook..]
vmovups xmmword [rax], xmm0
vmovsd xmm0, qword [0x1800d7238]
vmovsd qword [rax + 0x10], xmm0
movzx ecx, byte [0x1800d7240]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], dil
lea rcx, [rbp - 0x79]
call fcn.180053f20
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x180054601
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800545fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054804
call fcn.18006f1e0
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x61], 0xf
mov byte [rbp - 0x79], 0
call fcn.1800536b0
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
call fcn.18004dd40
call fcn.18005c560
mov qword [rbp - 0x11], rdi
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_void___cdecl__int___cdecl_DllMain_struct_HINSTANCE______ptr64__unsigned_long_int__void____ptr64_::_8::_lambda_1_::operator___void_const___ptr64::_2::_lambda_1___void___.0
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x11], rax
cmp qword [rbp - 0x11], 0
je 0x180054747
mov ecx, 3
call fcn.18004c310
cmp dword [0x18032e4f0], 0
je 0x180054747
mov rax, qword [0x18032e4e8]
mov rcx, qword [rax + 0x40]
mov qword [rbp + 0x67], rcx
test rcx, rcx
je 0x180054747
call fcn.18006b8b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.18006bdd0
lea r14, [0x18004d8a0]
mov rdx, r14
lea rcx, [rbp + 0x67]
call fcn.18006b0b0
mov ebx, eax
call fcn.18006b920
test ebx, ebx
jne 0x180054747
lea rsi, [0x18032e720]
mov qword [rbp + 0x77], rsi
mov rcx, rsi
call fcn.18006d798
test eax, eax
jne 0x18005480a
mov eax, dword [0x18032e76c]
cmp eax, 0x7fffffff
je 0x180054815
mov rbx, qword [rbp + 0x67]
mov qword [rbp + 0x6f], r14
lea r8, [rbp + 0x6f]
lea rdx, [rbp - 0x79]
call fcn.180017850
mov rcx, qword [rax]
mov qword [rcx + 0x18], rbx
mov rcx, rsi
call fcn.18006d7bc
mov qword [rbp + 0x2f], rdi
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x180054720
mov rax, qword [rcx]
lea rdx, [rbp - 9]
call qword [rax]
mov qword [rbp + 0x2f], rax
lea rcx, [rbp - 9]
call fcn.180058130
nop
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x180054747
mov rax, qword [rcx]
lea rdx, [rbp - 9]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x2f], rdi
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x180054764
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x11], rdi
mov ecx, 8
call fcn.18006ee24
lea rcx, [0x180053120]
mov qword [rax], rcx
mov qword [rbp + 0x67], rax
mov dword [rsp + 0x30], 1
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x18005b7b0]
xor edx, edx
xor ecx, ecx
call fcn.180080930
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1800547f6
mov qword [rbp + 0x67], rdi
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
cmp dword [rbp - 0x51], 0
je 0x18005482e
vmovups xmm0, xmmword [rbp - 0x59]
vmovdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x79]
call fcn.18006e82c
test eax, eax
jne 0x18005482e
vpxor xmm0, xmm0, xmm0
vmovdqa xmmword [rbp - 0x59], xmm0
cmp dword [rbp - 0x51], eax
jne 0x180054828
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp - 0x51], edi
mov ecx, 6
call fcn.18006e050
nop
call fcn.180075e04
nop
mov ecx, 5
call fcn.18006e050
int3
dec eax
mov dword [0x18032e76c], eax
mov ecx, 6
call fcn.18006e050
nop
call fcn.180080b70
nop
mov ecx, 1
call fcn.18006e050
int3