Function at 0x14007e933
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov ebx, 1
cmp qword [0x1400f9c18], 0
je 0x14007e959
mov eax, ebx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov qword [0x1400f9c18], rax
test rax, rax
je 0x14007ec14
lea rdx, str.wglCreateContext
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1400f9c20], rax
lea rdx, str.wglDeleteContext
mov rcx, qword [0x1400f9c18]
call rbx
mov qword [0x1400f9c28], rax
lea rdx, str.wglGetProcAddress
mov rcx, qword [0x1400f9c18]
call rbx
mov qword [0x1400f9c30], rax
lea rdx, str.wglGetCurrentDC
mov rcx, qword [0x1400f9c18]
call rbx
mov qword [0x1400f9c38], rax
lea rdx, str.wglGetCurrentContext
mov rcx, qword [0x1400f9c18]
call rbx
mov qword [0x1400f9c40], rax
lea rdx, str.wglMakeCurrent
mov rcx, qword [0x1400f9c18]
call rbx
mov qword [0x1400f9c48], rax
lea rdx, str.wglShareLists
mov rcx, qword [0x1400f9c18]
call rbx
mov qword [0x1400f9c50], rax
mov rcx, qword [0x1400f8b00]
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
lea rbx, [rsp + 0x20]
pxor xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x20], 0x28
mov word [rsp + 0x22], 1
mov dword [rsp + 0x24], 0x25
mov byte [rsp + 0x29], 0x18
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
mov edx, eax
mov r8, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SetPixelFormat]
mov ebx, eax
test eax, eax
je 0x14007ec2f
mov rcx, rsi
call qword [0x1400f9c20]
mov rdi, rax
test rax, rax
je 0x14007ec45
call qword [0x1400f9c38]
mov r12, rax
call qword [0x1400f9c40]
mov rbp, rax
mov rdx, rdi
mov rcx, rsi
call qword [0x1400f9c48]
mov ebx, eax
test eax, eax
je 0x14007ec60
lea rcx, str.wglGetExtensionsStringEXT
call qword [0x1400f9c30]
mov qword [0x1400f9c68], rax
lea rcx, str.wglGetExtensionsStringARB
call qword [0x1400f9c30]
mov qword [0x1400f9c70], rax
lea rcx, str.wglCreateContextAttribsARB
call qword [0x1400f9c30]
mov qword [0x1400f9c78], rax
lea rcx, str.wglSwapIntervalEXT
call qword [0x1400f9c30]
mov qword [0x1400f9c58], rax
lea rcx, str.wglGetPixelFormatAttribivARB
call qword [0x1400f9c30]
mov qword [0x1400f9c60], rax
lea rcx, str.WGL_ARB_multisample
call sym.extensionSupportedWGL
mov dword [0x1400f9c88], eax
lea rcx, str.WGL_ARB_framebuffer_sRGB
call sym.extensionSupportedWGL
mov dword [0x1400f9c8c], eax
lea rcx, str.WGL_EXT_framebuffer_sRGB
call sym.extensionSupportedWGL
mov dword [0x1400f9c90], eax
lea rcx, str.WGL_ARB_create_context
call sym.extensionSupportedWGL
mov dword [0x1400f9c98], eax
lea rcx, str.WGL_ARB_create_context_profile
call sym.extensionSupportedWGL
mov dword [0x1400f9c9c], eax
lea rcx, str.WGL_EXT_create_context_es2_profile
call sym.extensionSupportedWGL
mov dword [0x1400f9ca0], eax
lea rcx, str.WGL_ARB_create_context_robustness
call sym.extensionSupportedWGL
mov dword [0x1400f9ca4], eax
lea rcx, str.WGL_ARB_create_context_no_error
call sym.extensionSupportedWGL
mov dword [0x1400f9ca8], eax
lea rcx, str.WGL_EXT_swap_control
call sym.extensionSupportedWGL
mov dword [0x1400f9c80], eax
lea rcx, str.WGL_EXT_colorspace
call sym.extensionSupportedWGL
mov dword [0x1400f9c84], eax
lea rcx, str.WGL_ARB_pixel_format
call sym.extensionSupportedWGL
mov dword [0x1400f9c94], eax
lea rcx, str.WGL_ARB_context_flush_control
call sym.extensionSupportedWGL
mov dword [0x1400f9cac], eax
mov rdx, rbp
mov rcx, r12
call qword [0x1400f9c48]
mov rcx, rdi
call qword [0x1400f9c28]
mov ebx, 1
jmp 0x14007e94c
lea rdx, str.WGL:_Failed_to_load_opengl32.dll
mov ecx, 0x10008
call sym._glfwInputErrorWin32
mov ebx, 0
jmp 0x14007e94c
lea rdx, str.WGL:_Failed_to_set_pixel_format_for_dummy_context
mov ecx, 0x10008
call sym._glfwInputErrorWin32
jmp 0x14007e94c
lea rdx, str.WGL:_Failed_to_create_dummy_context
mov ecx, 0x10008
call sym._glfwInputErrorWin32
mov ebx, 0
jmp 0x14007e94c
lea rdx, str.WGL:_Failed_to_make_dummy_context_current
mov ecx, 0x10008
call sym._glfwInputErrorWin32
mov rdx, rbp
mov rcx, r12
call qword [0x1400f9c48]
mov rcx, rdi
call qword [0x1400f9c28]
jmp 0x14007e94c