Function at 0x140001800
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x27], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r15, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
lea rdx, [rbp - 0x31]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8d, dword [rbp - 0x25]
mov edx, dword [rbp - 0x29]
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r14
mov ecx, dword [rbp - 0x25]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp - 0x29]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r13
lea r8, [rbp - 0x39]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov ebx, eax
mov dword [rbp - 0x11], eax
mov r12, qword [rbp - 0x39]
mov qword [rbp - 0x19], r12
lea rdx, [rbp + 0x17]
lea rcx, str.557cf400_1a04_11d3_9a27_0000f81b51b8
call qword [sym.imp.ole32.dll_CLSIDFromString]
lea rdx, str.C:UsersPublic_screenshot.png
lea rcx, [rbp - 9]
call fcn.1400032c0
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rdx, qword [rbp - 9]
xor r9d, r9d
lea r8, [rbp + 0x17]
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
cmovne ebx, eax
mov dword [rbp - 0x11], ebx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rdx, str.Screenshot_taken_and_saved_
lea rcx, [rbp - 0x59]
call fcn.1400032c0
mov edx, 0xff00
lea rcx, [rbp - 0x59]
call fcn.140001400
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x1400019b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000402c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1400019f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000402c
movdqa xmm0, xmmword [0x140006d10]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r13w
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140003f00
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret