Function at 0x4505f0
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5118c8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x574be0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [0x57c094]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
push eax
push dword [ebx + 0x10]
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
push dword [ebx + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [esp + 0x20]
mov edi, eax
push esi
call ebx
push eax
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push 0
push 0
push esi
push dword [esp + 0x28]
mov esi, dword [esp + 0x30]
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push 0
push dword [eax + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esp + 0x18]
push edi
push esi
push dword [esp + 0x28]
mov dword [esp + 0x1c], eax
call ebx
mov ebx, dword [esp + 0x10]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, esi
shl eax, 5
add eax, 0x1f
sar eax, 3
and eax, 0xfffffffc
imul eax, edi
xorps xmm0, xmm0
push 0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x68], eax
push 0
lea eax, [esp + 0x2c]
movq qword [esp + 0x5c], xmm0
movq qword [esp + 0x64], xmm0
push eax
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x5c], 0x28
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x200001
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x30], 0
push 0
lea eax, [esp + 0x60]
push eax
push 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, edi
imul ecx, esi
shl ecx, 2
push ecx
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.004efe90
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x45088a
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
push ebx
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 + 0x28]
test eax, eax
cmovne esi, eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], vtable.CGdiPlusBitmap.0
mov dword [esp + 0x40], 0
call fcn.0044f1e0
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x45080c
mov eax, dword [edi + 4]
jmp 0x45080e
xor eax, eax
push dword [esp + 0x18]
push dword [esp + 0x20]
push 0
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push 0xcc0020
push 0
push 0
push ebx
push dword [esp + 0x28]
test eax, eax
push dword [esp + 0x30]
cmovne esi, eax
push 0
push 0
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
push dword [esp + 0x2c]
test eax, eax
cmovne esi, eax
push ebx
mov dword [esp + 0x3c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x450880
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004e9eea
mov esp, ebp
pop ebp
ret 4