Function at 0x510101
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
xor edi, edi
push edi
call esi
push 1
call esi
push edi
push edi
push edi
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call esi
push edi
mov dword [ebp - 8], eax
call esi
lea esi, [ebx + 0x7c]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push eax
push ecx
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
call edi
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push eax
push ecx
push dword [ebp - 4]
call edi
push dword [ebp - 0x18]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
mov dword [ebp - 0x1c], eax
call edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x14]
call edi
push 0xcc0020
push dword [ebx + 0x80]
mov dword [ebp - 0x24], eax
push dword [esi]
mov eax, dword [esi + 0xc]
push dword [ebp - 4]
sub eax, dword [esi + 4]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push 0xcc0020
push dword [ebx + 0x80]
push dword [esi]
push dword [ebp - 4]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push eax
push ecx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
call edi
push 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ebx + 0x80]
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0x9a
mov byte [ebp - 0xd], 0
push dword [ebp - 0x10]
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
push eax
push ecx
push dword [ebp - 0xc]
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push dword [ebp - 8]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push dword [ebp - 0x20]
push dword [ebp - 8]
call edi
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x28]
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x30]
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
pop edi
mov dword [ebx], eax
pop esi
leave
ret