Function at 0x140012df0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, rcx
mov r13, r8
xor ecx, ecx
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [rbx], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [r13], eax
mov r8d, eax
mov edx, dword [rbx]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rdi
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [r13]
xor r14d, r14d
mov r9d, dword [rbx]
xor r8d, r8d
mov dword [rsp + 0x40], 0xcc0020
xor edx, edx
mov dword [rsp + 0x38], r14d
mov r12, rax
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x140012ed9
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor al, al
jmp 0x1400130a6
mov edx, dword [rbx]
xorps xmm0, xmm0
mov eax, dword [r13]
mov dword [rsp + 0x6c], edx
neg eax
and edx, 0x7ffffff
mov dword [rsp + 0x8c], r14d
imul edx, dword [r13]
movdqu xmmword [rsp + 0x7c], xmm0
mov dword [rsp + 0x68], 0x28
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x74], 0x200001
shl edx, 2
mov r14d, edx
mov qword [rsp + 0x60], 0
movdqu xmmword [rsp + 0x50], xmm0
test edx, edx
je 0x140012f57
mov edx, r14d
lea rcx, [rsp + 0x50]
call fcn.1400285c0
mov rbx, qword [rsp + 0x50]
mov r8d, r14d
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + r14]
mov qword [rsp + 0x58], rax
mov rcx, rbp
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, qword [rsp + 0x50]
xor r14d, r14d
mov r9d, dword [r13]
mov rbx, rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rdx, r12
mov rcx, rdi
test eax, eax
jne 0x140012fcf
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor bl, bl
jmp 0x140013064
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rax, [rsp + 0x50]
cmp rsi, rax
je 0x140013062
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001303a
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140013035
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013097
mov rcx, r8
call fcn.140048104
mov rax, qword [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsi], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov bl, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400130a3
mov rdx, qword [rsp + 0x60]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001309e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001309e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048104
movzx eax, bl
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400480a0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret