Function at 0x407340
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push eax
call fcn.00406990
add esp, 4
cmp eax, 0xffffffff
mov dword [esp], eax
jne 0x40735f
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
cmp ecx, 1
push edi
jne 0x407491
cmp eax, 0xa
ja case.default.0x40749a
jmp dword [eax*4 + 0x407694]
mov ecx, dword [esp + 0x20]
push 0x195
push ecx
call fcn.00409830
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x30
jmp 0x4075c6
mov eax, dword [esp + 0x20]
push 0x196
push eax
call fcn.00409830
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x4f
jmp 0x4075c6
push 0x197
mov edx, dword [esp + 0x24]
push edx
call fcn.00409830
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x2b
jmp 0x4075c6
push 0x198
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00409830
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x2b
jmp 0x4075c6
push 0x199
mov eax, dword [esp + 0x24]
push eax
call fcn.00409830
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x2b
jmp 0x4075c6
push 0x19a
jmp 0x4073cb
push 0x19b
jmp 0x4073ee
push 0x19c
jmp 0x407411
mov edx, dword [esp + 0x20]
push 0x192
push edx
call fcn.00409830
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x33
jmp 0x4075c6
mov ecx, dword [esp + 0x20]
push 0x193
push ecx
call fcn.00409830
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x1e
jmp 0x4075c6
push 0x194
jmp 0x407411
cmp eax, 0xa
ja case.default.0x40749a
jmp dword [eax*4 + 0x4076c0]
mov edx, dword [esp + 0x20]
push 0x1a0
push edx
call fcn.00409830
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x7d
jmp 0x4075c6
mov ecx, dword [esp + 0x20]
push 0x1a1
push ecx
call fcn.00409830
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x8a
jmp 0x4075c6
push 0x1a2
jmp 0x407501
push 0x1a3
jmp 0x407524
push 0x1a4
jmp 0x407547
push 0x1a5
mov eax, dword [esp + 0x24]
push eax
call fcn.00409830
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0xaf
jmp 0x4075c6
push 0x1a6
mov edx, dword [esp + 0x24]
push edx
call fcn.00409830
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0xaf
jmp 0x4075c6
push 0x1a7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00409830
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0xaf
jmp 0x4075c6
mov eax, dword [esp + 0x20]
push 0x19d
push eax
call fcn.00409830
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [ecx], 0x32
jmp 0x4075c6
mov edx, dword [esp + 0x20]
push 0x19e
push edx
call fcn.00409830
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0x47
jmp 0x4075c6
mov ecx, dword [esp + 0x20]
push 0x19f
push ecx
call fcn.00409830
mov edx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
mov dword [edx], 0x6e
jmp 0x4075c6
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.004078c0
add esp, 4
push eax
push esi
call fcn.004078a0
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.004078c0
add esp, 4
push eax
push esi
call fcn.004078a0
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.00406e40
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