Function at 0x10013e62
Capabilities:
Capture screenshot
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
or dword [ebp - 0x1c], 0xffffffff
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [ebp - 0x24], esi
je 0x10013e8b
call dword [sym.imp.USER32.dll_GetShellWindow]
cmp dword [ebp + 8], eax
jne 0x10013e8e
mov dword [ebp + 8], esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
test esi, esi
mov dword [ebp - 0x10], esi
je 0x1001408b
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1001408b
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x38], ecx
jge 0x1001408b
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x34], eax
jge 0x1001408b
sub ecx, dword [ebp - 0x38]
sub eax, dword [ebp - 0x34]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
mov dword [ebp - 8], eax
je 0x1001408b
push dword [ebp - 0x14]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x18]
push esi
call edi
test eax, eax
mov dword [ebp - 0x20], eax
je 0x10014082
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 8]
call esi
test eax, eax
mov dword [ebp - 0x28], eax
je 0x10014079
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x10014035
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ah, 2
jae 0x10014035
push dword [ebp - 0x10]
call ebx
test eax, eax
mov dword [ebp - 0xc], eax
je 0x10014079
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call edi
test eax, eax
mov dword [ebp - 0x28], eax
je 0x1001402a
push eax
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
mov edi, dword [ebp + 8]
push dword [ebp - 8]
call fcn.10013dc5
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 1
push 5
push edi
call esi
push eax
jmp 0x10013fa2
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x10013f9f
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.10013dc5
push 3
push edi
call esi
mov edi, eax
test edi, edi
jne 0x10013f89
push dword [ebp - 0x10]
call ebx
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x10014021
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x24], eax
je 0x10013fe8
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
push 0xcc0020
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 8]
push ecx
push eax
jmp 0x10013ffc
push 0xcc0020
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
push esi
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
cmp eax, esi
je 0x1001401a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.10013e27
mov dword [ebp - 0x1c], eax
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x10014079
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push 0xcc0020
xor edi, edi
push edi
push edi
push dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push edi
push edi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x10014079
push dword [ebp - 0x28]
push dword [ebp - 8]
call esi
cmp eax, edi
je 0x10014079
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.10013e27
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0xc