Function at 0x4906f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x4fc040]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], 0
cmp dword [0x500324], edi
jne 0x49074e
mov ecx, str.dwmapi.dll
call fcn.0048fb20
mov dword [0x500324], eax
test eax, eax
je 0x490747
push str.DwmGetWindowAttribute
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x490749
xor eax, eax
mov dword [0x500328], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
jne 0x49077e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0048fb60
push eax
push str.GetDC_window_:__s
call fcn.00490340
add esp, 8
mov edi, eax
jmp 0x490a42
mov eax, dword [0x500328]
test eax, eax
je 0x4907bc
push 0x10
lea ecx, [esp + 0x54]
push ecx
push 9
push dword [esp + 0x28]
call eax
test eax, eax
js 0x4907bc
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
sub eax, edx
mov dword [esp + 0x28], edx
jmp 0x4907f5
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
push 0x18
push 7
push esi
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x490833
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0048fb60
push eax
push str.CreateCompatibleDC_desktop_window_dc_:__s
call fcn.00490340
add esp, 8
mov edi, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x490a42
push dword [esp + 0x14]
push dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x49087b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0048fb60
push eax
push str.CreateCompatibleBitmap:__s
call fcn.00490340
add esp, 8
mov edi, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x490a3c
push eax
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
jne 0x4908ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0048fb60
push eax
push str.SelectObject:__s
call fcn.00490340
add esp, 8
mov edi, eax
jmp 0x490a27
push 0xcc0020
push dword [esp + 0x2c]
push dword [esp + 0x20]
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4908f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0048fb60
push eax
push str.BitBlt:__s
call fcn.00490340
add esp, 8
mov edi, eax
jmp 0x490a27
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
mov edx, 1
mov dword [esp + 0x78], eax
imul eax, ecx
mov dword [esp + 0x74], ecx
push 0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
shl eax, 2
mov ecx, eax
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x74], 0x28
mov dword [esp + 0x80], 0x200001
mov dword [esp + 0x84], edi
mov dword [esp + 0x1c], eax
call fcn.0048ffe0
add esp, 4
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x70]
push 0
push ecx
push eax
push dword [esp + 0x20]
push 0
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x490997
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0048fb60
push eax
push str.GetDIBits__get_data_:__s
call fcn.00490340
add esp, 8
mov edi, eax
push 0x4d83a4
push dword [esp + 0x30]
call fcn.004a3f02
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x4909c7
push dword [esp + 0x2c]
push str._s:_unable_to_open_file
call fcn.00490340
add esp, 8
mov edi, eax
jmp 0x490a27
mov eax, 0x4d42
mov dword [esp + 0x6a], 0x36
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0x36
push 0xe
mov dword [esp + 0x6a], eax
lea eax, [esp + 0x68]
push 1
push eax
call fcn.004a50a4
push dword [esp + 0x20]
lea eax, [esp + 0x84]
push 0x28
push 1
push eax
call fcn.004a50a4
push dword [esp + 0x30]
push dword [esp + 0x3c]
push 1
push dword [esp + 0x50]
call fcn.004a50a4
push dword [esp + 0x40]
call fcn.004a403e
add esp, 0x34
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x1c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x20]
call esi
mov ecx, dword [esp + 0x24]
call fcn.00490070
mov ecx, dword [esp + 0x9c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret