Function at 0x453b70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp], str.opengl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
sub esp, 4
test eax, eax
mov dword [0x4a5f28], eax
je 0x453e50
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], str.wglCreateContext
mov dword [esp], eax
call ebx
mov dword [0x4a5f2c], eax
mov eax, dword [0x4a5f28]
sub esp, 8
mov dword [esp + 4], str.wglDeleteContext
mov dword [esp], eax
call ebx
mov dword [0x4a5f30], eax
mov eax, dword [0x4a5f28]
sub esp, 8
mov dword [esp + 4], str.wglGetProcAddress
mov dword [esp], eax
call ebx
mov dword [0x4a5f34], eax
mov eax, dword [0x4a5f28]
sub esp, 8
mov dword [esp + 4], str.wglGetCurrentDC
mov dword [esp], eax
call ebx
mov dword [0x4a5f38], eax
mov eax, dword [0x4a5f28]
sub esp, 8
mov dword [esp + 4], str.wglGetCurrentContext
mov dword [esp], eax
call ebx
mov dword [0x4a5f3c], eax
mov eax, dword [0x4a5f28]
sub esp, 8
mov dword [esp + 4], str.wglMakeCurrent
mov dword [esp], eax
call ebx
mov dword [0x4a5f40], eax
mov eax, dword [0x4a5f28]
sub esp, 8
mov dword [esp + 4], str.wglShareLists
mov dword [esp], eax
call ebx
mov dword [0x4a5f44], eax
mov eax, dword [0x4a5108]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDC]
xor edx, edx
mov esi, eax
sub esp, 4
xor eax, eax
mov dword [esp + eax + 0x20], edx
add eax, 4
cmp eax, 0x20
jb 0x453c62
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x10028
mov dword [esp + 0x1c], 0x25
mov byte [esp + 0x21], 0x18
mov dword [esp], esi
mov dword [esp + 4], ebx
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
sub esp, 8
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
sub esp, 0xc
test eax, eax
je 0x453e6e
mov dword [esp], esi
call dword [0x4a5f2c]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x453ec4
call dword [0x4a5f38]
mov edi, eax
call dword [0x4a5f3c]
mov dword [esp + 4], ebx
mov ebp, eax
mov dword [esp], esi
call dword [0x4a5f40]
sub esp, 8
test eax, eax
je 0x453e90
mov dword [esp], str.wglGetExtensionsStringEXT
call dword [0x4a5f34]
sub esp, 4
mov dword [0x4a5f50], eax
mov dword [esp], str.wglGetExtensionsStringARB
call dword [0x4a5f34]
sub esp, 4
mov dword [0x4a5f54], eax
mov dword [esp], str.wglCreateContextAttribsARB
call dword [0x4a5f34]
sub esp, 4
mov dword [0x4a5f58], eax
mov dword [esp], str.wglSwapIntervalEXT
call dword [0x4a5f34]
sub esp, 4
mov dword [0x4a5f48], eax
mov dword [esp], str.wglGetPixelFormatAttribivARB
call dword [0x4a5f34]
sub esp, 4
mov dword [0x4a5f4c], eax
mov dword [esp], str.WGL_ARB_multisample
call fcn.0044c620
mov dword [esp], str.WGL_ARB_framebuffer_sRGB
mov dword [0x4a5f64], eax
call fcn.0044c620
mov dword [esp], str.WGL_EXT_framebuffer_sRGB
mov dword [0x4a5f68], eax
call fcn.0044c620
mov dword [esp], str.WGL_ARB_create_context
mov dword [0x4a5f6c], eax
call fcn.0044c620
mov dword [esp], str.WGL_ARB_create_context_profile
mov dword [0x4a5f74], eax
call fcn.0044c620
mov dword [esp], str.WGL_EXT_create_context_es2_profile
mov dword [0x4a5f78], eax
call fcn.0044c620
mov dword [esp], str.WGL_ARB_create_context_robustness
mov dword [0x4a5f7c], eax
call fcn.0044c620
mov dword [esp], str.WGL_ARB_create_context_no_error
mov dword [0x4a5f80], eax
call fcn.0044c620
mov dword [esp], str.WGL_EXT_swap_control
mov dword [0x4a5f84], eax
call fcn.0044c620
mov dword [esp], str.WGL_EXT_colorspace
mov dword [0x4a5f5c], eax
call fcn.0044c620
mov dword [esp], str.WGL_ARB_pixel_format
mov dword [0x4a5f60], eax
call fcn.0044c620
mov dword [esp], str.WGL_ARB_context_flush_control
mov dword [0x4a5f70], eax
call fcn.0044c620
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [0x4a5f88], eax
call dword [0x4a5f40]
sub esp, 8
mov dword [esp], ebx
call dword [0x4a5f30]
sub esp, 4
mov eax, 1
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.WGL:_Failed_to_load_opengl32.dll
mov dword [esp], 0x10008
call fcn.004530f0
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.WGL:_Failed_to_set_pixel_format_for_dummy_context
mov dword [esp], 0x10008
call fcn.004530f0
xor eax, eax
jmp 0x453e66
mov dword [esp + 4], str.WGL:_Failed_to_make_dummy_context_current
mov dword [esp], 0x10008
call fcn.004530f0
mov dword [esp + 4], ebp
mov dword [esp], edi
call dword [0x4a5f40]
sub esp, 8
mov dword [esp], ebx
call dword [0x4a5f30]
xor eax, eax
sub esp, 4
jmp 0x453e66
mov dword [esp + 4], str.WGL:_Failed_to_create_dummy_context
mov dword [esp], 0x10008
call fcn.004530f0
xor eax, eax
jmp 0x453e66