Function at 0x1000b390
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100141fb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1001b018]
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 eax, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0xa8]
push ecx
push 0x1000b200
push edi
push edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov dword [ebp - 4], edi
mov esi, dword [0x1012af60]
cmp esi, edi
jne 0x1000b435
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xa8]
sar eax, 2
dec eax
jmp 0x1000b438
lea eax, [esi - 1]
mov edx, dword [ebp - 0x78]
add eax, eax
mov ebx, dword [edx + eax*8]
lea edi, [edx + eax*8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 8]
sub eax, ebx
cdq
mov ecx, eax
mov eax, dword [edi + 4]
sub eax, dword [edi + 0xc]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
test esi, esi
jne 0x1000b469
sub ecx, ebx
sub eax, dword [ebp - 0x48]
push 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
push ecx
push edx
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
push 0xcc0020
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
push eax
push ebx
push edi
push ecx
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov ebx, eax
test ebx, ebx
je 0x1000b4f3
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x48]
push eax
push 0
push ecx
mov dword [ebx], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x48], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov edx, dword [ebp - 0x48]
mov dword [ebx + 8], eax
mov dword [ebx + 4], edx
jmp 0x1000b4f5
xor ebx, ebx
mov eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x10016630]
mov ecx, dword [0x10016634]
mov dword [ebp - 0x68], edx
mov edx, dword [0x10016638]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], eax
mov eax, dword [0x1001663c]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x20]
mov esi, 1
lea ecx, [ebp - 0x68]
push edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], ecx
call fcn.1000b110
cmp eax, 0xffffffff
jne 0x1000b57b
lea esi, [ebp - 0xa8]
call fcn.1000b650
xor al, al
jmp 0x1000b625
lea eax, [ebp - 0x44]
push eax
push esi
push edi
mov dword [ebp - 0x44], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1000b60a
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0x20]
push edx
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
cmp eax, edi
je 0x1000b5ad
mov dword [ebx + 8], eax
jmp 0x1000b60a
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x60]
push ecx
push 2
push edi
mov dword [ebp - 0x4c], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
xor esi, esi
push esi
push eax
call edx
test eax, eax
jne 0x1000b5ff
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push esi
push edi
push esi
push eax
call edx
test eax, eax
jne 0x1000b5ff
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
call fcn.1000b9f0
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
lea edi, [ebp - 0x4c]
push edi
sub esi, eax
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, ebx
je 0x1000b618
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
lea esi, [ebp - 0xa8]
call fcn.1000b650
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.10013454
mov esp, ebp
pop ebp
ret 8