Function at 0x14019b7e0
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rsi
push rdi
push r13
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, rcx
mov rcx, qword [rcx + 8]
lea rdx, [rbp - 0x60]
xor edi, edi
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x70], rdi
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, qword [0x140441140]
mov rcx, qword [r13 + 8]
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_GetPropW]
cmp eax, 2
jne 0x14019b848
mov rcx, qword [rbp - 0x68]
lea rdx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x14019bad9
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x58]
mov qword [rsp + 0x140], r12
mov dword [rsp + 0x60], edi
call fcn.14019b410
cmp qword [rax], rdi
je 0x14019bac3
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x138], rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x78]
sub r8d, dword [rsp + 0x74]
sub edx, dword [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0x50], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [r13 + 8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0x20
je 0x14019b9a2
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x148], r14
mov qword [rsp + 0x100], r15
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
mov r15, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [r13 + 8]
lea rdx, [rbp - 0x80]
mov r14, rax
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetParent]
lea rdx, [rbp - 0x80]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14019b949
lea rdx, [rbp - 0x78]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [rbp - 0x7c]
mov eax, dword [rbp - 0x80]
mov edx, dword [rbp - 0x74]
mov r9d, dword [rbp - 0x78]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
sub edx, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
sub r9d, eax
xor edx, edx
xor r8d, r8d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15, qword [rsp + 0x100]
mov r14, qword [rsp + 0x148]
xor edi, edi
mov rax, qword [0x14042f270]
lea rcx, [0x14042f270]
call qword [rax + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [r13 + 8]
add rax, 0x18
mov qword [rsp + 0x58], rax
call fcn.1400d6640
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [r13 + 8]
jne 0x14019ba01
lea rdx, [rsp + 0x68]
lea rcx, [r13 + 0x58]
mov dword [rsp + 0x68], 1
call fcn.14019b410
cmp qword [rax], 0
je 0x14019ba01
mov dword [rsp + 0x64], 1
lea rdx, [rsp + 0x64]
jmp 0x14019ba0a
mov dword [rsp + 0x6c], edi
lea rdx, [rsp + 0x6c]
lea rcx, [r13 + 0x58]
call fcn.14019b410
mov r9d, dword [r13 + 0x78]
lea rdx, [rsp + 0x58]
mov rcx, qword [rax]
mov byte [rsp + 0x28], 0x64
mov qword [rsp + 0x20], rdx
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [rax + 0x30]
mov ecx, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x50]
sub ecx, dword [rsp + 0x74]
mov r9d, dword [rsp + 0x78]
mov dword [rsp + 0x40], 0xcc0020
sub r9d, dword [rsp + 0x70]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 0x70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14019ba98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rbx, rbx
je 0x14019baa6
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x138]
test rcx, rcx
je 0x14019bac3
mov qword [rsp + 0x50], rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rbp - 0x68]
lea rdx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_EndPaint]
mov r12, qword [rsp + 0x140]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x108
pop r13
pop rdi
pop rsi
pop rbp
ret