Function at 0x408c60
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
push 0x32
call edi
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x670]
push ebp
push eax
mov ecx, esi
call fcn.00409020
test eax, eax
jne 0x408c93
push eax
push eax
push str.load_error
call sub.MFC42.DLL_AfxMessageBox
movsx eax, word [esi + 0x676]
push 0xcc0020
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [eax + eax*4]
push 0
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0xc9c]
mov ecx, dword [esi + 0xc50]
shl edx, 1
push edx
push eax
push 0x72
push 0x52
push 0xc2
push 0x192
push ecx
call ebx
movsx eax, word [esi + 0x676]
mov ecx, dword [esi + 0xc9c]
push 0xcc0020
lea edx, [eax + eax*4]
push 0
lea eax, [eax + edx*8]
mov edx, dword [esi + 0xc58]
shl eax, 1
push eax
push ecx
push 0x72
push 0x52
push 0xc2
push 0x192
push edx
call ebx
mov eax, dword [esi + 0xc50]
push 0xcc0020
push 0
push 0
push eax
push 0x1f4
push 0x2ad
push 0
push 0
push ebp
call ebx
mov ecx, esi
call fcn.00409100
push 0x32
call edi
mov ecx, dword [esi + 0x67c]
push ebp
push ecx
mov ecx, esi
call fcn.00409020
test eax, eax
jne 0x408d4e
push eax
push eax
push str.load_error
call sub.MFC42.DLL_AfxMessageBox
movsx eax, word [esi + 0x682]
mov ecx, dword [esi + 0xc9c]
push 0xcc0020
lea edx, [eax + eax*4]
push 0
lea eax, [eax + edx*8]
mov edx, dword [esi + 0xc50]
shl eax, 1
push eax
push ecx
push 0x72
push 0x52
push 0xc2
push 0x136
push edx
call ebx
movsx eax, word [esi + 0x682]
push 0xcc0020
push 0
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0xc9c]
mov ecx, dword [esi + 0xc58]
shl edx, 1
push edx
push eax
push 0x72
push 0x52
push 0xc2
push 0x136
push ecx
call ebx
mov edx, dword [esi + 0xc50]
push 0xcc0020
push 0
push 0
push edx
push 0x1f4
push 0x2ad
push 0
push 0
push ebp
call ebx
mov ecx, esi
call fcn.00409100
push 0x32
call edi
mov eax, dword [esi + 0x688]
push ebp
push eax
mov ecx, esi
call fcn.00409020
test eax, eax
jne 0x408e03
push eax
push eax
push str.load_error
call sub.MFC42.DLL_AfxMessageBox
movsx eax, word [esi + 0x68e]
push 0xcc0020
push 0
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0xc9c]
mov ecx, dword [esi + 0xc50]
shl edx, 1
push edx
push eax
push 0x72
push 0x52
push 0xc2
push 0xda
push ecx
call ebx
movsx eax, word [esi + 0x68e]
mov ecx, dword [esi + 0xc9c]
push 0xcc0020
lea edx, [eax + eax*4]
push 0
lea eax, [eax + edx*8]
mov edx, dword [esi + 0xc58]
shl eax, 1
push eax
push ecx
push 0x72
push 0x52
push 0xc2
push 0xda
push edx
call ebx
mov eax, dword [esi + 0xc50]
push 0xcc0020
push 0
push 0
push eax
push 0x1f4
push 0x2ad
push 0
push 0
push ebp
call ebx
mov ecx, esi
call fcn.00409100
mov eax, dword [esi + 0x648]
test eax, eax
jne 0x408f8d
lea edi, [esi + 0x670]
mov dword [esp + 0x14], 3
mov word [esi + 0x922], 0x14
mov ecx, dword [edi]
push ebp
push ecx
mov ecx, esi
call fcn.00409020
mov edx, dword [edi]
push 0xcc0020
mov dword [edi + 0x378], edx
mov ax, word [edi + 4]
mov word [edi + 0x37c], ax
mov cx, word [edi + 6]
mov word [edi + 0x380], cx
mov eax, dword [esi + 0x66c]
add eax, 0x14
push 0
mov dword [esi + 0x66c], eax
mov ecx, eax
movsx eax, word [edi + 6]
lea edx, [eax + eax*4]
lea eax, [eax + edx*8]
mov edx, dword [esi + 0xc9c]
shl eax, 1
push eax
mov eax, dword [esi + 0xc50]
push edx
push 0x72
push 0x52
push 0x172
push ecx
push eax
call ebx
mov ecx, dword [esi + 0xc50]
push 0xcc0020
push 0
push 0
push ecx
push 0x1f4
push 0x2ad
push 0
push 0
push ebp
call ebx
mov ecx, esi
call fcn.00409100
mov eax, dword [esp + 0x14]
add edi, 0xc
dec eax
mov word [esi + 0x922], 0x14
mov dword [esp + 0x14], eax
jne 0x408eb1
push 0
push 0x14
push ebp
mov ecx, esi
mov word [esi + 0x922], 0x14
call fcn.0040a2c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov edx, 0x11
dec eax
mov word [esi + 0x922], dx
je 0x408fd7
dec eax
jne 0x409012
lea eax, [esi + 0xbc8]
mov ecx, 3
mov ebx, dword [eax - 0x558]
mov dword [eax], ebx
mov bx, word [eax - 0x554]
mov word [eax + 4], bx
mov bx, word [eax - 0x552]
mov word [eax + 8], bx
add eax, 0xc
dec ecx
jne 0x408faa
mov word [esi + 0x922], dx
jmp 0x409006
lea eax, [esi + 0xad8]
mov ecx, 3
mov edx, dword [eax - 0x468]
mov dword [eax], edx
mov dx, word [eax - 0x464]
mov word [eax + 4], dx
mov dx, word [eax - 0x462]
mov word [eax + 8], dx
add eax, 0xc
dec ecx
jne 0x408fe2
push 1
push 0x14
push ebp
mov ecx, esi
call fcn.0040a2c0
push 0xa
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4