Function at 0x407180
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push eax
call fcn.004067d0
add esp, 4
cmp eax, 0xffffffff
mov dword [esp], eax
jne 0x40719f
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
cmp ecx, 1
push edi
jne 0x4072d1
cmp eax, 0xa
ja case.default.0x4072da
jmp dword [eax*4 + 0x4074d4]
mov ecx, dword [esp + 0x20]
push 0x195
push ecx
call fcn.00409670
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x30
jmp 0x407406
mov eax, dword [esp + 0x20]
push 0x196
push eax
call fcn.00409670
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x4f
jmp 0x407406
push 0x197
mov edx, dword [esp + 0x24]
push edx
call fcn.00409670
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x2b
jmp 0x407406
push 0x198
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00409670
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x2b
jmp 0x407406
push 0x199
mov eax, dword [esp + 0x24]
push eax
call fcn.00409670
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x2b
jmp 0x407406
push 0x19a
jmp 0x40720b
push 0x19b
jmp 0x40722e
push 0x19c
jmp 0x407251
mov edx, dword [esp + 0x20]
push 0x192
push edx
call fcn.00409670
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x33
jmp 0x407406
mov ecx, dword [esp + 0x20]
push 0x193
push ecx
call fcn.00409670
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x1e
jmp 0x407406
push 0x194
jmp 0x407251
cmp eax, 0xa
ja case.default.0x4072da
jmp dword [eax*4 + 0x407500]
mov edx, dword [esp + 0x20]
push 0x1a0
push edx
call fcn.00409670
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x7d
jmp 0x407406
mov ecx, dword [esp + 0x20]
push 0x1a1
push ecx
call fcn.00409670
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x8a
jmp 0x407406
push 0x1a2
jmp 0x407341
push 0x1a3
jmp 0x407364
push 0x1a4
jmp 0x407387
push 0x1a5
mov eax, dword [esp + 0x24]
push eax
call fcn.00409670
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0xaf
jmp 0x407406
push 0x1a6
mov edx, dword [esp + 0x24]
push edx
call fcn.00409670
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0xaf
jmp 0x407406
push 0x1a7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00409670
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0xaf
jmp 0x407406
mov eax, dword [esp + 0x20]
push 0x19d
push eax
call fcn.00409670
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x32
jmp 0x407406
mov edx, dword [esp + 0x20]
push 0x19e
push edx
call fcn.00409670
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x47
jmp 0x407406
mov ecx, dword [esp + 0x20]
push 0x19f
push ecx
call fcn.00409670
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x6e
jmp 0x407406
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.00407700
add esp, 4
push eax
push esi
call fcn.004076e0
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 eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
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.00407700
add esp, 4
push eax
push esi
call fcn.004076e0
add esp, 4
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push edi
call fcn.00406c80
mov ecx, dword [esp + 0x38]
add esp, 0x10
push ecx
push edi
call ebx
mov edx, dword [esp + 0x14]
push edx
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