Function at 0x140063940
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140063d26
cmp byte [r15 + 0x2a], 0
je 0x140063d26
cmp byte [r15 + 0x2b], 0
jne 0x140063d26
mov qword [rsp + 0x120], rsi
lea rdx, [rbp + 7]
mov qword [rsp + 0xe8], rdi
mov rcx, rbx
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xd0], r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [r15 + 0x24]
lea r8, [rbp - 0x19]
mov dword [rbp - 0x4d], ecx
lea eax, [rcx + rcx]
mov rcx, qword [r15 + 0x10]
mov edx, eax
sub eax, dword [rbp + 7]
sub edx, dword [rbp + 0xb]
add edx, dword [rbp + 0x13]
add eax, dword [rbp + 0xf]
mov dword [rbp - 0x2d], edx
mov edx, 0x20
mov dword [rbp - 0x51], eax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rbp - 0x11]
xor ecx, ecx
mov r14d, dword [rbp - 0x15]
mov dword [rbp - 0x3d], eax
mov dword [rbp - 0x41], r14d
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [r15 + 0x10]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
mov qword [rbp - 0x21], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [rbp - 0x51]
xor r8d, r8d
mov rcx, r15
mov r12, rax
call fcn.140063130
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [r15 + 0x24]
mov esi, r14d
mov edx, dword [rbp - 0x51]
mov ebx, edi
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x59], 0x1ff0000
lea r8d, [rdi + rdi]
sub esi, r8d
add edx, esi
cmp edi, edx
jge 0x140063ab1
lfence
mov r14d, dword [rbp - 0x41]
mov dword [rbp - 0x31], r14d
sub r14d, r8d
mov dword [rsp + 0x40], 0xcc0020
mov r9d, r14d
mov dword [rsp + 0x38], 0
xor r8d, r8d
mov dword [rsp + 0x30], edi
mov edx, ebx
mov qword [rsp + 0x28], r13
mov rcx, r12
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [rbp - 0x51]
add ebx, esi
add ecx, esi
cmp ebx, ecx
jl 0x140063a74
mov r14d, dword [rbp - 0x31]
mov dword [rsp + 0x40], 0xcc0020
xor ebx, ebx
mov dword [rsp + 0x38], ebx
mov r9d, edi
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x28], r13
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [rbp - 0x51]
sub r14d, edi
mov dword [rsp + 0x40], 0xcc0020
sub edx, edi
mov dword [rsp + 0x38], ebx
mov r9d, edi
mov dword [rsp + 0x30], r14d
xor r8d, r8d
mov qword [rsp + 0x28], r13
mov rcx, r12
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [rbp + 7]
lea r9, [rbp - 0x51]
sub eax, dword [r15 + 0x24]
lea r8, [rbp - 0x49]
mov rcx, qword [r15 + 0x30]
xor edx, edx
mov dword [rbp - 0x49], eax
mov eax, dword [rbp + 0xb]
sub eax, dword [r15 + 0x24]
mov dword [rsp + 0x40], 2
mov dword [rbp - 0x45], eax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x39]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov qword [rbp - 0x39], rbx
call qword [0x1401f2058]
mov eax, dword [r15 + 0x24]
lea r9, [rbp - 0x51]
mov dword [rsp + 0x30], eax
mov r8, r13
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 2
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140063700
mov eax, dword [rbp + 7]
lea r9, [rbp - 0x51]
sub eax, dword [r15 + 0x24]
lea r8, [rbp - 0x49]
mov rcx, qword [r15 + 0x40]
xor edx, edx
mov dword [rbp - 0x49], eax
mov eax, dword [rbp + 0x13]
mov dword [rsp + 0x40], 2
mov dword [rbp - 0x45], eax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x39]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [0x1401f2058]
mov eax, dword [r15 + 0x24]
mov r8b, 1
mov ecx, dword [rbp - 0x2d]
mov dword [rbp - 0x51], eax
add eax, eax
sub ecx, eax
mov dword [rbp - 0x4d], ecx
mov rcx, r15
mov rdx, qword [rbp - 0x51]
call fcn.140063130
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [r15 + 0x24]
lea r9, [rbp - 0x51]
mov dword [rsp + 0x30], eax
mov r8, r13
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 3
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140063700
mov eax, dword [rbp + 7]
lea r9, [rbp - 0x51]
sub eax, dword [r15 + 0x24]
lea r8, [rbp - 0x49]
mov rcx, qword [r15 + 0x48]
xor edx, edx
mov dword [rbp - 0x49], eax
mov eax, dword [rbp + 0xb]
mov dword [rsp + 0x40], 2
mov dword [rbp - 0x45], eax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x39]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [0x1401f2058]
mov eax, dword [r15 + 0x24]
lea r9, [rbp - 0x51]
mov dword [rsp + 0x30], eax
mov r8, r13
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 1
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140063700
mov eax, dword [rbp + 0xf]
lea r9, [rbp - 0x51]
mov rcx, qword [r15 + 0x38]
lea r8, [rbp - 0x49]
mov dword [rbp - 0x49], eax
xor edx, edx
mov eax, dword [rbp + 0xb]
mov dword [rsp + 0x40], 2
mov dword [rbp - 0x45], eax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x39]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [0x1401f2058]
mov rdx, qword [rbp - 0x29]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, qword [rbp - 0x21]
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r14, qword [rsp + 0xd0]
mov r13, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x120]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140160900
add rsp, 0xf0
pop r15
pop rbx
pop rbp
ret