Function at 0x40d560
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push eax
call fcn.0040cbb0
add esp, 4
cmp eax, 0xffffffff
mov dword [esp], eax
jne 0x40d57f
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push edi
push esi
push ebp
cmp ecx, 1
push ebx
jne case.default.0x40d599
cmp eax, 0xa
ja case.default.0x40d599
jmp dword [eax*4 + 0x40d7cc]
mov ecx, dword [esp + 0x20]
push 0x195
push ecx
call fcn.00407840
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x46
jmp 0x40d6fd
mov eax, dword [esp + 0x20]
push 0x196
push eax
call fcn.00407840
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x4b
jmp 0x40d6fd
mov edx, dword [esp + 0x20]
push 0x197
push edx
call fcn.00407840
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x4d
jmp 0x40d6fd
mov ecx, dword [esp + 0x20]
push 0x198
push ecx
call fcn.00407840
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x52
jmp 0x40d6fd
push 0x199
jmp 0x40d67e
mov edx, dword [esp + 0x20]
push 0x19a
push edx
call fcn.00407840
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x1d
jmp 0x40d6fd
mov ecx, dword [esp + 0x20]
push 0x19b
push ecx
call fcn.00407840
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x1d
jmp 0x40d6fd
push 0x19c
mov eax, dword [esp + 0x24]
push eax
call fcn.00407840
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x1d
jmp 0x40d6fd
mov edx, dword [esp + 0x20]
push 0x192
push edx
call fcn.00407840
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x28
jmp 0x40d6fd
mov ecx, dword [esp + 0x20]
push 0x193
push ecx
call fcn.00407840
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x2d
jmp 0x40d6fd
mov eax, dword [esp + 0x20]
push 0x194
push eax
call fcn.00407840
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x3f
jmp 0x40d6fd
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.0040d070
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 ebx
pop ebp
pop esi
pop edi
add esp, 8
ret