Function at 0x404860
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov eax, ecx
push edi
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
mov dword [ebp - 0x1c], ebx
call esi
push ebx
mov edi, eax
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
push ebx
mov dword [ebp - 0x14], eax
call esi
push ebx
mov dword [ebp - 0xc], eax
call esi
push ebx
mov dword [ebp - 4], eax
call esi
push ebx
mov dword [ebp - 8], eax
call esi
push 0x15e
push 0x28a
mov esi, eax
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x3c], eax
call ebx
push dword [0x460124]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x10]
call ebx
push dword [0x45da00]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x14]
call ebx
push dword [0x45d604]
mov dword [ebp - 0x34], eax
push dword [ebp - 0xc]
call ebx
push dword [0x45d9fc]
mov dword [ebp - 0x2c], eax
push dword [ebp - 4]
call ebx
push dword [0x45d9f4]
mov dword [ebp - 0x28], eax
push dword [ebp - 8]
call ebx
push dword [0x45d5c8]
mov dword [ebp - 0x24], eax
push esi
call ebx
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push 0x42
push 0
push 0
push 0
push 0x15e
push 0x28a
push 0
push 0
push edi
mov dword [ebp - 0x20], eax
call esi
cmp dword [0x45d5f8], 1
jne 0x40494d
mov ecx, edi
call fcn.004041f0
push 0xee0086
push 0
push 0
push dword [ebp - 0x10]
push 0x1e
push 0x19f
push 5
push 0x78
push edi
call esi
push 0xee0086
push 0
push 0
push dword [ebp - 0x14]
push 0xfa
push 0x1f4
push 0x32
push 0x55
push edi
call esi
push 0xee0086
push 0
push 0
push dword [ebp - 0xc]
push 0x1e
push 0x138
push 0x13b
push 0xaa
push edi
call esi
mov eax, dword [0x45d5f8]
cmp eax, 1
jne 0x4049cd
push 0xee0086
push 0
push 0
push dword [ebp - 4]
push 0x17
push 0x1e
push 0x144
push 4
push edi
call esi
mov eax, dword [0x45d5f8]
test eax, eax
jne 0x4049e9
push 0xee0086
push eax
push eax
push dword [ebp - 4]
push 0x17
push 0x12
push 0x144
push 4
push edi
call esi
cmp dword [0x45d5e0], 0
push 0xee0086
push 0
push 0
jne 0x404a00
push dword [ebp - 0x18]
jmp 0x404a03
push dword [ebp - 8]
push 0x16
push 0x14
push 0x147
push 0x275
push edi
call esi
push 0xcc0020
push 0
push 0
push edi
push 0x15e
push 0x28a
push 0x7f
push 0x19
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
push esi
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 0x24]
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
call esi
push dword [ebp - 0x28]
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call esi
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x34]
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x38]
push edi
call ebx
push edi
call esi
push dword [ebp - 0x3c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x1c]
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret