Function at 0x18001873c
Capabilities:
Capture screenshot
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
or r12d, 0xffffffff
mov r13, r9
mov dword [rsp + 0xb0], r12d
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r15, rax
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rdi, rax
test rax, rax
je 0x1800189cf
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1800189cf
mov esi, dword [rsp + 0x60]
cmp dword [rsp + 0x58], esi
jge 0x1800189cf
mov ebp, dword [rsp + 0x64]
cmp dword [rsp + 0x5c], ebp
jge 0x1800189cf
sub esi, dword [rsp + 0x58]
sub ebp, dword [rsp + 0x5c]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
test rax, rax
je 0x1800189cf
mov r8d, ebp
mov edx, esi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r14, rax
test rax, rax
je 0x1800189c6
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
test rax, rax
je 0x1800189b9
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x18001894f
call qword [sym.imp.KERNEL32.dll_GetVersion]
shr ax, 8
cmp al, 2
jae 0x18001894f
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r13, rax
test rax, rax
je 0x1800189b9
mov r8d, ebp
mov edx, esi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18001893c
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8, r13
mov rdx, rbx
mov rcx, r15
call fcn.180018638
mov edx, 5
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindow]
mov edx, 1
mov rcx, rax
jmp 0x1800188b2
mov rcx, r12
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1800188aa
mov r8, r13
mov rdx, rbx
mov rcx, r12
call fcn.180018638
mov edx, 3
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindow]
mov r12, rax
test rax, rax
jne 0x18001888f
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
test rax, rax
je 0x180018931
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, esi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x180018928
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
xor edx, edx
mov rcx, r14
call fcn.1800186dc
mov dword [rsp + 0xb0], eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r12d, dword [rsp + 0xb0]
jmp 0x1800189bd
mov eax, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x60]
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
sub eax, dword [rsp + 0x5c]
and dword [rsp + 0x30], 0
sub r9d, dword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x1800189b9
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x1800189b9
mov r8, qword [rsp + 0xc0]
mov r9, r13
xor edx, edx
mov rcx, rax
call fcn.1800186dc
mov r12d, eax
jmp 0x1800189bd
or r12d, 0xffffffff
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov eax, r12d
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret