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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110903
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10152034]
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 0x1003d01f
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 0x1003d072
push str.CreateCompatibleDC_has_failed
push 1
push 0x1d
push 0x10127b00
push 0x10127b34
call fcn.100ff930
add esp, 0x14
jmp 0x1003d451
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 0x1003d0fc
push str.StretchBlt_failed
push 1
push 0x27
push 0x10127b5c
push 0x10127b90
call fcn.100ff930
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x14
jmp 0x1003d443
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 0x1003d14d
push str.CreateCompatibleBitmap_failed
push 1
push 0x2d
push 0x10127bc4
push 0x10127bf8
call fcn.100ff930
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x14
jmp 0x1003d443
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 0x1003d1ae
push str.BitBlt_failed
push 1
push 0x33
push str..._srcMoniterHelper_screenshortScreenshort.cpp
push str.CScreenshort::Save
call fcn.100ff930
add esp, 0x14
jmp 0x1003d435
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 0x10127c64
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
call fcn.10002100
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 0x1003d2c1
xor ecx, ecx
jmp 0x1003d2d5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003d2c6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe4]
call fcn.10002100
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 0x1003d32f
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 0x1003d364
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 0x1003d3c9
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.1003c1e0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x98]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.1003c4e0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x98]
push eax
call fcn.1003cce0
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.1003c2b0
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 0x1003d46a
push ecx
push 0
call eax
mov eax, dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x1003d472
push esi
push edi
call eax
cmp dword [ebp + 0x20], 8
jb 0x1003d484
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.1010a06b
mov esp, ebp
pop ebp
ret 0x1c