Function at 0x1000e490
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0x4c
mov dword [ebp - 0x68], eax
call esi
push 0x4d
mov dword [ebp - 0x5c], eax
call esi
push 0x4e
mov dword [ebp - 0x58], eax
call esi
push 0x4f
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
sub edi, dword [ebp - 0x14]
sub esi, dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push edi
push ebx
mov dword [ebp - 0x48], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [ebp - 0x48]
push eax
push edx
mov dword [ebp - 0x54], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x5c]
push 0xcc0020
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
push eax
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp - 0x48]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x48], eax
cmp esi, eax
je 0x1000e564
lea edx, [ebp - 0x48]
push edx
push eax
mov eax, dword [ebp - 0x54]
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov ecx, dword [ebp - 0x48]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [ebp - 0x48], esi
jmp 0x1000e566
mov esi, eax
mov edx, dword [ebp - 0x50]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x10018680]
mov eax, dword [0x10018684]
mov dword [ebp - 0x64], ecx
mov ecx, dword [0x10018688]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], edx
mov edx, dword [0x1001868c]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x24]
mov edi, 1
lea eax, [ebp - 0x64]
push ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], eax
call fcn.1000e3a0
cmp eax, 0xffffffff
jne 0x1000e5f0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0x4c]
push edx
push edi
push ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1000e682
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
cmp eax, ebx
je 0x1000e622
mov dword [esi + 8], eax
jmp 0x1000e682
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x60]
push edx
push 2
push ebx
xor edi, edi
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne 0x1000e677
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push edi
push edi
push ebx
push edi
push eax
call edx
test eax, eax
jne 0x1000e677
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x68]
call fcn.1000e9c0
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
lea edi, [ebp - 0x50]
push edi
sub esi, eax
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x1000e690
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10015384
mov esp, ebp
pop ebp
ret 8