Function at 0x14006ae30
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov ebp, dword [rsp + 0x130]
mov rbx, rcx
mov r12, rdx
mov esi, r8d
mov edi, r9d
test rdx, rdx
je 0x14006ae6e
mov rcx, qword [rdx + 0x40]
test rcx, rcx
je 0x14006ae6e
mov eax, dword [0x1401a53b8]
test eax, eax
jne 0x14006aea0
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14006b030
mov rcx, rbx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp method.sf::priv::WglContext.updateSettingsFromPixelFormat__
mov edx, ebp
mov r9d, 1
lea r8, [rbx + 8]
call method.sf::priv::WglContext.selectBestPixelFormat_HDC____unsigned_int__sf::ContextSettings_const__bool_
mov edx, eax
test eax, eax
jle 0x14006ae6e
lea rax, [rsp + 0x70]
mov rcx, qword [r12 + 0x40]
mov r9d, edi
mov r8d, esi
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x20], rax
call qword [0x1401a5390]
mov qword [rbx + 0x38], rax
mov rcx, rax
test rax, rax
je 0x14006b0c0
mov rax, qword [r12 + 0x30]
mov qword [rbx + 0x30], rax
call qword [0x1401a5370]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x14006ae7b
call method.sf.err__
mov r8d, 0x30
lea r12, [rsp + 0x78]
lea rdx, str.Failed_to_retrieve_pixel_buffer_device_context:
mov rcx, rax
lea r14, [rsp + 0x80]
mov r13, rax
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
mov edx, eax
call method.sf::priv.getErrorString_unsigned_long_
mov rcx, r12
call method.std::locale.locale__
lea rax, [rsp + 0xa0]
mov r8, r12
mov rdx, r14
mov rcx, rax
mov qword [rsp + 0x68], rax
call method.sf::String.toAnsiString_abi:cxx11__std::locale_const__const
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, r13
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
mov r13, rax
mov rax, qword [rax]
mov rax, qword [rax - 0x18]
mov r15, qword [r13 + rax + 0xf0]
test r15, r15
je 0x14006b234
cmp byte [r15 + 0x38], 0
je 0x14006b1fe
movsx edx, byte [r15 + 0x43]
mov rcx, r13
call method.std::ostream.put_char_
mov rcx, rax
call method.std::ostream.flush__
mov rcx, qword [rsp + 0xa0]
lea rax, [rsp + 0xb0]
cmp rcx, rax
je 0x14006afdd
mov rax, qword [rsp + 0xb0]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, r12
call fcn.14012d650
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x90]
cmp rcx, rax
je 0x14006b00f
mov rax, qword [rsp + 0x90]
lea rdx, [rax*4 + 4]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, qword [rbx + 0x38]
call qword [0x1401a5388]
mov qword [rbx + 0x38], 0
mov rax, qword [rbx + 0x40]
jmp 0x14006ae72
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0x88000000
xor ecx, ecx
mov dword [rsp + 0x38], edi
lea r8, [0x140166bb8]
mov qword [rsp + 0x50], rax
lea rdx, str.STATIC
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor edx, edx
mov qword [rbx + 0x30], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_GetDC]
mov byte [rbx + 0x50], 1
mov edx, ebp
mov rcx, rbx
mov qword [rbx + 0x40], rax
call method.sf::priv::WglContext.setDevicePixelFormat_unsigned_int_
jmp 0x14006ae7b
call method.sf.err__
mov r8d, 0x1f
lea r12, [rsp + 0x78]
lea rdx, str.Failed_to_create_pixel_buffer:
mov rcx, rax
lea r14, [rsp + 0x80]
mov r13, rax
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
mov edx, eax
call method.sf::priv.getErrorString_unsigned_long_
mov rcx, r12
call method.std::locale.locale__
lea rax, [rsp + 0xa0]
mov r8, r12
mov rdx, r14
mov rcx, rax
mov qword [rsp + 0x68], rax
call method.sf::String.toAnsiString_abi:cxx11__std::locale_const__const
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, r13
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
mov r13, rax
mov rax, qword [rax]
mov rax, qword [rax - 0x18]
mov r15, qword [r13 + rax + 0xf0]
test r15, r15
je 0x14006b22f
cmp byte [r15 + 0x38], 0
je 0x14006b1cd
movsx edx, byte [r15 + 0x43]
mov rcx, r13
call method.std::ostream.put_char_
mov rcx, rax
call method.std::ostream.flush__
mov rcx, qword [rsp + 0xa0]
lea rax, [rsp + 0xb0]
cmp rcx, rax
je 0x14006b192
mov rax, qword [rsp + 0xb0]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, r12
call fcn.14012d650
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x90]
cmp rcx, rax
je 0x14006ae6e
mov rax, qword [rsp + 0x90]
lea rdx, [rax*4 + 4]
call sym.operator_delete_void__unsigned_long_long_
jmp 0x14006ae6e
mov rcx, r15
call method.std::ctype_char_._M_widen_init___const
mov rax, qword [r15]
lea rcx, [method.std::ctype_char_.do_widen_char__const]
mov edx, 0xa
mov rax, qword [rax + 0x30]
cmp rax, rcx
je 0x14006b15c
mov rcx, r15
call rax
movsx edx, al
jmp 0x14006b15c
mov rcx, r15
call method.std::ctype_char_._M_widen_init___const
mov rax, qword [r15]
lea rcx, [method.std::ctype_char_.do_widen_char__const]
mov edx, 0xa
mov rax, qword [rax + 0x30]
cmp rax, rcx
je 0x14006afa7
mov rcx, r15
call rax
movsx edx, al
jmp 0x14006afa7
call method.std.__throw_bad_cast__
call method.std.__throw_bad_cast__
mov rbx, rax
jmp 0x14015592c