Function at 0x140007e80
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rdx
mov rbx, qword [rbp + 0xc0]
xor r13d, r13d
mov r8, qword [rbx + 8]
sub r8, qword [rbx]
sar r8, 3
lea r9, [rbp + 0x5a]
movabs r10, 0xcccccccccccccccd
nop dword [rax + rax]
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140007ee0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x5a]
cmp r9, rax
jne 0x140007f40
movdqa xmm0, xmmword [0x14005ce50]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
jmp 0x140007f58
lea r8, [rbp + 0x5a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x58]
call fcn.14001a7f0
nop
lea r8, [rsp + 0x58]
lea rdx, str.screenshot_
lea rcx, [rsp + 0x78]
call fcn.140044640
nop
mov r8d, 4
lea rdx, str..bmp
mov rcx, rax
call fcn.140041c10
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140007fe7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fe2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fe2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
movdqa xmm0, xmmword [0x14005ce50]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000803f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000803a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000803a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
movdqa xmm0, xmmword [0x14005ce50]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
mov dword [rbp - 0x40], 0x68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
mov dword [rbp + 0x24], eax
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x14000818a
mov r14d, dword [rbp - 0x34]
sub r14d, dword [rbp - 0x3c]
mov r15d, dword [rbp - 0x30]
sub r15d, dword [rbp - 0x38]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, str.DISPLAY
call qword [sym.imp.GDI32.dll_CreateDCW]
mov rsi, rax
test rax, rax
je 0x14000818a
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, rax
mov r8d, r15d
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
test rax, rax
jne 0x1400080f3
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x14000818a
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r15d
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, qword [rbp - 0x68]
mov rcx, rdi
call fcn.140007900
test al, al
jne 0x140008163
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x14000818a
mov qword [rsp + 0x50], rdi
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14000817c
mov qword [rdx], rdi
add qword [rbx + 8], 8
jmp 0x14000818a
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.14004b140
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x1400081cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
mov eax, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret