Function at 0x42ab0e
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x453740
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4c7890]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4ca2f0], 0
push esi
push edi
jne 0x453a43
push str.opengl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4ca2f0], eax
test eax, eax
jne 0x4537ad
push str.WGL:_Failed_to_load_opengl32.dll
push 0x10008
call fcn.0042a294
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a799
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.wglCreateContext
push eax
call esi
push str.wglDeleteContext
push dword [0x4ca2f0]
mov dword [0x4ca2f4], eax
call esi
push str.wglGetProcAddress
push dword [0x4ca2f0]
mov dword [0x4ca2f8], eax
call esi
push str.wglGetCurrentDC
push dword [0x4ca2f0]
mov dword [0x4ca2fc], eax
call esi
push str.wglGetCurrentContext
push dword [0x4ca2f0]
mov dword [0x4ca300], eax
call esi
push str.wglMakeCurrent
push dword [0x4ca2f0]
mov dword [0x4ca304], eax
call esi
push str.wglShareLists
push dword [0x4ca2f0]
mov dword [0x4ca308], eax
call esi
push dword [0x4c94cc]
mov dword [0x4ca30c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
push eax
push eax
push edi
movaps xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x40], 0x10028
mov dword [ebp - 0x3c], 0x25
mov word [ebp - 0x38], 0x1800
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
jne 0x45389d
push str.WGL:_Failed_to_set_pixel_format_for_dummy_context
push 0x10008
call fcn.0042a294
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a799
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push edi
call dword [0x4ca2f4]
mov esi, eax
test esi, esi
jne 0x4538d1
push str.WGL:_Failed_to_create_dummy_context
push 0x10008
call fcn.0042a294
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a799
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [0x4ca300]
mov dword [ebp - 0x48], eax
call dword [0x4ca304]
push esi
push edi
mov dword [ebp - 0x44], eax
call dword [0x4ca308]
test eax, eax
jne 0x453929
push str.WGL:_Failed_to_make_dummy_context_current
push 0x10008
call fcn.0042a294
add esp, 8
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call dword [0x4ca308]
push esi
call dword [0x4ca2f8]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a799
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x4a303c
call dword [0x4ca2fc]
push 0x4a305c
mov dword [0x4ca318], eax
call dword [0x4ca2fc]
push 0x4a307c
mov dword [0x4ca31c], eax
call dword [0x4ca2fc]
push 0x4a309c
mov dword [0x4ca320], eax
call dword [0x4ca2fc]
push 0x4a30b4
mov dword [0x4ca310], eax
call dword [0x4ca2fc]
push 0x4a30d8
mov dword [0x4ca314], eax
call fcn.004546b0
push 0x4a30f0
mov dword [0x4ca32c], eax
call fcn.004546b0
push 0x4a3110
mov dword [0x4ca330], eax
call fcn.004546b0
push 0x4a3130
mov dword [0x4ca334], eax
call fcn.004546b0
push 0x4a314c
mov dword [0x4ca33c], eax
call fcn.004546b0
push 0x4a3174
mov dword [0x4ca340], eax
call fcn.004546b0
push 0x4a31a0
mov dword [0x4ca344], eax
call fcn.004546b0
push 0x4a31c8
mov dword [0x4ca348], eax
call fcn.004546b0
push 0x4a31f0
mov dword [0x4ca34c], eax
call fcn.004546b0
push 0x4a320c
mov dword [0x4ca324], eax
call fcn.004546b0
push 0x4a3224
mov dword [0x4ca328], eax
call fcn.004546b0
push 0x4a3240
mov dword [0x4ca338], eax
call fcn.004546b0
add esp, 0x30
mov dword [0x4ca350], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call dword [0x4ca308]
push esi
call dword [0x4ca2f8]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0042a799
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret