Function at 0x1000c040
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10140bc4]
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 0x1000c12f
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 0x1000c131
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 [0x1003631c]
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.10002210
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 0x1000c1a2
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.10014026
push edi
push dword [ebp - 0x70]
mov esi, eax
push esi
call fcn.1001a054
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x5c]
add esp, 0x10
push eax
push esi
call fcn.100065a0
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
sete al
test al, al
je 0x1000c1f8
xor al, al
jmp 0x1000c2a8
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 0x1000c29a
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 0x1000c231
mov dword [ebx + 8], eax
jmp 0x1000c29a
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 0x1000c291
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 0x1000c291
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x80]
mov ecx, edi
call fcn.1000d730
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 0x1000c2a6
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.10014772
mov esp, ebp
pop ebp
ret 8