Function at 0x10017c70
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076e9e
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x10099040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xec], eax
call fcn.10016720
movzx eax, al
test eax, eax
je 0x10017dd3
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp + 0x1c]
sub edx, dword [ebp + 0x14]
mov dword [ebp - 0x144], edx
push 0xcc0020
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x13c], 0
jne 0x10017dce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.100164f0
add esp, 8
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x134]
push eax
push str.GDIGrabber:_Could_not_capture_window__BitBlt___Error:
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10004bd0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 1
push 0x100876b4
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10004c10
add esp, 0xc
push 0x100969f8
lea edx, [ebp - 0xd0]
push edx
call fcn.1005435a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.10004100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10004100
jmp 0x100180dc
push 0x4c
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10c], eax
push 0x4d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x108], eax
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x104], eax
push 0x4f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xf8], eax
push 0xcc0020
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xf0]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x10017f94
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100164f0
add esp, 8
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x110]
push edx
push str.GDIGrabber__Win_7_:_Could_not_capture_desktop__BitBlt___Error:
lea eax, [ebp - 0x70]
push eax
call fcn.10004bd0
add esp, 0xc
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 3
push 0x100876f0
mov edx, dword [ebp - 0x118]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10004c10
add esp, 0xc
push 0x100969f8
lea ecx, [ebp - 0x88]
push ecx
call fcn.1005435a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10004100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10004100
push 0xcc0020
mov eax, dword [ebp - 0x108]
cdq
xor eax, edx
sub eax, edx
add eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x10c]
cdq
xor eax, edx
sub eax, edx
add eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0xfc], 0
jne 0x100180dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100164f0
add esp, 8
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x120]
push edx
push str.GDIGrabber__Win_7_:_Could_not_capture_window__BitBlt___Error:
lea eax, [ebp - 0xe8]
push eax
call fcn.10004bd0
add esp, 0xc
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 5
push 0x10087738
mov edx, dword [ebp - 0x128]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.10004c10
add esp, 0xc
push 0x100969f8
lea ecx, [ebp - 0x40]
push ecx
call fcn.1005435a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.10004100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052d14
mov esp, ebp
pop ebp
ret