Function at 0x4a1290
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x511338
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x572bb0]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [0x579f94]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x1c], esi
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
push dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0xc]
mov edi, eax
push dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push 0
push 0
push esi
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push 0
push dword [eax + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov esi, eax
push edi
push dword [esp + 0x24]
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xc]
mov eax, edi
shl eax, 5
xorps xmm0, xmm0
add eax, 0x1f
mov dword [esp + 0x84], 0
sar eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x60], 0x28
imul eax, ecx
push 0
movdqu xmmword [esp + 0x78], xmm0
push 0
movdqu xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x70]
mov dword [esp + 0x74], edi
push eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0x200001
mov dword [esp + 0x84], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x38], 0
push 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [esp + 0xc]
imul ecx, edi
mov dword [esp + 0x18], eax
shl ecx, 2
push ecx
push 0
push dword [esp + 0x2c]
call fcn.004ef3a0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x4a152f
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
push 3
push eax
mov dword [esp + 0xa0], 0
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
push dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x3c], vtable.CGdiPlusBitmap.0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], 0
cmovne esi, eax
mov dword [esp + 0x38], esi
call fcn.0049ff40
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x4a14a7
mov eax, dword [edi + 4]
jmp 0x4a14a9
xor eax, eax
push dword [esp + 0xc]
push dword [esp + 0x14]
push 0
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push 0xcc0020
push 0
push 0
push dword [esp + 0x2c]
test eax, eax
push dword [esp + 0x1c]
cmovne esi, eax
push dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
push dword [esp + 0x28]
test eax, eax
cmovne esi, eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x4a1525
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004e94b7
mov esp, ebp
pop ebp
ret 4