Function at 0x1401996a0
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0x100
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rcx
mov rcx, qword [rcx + 8]
lea rdx, [rbp - 0x31]
xor r14d, r14d
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x41], r14
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, qword [0x140441068]
mov rcx, qword [rsi + 8]
mov qword [rbp - 0x41], rax
call qword [sym.imp.USER32.dll_GetPropW]
cmp eax, 2
je 0x1401998c9
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x69]
mov qword [rsp + 0x128], rbx
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rbp - 0x41]
mov qword [rbp - 0x71], r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rbp - 0x5d]
mov edx, dword [rbp - 0x61]
sub r8d, dword [rbp - 0x65]
sub edx, dword [rbp - 0x69]
mov rcx, qword [rbp - 0x41]
mov qword [rbp - 0x71], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, qword [rbp - 0x71]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsi + 8]
lea edx, [r14 - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0x20
je 0x140199839
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0xf0], r13
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
mov r13, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x59]
mov r12, rax
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetParent]
lea rdx, [rbp - 0x59]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1401997d9
lea rdx, [rbp - 0x51]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [rbp - 0x55]
mov eax, dword [rbp - 0x59]
mov edx, dword [rbp - 0x4d]
mov r9d, dword [rbp - 0x51]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
sub edx, ecx
mov rcx, qword [rbp - 0x71]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edx
sub r9d, eax
xor edx, edx
xor r8d, r8d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r12
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x130]
jmp 0x14019984a
mov rcx, qword [rbp - 0x71]
lea rdx, [rbp - 0x69]
xor r8d, r8d
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140199864
mov rax, qword [rcx]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x71]
mov r9b, 0x64
call qword [rax + 0x10]
mov ecx, dword [rbp - 0x5d]
mov rax, qword [rbp - 0x71]
mov r9d, dword [rbp - 0x61]
sub ecx, dword [rbp - 0x65]
sub r9d, dword [rbp - 0x69]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 0x41]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_BitBlt]
test rbx, rbx
je 0x1401998ae
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp - 0x71]
mov rbx, qword [rsp + 0x128]
test rcx, rcx
je 0x1401998c9
mov qword [rbp - 0x71], r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rbp - 0x39]
lea rdx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x100
pop r14
pop rsi
pop rbp
ret