Function at 0x533ed4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
mov dword [ebp - 0x18], eax
call edi
push dword [esi + 0x18]
push ebx
call edi
push 1
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
xor edi, edi
push edi
push edi
push edi
push edi
call ebx
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x533fa1
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
je 0x533fa1
mov edx, dword [esi]
push edi
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call dword [edx + 0x58]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call ebx
push 2
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x533ff0
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call dword [eax + 0x58]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call ebx
push 2
mov ebx, eax
push ebx
push dword [ebp - 4]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.GDI32.dll_GetRgnBox]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edx, dword [ebp + 8]
push edx
mov eax, esi
call fcn.00527989
test eax, eax
je 0x53408f
cmp dword [ebp + 0xc], edx
je 0x53408f
mov eax, dword [esi]
push edx
mov ecx, esi
call dword [eax + 0x44]
mov ebx, eax
mov eax, dword [ebx + 0x84]
push edi
push ecx
push eax
mov eax, esi
call fcn.00534d03
mov ecx, eax
add esp, 4
neg ecx
sbb ecx, ecx
neg ecx
mov eax, ebx
call fcn.0051b72c
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x53408f
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
push eax
push ecx
sub edx, eax
push edx
mov edx, dword [ebx + 0xc]
sub edx, ecx
push edx
push eax
push ecx
push dword [ebp - 8]
mov eax, esi
call fcn.00527713
mov eax, dword [ebx]
push edi
push edi
push dword [ebp - 8]
mov ecx, ebx
call dword [eax + 4]
push dword [ebp + 0xc]
mov eax, esi
call fcn.00527989
test eax, eax
je 0x534100
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov ebx, eax
push dword [ebx + 0x84]
mov eax, esi
call fcn.00534d03
neg eax
sbb eax, eax
inc eax
inc eax
mov ecx, eax
push edi
mov eax, ebx
call fcn.0051b72c
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x534100
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
push eax
push ecx
sub edx, eax
push edx
mov edx, dword [ebx + 0xc]
sub edx, ecx
push edx
push eax
push ecx
push dword [ebp - 8]
mov eax, esi
call fcn.00527713
mov eax, dword [ebx]
push edi
push edi
push dword [ebp - 8]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
push 0xcc0020
push eax
push ecx
push dword [ebp - 8]
sub edx, eax
push edx
mov edx, dword [ebp - 0x30]
sub edx, ecx
push edx
add eax, ebx
push eax
add ecx, edi
push ecx
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x14]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 0xc]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
leave
ret 8