Function at 0x1800053a0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1800350c8]
lea rdx, str.wglGetProcAddress
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ea0], rax
test rax, rax
jne 0x1800053dc
lea rcx, str.init_gl_functions:_failed_to_get_wglGetProcAddress
call fcn.1800023b0
xor al, al
add rsp, 0x20
pop rbx
ret
lea rcx, str.wglMakeCurrent
call rax
test rax, rax
jne 0x1800053fe
mov rcx, qword [0x1800350c8]
lea rdx, str.wglMakeCurrent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ea8], rax
test rax, rax
jne 0x180005426
lea r8, str.wglMakeCurrent
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.wglGetCurrentDC
call qword [0x180034ea0]
test rax, rax
jne 0x18000544c
mov rcx, qword [0x1800350c8]
lea rdx, str.wglGetCurrentDC
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034eb0], rax
test rax, rax
jne 0x180005474
lea r8, str.wglGetCurrentDC
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.wglGetCurrentContext
call qword [0x180034ea0]
test rax, rax
jne 0x18000549a
mov rcx, qword [0x1800350c8]
lea rdx, str.wglGetCurrentContext
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034eb8], rax
test rax, rax
jne 0x1800054c2
lea r8, str.wglGetCurrentContext
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glTexImage2D
call qword [0x180034ea0]
test rax, rax
jne 0x1800054e8
mov rcx, qword [0x1800350c8]
lea rdx, str.glTexImage2D
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034e70], rax
test rax, rax
jne 0x180005510
lea r8, str.glTexImage2D
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glReadBuffer
call qword [0x180034ea0]
test rax, rax
jne 0x180005536
mov rcx, qword [0x1800350c8]
lea rdx, str.glReadBuffer
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034e80], rax
test rax, rax
jne 0x18000555e
lea r8, str.glReadBuffer
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glGetTexImage
call qword [0x180034ea0]
test rax, rax
jne 0x180005584
mov rcx, qword [0x1800350c8]
lea rdx, str.glGetTexImage
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034e78], rax
test rax, rax
jne 0x1800055ac
lea r8, str.glGetTexImage
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glDrawBuffer
call qword [0x180034ea0]
test rax, rax
jne 0x1800055d2
mov rcx, qword [0x1800350c8]
lea rdx, str.glDrawBuffer
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034e88], rax
test rax, rax
jne 0x1800055fa
lea r8, str.glDrawBuffer
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glGetError
call qword [0x180034ea0]
test rax, rax
jne 0x180005620
mov rcx, qword [0x1800350c8]
lea rdx, str.glGetError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034e98], rax
test rax, rax
jne 0x180005648
lea r8, str.glGetError
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glBufferData
call qword [0x180034ea0]
test rax, rax
jne 0x18000566e
mov rcx, qword [0x1800350c8]
lea rdx, str.glBufferData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ec0], rax
test rax, rax
jne 0x180005696
lea r8, str.glBufferData
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glDeleteBuffers
call qword [0x180034ea0]
test rax, rax
jne 0x1800056bc
mov rcx, qword [0x1800350c8]
lea rdx, str.glDeleteBuffers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ec8], rax
test rax, rax
jne 0x1800056e4
lea r8, str.glDeleteBuffers
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glDeleteTextures
call qword [0x180034ea0]
test rax, rax
jne 0x18000570a
mov rcx, qword [0x1800350c8]
lea rdx, str.glDeleteTextures
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ed0], rax
test rax, rax
jne 0x180005732
lea r8, str.glDeleteTextures
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glGenBuffers
call qword [0x180034ea0]
test rax, rax
jne 0x180005758
mov rcx, qword [0x1800350c8]
lea rdx, str.glGenBuffers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ed8], rax
test rax, rax
jne 0x180005780
lea r8, str.glGenBuffers
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glGenTextures
call qword [0x180034ea0]
test rax, rax
jne 0x1800057a6
mov rcx, qword [0x1800350c8]
lea rdx, str.glGenTextures
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ee0], rax
test rax, rax
jne 0x1800057ce
lea r8, str.glGenTextures
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glMapBuffer
call qword [0x180034ea0]
test rax, rax
jne 0x1800057f4
mov rcx, qword [0x1800350c8]
lea rdx, str.glMapBuffer
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ee8], rax
test rax, rax
jne 0x18000581c
lea r8, str.glMapBuffer
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glUnmapBuffer
call qword [0x180034ea0]
test rax, rax
jne 0x180005842
mov rcx, qword [0x1800350c8]
lea rdx, str.glUnmapBuffer
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ef0], rax
test rax, rax
jne 0x18000586a
lea r8, str.glUnmapBuffer
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glBindBuffer
call qword [0x180034ea0]
test rax, rax
jne 0x180005890
mov rcx, qword [0x1800350c8]
lea rdx, str.glBindBuffer
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034ef8], rax
test rax, rax
jne 0x1800058b8
lea r8, str.glBindBuffer
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glGetIntegerv
call qword [0x180034ea0]
test rax, rax
jne 0x1800058de
mov rcx, qword [0x1800350c8]
lea rdx, str.glGetIntegerv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034e90], rax
test rax, rax
jne 0x180005906
lea r8, str.glGetIntegerv
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glBindTexture
call qword [0x180034ea0]
test rax, rax
jne 0x18000592c
mov rcx, qword [0x1800350c8]
lea rdx, str.glBindTexture
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034f00], rax
test rax, rax
jne 0x180005954
lea r8, str.glBindTexture
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glGenFramebuffers
call qword [0x180034ea0]
test rax, rax
jne 0x18000597a
mov rcx, qword [0x1800350c8]
lea rdx, str.glGenFramebuffers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034f08], rax
test rax, rax
jne 0x1800059a2
lea r8, str.glGenFramebuffers
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glDeleteFramebuffers
call qword [0x180034ea0]
test rax, rax
jne 0x1800059c8
mov rcx, qword [0x1800350c8]
lea rdx, str.glDeleteFramebuffers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034f10], rax
test rax, rax
jne 0x1800059f0
lea r8, str.glDeleteFramebuffers
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glBindFramebuffer
call qword [0x180034ea0]
test rax, rax
jne 0x180005a16
mov rcx, qword [0x1800350c8]
lea rdx, str.glBindFramebuffer
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034f18], rax
test rax, rax
jne 0x180005a3e
lea r8, str.glBindFramebuffer
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glBlitFramebuffer
call qword [0x180034ea0]
test rax, rax
jne 0x180005a64
mov rcx, qword [0x1800350c8]
lea rdx, str.glBlitFramebuffer
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034f20], rax
test rax, rax
jne 0x180005a8c
lea r8, str.glBlitFramebuffer
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
lea rcx, str.glFramebufferTexture2D
call qword [0x180034ea0]
test rax, rax
jne 0x180005ab2
mov rcx, qword [0x1800350c8]
lea rdx, str.glFramebufferTexture2D
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180034f28], rax
test rax, rax
jne 0x180005ada
lea r8, str.glFramebufferTexture2D
lea rdx, str.init_gl_functions
lea rcx, str._s:_failed_to_get_function__s
call fcn.1800023b0
xor bl, bl
call fcn.180005af0
movzx eax, bl
add rsp, 0x20
pop rbx
ret