Function at 0x10042ed0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x24
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [str.libEGL]
mov dword [esp + 0x18], eax
mov ax, word [0x100df02c]
mov word [esp + 0x1c], ax
mov al, byte [0x100df02e]
push esi
mov esi, ecx
mov byte [esp + 0x22], al
call fcn.1000f9a0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x10042f58
call fcn.1000f9a0
lea ecx, [esp + 8]
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__]
lea ecx, [esp + 4]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.Qt:_Using_EGL_from
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x10042fbc
lea eax, [esp + 0x1c]
push eax
push str.Failed_to_load__s
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const__]
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100d4904
add esp, 0x24
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.eglGetError
push eax
call edi
mov ecx, dword [esi + 0x50]
mov dword [esi], eax
test ecx, ecx
je 0x10042fe1
push str.eglGetDisplay
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10042fe5
xor eax, eax
xor ecx, ecx
mov dword [esi + 4], eax
test ecx, ecx
je 0x10042ff9
push str.eglInitialize
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10042ffd
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
test ecx, ecx
je 0x10043011
push str.eglTerminate
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10043015
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x10043029
push str.eglChooseConfig
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x1004302d
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x10043041
push str.eglGetConfigAttrib
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10043045
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x10043059
push str.eglCreateWindowSurface
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x1004305d
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x18], eax
test ecx, ecx
je 0x10043071
push str.eglCreatePbufferSurface
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10043075
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x1c], eax
test ecx, ecx
je 0x10043089
push str.eglDestroySurface
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x1004308d
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x20], eax
test ecx, ecx
je 0x100430a1
push str.eglBindAPI
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x100430a5
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x24], eax
test ecx, ecx
je 0x100430b9
push str.eglSwapInterval
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x100430bd
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x100430d1
push str.eglCreateContext
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x100430d5
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
test ecx, ecx
je 0x100430e9
push str.eglDestroyContext
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x100430ed
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x10043101
push str.eglMakeCurrent
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10043105
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x34], eax
test ecx, ecx
je 0x10043119
push str.eglGetCurrentContext
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x1004311d
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x38], eax
test ecx, ecx
je 0x10043131
push str.eglGetCurrentSurface
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10043135
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x3c], eax
test ecx, ecx
je 0x10043149
push str.eglGetCurrentDisplay
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x1004314d
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x40], eax
test ecx, ecx
je 0x10043161
push str.eglSwapBuffers
push ecx
call edi
mov ecx, dword [esi + 0x50]
jmp 0x10043165
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x44], eax
test ecx, ecx
je 0x10043176
push str.eglGetProcAddress
push ecx
call edi
jmp 0x10043178
xor eax, eax
cmp dword [esi], 0
mov dword [esi + 0x48], eax
pop edi
je 0x10042faa
cmp dword [esi + 4], 0
je 0x10042faa
cmp dword [esi + 8], 0
je 0x10042faa
test eax, eax
je 0x10042faa
push str.eglGetPlatformDisplayEXT
mov dword [esi + 0x4c], 0
call eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x4c], eax
mov al, 1
pop esi
xor ecx, esp
call fcn.100d4904
add esp, 0x24
ret