Function at 0x1401931bc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140209000]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
cmp qword [0x140210db8], rbx
je 0x1401931f6
lea eax, [rbx + 1]
jmp 0x1401934ec
lea rcx, str.opengl32.dll
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x140210db8], rax
test rax, rax
jne 0x140193226
lea rdx, str.WGL:_Failed_to_load_opengl32.dll
mov ecx, 0x10008
call fcn.140191230
xor eax, eax
jmp 0x1401934ec
lea rdx, str.wglCreateContext
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140210db8]
lea rdx, str.wglDeleteContext
mov qword [0x140210dc0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140210db8]
lea rdx, str.wglGetProcAddress
mov qword [0x140210dc8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140210db8]
lea rdx, str.wglGetCurrentDC
mov qword [0x140210dd0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140210db8]
lea rdx, str.wglGetCurrentContext
mov qword [0x140210dd8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140210db8]
lea rdx, str.wglMakeCurrent
mov qword [0x140210de0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140210db8]
lea rdx, str.wglShareLists
mov qword [0x140210de8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14020fca0]
mov qword [0x140210df0], rax
call qword [sym.imp.USER32.dll_GetDC]
xor edx, edx
lea rcx, [rsp + 0x20]
mov rbp, rax
lea r8d, [rdx + 0x28]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x10028
mov rcx, rbp
mov dword [rsp + 0x24], 0x25
mov esi, 1
mov word [rsp + 0x28], 0x1800
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
lea r8, [rsp + 0x20]
mov rcx, rbp
mov edx, eax
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
jne 0x140193342
lea rdx, str.WGL:_Failed_to_set_pixel_format_for_dummy_context
jmp 0x140193215
mov rcx, rbp
call qword [0x140210dc0]
mov rdi, rax
test rax, rax
jne 0x14019335f
lea rdx, str.WGL:_Failed_to_create_dummy_context
jmp 0x140193215
call qword [0x140210dd8]
mov r14, rax
call qword [0x140210de0]
mov rdx, rdi
mov rcx, rbp
mov r15, rax
call qword [0x140210de8]
test eax, eax
jne 0x140193397
lea rdx, str.WGL:_Failed_to_make_dummy_context_current
mov ecx, 0x10008
call fcn.140191230
jmp 0x1401934d5
lea rcx, str.wglGetExtensionsStringEXT
call qword [0x140210dd0]
lea rcx, str.wglGetExtensionsStringARB
mov qword [0x140210e08], rax
call qword [0x140210dd0]
lea rcx, str.wglCreateContextAttribsARB
mov qword [0x140210e10], rax
call qword [0x140210dd0]
lea rcx, str.wglSwapIntervalEXT
mov qword [0x140210e18], rax
call qword [0x140210dd0]
lea rcx, str.wglGetPixelFormatAttribivARB
mov qword [0x140210df8], rax
call qword [0x140210dd0]
lea rcx, str.WGL_ARB_multisample
mov qword [0x140210e00], rax
call fcn.140193b18
lea rcx, str.WGL_ARB_framebuffer_sRGB
mov dword [0x140210e28], eax
call fcn.140193b18
lea rcx, str.WGL_EXT_framebuffer_sRGB
mov dword [0x140210e2c], eax
call fcn.140193b18
lea rcx, str.WGL_ARB_create_context
mov dword [0x140210e30], eax
call fcn.140193b18
lea rcx, str.WGL_ARB_create_context_profile
mov dword [0x140210e38], eax
call fcn.140193b18
lea rcx, str.WGL_EXT_create_context_es2_profile
mov dword [0x140210e3c], eax
call fcn.140193b18
lea rcx, str.WGL_ARB_create_context_robustness
mov dword [0x140210e40], eax
call fcn.140193b18
lea rcx, str.WGL_ARB_create_context_no_error
mov dword [0x140210e44], eax
call fcn.140193b18
lea rcx, str.WGL_EXT_swap_control
mov dword [0x140210e48], eax
call fcn.140193b18
lea rcx, str.WGL_EXT_colorspace
mov dword [0x140210e20], eax
call fcn.140193b18
lea rcx, str.WGL_ARB_pixel_format
mov dword [0x140210e24], eax
call fcn.140193b18
lea rcx, str.WGL_ARB_context_flush_control
mov dword [0x140210e34], eax
call fcn.140193b18
mov dword [0x140210e4c], eax
mov ebx, esi
mov rdx, r15
mov rcx, r14
call qword [0x140210de8]
mov rcx, rdi
call qword [0x140210dc8]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401981a0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret