Function at 0x140016340
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov edx, 0xffffffeb
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
call fcn.140019940
mov rsi, rax
test rax, rax
je 0x140016732
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
test rax, rax
je 0x140016732
xor edx, edx
mov r8d, 0xc0
lea rcx, [rbp - 0x80]
call fcn.140070390
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov ecx, 0x38
call fcn.14006ec1c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], al
xor r9d, r9d
lea r8, [rbp - 0x80]
mov rdx, rbx
mov rcx, rsi
call fcn.1400197d0
test al, al
je 0x140016725
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x140016467
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140012e90
xor al, al
jmp 0x140016734
cmp qword [0x1400cf0c0], 0
jne 0x14001649b
mov r8d, 0x2000
movzx edx, word [rbp + 0x94]
lea rcx, [rsp + 0x70]
call fcn.140058270
mov rcx, qword [rax]
mov qword [0x1400cf0c0], rcx
test rcx, rcx
je 0x140016725
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowDC]
mov r13, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
mov qword [rsp + 0x68], rax
xor esi, esi
mov dword [rsp + 0x5c], esi
mov dword [rsp + 0x58], esi
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x5c]
lea rcx, [rbp - 0x80]
call fcn.140019660
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x5c]
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x78], rax
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
mov qword [rbp + 0x7c], rsi
mov r14d, dword [rbp + 0x90]
mov dword [rbp + 0x84], r14d
mov esi, dword [rbp + 0x8c]
mov dword [rbp + 0x88], esi
mov rbx, qword [0x1400cf0c0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowDC]
mov r15, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov r14, qword [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
xor ebx, ebx
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], ebx
mov r9b, 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x54]
lea rcx, [rbp - 0x80]
call fcn.140019660
mov eax, dword [rsp + 0x54]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [rsp + 0x5c]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x70], rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0xa0], rbx
mov ecx, dword [rsp + 0x54]
mov dword [rbp + 0xa8], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbp + 0xac], ecx
mov ecx, 0x222222
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rbx, rax
mov r8, rax
lea rdx, [rbp + 0xa0]
mov rcx, r15
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rbx
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x5c]
mov r8d, edi
mov edx, esi
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r13
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400166f4
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001671b
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140012e90
mov al, 1
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret