Function at 0x180044860
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1801519f8]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor ebx, ebx
lea rcx, [0x1800fa590]
mov edi, ebx
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180044d4f
lea rdx, str.wglCreateContext
mov qword [rsp + 0x160], r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x180044d2b
lea rdx, str.wglDeleteContext
mov qword [rsp + 0x168], r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov r13, rax
test rax, rax
je 0x180044d23
lea rdx, str.wglMakeCurrent
mov qword [rsp + 0x170], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x180044d1b
lea rdx, str.wglGetProcAddress
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x180044ccb
xor ecx, ecx
mov qword [rbp - 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movdqa xmm1, xmmword [0x1800fa730]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rbp - 0x48], rax
lea rax, str.qtopengltest
mov qword [rbp - 0x10], rax
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x50], 0x20
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x180044ccb
mov rax, qword [rbp - 0x38]
lea r8, str.qtopenglproxytest
mov qword [rsp + 0x58], rbx
lea rdx, str.qtopengltest
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x1e0
mov dword [rsp + 0x30], 0x280
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x180044ccb
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x180044ccb
xorps xmm0, xmm0
lea rdx, [rbp]
movups xmmword [rbp], xmm0
xor eax, eax
mov dword [rbp], 0x10028
mov rcx, rdi
mov dword [rbp + 4], 0x64
mov byte [rbp + 8], al
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x180044ccb
lea r8, [rbp]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x180044ccb
mov rcx, rdi
call r12
mov r14, rax
test rax, rax
je 0x180044ccb
mov rdx, rax
mov rcx, rdi
call r15
test eax, eax
je 0x180044ccb
lea rdx, str.glGetString
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180044bee
mov ecx, 0x1f02
call rax
test rax, rax
je 0x180044c30
mov r8d, 0xffffffff
lea rcx, [rsp + 0x60]
mov rdx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64]
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov dl, 0x2e
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QByteArray::indexOf_char__int_const___ptr64]
mov r13d, eax
cmp eax, 0xffffffff
je 0x180044bdc
lea r8d, [rax + 1]
mov dl, 0x2e
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QByteArray::indexOf_char__int_const___ptr64]
mov esi, eax
cmp eax, 0xffffffff
jne 0x180044ad8
mov rcx, qword [rsp + 0x60]
mov esi, dword [rcx + 4]
mov r9d, r13d
lea rdx, [rsp + 0x70]
xor r8d, r8d
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QByteArray::mid_int__int____ptr64]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0xa]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QByteArray::toInt_bool____ptr64__int_const___ptr64]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x68], eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
sub esi, r13d
lea r8d, [r13 + 1]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
lea r9d, [rsi - 1]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QByteArray::mid_int__int____ptr64]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0xa]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QByteArray::toInt_bool____ptr64__int_const___ptr64]
lea rcx, [rsp + 0x70]
mov esi, eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
call fcn.1800110f0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x180044b91
call fcn.1800110f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov r9d, esi
lea rdx, str.Basic_wglCreateContext_gives_version__d._d
mov esi, dword [rsp + 0x68]
mov rcx, rax
mov r8d, esi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const____ptr64_const___ptr64]
jmp 0x180044b95
mov esi, dword [rsp + 0x68]
cmp esi, 1
jne 0x180044bdc
call fcn.1800110f0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x180044bdc
call fcn.1800110f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.OpenGL_version_too_low
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const____ptr64_const___ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov r13, qword [rsp + 0x78]
jmp 0x180044c30
call fcn.1800110f0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x180044c30
call fcn.1800110f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.OpenGL_1.x_entry_points_not_found
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const____ptr64_const___ptr64]
lea rcx, str.glCreateShader
call qword [rbp - 0x80]
test rax, rax
je 0x180044c7d
mov sil, 1
call fcn.1800110f0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x180044cc2
call fcn.1800110f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
lea rdx, str.OpenGL_2.0_entry_points_available
jmp 0x180044cb9
xor sil, sil
call fcn.1800110f0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x180044cc2
call fcn.1800110f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
lea rdx, str.OpenGL_2.0_entry_points_not_found
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const____ptr64_const___ptr64]
xor edx, edx
xor ecx, ecx
call r15
jmp 0x180044cda
xor edx, edx
xor ecx, ecx
call r15
xor sil, sil
test r14, r14
je 0x180044ce0
mov rcx, r14
call r13
test rbx, rbx
je 0x180044d17
test rdi, rdi
je 0x180044cf6
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.qtopengltest
call qword [sym.imp.USER32.dll_UnregisterClassW]
movzx eax, sil
mov r15, qword [rsp + 0x170]
mov r13, qword [rsp + 0x168]
mov r12, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1800eea90
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800110f0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x180044d91
call fcn.1800110f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.Failed_to_load_opengl32.dll
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const____ptr64_const___ptr64]
xor al, al
jmp 0x180044d33