Function at 0x40cbf0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push eax
call fcn.0040c250
add esp, 4
cmp eax, 0xffffffff
mov dword [esp], eax
jne 0x40cc0f
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
cmp ecx, 1
push edi
jne case.default.0x40cc29
cmp eax, 0xa
ja case.default.0x40cc29
jmp dword [eax*4 + 0x40ce5c]
mov ecx, dword [esp + 0x20]
push 0x195
push ecx
call fcn.00406e30
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x46
jmp 0x40cd8d
mov eax, dword [esp + 0x20]
push 0x196
push eax
call fcn.00406e30
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x4b
jmp 0x40cd8d
mov edx, dword [esp + 0x20]
push 0x197
push edx
call fcn.00406e30
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x4d
jmp 0x40cd8d
mov ecx, dword [esp + 0x20]
push 0x198
push ecx
call fcn.00406e30
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x52
jmp 0x40cd8d
push 0x199
jmp 0x40cd0e
mov edx, dword [esp + 0x20]
push 0x19a
push edx
call fcn.00406e30
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x1d
jmp 0x40cd8d
mov ecx, dword [esp + 0x20]
push 0x19b
push ecx
call fcn.00406e30
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x1d
jmp 0x40cd8d
push 0x19c
mov eax, dword [esp + 0x24]
push eax
call fcn.00406e30
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x1d
jmp 0x40cd8d
mov edx, dword [esp + 0x20]
push 0x192
push edx
call fcn.00406e30
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x28
jmp 0x40cd8d
mov ecx, dword [esp + 0x20]
push 0x193
push ecx
call fcn.00406e30
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x2d
jmp 0x40cd8d
mov eax, dword [esp + 0x20]
push 0x194
push eax
call fcn.00406e30
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x3f
jmp 0x40cd8d
mov esi, dword [esp + 0x20]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
call edi
push ebx
mov ebp, eax
call edi
push esi
mov edi, eax
call fcn.004011d0
add esp, 4
push eax
push esi
call fcn.004011b0
add esp, 4
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x24]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push edi
call ebx
push esi
push ebp
mov dword [esp + 0x30], eax
call ebx
push 0xcc0020
push 0
push 0
push ebp
push esi
mov dword [esp + 0x28], eax
call fcn.004011d0
add esp, 4
push eax
push esi
call fcn.004011b0
add esp, 4
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push edi
call fcn.0040c700
mov eax, dword [esp + 0x38]
add esp, 0x10
push eax
push edi
call ebx
mov ecx, dword [esp + 0x14]
push ecx
push ebp
call ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call esi
push edi
call esi
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret