Function at 0x4b8ba0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55821d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [str.OpenGL]
push ebx
mov dword [ebp - 0x38], eax
mov ax, word [0x56a534]
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 6
mov word [ebp - 0x34], ax
mov byte [ebp - 0x32], 0
push 0xa
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
xorps xmm0, xmm0
mov word [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.0052112b
add esp, 0xc
lea ecx, [ebp - 0x38]
push 1
push 0x561b34
call fcn.004062d0
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8c20
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004062d0
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push 0xa
push eax
push ebx
call fcn.0052112b
add esp, 0xc
lea ecx, [ebp - 0x38]
push 1
push 0x561b34
call fcn.004062d0
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8c60
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004062d0
push 0xa
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x18]
call fcn.0052112b
add esp, 0xc
lea ecx, [ebp - 0x38]
push 1
push 0x561b34
call fcn.004062d0
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8ca0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004062d0
push 0xa
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x1c]
call fcn.0052112b
add esp, 0xc
lea ecx, [ebp - 0x38]
push 1
push 0x561b34
call fcn.004062d0
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8ce0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004062d0
push 4
push str..bmp
lea ecx, [ebp - 0x38]
call fcn.004062d0
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
test edi, edi
jne 0x4b8d35
mov eax, str.Can_not_create_display_DC
push eax
push 8
push 8
call fcn.004204c0
add esp, 0xc
xor bl, bl
jmp 0x4b8e32
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
jne 0x4b8d5b
mov eax, str.Can_not_create_compatible_DC
push eax
push 8
push 8
call fcn.004204c0
add esp, 0xc
xor bl, bl
jmp 0x4b8e32
push ebx
push dword [ebp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
jne 0x4b8d83
mov eax, str.Can_not_create_compatible_bitmap
push eax
push 8
push 8
call fcn.004204c0
add esp, 0xc
xor bl, bl
jmp 0x4b8e32
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
test ebx, ebx
jne 0x4b8daa
mov eax, str.Can_not_select_old_object
push eax
push 8
push 8
call fcn.004204c0
add esp, 0xc
xor bl, bl
jmp 0x4b8e32
push 0xcc0020
push 0
push 0
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4b8ddf
mov eax, str.Can_not_read_screen_memory
push eax
push 8
push 8
call fcn.004204c0
add esp, 0xc
xor bl, bl
jmp 0x4b8e32
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
test ebx, ebx
jne 0x4b8e03
mov eax, str.Can_not_select_object
push eax
push 8
push 8
call fcn.004204c0
add esp, 0xc
xor bl, bl
jmp 0x4b8e32
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push ebx
cmovae eax, dword [ebp - 0x38]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00408370
mov ecx, dword [ebp - 0x10]
call fcn.004b89d0
mov bl, al
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x4b8e62
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b8e58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b8e77
push edx
push ecx
call fcn.004c824c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004f1161
int3