Function at 0x140006460
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x14000c038]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::constructor_struct__iobuf____ptr64__class_QFlags_enum_QIODeviceBase::OpenModeFlag_____ptr64]
nop
lea rcx, str.Gdi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rbp - 0x58], rax
lea rcx, str.Opengl32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], 1
test rsi, rsi
je 0x1400069da
test rax, rax
je 0x1400069da
lea rdx, str.CreateICW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400069d1
lea rdx, str.DeleteDC
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400069d1
lea rdx, str.ChoosePixelFormat
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x68], rax
test rax, rax
je 0x1400069d1
lea rdx, str.SetPixelFormat
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400069d1
lea rdx, str.wglCreateContext
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400069d1
lea rdx, str.wglDeleteContext
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400069d1
lea rdx, str.wglMakeCurrent
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1400069d1
lea rdx, str.glGetString
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x1400069d1
xor edx, edx
mov r8d, 0x344
lea rcx, [rbp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x30], 0x348
xor r12d, r12d
mov r13d, r12d
xor r9d, r9d
lea r8, [rbp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x1400069fb
mov rsi, qword [rsp + 0x78]
mov r14, qword [rbp - 0x80]
nop word [rax + rax]
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x74]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__long_long___int64__]
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll__trimmed_QString__QEHAA_AV1_XZ]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x34]
lea rcx, [rbp + 0x18]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__long_long___int64__]
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll__trimmed_QString__QEHAA_AV1_XZ]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, str.Intel
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QString::indexOf_class_QString_const____ptr64__long_long___int64___enum_Qt::CaseSensitivity_const___ptr64]
mov rbx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, 0xffffffffffffffff
jne 0x140006993
lea rdx, str.OGL_API_Version:_Device_Name:
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
mov eax, dword [rbp + 0x174]
test al, 0x20
je 0x140006731
lea rdx, str.Removable_device
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
mov eax, dword [rbp + 0x174]
test al, 4
je 0x14000675e
lea rdx, str.Primary_device
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
xor edx, edx
xor ecx, ecx
call rdi
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdi
mov rax, qword [rbp - 0x70]
mov qword [rbp - 8], rax
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov byte [rbp + 0x10], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x34]
xor ecx, ecx
call r14
mov rbx, rax
test rax, rax
jne 0x1400067c3
lea rdx, str.DC_creation_failed
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
nop
xor edx, edx
xor ecx, ecx
call rdi
nop
jmp 0x140006993
lea rdx, section..data
mov rcx, rbx
call qword [rbp - 0x68]
lea r8, section..data
mov edx, eax
mov rcx, rbx
call qword [rbp - 0x60]
test eax, eax
jne 0x14000680b
lea rdx, str.SetPixelFormat___failed
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
nop
xor edx, edx
xor ecx, ecx
call rdi
nop
jmp 0x140006993
mov rcx, rbx
call rsi
test rax, rax
jne 0x14000683d
lea rdx, str.Context_creation_failed
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
nop
xor edx, edx
xor ecx, ecx
call rdi
nop
jmp 0x140006993
mov rdx, rax
mov rcx, rbx
call rdi
test eax, eax
jne 0x140006871
lea rdx, str.Context_MakeCurrent_failed
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
nop
xor edx, edx
xor ecx, ecx
call rdi
nop
jmp 0x140006993
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov ecx, 0x1f00
call r15
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x40], 0
jg 0x1400068af
lea rdx, str.Vendor_retrieval_failed
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
jmp 0x1400068ca
lea rdx, str.OGL_API_Version:_Vendor:
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
mov ecx, 0x1f01
call r15
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x40], 0
jg 0x140006905
lea rdx, str.Renderer_retrieval_failed
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
jmp 0x140006920
lea rdx, str.OGL_API_Version:_Renderer:
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
mov ecx, 0x1f02
call r15
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x40], 0
jg 0x14000695b
lea rdx, str.Version_retrieval_failed
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
jmp 0x140006976
lea rdx, str.OGL_API_Version:_Version:
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
xor edx, edx
xor ecx, ecx
call rdi
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
inc r13d
xor r9d, r9d
lea r8, [rbp + 0x30]
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
jne 0x140006630
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x50]
jmp 0x1400069fb
lea rdx, str.Could_not_load_Gdi_OpenGL_function_
jmp 0x1400069e1
lea rdx, str.Could_not_load_Gdi_OpenGL_DLL_
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_class_QTextStream____ptr64___cdecl_Qt::endl_class_QTextStream____ptr64_]
mov r12d, 0xffffffff
test rsi, rsi
je 0x140006a09
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r14, r14
je 0x140006a18
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
mov eax, r12d
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140006ed0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret