Function at 0x10013080
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039c68
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10149be4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
mov dword [ebp - 0x80], eax
call esi
push 0x4d
mov dword [ebp - 0x18], eax
call esi
push 0x4e
mov ebx, eax
call esi
push 0x4f
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
sub edi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x28]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push edi
push dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x68]
push esi
push edi
mov edi, dword [ebp - 0x64]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, dword [ebp - 0x78]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x1001316f
lea eax, [ebp - 0x64]
mov dword [ebx], vtable.Gdiplus::Bitmap.0
push eax
push 0
push esi
mov dword [ebp - 0x64], 0
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebx + 4], eax
jmp 0x10013171
xor ebx, ebx
push dword [ebp - 0x70]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x68]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
movups xmm0, xmmword [0x1003f784]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x30], eax
mov eax, str.____f___
sub eax, 0x47cda075
mov dword [ebp - 0x4c], 1
push eax
mov dword [ebp - 0x38], 1
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 4
call fcn.10002720
mov dword [ebp - 0x70], eax
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100131e2
sub edi, ecx
mov edx, 2
inc edi
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001b456
push edi
push dword [ebp - 0x70]
mov esi, eax
push esi
call fcn.10021544
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x5c]
add esp, 0x10
push eax
push esi
call fcn.100080a0
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
sete al
test al, al
je 0x10013238
xor al, al
jmp 0x100132e8
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x100132da
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
push dword [ebx + 4]
call sub.gdiplus.dll_GdipSaveImageToStream
test eax, eax
je 0x10013271
mov dword [ebx + 8], eax
jmp 0x100132da
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x1c]
push edx
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push 2
mov ecx, dword [eax]
movlpd qword [ebp - 0x74], xmm0
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x74]
push esi
push edi
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x100132d1
mov eax, dword [ebp - 0x60]
push 0
push 0
push esi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x100132d1
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x80]
mov ecx, edi
call fcn.10014930
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x6c]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 4]
mov esi, dword [edx]
sub eax, ecx
push eax
push ecx
push edx
call dword [esi + 0xc]
mov eax, dword [ebp - 0x60]
push eax
mov edx, dword [eax]
call dword [edx + 8]
test ebx, ebx
je 0x100132e6
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001bbbf
mov esp, ebp
pop ebp
ret 8