Function at 0x55d67e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x55d833
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x55d6ca
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], eax
push 0
push 1
push 1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [0x6f24e0]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SetDIBits]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x55d76e
push 0
push 0x61c578
push str.SetDIBitsToDevice_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
not eax
and eax, 0xff
mov ecx, dword [ebp + 0x20]
not ecx
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov edx, dword [ebp + 0x24]
not edx
and edx, 0xff
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x55d7f2
push 0
push str.Error
push str.BitBlt_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esp, ebp
pop ebp
ret