Function at 0x76d284
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x76d567
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046f000
mov dword [ebp - 0x10], eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046eff4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046f020
dec eax
jle 0x76d31e
mov eax, dword [ebp - 8]
call fcn.0043040c
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.0042ae58
mov eax, dword [ebp - 8]
call fcn.0043040c
lea edx, [ebp - 0x30]
call fcn.0042b8f8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.0043040c
pop edx
call fcn.0042b2d0
call sub.user32.dll_GetDesktopWindow
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x76d345
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x76d571
mov dl, 6
mov eax, dword [ebp - 8]
call fcn.0043141c
push 0x26
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_GetDeviceCaps
and eax, 0x100
cmp eax, 0x100
jne 0x76d3bb
mov eax, 0x404
call fcn.00402a70
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x404
call fcn.004034fc
mov word [ebx], 0x300
lea eax, [ebx + 4]
push eax
push pe_nt_image_headers32
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_GetSystemPaletteEntries
mov esi, eax
mov word [ebx + 2], si
test si, si
je 0x76d3b4
push ebx
call sub.gdi32.dll_CreatePalette
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.00402a90
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046efe8
mov esi, eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046efdc
mov edi, eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046f000
mov dword [ebp - 0x10], eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046eff4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.0043040c
call fcn.0042b3d0
xor eax, eax
push ebp
push 0x76d524
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046f020
dec eax
jle 0x76d4ea
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046f020
dec eax
test eax, eax
jl 0x76d51a
inc eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov eax, dword [0x8aa338]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046f00c
call fcn.0046ecdc
mov esi, eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046f00c
call fcn.0046ed10
mov edi, eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046f00c
call fcn.0046ed28
mov dword [ebp - 0x10], eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046f00c
call fcn.0046ecf4
mov dword [ebp - 0x14], eax
mov eax, dword [0x8a8504]
or eax, 0xcc0020
push eax
push edi
push esi
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046efdc
sub edi, eax
push edi
mov eax, dword [0x8aa338]
mov eax, dword [eax]
call fcn.0046efe8
sub esi, eax
push esi
mov eax, dword [ebp - 8]
call fcn.0043040c
call fcn.0042b91c
push eax
call sub.gdi32.dll_BitBlt
inc ebx
dec dword [ebp - 0x20]
jne 0x76d43e
jmp 0x76d51a
mov eax, dword [0x8a8504]
or eax, 0xcc0020
push eax
push edi
push esi
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0043040c
call fcn.0042b91c
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x76d52e
mov eax, dword [ebp - 8]
call fcn.0043040c
call fcn.0042b7f0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_ReleaseDC
cmp byte [ebp - 9], 0
je 0x76d55d
push 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0076d118
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x76d571
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret