Function at 0x140042f60
Capabilities:
Set console window title

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0xa8]
sub rsp, 0x1a0
mov rax, qword [0x1400ca028]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x10], r14
mov r14, rcx
mov qword [r11 - 0x18], r15
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 r9, rax
lea r8, [0x1400af044]
lea rdx, str.CONIN_
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1400af050]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x60]
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 r9, rax
lea r8, [0x1400af050]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Logs_Window
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.1400413c0
lea rdx, [0x1400cdba0]
lea rcx, [rbp + 0x10]
call fcn.140046000
cmp qword [rbp + 0x28], 8
lea rax, [0x1400436e0]
lea rsi, [rbp + 0x10]
mov dword [rbp - 0x40], 0x50
cmovae rsi, qword [rbp + 0x10]
xor r15d, r15d
xor ecx, ecx
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x3c], 0x40
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp qword [rbp + 0x28], 8
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0x10]
movdqa xmmword [rbp - 0x10], xmm1
cmovae rax, qword [rbp + 0x10]
mov qword [rbp], rax
mov qword [rbp + 8], r15
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r15 + 1]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x1400cdbc0]
mov ecx, eax
mov r10d, dword [0x1400cdbc4]
sub ebx, edi
sub ecx, r10d
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r11d, eax
mov eax, ecx
cdq
sub eax, edx
lea rdx, [rbp + 0x10]
sar eax, 1
mov r9, qword [rbp - 0x28]
mov r8, rsi
cmp qword [rbp + 0x28], 8
mov qword [rsp + 0x58], r15
cmovae rdx, qword [rbp + 0x10]
xor ecx, ecx
mov qword [rsp + 0x50], r9
mov r9d, 0xcf0000
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea edx, [r15 + 0x65]
mov rcx, r14
mov rsi, rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x80
lea r8d, [r15 + 1]
mov r9, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
mov r14, qword [rsp + 0x198]
test rsi, rsi
jne 0x14004317a
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rdx, str.Couldnt_create_window
jmp 0x140043650
lea rax, [0x1400cdb00]
mov qword [rbp - 0x7c], r15
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rbp + 0x40]
mov qword [rbp - 0x68], 2
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [0x1400cdb10]
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x48], rax
lea edx, [r9 + 1]
lea rax, [0x1400cdb18]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov dword [rbp - 0x80], 0x1c
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x30]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x74], 1
mov qword [rbp - 0x58], 1
mov dword [rbp + 0x30], 0xb000
mov dword [rbp + 0x34], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140043636
call fcn.140001150
test al, al
je 0x140043636
mov rdx, rsi
movaps xmmword [rsp + 0x180], xmm6
call fcn.1400011e0
mov edx, 0xa
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
xorps xmm0, xmm0
xorps xmm6, xmm6
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x48]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400432c7
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14004345c
mov rbx, qword [0x1400cdb40]
test rbx, rbx
je 0x1400432e1
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
jne 0x1400432fe
jmp 0x1400432e4
mov rbx, r15
mov r8d, 0x24e
lea rdx, str.D:_reposImgui_Maximusimguiimgui_impl_dx11.cpp
lea rcx, str.bd___0___Did_you_call_ImGui_ImplDX11_Init____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rbx + 0x48], r15
jne 0x140043309
call fcn.14002cd60
call fcn.14002da00
call fcn.140007030
mov rdx, qword [0x1400cdb40]
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movaps xmm1, xmm6
unpcklps xmm1, xmm6
mov r8d, 0x127
mov ecx, dword [rdx + 0x1d18]
movsd qword [rdx + 0x1d28], xmm0
or ecx, 1
mov dword [rdx + 0x1d18], ecx
or ecx, 2
movsd qword [rdx + 0x1d30], xmm1
mov dword [rdx + 0x1d1c], 4
mov eax, dword [0x1400cdbc0]
add eax, 0xfffffff1
movd xmm1, eax
mov eax, dword [0x1400cdbc4]
mov dword [rdx + 0x1d18], ecx
add eax, 0xffffffda
cvtdq2ps xmm1, xmm1
mov dword [rdx + 0x1d20], 1
lea rcx, str.Title
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdx + 0x1d38], xmm1
movss dword [rdx + 0x1d3c], xmm0
xor edx, edx
call fcn.14000d590
call fcn.140073ba0
call fcn.14000fcd0
movaps xmm0, xmmword [0x1400b67d0]
movups xmmword [rbp + 0x30], xmm0
call fcn.140009d20
call fcn.14000a1f0
mov rcx, qword [0x1400cdb00]
lea r8, [0x1400cdb08]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1400cdb00]
lea r8, [rbp + 0x30]
mov rdx, qword [0x1400cdb08]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rbx, qword [0x1400cdb40]
cmp dword [rbx + 0x1e10], r15d
jg 0x140043428
mov r8d, 0x6bd
lea rdx, str.D:_reposImgui_Maximusimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1e18]
mov rcx, qword [rax]
mov rax, r15
add rcx, 0x40
cmp byte [rcx], r15b
cmovne rax, rcx
mov rcx, rax
call fcn.14002c050
mov rcx, qword [0x1400cdb18]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp dword [rbp + 0x50], 0x12
jne 0x140043290
mov rbx, qword [0x1400cdb40]
movaps xmm6, xmmword [rsp + 0x180]
test rbx, rbx
je 0x140043488
mov rdi, qword [rbx + 0xf0]
test rdi, rdi
jne 0x1400434ac
jmp 0x14004348b
mov rdi, r15
mov r8d, 0x23f
lea rdx, str.D:_reposImgui_Maximusimguiimgui_impl_dx11.cpp
lea rcx, str.bd___0___No_renderer_backend_to_shutdown__or_already_shutdown__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400cdb40]
test rbx, rbx
jne 0x1400434d2
mov r8d, 0xde1
lea rdx, str.D:_reposImgui_Maximusimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400cdb40]
call fcn.14002d160
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400434e6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400434f4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140043503
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400cdb40]
mov qword [rbx + 0xe0], r15
mov qword [rbx + 0xf0], r15
test rax, rax
je 0x140043523
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400cdb40]
test rax, rax
je 0x140043546
mov rbx, qword [rax + 0xe8]
test rbx, rbx
jne 0x14004356a
jmp 0x140043549
mov rbx, r15
mov r8d, 0xb1
lea rdx, str.D:_reposImgui_Maximusimguiimgui_impl_win32.cpp
lea rcx, str.bd___0___No_platform_backend_to_shutdown__or_already_shutdown__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1400cdb40]
test rax, rax
jne 0x140043590
mov r8d, 0xde1
lea rdx, str.D:_reposImgui_Maximusimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1400cdb40]
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400435aa
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400cdb40]
mov qword [rdi + 0xd0], r15
mov qword [rdi + 0xe0], r15
test rax, rax
je 0x1400435c3
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400cdb40]
mov rcx, rbx
call fcn.1400087e0
mov rax, qword [0x1400cdb40]
cmp rax, rbx
cmove rax, r15
mov qword [0x1400cdb40], rax
test rbx, rbx
je 0x140043618
mov rcx, rbx
call fcn.140019e60
mov rax, qword [0x1400cdb40]
test rax, rax
je 0x14004360f
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.1400010d0
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14004365e
call fcn.1400010d0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rdx, str.Couldnt_initalize_DirectX
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp + 0x28]
mov r15, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x1c8]
mov rsi, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x1b8]
cmp rdx, 8
jb 0x1400436c1
mov rcx, qword [rbp + 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400436bc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400436bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081230
xor eax, eax
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140080ea0
add rsp, 0x1a0
pop rbp
ret