Function at 0x100243a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019391d
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x101fd000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x100], 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 0x10023e80
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x10024741
mov edx, dword [ebp - 0x1c]
test esi, esi
js 0x1002472b
mov eax, dword [ebp - 0x18]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x1002472b
mov esi, dword [edx + esi*4]
lea eax, [ebp - 0xf0]
push 0x64
push 0
push eax
call fcn.101695f0
add esp, 0xc
mov dword [ebp - 0xf4], 0x68
lea eax, [ebp - 0xf4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x10024741
cmp dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xf0]
jne 0x100244ae
mov ecx, eax
sub ecx, edx
cmp ecx, 0x500
jg 0x100244ae
mov esi, dword [ebp - 0xe4]
lea eax, [ecx + 0x280]
sub esi, dword [ebp - 0xec]
add esi, 0x168
jmp 0x100244bc
mov esi, dword [ebp - 0xe4]
sub eax, edx
sub esi, dword [ebp - 0xec]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x4c]
push 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], 1
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
mov dword [ebp - 0x108], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push dword [ebp - 0xf8]
mov dword [ebp - 0x104], eax
push dword [ebp - 0x108]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x104]
mov dword [ebp - 0x100], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [ebp - 0xec]
mov dword [ebp - 0x10c], eax
push dword [ebp - 0xf0]
push dword [ebp - 0x108]
push esi
push dword [ebp - 0xf8]
mov esi, dword [ebp - 0x104]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0
push eax
push 0
push dword [ebp - 0x100]
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x5c], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 2
push eax
push str.image_jpeg
call fcn.10024290
lea eax, [ebp - 0xfc]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
movups xmm0, xmmword [0x101d2cd0]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x64], 4
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 1
push eax
push dword [ebp - 0xfc]
push dword [ebp - 0xf8]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x1002463c
mov dword [ebp - 0x54], eax
jmp 0x100246a2
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0x3c]
push edx
push 2
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x100246a2
mov eax, dword [ebp - 0xfc]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x34], xmm0
push dword [ebp - 0x30]
mov ecx, dword [eax]
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x10024688
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100257f0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xfc]
lea esi, [ebp - 0x30]
push esi
push edx
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x10c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x100]
call esi
push dword [ebp - 0x108]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0xf8]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [ebp - 0x2c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10024761
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10024757
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024780
jmp 0x10024757
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x10024703
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x10024700
push ecx
push edx
call fcn.10165540
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016550f
mov esp, ebp
pop ebp
ret 0xc
call fcn.1016cb5f
int3