Function at 0x1800178dc
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 0x18001792a
call qword [sym.imp.USER32.dll_GetShellWindow]
cmp rbx, rax
jne 0x18001792d
mov rbx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowDC]
test rax, rax
mov rdi, rax
je 0x180017bd4
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x180017bd4
mov ebp, dword [rsp + 0x68]
cmp dword [rsp + 0x60], ebp
jge 0x180017bd4
mov r12d, dword [rsp + 0x6c]
cmp dword [rsp + 0x64], r12d
jge 0x180017bd4
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 0x180017bd4
mov r8d, r12d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test rax, rax
mov r14, rax
je 0x180017bcb
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
mov r13, rax
je 0x180017bbe
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x180017b54
call qword [sym.imp.KERNEL32.dll_GetVersion]
shr ax, 8
cmp al, 2
jae 0x180017b54
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
mov r15, rax
je 0x180017bbe
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 0x180017b41
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.1800177d8
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov edx, 1
mov rcx, rax
jmp 0x180017a6c
mov rcx, r13
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x180017a64
mov r8, r15
mov rdx, rsi
mov rcx, r13
call fcn.1800177d8
mov edx, 3
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov r13, rax
jne 0x180017a49
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
mov rdi, rax
je 0x180017b36
cmp qword [rsp + 0x50], rbx
je 0x180017ad5
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 0x180017afa
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 0x180017b2d
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
xor edx, edx
mov rcx, r14
call fcn.18001787c
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 0x180017bc2
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 0x180017bbe
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x180017bbe
mov r8, qword [rsp + 0xc0]
mov r9, r15
xor edx, edx
mov rcx, rax
call fcn.18001787c
mov r13d, eax
jmp 0x180017bc2
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