Function at 0x1003d230
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
xor esi, esi
mov byte [esp + 0x13], 0
push str.opengl32.dll
xor edi, edi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1003d684
push str.wglCreateContext
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1003d6bc
push str.wglDeleteContext
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x40], eax
test eax, eax
je 0x1003d6bc
push str.wglMakeCurrent
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1003d6bc
push str.wglGetProcAddress
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1003d628
push esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movaps xmm0, xmmword [0x100de340]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], str.qtopengltest
mov dword [esp + 0x5c], 0x20
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x1003d628
push esi
push dword [esp + 0x6c]
push esi
push esi
push 0x1e0
push 0x280
push esi
push esi
push esi
push str.qtopenglproxytest
push str.qtopengltest
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x1003d628
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x1003d628
xorps xmm0, xmm0
lea eax, [esp + 0x80]
movaps xmmword [esp + 0x80], xmm0
push eax
push esi
movaps xmmword [esp + 0x98], xmm0
movq qword [esp + 0xa8], xmm0
mov dword [esp + 0x88], 0x10028
mov dword [esp + 0x8c], 0x64
mov byte [esp + 0x90], 0
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x1003d628
lea ecx, [esp + 0x80]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x1003d628
push esi
call dword [esp + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1003d628
push eax
push esi
call dword [esp + 0x34]
test eax, eax
je 0x1003d628
push str.glGetString
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const__const]
test eax, eax
je 0x1003d568
push 0x1f02
call eax
test eax, eax
je 0x1003d59c
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push 0
push 0x2e
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::indexOf_char__int_const]
mov esi, eax
mov dword [esp + 0x38], esi
cmp esi, 0xffffffff
je 0x1003d55c
lea eax, [esi + 1]
push eax
push 0x2e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::indexOf_char__int_const]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x1003d476
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::mid_int__int_]
lea eax, [esp + 0x34]
push esi
push 0
push eax
lea ecx, [esp + 0x20]
call edi
mov esi, dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::toInt_bool___int_const]
mov ecx, eax
push 0xa
push 0
call esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
sub eax, dword [esp + 0x38]
dec eax
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
call edi
push 0xa
push 0
mov ecx, eax
call esi
lea ecx, [esp + 0x24]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
call fcn.1000f9a0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x1003d515
call fcn.1000f9a0
lea ecx, [esp + 0x44]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
mov edi, dword [esp + 0x1c]
push esi
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const__const]
push edi
push str.Basic_wglCreateContext_gives_version__d._d
push eax
call esi
add esp, 0x10
jmp 0x1003d51f
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const__const]
mov edi, dword [esp + 0x1c]
cmp edi, 1
jne 0x1003d558
call fcn.1000f9a0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x1003d558
call fcn.1000f9a0
lea ecx, [esp + 0x44]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
push str.OpenGL_version_too_low
push eax
call esi
add esp, 8
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
jmp 0x1003d59c
call fcn.1000f9a0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x1003d59c
call fcn.1000f9a0
lea ecx, [esp + 0x44]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
push str.OpenGL_1.x_entry_points_not_found
push eax
call esi
add esp, 8
push str.glCreateShader
call dword [esp + 0x40]
mov esi, eax
call fcn.1000f9a0
mov ecx, eax
test esi, esi
je 0x1003d5e8
mov byte [esp + 0x13], 1
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x1003d624
call fcn.1000f9a0
lea ecx, [esp + 0x44]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
push str.OpenGL_2.0_entry_points_available
push eax
mov eax, dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const__const]
call eax
jmp 0x1003d621
mov byte [esp + 0x13], 0
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x1003d624
call fcn.1000f9a0
lea ecx, [esp + 0x44]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
push str.OpenGL_2.0_entry_points_not_found
push eax
mov eax, dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const__const]
call eax
mov byte [esp + 0x1b], 0
add esp, 8
mov esi, dword [esp + 0x18]
push 0
push 0
call dword [esp + 0x34]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1003d63d
push eax
call dword [esp + 0x44]
test esi, esi
je 0x1003d64d
test edi, edi
je 0x1003d6bc
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
test edi, edi
je 0x1003d6bc
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push str.qtopengltest
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov al, byte [esp + 0x13]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100d4904
mov esp, ebp
pop ebp
ret
call fcn.1000f9a0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x1003d6bc
call fcn.1000f9a0
lea ecx, [esp + 0x44]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
push str.Failed_to_load_opengl32.dll
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const__const]
add esp, 8
mov ecx, dword [esp + 0xbc]
mov al, byte [esp + 0x13]
pop edi
pop esi
xor ecx, esp
call fcn.100d4904
mov esp, ebp
pop ebp
ret