Function at 0x411d8c
Capabilities:
Capture screenshot

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov dword [eax], 0
mov dword [esp], 0
call sub.USER32.dll_GetSystemMetrics
push ebx
mov ebp, 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 [esp + 0x38], eax
sete dl
test ebp, ebp
sete al
or dl, al
jne 0x411def
test esi, esi
jne 0x411df6
xor eax, eax
jmp 0x4120b9
mov eax, dword [esp + 0x38]
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], ebp
mov dword [esp], ebx
mov dword [esp + 0x34], eax
call sub.GDI32.dll_CreateCompatibleBitmap
sub esp, 0xc
test ebx, ebx
mov edi, eax
sete dl
cmp dword [esp + 0x34], 0
sete al
or dl, al
jne 0x412039
test edi, edi
je 0x412039
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.GDI32.dll_SelectObject
push eax
push eax
mov eax, dword [esp + 0x34]
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], ebp
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 0x412039
lea eax, [esp + 0x46]
mov dword [esp + 8], 0xe
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004129e4
lea eax, [esp + 0x54]
mov dword [esp + 8], 0x2c
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004129e4
lea eax, [esp + 0x54]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x54], 0x28
mov word [esp + 0x62], 0
call sub.GDI32.dll_GetDIBits
sub esp, 0x1c
test eax, eax
je 0x412039
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xa0]
mov word [esp + 0x46], 0x4d42
mov word [esp + 0x4e], 0
mov word [esp + 0x4c], 0
mov dword [esp + 0x50], 0x36
inc eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x54], 0x28
lea eax, [eax + eax*2]
mov dword [esp + 0x58], ebp
mov word [esp + 0x60], 1
mov word [esp + 0x62], 0x18
and eax, 0xfffffffc
imul eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], esi
add eax, 0x36
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
add eax, 0x36
mov dword [ecx], eax
mov dword [esp + 4], 4
mov dword [esp], eax
call sub.msvcrt.dll_calloc
test eax, eax
mov dword [esp + 0x40], eax
je 0x412039
lea ecx, [esp + 0x54]
add eax, 0x36
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.GDI32.dll_GetDIBits
sub esp, 0x1c
test eax, eax
je 0x412020
lea eax, [esp + 0x46]
mov dword [esp + 8], 0xe
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00412aa3
lea eax, [esp + 0x54]
mov dword [esp + 8], 0x28
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
add eax, 0xe
mov dword [esp], eax
call fcn.00412aa3
jmp 0x412039
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00407f59
mov eax, dword [esp + 0xa0]
mov dword [eax], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
push eax
push eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sub.GDI32.dll_DeleteDC
push edx
mov dword [esp], edi
call sub.GDI32.dll_DeleteObject
push ecx
mov edx, dword [esp + 0x40]
test edx, edx
je 0x411def
mov eax, dword [esp + 0xa0]
cmp dword [eax], 0
jle 0x411def
movzx eax, byte [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.004049cf
mov edx, dword [esp + 0x40]
mov ebx, eax
mov dword [esp], edx
call sub.msvcrt.dll_free
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret