Function at 0x1800c9970
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x1801d4634]
mov rax, qword gs:[0x58]
mov edx, 8
mov rsi, qword [rax + rcx*8]
add rsi, rdx
xor ebp, ebp
mov eax, dword [rsi]
cmp dword [0x1801d6210], eax
jle 0x1800c99ff
lea rcx, [0x1801d6210]
call fcn.1800cb14c
cmp dword [0x1801d6210], 0xffffffff
jne 0x1800c99ff
xorps xmm0, xmm0
movdqu xmmword [0x1801d61f8], xmm0
mov qword [0x1801d6208], rbp
lea rcx, [0x1800d6040]
call fcn.1800cb08c
lea rcx, [0x1801d6210]
call fcn.1800cb0e0
lea rdx, [rsp + 0x70]
lea rcx, [0x1801d61f8]
call fcn.18009ab90
nop
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
cmp rbx, rdi
je 0x1800c9a40
mov rcx, qword [rbx]
cmp byte [rcx + 0x48], 0
je 0x1800c9a32
mov byte [rcx + 0x48], 0
call fcn.18009a8a0
add rbx, 8
cmp rbx, rdi
jne 0x1800c9a20
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1800c9a95
mov rdx, qword [rsp + 0x80]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800c9a7c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c9a7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800cacbc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rbp
cmp byte [0x1801d4bb0], 0
je 0x1800c9af0
mov rax, qword [0x1801d4b80]
mov rdi, qword [rax + 0x38]
mov rbx, qword [0x1801d4b38]
cmp dword [0x1801cc364], 7
je 0x1800c9af0
mov rax, qword [rbx]
mov r9, qword [rax + 0x2f8]
mov r8, qword [0x1801d4e70]
mov rdx, qword [rdi]
mov rcx, rbx
call r9
mov dword [rsp + 0x20], 0x57
mov r9, rax
mov r8, qword [0x1801d4ca0]
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1800ab610
cmp byte [0x1801d5268], 0
je 0x1800c9b7f
mov rdi, qword [0x1801d5228]
mov byte [0x1801d5268], 0
mov r8, qword [0x1801d62d8]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
lea r8d, [rax - 0x1ac]
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x1e2
mov dword [rsp + 0x20], 0x358
lea r9d, [rbx - 0xf1]
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [0x1801d4bb0], 0
je 0x1800c9b9b
call fcn.1800b50a0
cmp byte [0x1801d4bb0], 0
je 0x1800c9b9b
call fcn.1800b5fb0
lea rcx, str.lwjgl64.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800c9bcc
lea rcx, str.lwjgl.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800c9bcc
lea rcx, str.lwjgl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rbp
test rax, rax
je 0x1800c9be7
lea rdx, str.Java_org_lwjgl_opengl_WindowsDisplay_nUpdate
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
lea rax, str.nUpdate
mov qword [rsp + 0x88], rax
lea rax, [0x1800dfb7c]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
test rcx, rcx
je 0x1800c9d1c
mov qword [rsp + 0x68], rbp
cmp byte [0x1801d4bb0], 0
je 0x1800c9c96
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov r8d, 0x1f
lea rdx, str.org.lwjgl.opengl.WindowsDisplay
lea rcx, [rsp + 0x40]
call fcn.1800449e0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1800b5790
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1800c9c96
cmp byte [0x1801d4bb0], 0
je 0x1800c9d1c
mov rcx, qword [0x1801d4b38]
mov rax, qword [rcx]
mov r9d, 1
lea r8, [rsp + 0x88]
call qword [rax + 0x6b8]
jmp 0x1800c9d1c
lea rdx, str.Unable_to_find_windowsDisplay_Class
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800476f0
lea rdx, [0x1800478c0]
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, str.try_env__FindClass
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800476f0
lea rdx, [0x1800478c0]
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]
cmp byte [0x1801d4bb0], 0
je 0x1800c9cf9
mov rcx, qword [0x1801d4b38]
mov rax, qword [rcx]
lea rdx, str.org_lwjgl_opengl_WindowsDisplay
call qword [rax + 0x30]
lea rdx, str.Unable_to_find_windowsDisplay_Class_2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800476f0
lea rdx, [0x1800478c0]
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 rcx, qword [0x1801d5a50]
mov rax, qword [rcx]
call qword [rax + 0x28]
call fcn.1800b3610
cmp byte [0x1801d4d80], 0
je 0x1800c9d6b
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x1800c9d4b
mov rcx, rax
call qword [sym.imp.USER32.dll_CloseWindow]
mov rcx, qword [0x1801d48e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x1801d48e8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, dword [rsi]
cmp dword [0x1801d6210], eax
jle 0x1800c9db4
lea rcx, [0x1801d6210]
call fcn.1800cb14c
cmp dword [0x1801d6210], 0xffffffff
jne 0x1800c9db4
xorps xmm0, xmm0
movdqu xmmword [0x1801d61f8], xmm0
mov qword [0x1801d6208], rbp
lea rcx, [0x1800d6040]
call fcn.1800cb08c
lea rcx, [0x1801d6210]
call fcn.1800cb0e0
mov rax, qword [0x1801d61f8]
cmp rax, qword [0x1801d6200]
je 0x1800c9dcb
mov qword [0x1801d6200], rax
call fcn.180073a60
movzx ecx, byte [rax + 0x98]
test cl, cl
je 0x1800c9e06
mov rcx, 0xffffffffffffffff
xchg qword [rax + 0x48], rcx
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x68]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800caa50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret