Function at 0x180023380
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0x100
mov rax, qword [0x180050b58]
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 [0x180051220]
mov rcx, qword [rsi + 8]
mov qword [rbp - 0x41], rax
call qword [sym.imp.USER32.dll_GetPropW]
cmp eax, 2
je 0x1800235f2
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x69]
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rdi
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 0x180023511
mov rcx, qword [rsi + 8]
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 0x1800234b9
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]
jmp 0x180023522
mov rcx, qword [rbp - 0x71]
lea rdx, [rbp - 0x69]
xor r8d, r8d
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x18002354d
mov r10, qword [rcx]
lea rax, [rsi + 0x50]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x71]
xor r9d, r9d
mov byte [rsp + 0x28], 0x64
mov qword [rsp + 0x20], rax
call qword [r10 + 0x30]
jmp 0x180023585
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x180023585
mov rcx, qword [rsi + 0x50]
sub rcx, 0x18
call fcn.180002420
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x69]
add rax, 0x18
lea rdx, [rbp - 0x71]
mov rcx, rdi
mov qword [rbp - 0x59], rax
mov rax, qword [rdi]
mov byte [rsp + 0x20], 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]
mov rdi, qword [rsp + 0x130]
test rbx, rbx
je 0x1800235d7
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp - 0x71]
mov rbx, qword [rsp + 0x128]
test rcx, rcx
je 0x1800235f2
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.18002f870
add rsp, 0x100
pop r14
pop rsi
pop rbp
ret