Function at 0x1001c410
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042a7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0x1001bf00
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1001c738
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1c]
test esi, esi
js 0x1001c71c
mov eax, dword [ebp - 0x18]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x1001c71c
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0x104]
push ecx
push eax
mov dword [ebp - 0x104], 0x68
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x1001c738
push edi
test esi, esi
jne 0x1001c4e0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
cmp eax, 1
jbe 0x1001c4e0
mov esi, dword [ebp - 0xf8]
sub esi, dword [ebp - 0x100]
mov edi, dword [ebp - 0xf4]
add esi, 0x280
sub edi, dword [ebp - 0xfc]
add edi, 0x168
jmp 0x1001c4f8
mov esi, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xf4]
sub esi, dword [ebp - 0x100]
sub edi, dword [ebp - 0xfc]
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 1
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x54], 0
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0
push 0
push 0
push 0x1004d920
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push esi
push dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [ebp - 0xfc]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x100]
push dword [ebp - 0x20]
push edi
push esi
mov esi, dword [ebp - 0x10]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x6c], vtable.Gdiplus::Bitmap.0
push eax
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edi
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 2
push eax
push str.image_jpeg
call fcn.1001c330
lea eax, [ebp + 0x10]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
movups xmm0, xmmword [0x100454ec]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x74], 4
push eax
push dword [ebp + 0x10]
movups xmmword [ebp - 0x88], xmm0
push edi
mov dword [ebp - 0x78], 1
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x1001c6bb
mov dword [ebp - 0x64], eax
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x34]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [ebp - 0x38]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esi], edi
mov dword [esi + 8], eax
pop edi
test edx, edx
je 0x1001c761
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1001c757
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c774
jmp 0x1001c757
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x48]
push edx
push 2
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x1001c62e
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x40], xmm0
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push dword [ebp - 0x40]
push eax
call dword [ecx + 0x14]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x1001c705
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.1001d6c0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x3c]
push edi
mov edi, dword [ebp - 0x30]
push edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
jmp 0x1001c631
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1001c684
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1001c684
push ecx
push edx
call fcn.100240fa
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.1002ade6
int3