Function at 0x140381920
Capabilities:
Capture screenshot

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x60], xmm6
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rsi, rcx
mov ecx, 2
call qword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_SetProcessDpiAwareness]
test eax, eax
jns 0x14038197d
mov ecx, eax
call fcn.140381fd0
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], edx
mov qword [rbp + 0x10], 1
test rax, rax
je 0x14038197d
lea rcx, [rbp + 0x18]
call fcn.1403824f0
call fcn.1402d2800
mov rcx, rax
call qword [sym.imp.user32.dll_GetDC]
mov rdi, rax
inc rax
cmp rax, 2
jae 0x1403819a0
mov byte [rsi + 8], 0
jmp 0x140381a79
mov rcx, rdi
call qword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov r14, rax
inc rax
cmp rax, 2
jae 0x1403819cf
call fcn.1402d2800
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.user32.dll_ReleaseDC]
mov byte [rsi + 8], 2
jmp 0x140381a79
mov r15, qword [sym.imp.user32.dll_GetSystemMetrics]
mov ecx, 0x4c
call r15
mov dword [rbp + 0x50], eax
mov ecx, 0x4d
call r15
mov r12d, eax
mov ecx, 0x4e
call r15
mov r13d, eax
mov ecx, 0x4f
call r15
mov r15d, eax
mov rcx, rdi
mov edx, r13d
mov r8d, eax
call qword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov rbx, rax
inc rax
cmp rax, 2
jae 0x140381a3d
mov rcx, r14
call qword [sym.imp.gdi32.dll_DeleteDC]
call fcn.1402d2800
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.user32.dll_ReleaseDC]
mov byte [rsi + 8], 3
jmp 0x140381a79
mov rcx, r14
mov rdx, rbx
call qword [sym.imp.gdi32.dll_SelectObject]
inc rax
cmp rax, 2
jae 0x140381aa1
mov rcx, r14
call qword [sym.imp.gdi32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.gdi32.dll_DeleteObject]
call fcn.1402d2800
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.user32.dll_ReleaseDC]
mov byte [rsi + 8], 4
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x60]
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0x40], rbx
mov dword [rsp + 0x48], r15d
mov r9d, r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r12d
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x30], eax
mov r12d, r15d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x50], 0xcc0020
mov rcx, r14
xor edx, edx
xor r8d, r8d
call qword [sym.imp.gdi32.dll_StretchBlt]
test eax, eax
je 0x140381bda
mov ebx, r12d
neg ebx
lea rcx, [rbp + 0x10]
call fcn.140381d00
mov r15d, dword [rbp + 0x34]
movups xmm6, xmmword [rbp + 0x24]
lea rcx, [rbp + 0x10]
call fcn.140381ce0
mov dword [rbp - 0x1c], 0x28
mov dword [rbp - 0x18], r13d
mov dword [rbp - 0x14], ebx
mov ebx, r13d
mov qword [rbp - 0x10], 0x200001
movups xmmword [rbp - 8], xmm6
mov dword [rbp + 8], r15d
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0xc], eax
mov eax, r13d
imul eax, r12d
shl eax, 2
movsxd r13, eax
mov rcx, r13
mov dl, 1
call fcn.140318f40
mov qword [rbp + 0x48], rax
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
mov qword [rbp + 0x50], rdx
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x30], 0
mov rcx, r14
mov rdx, qword [rbp + 0x40]
xor r8d, r8d
mov r9d, r12d
call qword [sym.imp.gdi32.dll_GetDIBits]
cmp eax, 0x57
je 0x140381b84
test eax, eax
jne 0x140381c07
mov rcx, r14
call qword [sym.imp.gdi32.dll_DeleteDC]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.gdi32.dll_DeleteObject]
call fcn.1402d2800
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.user32.dll_ReleaseDC]
mov byte [rsi + 8], 6
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x48]
test rdx, rdx
je 0x140381a86
mov r8d, 1
mov rcx, qword [rbp + 0x50]
call fcn.1403040a0
jmp 0x140381a86
mov rcx, r14
call qword [sym.imp.gdi32.dll_DeleteDC]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.gdi32.dll_DeleteObject]
call fcn.1402d2800
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.user32.dll_ReleaseDC]
mov byte [rsi + 8], 8
jmp 0x140381a79
mov rcx, qword [rbp + 0x50]
mov rax, rcx
add rax, r13
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x30], 4
lea rcx, [rbp + 0x10]
call fcn.1403818a0
mov rcx, r14
call qword [sym.imp.gdi32.dll_DeleteDC]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.gdi32.dll_DeleteObject]
call fcn.1402d2800
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.user32.dll_ReleaseDC]
mov rax, qword [rbp + 0x48]
mov qword [rsi], rax
mov rax, qword [rbp + 0x50]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r13
mov dword [rsi + 0x18], ebx
mov dword [rsi + 0x1c], r12d
jmp 0x140381a86