Function at 0x180017c48
Capabilities:
Capture screenshot
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
or r13d, 0xffffffff
mov r15, r9
mov rbx, rcx
mov dword [rsp + 0xb0], r13d
call qword [sym.imp.USER32.dll_GetDesktopWindow]
test rbx, rbx
mov rdi, rax
mov qword [rsp + 0x50], rax
je 0x180017c96
call qword [sym.imp.USER32.dll_GetShellWindow]
cmp rbx, rax
jne 0x180017c99
mov rbx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowDC]
test rax, rax
mov rdi, rax
je 0x180017f40
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x180017f40
mov ebp, dword [rsp + 0x68]
cmp dword [rsp + 0x60], ebp
jge 0x180017f40
mov r12d, dword [rsp + 0x6c]
cmp dword [rsp + 0x64], r12d
jge 0x180017f40
sub ebp, dword [rsp + 0x60]
sub r12d, dword [rsp + 0x64]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
mov rsi, rax
je 0x180017f40
mov r8d, r12d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test rax, rax
mov r14, rax
je 0x180017f37
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
mov r13, rax
je 0x180017f2a
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x180017ec0
call qword [sym.imp.KERNEL32.dll_GetVersion]
shr ax, 8
cmp al, 2
jae 0x180017ec0
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
mov r15, rax
je 0x180017f2a
mov r8d, r12d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test rax, rax
mov qword [rsp + 0x58], rax
je 0x180017ead
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.180017b44
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov edx, 1
mov rcx, rax
jmp 0x180017dd8
mov rcx, r13
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x180017dd0
mov r8, r15
mov rdx, rsi
mov rcx, r13
call fcn.180017b44
mov edx, 3
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov r13, rax
jne 0x180017db5
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
mov rdi, rax
je 0x180017ea2
cmp qword [rsp + 0x50], rbx
je 0x180017e41
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edx
sub r9d, edx
sub ecx, eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ecx
jmp 0x180017e66
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, ebp
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x180017e99
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
xor edx, edx
mov rcx, r14
call fcn.180017be8
mov dword [rsp + 0xb0], eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r13d, dword [rsp + 0xb0]
jmp 0x180017f2e
mov eax, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x68]
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
sub eax, dword [rsp + 0x64]
and dword [rsp + 0x30], 0
sub r9d, dword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x180017f2a
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x180017f2a
mov r8, qword [rsp + 0xc0]
mov r9, r15
xor edx, edx
mov rcx, rax
call fcn.180017be8
mov r13d, eax
jmp 0x180017f2e
or r13d, 0xffffffff
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov eax, r13d
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret