Function at 0x4061d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [esp], 0
call sub.USER32.dll_GetSystemMetrics
push ebx
mov edi, eax
mov dword [esp], 1
call sub.USER32.dll_GetSystemMetrics
push esi
mov esi, eax
call sub.USER32.dll_GetDesktopWindow
test eax, eax
mov dword [ebp - 0x64], eax
je 0x406220
test edi, edi
jne 0x406227
xor eax, eax
jmp 0x4064ba
test esi, esi
je 0x406220
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call sub.USER32.dll_GetDC
push edx
mov ebx, eax
mov dword [esp], eax
call sub.GDI32.dll_CreateCompatibleDC
push ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [ebp - 0x5c], eax
call sub.GDI32.dll_CreateCompatibleBitmap
sub esp, 0xc
test ebx, ebx
mov dword [ebp - 0x60], eax
je 0x406444
cmp dword [ebp - 0x5c], 0
je 0x406444
test eax, eax
je 0x406444
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sub.GDI32.dll_SelectObject
push eax
push eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x20], 0x40cc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
test eax, eax
je 0x406444
lea eax, [ebp - 0x52]
mov dword [esp], eax
mov dword [esp + 8], 0xe
mov dword [esp + 4], 0
call fcn.0040b1ee
lea eax, [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 8], 0x2c
mov dword [esp + 4], 0
call fcn.0040b1ee
lea eax, [ebp - 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x44], 0x28
mov word [ebp - 0x36], 0
call sub.GDI32.dll_GetDIBits
sub esp, 0x1c
test eax, eax
je 0x406444
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
mov word [ebp - 0x52], 0x4d42
mov word [ebp - 0x4a], 0
inc eax
lea eax, [eax + eax*2]
and eax, 0xfffffffc
imul eax, dword [ebp - 0x3c]
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x36
mov dword [ebp - 0x34], 0
add eax, 0x36
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], 0x28
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
add eax, 0x36
mov dword [ecx], eax
mov dword [esp], eax
mov word [ebp - 0x38], 1
mov word [ebp - 0x36], 0x18
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0x58], eax
je 0x406444
add eax, 0x36
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.GDI32.dll_GetDIBits
sub esp, 0x1c
test eax, eax
je 0x406430
lea eax, [ebp - 0x52]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], 0xe
mov dword [esp], eax
call fcn.0040b2af
lea eax, [ebp - 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], 0x28
add eax, 0xe
mov dword [esp], eax
call fcn.0040b2af
jmp 0x406444
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.00405434
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
push eax
push eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sub.GDI32.dll_DeleteDC
mov eax, dword [ebp - 0x60]
push edx
mov dword [esp], eax
call sub.GDI32.dll_DeleteObject
mov eax, dword [ebp - 0x58]
test eax, eax
push ecx
je 0x406220
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jle 0x406220
movzx edx, byte [ebp - 0x68]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp], eax
call fcn.00402be6
lea edx, [ebp - 0x58]
mov dword [esp], edx
mov ebx, eax
call fcn.00405434
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret