Function at 0x40ea40
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x354]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x358]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x74]
xor edx, edx
cmp dword [ecx + 0x380], 0
setne dl
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x37c], 0
je 0x40ea8b
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x380], 0
jne 0x40eaa9
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x37c], eax
mov ecx, dword [ebp - 0x74]
call fcn.0040f6c0
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x37c], 0
je 0x40eac1
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x380], 0
jne 0x40eac6
jmp 0x40eddc
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.00411220
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x374]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x37c]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.00410dc0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x374]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.00410f10
mov dword [ebp - 4], eax
movzx ecx, word [ebp - 0x4a]
push ecx
movzx edx, word [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x37c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x10], eax
movzx edx, word [ebp - 0x46]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x37c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x37c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x37c]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x3c], 0x100
jae 0x40ec06
push 0x8800c6
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
movzx ecx, word [ebp - 0x4a]
push ecx
movzx edx, word [ebp - 0x4c]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xee0086
push 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
movzx edx, word [ebp - 0x4a]
push edx
movzx eax, word [ebp - 0x4c]
push eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x40ec2b
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
movzx eax, word [ebp - 0x4a]
push eax
movzx ecx, word [ebp - 0x4c]
push ecx
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
movzx eax, word [ebp - 0x4c]
mov dword [ebp - 0x24], eax
movzx ecx, word [ebp - 0x4a]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0x344
call fcn.0040f970
cmp dword [ebp - 0x24], eax
jle 0x40ec5d
mov ecx, dword [ebp - 0x74]
add ecx, 0x344
call fcn.0040f970
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x344
call fcn.0040f990
cmp dword [ebp - 0x20], eax
jle 0x40ec81
mov ecx, dword [ebp - 0x74]
add ecx, 0x344
call fcn.0040f990
mov dword [ebp - 0x20], eax
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
movzx edx, word [ebp - 0x4e]
add edx, dword [ebp - 0x14]
push edx
movzx eax, word [ebp - 0x50]
add eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x37c]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
movzx ecx, word [ebp - 0x4a]
push ecx
movzx edx, word [ebp - 0x4c]
push edx
movzx eax, word [ebp - 0x4e]
push eax
movzx ecx, word [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x380]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
movzx ecx, word [ebp - 0x4a]
push ecx
movzx edx, word [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040f9b0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
movzx eax, word [ebp - 0x4e]
push eax
movzx ecx, word [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0040f9b0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f9e0
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x364
call fcn.0040f930
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x64
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.00410b90
movsx eax, ax
cmp eax, 1
jle 0x40edd4
push 0x40ede0
movzx ecx, word [ebp - 0x48]
imul ecx, ecx, 0xa
push ecx
push 0x64
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0x74]
call fcn.0040f670
mov esp, ebp
pop ebp
ret