Function at 0x1002b970
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1aa3
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb0], edi
mov dword [ebp - 4], 0
test edi, edi
jne 0x1002b9bf
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
mov dword [ebp - 0xb0], eax
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
mov byte [ebp - 0xa9], 0
call esi
push edi
mov dword [ebp - 0xc4], eax
call esi
mov esi, eax
push esi
mov dword [ebp - 0xb8], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xb4], eax
test eax, eax
jne 0x1002ba12
push str.CreateCompatibleDC_has_failed
push 1
push 0x1d
push 0x100f1600
push 0x100f1634
call fcn.100d1270
add esp, 0x14
jmp 0x1002bdf1
lea eax, [ebp - 0xa8]
xorps xmm0, xmm0
push eax
push edi
movdqu xmmword [ebp - 0xa8], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 4
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
push 0xcc0020
mov esi, dword [ebp - 0xb8]
push eax
push edi
push 0
push 0
push dword [ebp - 0xc4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
jne 0x1002ba9c
push str.StretchBlt_failed
push 1
push 0x27
push 0x100f165c
push 0x100f1690
call fcn.100d1270
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x14
jmp 0x1002bde3
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x1002baed
push str.CreateCompatibleBitmap_failed
push 1
push 0x2d
push 0x100f16c4
push 0x100f16f8
call fcn.100d1270
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x14
jmp 0x1002bde3
mov edi, dword [ebp - 0xb4]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa4]
push 0xcc0020
push 0
push 0
push esi
push eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x1002bb4e
push str.BitBlt_failed
push 1
push 0x33
push str..._srcMoniterHelper_screenshortScreenshort.cpp
push str.CScreenshort::Save
call fcn.100d1270
add esp, 0x14
jmp 0x1002bdd5
mov edi, dword [ebp - 0xc0]
lea eax, [ebp - 0x64]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x60]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x5c]
movdqu xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], eax
shl eax, 5
add eax, 0x1f
mov dword [ebp - 0x28], 0
cdq
and edx, 0x1f
mov dword [ebp - 0x4c], 0x28
add eax, edx
mov dword [ebp - 0x44], ecx
sar eax, 5
imul eax, ecx
movdqu xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x40], 0x200001
mov dword [ebp - 0x3c], 0
shl eax, 2
push eax
push 0x42
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0xe8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xc8], eax
push ecx
push eax
push dword [ebp - 0x5c]
push 0
push edi
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x104]
add eax, 0x36
mov dword [ebp - 0x1a], 0x36
mov dword [ebp - 0x22], eax
mov eax, 0x4d42
mov word [ebp - 0x24], ax
xor eax, eax
push 2
push 0x100f1764
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
call fcn.10001df0
mov byte [ebp - 4], 1
lea edx, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0xd0], 7
cmovae edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
cmp word [edx], ax
jne 0x1002bc61
xor ecx, ecx
jmp 0x1002bc75
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bc66
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe4]
call fcn.10001df0
cmp dword [ebp - 0xf0], 8
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0xe4]
cmovae ecx, dword [ebp - 0x104]
cmp dword [ebp - 0xd0], 8
push ecx
cmovae eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.MSVCR120.dll__wfopen]
add esp, 8
mov edi, eax
cmp dword [ebp - 0xd0], 8
jb 0x1002bccf
push dword [ebp - 0xe4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], 7
cmp dword [ebp - 0xf0], 8
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
jb 0x1002bd04
push dword [ebp - 0x104]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
test edi, edi
je 0x1002bd69
mov esi, dword [sym.imp.MSVCR120.dll_fwrite]
lea eax, [ebp - 0x24]
push edi
push 1
push 0xe
push eax
call esi
push edi
push 1
lea eax, [ebp - 0x4c]
push 0x28
push eax
call esi
push edi
push 1
push dword [ebp - 0xbc]
push dword [ebp - 0xc8]
call esi
push edi
call dword [sym.imp.MSVCR120.dll_fclose]
mov esi, dword [ebp - 0xb8]
add esp, 0x34
mov byte [ebp - 0xa9], 1
push 0x34
lea eax, [ebp - 0x98]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.1002ab90
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x98]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.1002ae90
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x98]
push eax
call fcn.1002b690
mov edi, dword [ebp - 0xe8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x98]
call fcn.1002ac60
push dword [ebp - 0xc0]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 0xb4]
call edi
mov edi, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [sym.imp.USER32.dll_ReleaseDC]
test ecx, ecx
je 0x1002be0a
push ecx
push 0
call eax
mov eax, dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x1002be12
push esi
push edi
call eax
cmp dword [ebp + 0x20], 8
jb 0x1002be24
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, byte [ebp - 0xa9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret 0x1c