Function at 0x1800c5be0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x180101040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ecx, dword [0x1801c50e8]
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 [0x1801c6c40], eax
jle 0x1800c5c6f
lea rcx, [0x1801c6c40]
call fcn.1800c76ac
cmp dword [0x1801c6c40], 0xffffffff
jne 0x1800c5c6f
xorps xmm0, xmm0
movdqu xmmword [0x1801c6c28], xmm0
mov qword [0x1801c6c38], rbp
lea rcx, [0x1800d25f0]
call fcn.1800c75ec
lea rcx, [0x1801c6c40]
call fcn.1800c7640
lea rdx, [rsp + 0x50]
lea rcx, [0x1801c6c28]
call fcn.180095960
nop
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
cmp rbx, rdi
je 0x1800c5cb0
mov rcx, qword [rbx]
cmp byte [rcx + 0x48], 0
je 0x1800c5ca2
mov byte [rcx + 0x48], 0
call fcn.180095660
add rbx, 8
cmp rbx, rdi
jne 0x1800c5c90
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1800c5cff
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800c5ce9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5ce9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800c721c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbp
cmp byte [0x1801c5658], 0
je 0x1800c5d5a
mov rax, qword [0x1801c5628]
mov rdi, qword [rax + 0x38]
mov rbx, qword [0x1801c55e0]
cmp dword [0x1801bd154], 7
je 0x1800c5d5a
mov rax, qword [rbx]
mov r9, qword [rax + 0x2f8]
mov r8, qword [0x1801c5908]
mov rdx, qword [rdi]
mov rcx, rbx
call r9
mov dword [rsp + 0x20], 0x57
mov r9, rax
mov r8, qword [0x1801c5748]
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1800a7d80
cmp byte [0x1801c5ce0], 0
je 0x1800c5de9
mov rdi, qword [0x1801c5670]
mov byte [0x1801c5ce0], 0
mov r8, qword [0x1801c6d10]
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 [0x1801c5658], 0
je 0x1800c5e05
call fcn.1800b18b0
cmp byte [0x1801c5658], 0
je 0x1800c5e05
call fcn.1800b27c0
lea rcx, str.lwjgl64.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800c5e36
lea rcx, str.lwjgl.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800c5e36
lea rcx, str.lwjgl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rbp
test rax, rax
je 0x1800c5e51
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 + 0x70], rax
lea rax, [0x1800dbb74]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rcx
test rcx, rcx
je 0x1800c5f7d
mov qword [rsp + 0x48], rbp
cmp byte [0x1801c5658], 0
je 0x1800c5ef7
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
mov r8d, 0x1f
lea rdx, str.org.lwjgl.opengl.WindowsDisplay
lea rcx, [rsp + 0x50]
call fcn.1800432a0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1800b1fa0
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1800c5ef7
cmp byte [0x1801c5658], 0
je 0x1800c5f7d
mov rcx, qword [0x1801c55e0]
mov rax, qword [rcx]
mov r9d, 1
lea r8, [rsp + 0x70]
call qword [rax + 0x6b8]
jmp 0x1800c5f7d
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.180045f90
lea rdx, [0x180046170]
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.180045f90
lea rdx, [0x180046170]
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 [0x1801c5658], 0
je 0x1800c5f5a
mov rcx, qword [0x1801c55e0]
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.180045f90
lea rdx, [0x180046170]
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 [0x1801c64c8]
mov rax, qword [rcx]
call qword [rax + 0x28]
call fcn.1800b0200
cmp byte [0x1801c5828], 0
je 0x1800c5fcc
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x1800c5fac
mov rcx, rax
call qword [sym.imp.USER32.dll_CloseWindow]
mov rcx, qword [0x1801c5380]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x1801c5388]
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 [0x1801c6c40], eax
jle 0x1800c6015
lea rcx, [0x1801c6c40]
call fcn.1800c76ac
cmp dword [0x1801c6c40], 0xffffffff
jne 0x1800c6015
xorps xmm0, xmm0
movdqu xmmword [0x1801c6c28], xmm0
mov qword [0x1801c6c38], rbp
lea rcx, [0x1800d25f0]
call fcn.1800c75ec
lea rcx, [0x1801c6c40]
call fcn.1800c7640
mov rax, qword [0x1801c6c28]
cmp rax, qword [0x1801c6c30]
je 0x1800c602c
mov qword [0x1801c6c30], rax
call fcn.18006fe70
movzx ecx, byte [rax + 0x98]
test cl, cl
je 0x1800c6067
mov rcx, 0xffffffffffffffff
xchg qword [rax + 0x48], rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x48]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800c6fb0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret