Function at 0x4f1b89
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x48
mov eax, 0
mov dword [ebp - 0xc], 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call fcn.004ecba3
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
push eax
call fcn.0043a2ed
mov dword [ebp - 0x50], eax
mov eax, dword [0x524b34]
mov edx, dword [ebp - 0x50]
cmp eax, edx
je 0x4f1bd5
xor eax, eax
jmp 0x4f1bd8
xor eax, eax
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, 0
je 0x4f1c41
push 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call fcn.004ecba3
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
push eax
call fcn.004eca40
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
push eax
call fcn.004eca40
mov dword [ebp - 0x2c], eax
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0x24]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0x24]
mov dword [eax + 4], edx
mov eax, dword [0x5254f8]
mov dword [ebp - 0x10], eax
jmp 0x4f1ca9
push dword [ebp + 8]
call fcn.004ecd3b
mov dword [ebp - 0xc], eax
mov eax, 0
mov edx, dword [ebp - 0xc]
cmp eax, edx
jne 0x4f1c62
mov eax, dword [0x51dfa8]
jmp 0x4f1e3c
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_GetWindowRect]
lea eax, [ebp - 0x24]
mov eax, dword [eax + 8]
xchg edx, eax
lea eax, [ebp - 0x24]
mov eax, dword [eax]
xchg edx, eax
sub eax, edx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
mov eax, dword [eax + 0xc]
xchg edx, eax
lea eax, [ebp - 0x24]
mov eax, dword [eax + 4]
xchg edx, eax
sub eax, edx
mov dword [ebp - 0x2c], eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov eax, dword [ebp - 0x44]
cmp eax, 0
je 0x4f1d10
push 0xcc0020
lea eax, [ebp - 0x24]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x24]
mov eax, dword [eax]
push eax
push dword [0x5254f8]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.DLL_BitBlt]
jmp 0x4f1dc3
mov eax, dword [0x52563c]
cmp eax, 0
je 0x4f1d2f
push 2
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_PrintWindow]
jmp 0x4f1dc3
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0x4c]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0x4c]
mov dword [eax + 4], edx
mov eax, dword [0x524b40]
mov edx, dword [ebp - 0x50]
cmp eax, edx
jne 0x4f1d98
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_ClientToScreen]
lea eax, [ebp - 0x4c]
mov eax, dword [eax]
xchg edx, eax
lea eax, [ebp - 0x24]
mov eax, dword [eax]
xchg edx, eax
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x4c]
mov dword [eax], edx
lea eax, [ebp - 0x4c]
mov eax, dword [eax + 4]
xchg edx, eax
lea eax, [ebp - 0x24]
mov eax, dword [eax + 4]
xchg edx, eax
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x4c]
mov dword [eax + 4], edx
push 0
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_PrintWindow]
push 0
lea eax, [ebp - 0x4c]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x4c]
mov eax, dword [eax]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.004dfc0b
mov eax, 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x30]
call dword [sym.imp.GDIPLUS.DLL_GdipCreateBitmapFromHBITMAP]
mov eax, 0
mov edx, dword [ebp - 0x34]
cmp eax, edx
jne 0x4f1df4
mov eax, dword [0x51dfa8]
mov dword [ebp - 0x38], eax
jmp 0x4f1e05
push dword [ebp - 0x34]
call fcn.0046998c
push eax
call fcn.00456803
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
cmp eax, 0
je 0x4f1e18
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.DLL_DeleteDC]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.DLL_DeleteObject]
mov eax, dword [ebp - 0x44]
xor al, 1
cmp eax, 0
je 0x4f1e39
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_ReleaseDC]
mov eax, dword [ebp - 0x38]
leave
ret 4