Function at 0x42b840
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x42b85b
xor eax, eax
jmp 0x42b9f9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x38], edx
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
push 0x4f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jge 0x42b8a1
mov dword [ebp - 8], 0
cmp dword [ebp - 0x2c], 0
jge 0x42b8ae
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 4]
jle 0x42b8bc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0xc]
jle 0x42b8ca
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
push 0
push 0
push 0
push 0x46c570
call dword [sym.imp.GDI32.dll_CreateDCW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42b9ec
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
push 0x40cc0020
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42b9d4
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
push 0x40cc0020
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret