Function at 0x40f430
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 + 0xc370]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc374]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x74]
xor edx, edx
cmp dword [ecx + 0xc39c], 0
setne dl
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0xc398], 0
je 0x40f47b
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0xc39c], 0
jne 0x40f499
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 + 0xc398], eax
mov ecx, dword [ebp - 0x74]
call fcn.0040fef0
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0xc398], 0
je 0x40f4b1
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0xc39c], 0
jne 0x40f4b6
jmp 0x40f7fd
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.004119c0
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 + 0xc390]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc398]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.00411560
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc390]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.004116b0
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 + 0xc398]
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 + 0xc398]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc398]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0xc398]
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
push 0xcc0020
movzx eax, word [ebp - 0x4e]
push eax
movzx ecx, word [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc39c]
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]
cmp dword [ebp - 0x3c], 0x100
jae 0x40f627
push 0x8800c6
push 0
push 0
mov ecx, dword [ebp - 0x28]
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]
push 0xee0086
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]
jmp 0x40f64c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x2c]
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]
movzx ecx, word [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
movzx edx, word [ebp - 0x4a]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x74]
add ecx, 0xc360
call fcn.00403720
cmp dword [ebp - 0x24], eax
jle 0x40f67e
mov ecx, dword [ebp - 0x74]
add ecx, 0xc360
call fcn.00403720
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x74]
add ecx, 0xc360
call fcn.00403740
cmp dword [ebp - 0x20], eax
jle 0x40f6a2
mov ecx, dword [ebp - 0x74]
add ecx, 0xc360
call fcn.00403740
mov dword [ebp - 0x20], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
movzx eax, word [ebp - 0x4e]
add eax, dword [ebp - 0x14]
push eax
movzx ecx, word [ebp - 0x50]
add ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc398]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
movzx edx, word [ebp - 0x4a]
push edx
movzx eax, word [ebp - 0x4c]
push eax
movzx ecx, word [ebp - 0x4e]
push ecx
movzx edx, word [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0xc39c]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
movzx edx, word [ebp - 0x4a]
push edx
movzx eax, word [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00403610
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.004035b0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
call fcn.00403660
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0xc380
call fcn.004037e0
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.00411330
movsx eax, ax
cmp eax, 1
jle 0x40f7f5
push fcn.0040f810
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.0040fea0
mov esp, ebp
pop ebp
ret