Function at 0x10019bd0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x1005c1c4]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0x4c
mov dword [esp + 0x3c], eax
call esi
push 0x4d
mov dword [esp + 0x24], eax
call esi
push 0x4e
mov ebx, eax
call esi
push 0x4f
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
sub edi, dword [esp + 0x3c]
sub esi, dword [esp + 0x40]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push edi
push dword [esp + 0x20]
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
push esi
push edi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x28]
test edi, edi
je 0x10019cbf
lea eax, [esp + 0x14]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push 0
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
jmp 0x10019cc1
xor edi, edi
push dword [esp + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x18]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [0x100497bc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x6c]
push eax
push ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x68], 1
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x6c], 4
call fcn.10019af0
cmp eax, 0xffffffff
jne 0x10019d3f
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10019df3
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x18]
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x10019d7e
mov dword [edi + 8], eax
jmp 0x10019df3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
push 2
mov ecx, dword [eax]
movlpd qword [esp + 0x28], xmm0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
push esi
push ebx
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x10019de9
mov eax, dword [esp + 0x10]
push 0
push 0
push esi
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x10019de9
push dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
call fcn.1001a110
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, dword [ebx]
push eax
mov eax, dword [ebx + 4]
mov esi, dword [edx]
sub eax, ecx
push eax
push ecx
push edx
call dword [esi + 0xc]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
test edi, edi
je 0x10019dff
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [esp + 0x7c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 8