Function at 0x140008684
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x14010b040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov ebx, 1
mov dword [rbp - 9], ebx
xor r13d, r13d
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0xf]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r15d, eax
mov dword [rbp - 0x39], eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r12d, eax
mov dword [rbp - 0x35], eax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
mov r8d, r12d
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov r14, rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
mov r9d, r15d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x1400087a3
lea rdx, str.Error_copying_screen_contents.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004550
lea rdx, [0x1400046c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140008a4a
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 - 0x31], r13
lea r8, [rbp - 0x31]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x19], rcx
mov dword [rbp - 0x11], r13d
test eax, eax
je 0x14000882f
lea rdx, str.Error_creating_GDI_Bitmap.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004550
lea rdx, [0x1400046c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140008a35
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor r13d, r13d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
and qword [rbp + 0x27], r13
and dword [rbp - 0x29], r13d
lea rdx, [rbp - 0x29]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, dword [rbp - 0x11]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 0x11], ecx
xor edx, edx
mov eax, dword [rbp - 0x29]
mov r8d, dword [0x14010c978]
div r8d
mov dword [rbp - 0x31], eax
xor r14d, r14d
test r8d, r8d
jle 0x14000896b
xor ebx, ebx
lea ecx, [r8 - 1]
cmp r14d, ecx
jne 0x1400088da
and dword [rbp - 0x29], 0
lea rdx, [rbp - 0x29]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, dword [rbp - 0x11]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 0x11], ecx
mov r12d, dword [rbp - 0x29]
mov r8d, dword [0x14010c978]
mov eax, dword [rbp - 0x31]
jmp 0x1400088de
lea r12d, [rbx + rax]
xor r15d, r15d
mov edi, ebx
cmp ebx, r12d
jge 0x140008952
xor esi, esi
and dword [rbp - 0x29], 0
lea rdx, [rbp - 0x29]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, dword [rbp - 0x11]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 0x11], ecx
cmp esi, dword [rbp - 0x29]
jae 0x140008941
lea r9, [rbp - 0x25]
mov r8d, esi
mov edx, edi
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.gdiplus.dll_GdipBitmapGetPixel]
test eax, eax
je 0x140008928
mov dword [rbp - 0x11], eax
jmp 0x14000893d
cmp dword [rbp - 0x25], 0xff36b752
je 0x14000893a
cmp dword [rbp - 0x25], 0xff143d0b
jne 0x14000893d
inc r15d
inc esi
jmp 0x1400088ea
inc edi
cmp edi, r12d
jl 0x1400088e8
mov r8d, dword [0x14010c978]
mov eax, dword [rbp - 0x31]
add r13d, r15d
inc r14d
add ebx, eax
cmp r14d, r8d
jl 0x1400088a4
mov r15d, dword [rbp - 0x39]
mov r12d, dword [rbp - 0x35]
and dword [rbp - 0x31], 0
lea rdx, [rbp - 0x31]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, dword [rbp - 0x11]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 0x11], ecx
mov ebx, dword [rbp - 0x31]
and dword [rbp - 0x25], 0
lea rdx, [rbp - 0x25]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, dword [rbp - 0x11]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 0x11], ecx
mov eax, dword [rbp - 0x25]
imul eax, ebx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x1400f7fb8]
cvttss2si eax, xmm0
cmp r13d, eax
jle 0x140008a2b
movd xmm0, r15d
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400f8088]
cvttsd2si esi, xmm0
movd xmm0, r12d
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400f8088]
cvttsd2si edi, xmm0
xor ebx, ebx
test edi, edi
jle 0x140008a2b
mov edx, ebx
mov ecx, esi
call qword [sym.imp.USER32.dll_SetCursorPos]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov edx, esi
lea ecx, [r9 + 6]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x14
cmp ebx, edi
jl 0x1400089f7
lea rcx, [rbp + 0x17]
call fcn.140013fd4
nop
lea rax, vtable.Gdiplus::Image.0
mov qword [rbp - 0x21], rax
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006a100
lea r11, [rsp + 0xc0]
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