Function at 0x7c0280
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3b0], 0
jne 0x7c02c3
mov eax, dword [ebp - 4]
mov edx, dword [0x7c0530]
or dword [eax + 0x64], edx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00518050
mov eax, dword [ebp - 4]
mov edx, dword [0x7c0530]
not edx
and dword [eax + 0x64], edx
jmp 0x7c0527
mov eax, dword [ebp - 4]
mov edx, dword [0x7c0530]
or dword [eax + 0x64], edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x40]
test ebx, ebx
je 0x7c03be
mov edi, dword [esi + 4]
test edi, edi
je 0x7c03be
movzx eax, byte [ebx + 0x280]
mov byte [ebp - 0x11], al
mov eax, ebx
mov edx, dword [0x5d5f40]
call fcn.00406c20
test al, al
je 0x7c030c
mov eax, ebx
xor edx, edx
call fcn.00518e5c
push edi
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0051a434
push eax
call sub.user32.dll_ScreenToClient
neg dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
neg eax
mov dword [ebp - 0x18], eax
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, edi
call fcn.0050f8ec
push 0
push edi
push 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0051a434
push eax
call sub.user32.dll_SendMessageW
push 0
push edi
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0051a434
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x40]
mov eax, ebx
mov edx, dword [0x7b50f4]
call fcn.00406c20
test al, al
je 0x7c03a5
mov eax, ebx
mov edx, dword [0x7b50f4]
call fcn.00406c44
xor ecx, ecx
mov edx, edi
call fcn.007c07e4
mov eax, dword [ebp - 0x20]
push eax
push edi
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
movzx edx, byte [ebp - 0x11]
call fcn.00518e5c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x280], 0
je 0x7c03d0
cmp dword [esi + 4], 0
je 0x7c0403
mov eax, dword [ebp - 4]
test byte [eax + 0x65], 1
jne 0x7c03f4
mov eax, dword [ebp - 4]
call fcn.00515ee8
test eax, eax
jne 0x7c03f4
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00518050
jmp 0x7c0519
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005178b8
jmp 0x7c0519
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x64]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x78]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0xc], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x7c0512
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
call fcn.0051a434
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
push 0
mov ecx, dword [ebp - 8]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.005129c0
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.007c0280
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x64]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x78]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
call fcn.0051a434
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c0519
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov eax, dword [ebp - 4]
mov edx, dword [0x7c0530]
not edx
and dword [eax + 0x64], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret