Function at 0x30004457
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x3000207c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 0x300019ac
push 0x30001448
push 0x80000001
call fcn.300025cc
cmp eax, 0xffffffff
jne 0x3000449b
push 0
push 0x300019ac
push 0x300013d8
push 0x80000001
call fcn.300025cc
cmp eax, 1
setne al
test al, al
je 0x30004a57
push ebx
push esi
push edi
push 0x30001960
push 4
xor edi, edi
push edi
push 4
push edi
push 0xffffffffffffffff
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, edi
je 0x30004548
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x300044d8
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x30004548
mov ecx, dword [0x3000b28c]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0xff
lea eax, [ebp - 0x604]
push eax
push 0x2730
push ecx
call esi
mov eax, dword [0x3000b28c]
push 0xff
lea edx, [ebp - 0x404]
push edx
push 0x2710
push eax
call esi
mov eax, dword [0x3000b284]
push edi
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x604]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.300068d0
mov esp, ebp
pop ebp
ret
cmp dword [0x3000b4cc], edi
jne 0x30004a54
push 0x180
push edi
push edi
push edi
mov byte [0x3000b0a0], 1
call dword [sym.imp.USER32.dll_RedrawWindow]
mov edx, dword [0x3000b28c]
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push 0x2711
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
lea eax, [ebp - 0x804]
push edi
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [0x3000b288]
add esp, 0xc
push 0x6b
push eax
mov dword [ebp - 0x804], 0x30
mov dword [ebp - 0x7fc], 0x300041bc
mov dword [ebp - 0x7f0], eax
mov dword [ebp - 0x7dc], 0x30001cec
call dword [sym.imp.USER32.dll_LoadIconW]
lea ecx, [ebp - 0x804]
push ecx
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 0x7d8], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push edi
push edi
push edi
push 0x3000b250
call dword [sym.imp.USER32.dll_SetRect]
push edi
call dword [sym.imp.USER32.dll_GetDC]
lea edx, [ebp - 0x7d4]
push edx
push 0x30002e08
mov ebx, eax
push edi
push ebx
mov dword [ebp - 0x7d0], edi
mov dword [ebp - 0x7cc], 0x3000b250
mov dword [ebp - 0x7c8], 0x3000b4d0
mov dword [ebp - 0x7c4], 0x3000b4d4
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov eax, dword [ebp - 0x7cc]
sub dword [0x3000b25c], 1
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
sub esi, dword [eax]
sub edi, dword [eax + 4]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push esi
push ebx
mov dword [0x3000b4d0], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [0x3000b4d4], eax
mov eax, dword [0x3000b4d0]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0x3000b254]
mov eax, dword [0x3000b250]
mov esi, dword [0x3000b258]
mov edi, dword [0x3000b25c]
push 0x40cc0020
push ecx
push eax
sub esi, eax
push ebx
sub edi, ecx
push edi
push esi
mov ecx, dword [0x3000b4d0]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [0x3000b4d0]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov dword [0x3000b4d8], eax
mov eax, dword [0x3000b4d0]
push esi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [0x3000b4d8]
push eax
push ecx
mov dword [0x3000b4dc], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push esi
push 0
push 0
lea edx, [ebp - 0x814]
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [0x3000b4d8]
push eax
mov dword [ebp - 0x7c0], eax
lea eax, [ebp - 0x814]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebp - 0x7c0]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [ebp - 0x7c0], 0
mov byte [ebp - 0x7bf], 0
call fcn.30002683
mov ecx, dword [0x3000b4d0]
neg al
mov edx, dword [0x3000b4d8]
sbb al, al
and al, 0xaa
add al, 0x55
mov byte [ebp - 0x7be], al
mov byte [ebp - 0x7bd], 0
mov eax, dword [ebp - 0x7c0]
push eax
push edi
push esi
push 0
push 0
push ecx
push edi
push esi
push 0
push 0
push edx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push ebx