Function at 0x44f634
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
cmp dword [0x56f924], 0
jne 0x44f64d
call fcn.0045a790
jmp 0x44f652
mov eax, dword [0x56f868]
test byte [eax + 0x1c2], 0x20
je 0x44f680
call sub.user32.dll_GetForegroundWindow
mov dword [0x5701e0], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5701e0]
push eax
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x44f6ac
call sub.user32.dll_GetDesktopWindow
mov dword [0x5701e0], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5701e0]
push eax
call sub.user32.dll_GetWindowRect
push ebp
call fcn.0044f550
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5701e0]
push eax
call sub.user32.dll_GetWindowDC
mov dword [0x5701ec], eax
mov eax, dword [0x5701ec]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [0x5701f0], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xc]
mov esi, edx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [0x5701f8], ecx
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [0x5701fc], eax
cmp dword [0x5701f8], 0
jne 0x44f702
mov dword [0x5701f8], 1
cmp dword [0x5701fc], 0
jne 0x44f715
mov dword [0x5701fc], 1
mov eax, dword [0x5701f8]
shl eax, 3
add eax, 0x1f
and eax, 0xffffffe0
shr eax, 3
mov dword [0x56fdb0], eax
mov eax, dword [0x5701fc]
push eax
mov eax, dword [0x56fdb0]
push eax
mov eax, dword [0x5701ec]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [0x5701f4], eax
mov eax, dword [0x5701f4]
push eax
mov eax, dword [0x5701f0]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x44f95a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x5701dc], 0
xor eax, eax
mov dword [0x5701d8], eax
push 0x26
mov eax, dword [0x5701ec]
push eax
call sub.gdi32.dll_GetDeviceCaps
test ah, 1
je 0x44f7f7
mov eax, 0x404
call fcn.00402df4
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x404
call fcn.00403ac0
mov word [ebx], 0x300
lea eax, [ebx + 4]
push eax
push pe_nt_image_headers32
push 0
mov eax, dword [0x5701ec]
push eax
call sub.gdi32.dll_GetSystemPaletteEntries
mov edi, eax
mov word [ebx + 2], di
test di, di
je 0x44f7f0
push ebx
call sub.gdi32.dll_CreatePalette
mov dword [0x5701d8], eax
push 0
mov eax, dword [0x5701d8]
push eax
mov eax, dword [0x5701f0]
push eax
call sub.gdi32.dll_SelectPalette
mov byte [0x5701dc], 1
jmp 0x44f7f7
mov eax, ebx
call fcn.00402e24
push 0xcc0020
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x5701ec]
push eax
mov eax, dword [0x5701fc]
push eax
mov eax, dword [0x5701f8]
push eax
push 0
push 0
mov eax, dword [0x5701f0]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5701e4]
push eax
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x44f8b5
neg esi
push esi
mov eax, dword [ebp - 0x20]
neg eax
push eax
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_OffsetRect
push 0xff
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x44f8ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5701f0]
push eax
call sub.user32.dll_FrameRect
inc dword [ebp - 0x10]
inc dword [ebp - 0xc]
dec dword [ebp - 8]
dec dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5701f0]
push eax
call sub.user32.dll_FrameRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f8b5
mov eax, dword [ebp - 0x2c]
push eax
call sub.gdi32.dll_DeleteObject
ret
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x5701e8]
push eax
call sub.user32.dll_GetIconInfo
xor eax, eax
push ebp
push 0x44f913
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
sub dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f91a
mov eax, dword [ebp - 0x38]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_DeleteObject
ret