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
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x3000b288]
mov ecx, dword [0x3000b254]
mov edx, dword [0x3000b250]
push ebx
push eax
push ebx
push ebx
push edi
push esi
push ecx
push edx
push 0x90000000
lea eax, [ebp - 0x204]
push eax
push 0x30001cec
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, ebx
jne 0x300047c7
call fcn.30003051
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.300068d0
mov esp, ebp
pop ebp
ret
push eax
mov dword [0x3000b4cc], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x3000b4cc]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x3000b4cc]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
push 0x7f03
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x3000b240
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [0x3000b4cc]
push 0x100
push ebx
push ebx
push eax
mov byte [0x3000b268], 0
mov dword [0x3000b4e8], ebx
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp byte [0x3000b49a], 0
je 0x3000492e
cmp dword [0x3000b284], ebx
je 0x30004a54
push 6
push 0x300018b0
push 0x300013d8
push 0x80000001
call fcn.300025cc
push 2
push 0x30001874
push 0x300013d8
push 0x80000001
mov esi, eax
call fcn.300025cc
push eax
push 0x30001874
push 0x30001448
push 0x80000001
call fcn.300025cc
cmp eax, 1
je 0x30004a54
jbe 0x3000489b
cmp esi, 1
jb 0x3000498d
push 0x3b8
lea ecx, [ebp - 0x7bc]
push ebx
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [0x3000b284]
mov eax, dword [0x3000b26c]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x69c]
push ecx
mov dword [ebp - 0x7b8], edx
mov edx, dword [0x3000b28c]
push 0x2726
push edx
mov dword [ebp - 0x7bc], 0x3a8
mov dword [ebp - 0x7b4], ebx
mov dword [ebp - 0x7b0], 0x11
mov dword [ebp - 0x7ac], eax
mov dword [ebp - 0x49c], 0x2710
call esi
mov ecx, dword [0x3000b28c]
push 0x40
lea eax, [ebp - 0x498]
push eax
push 0x2710
push ecx
call esi
lea edx, [ebp - 0x7bc]
push edx
jmp 0x30004a42
cmp dword [0x3000b284], ebx
je 0x30004a54
push 6
push 0x300018b0
push 0x300013d8
push 0x80000001
call fcn.300025cc
push 2
push 0x30001874
push 0x300013d8
push 0x80000001
mov esi, eax
call fcn.300025cc
push eax
push 0x30001874
push 0x30001448
push 0x80000001
call fcn.300025cc
cmp eax, 1
je 0x30004a54
jbe 0x300049b4
cmp esi, 1
jae 0x300049b4
push 1
push 0x30001874
push 0x300013d8
push 0x80000001
call fcn.30002634
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.300068d0
mov esp, ebp
pop ebp
ret
push 0x3b8
lea eax, [ebp - 0x7bc]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [0x3000b284]
mov edx, dword [0x3000b26c]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x69c]
push eax
mov dword [ebp - 0x7b8], ecx
mov ecx, dword [0x3000b28c]
push 0x2725
push ecx
mov dword [ebp - 0x7bc], 0x3a8
mov dword [ebp - 0x7b4], ebx
mov dword [ebp - 0x7b0], 0x11
mov dword [ebp - 0x7ac], edx
mov dword [ebp - 0x49c], 0x2710
call esi
mov eax, dword [0x3000b28c]
push 0x40
lea edx, [ebp - 0x498]
push edx
push 0x2710
push eax
call esi
lea ecx, [ebp - 0x7bc]
push ecx
push 1
mov dword [ebp - 0x418], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.300068d0
mov esp, ebp
pop ebp
ret