Function at 0x140007c28
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 [0x140102040]
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]
xor r15d, r15d
test eax, eax
jne 0x140007d4a
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.140004498
lea rdx, [0x140004608]
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 0x140007f99
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], r15
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], r15d
test eax, eax
je 0x140007dd6
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.140004498
lea rdx, [0x140004608]
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 0x140007f84
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]
mov r13d, r15d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
mov dword [rbp - 0x29], r15d
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 [0x140103800]
div r8d
mov dword [rbp - 0x31], eax
mov r14d, r15d
test r8d, r8d
jle 0x140007f7a
mov ebx, r15d
jmp 0x140007e51
xor r15d, r15d
lea ecx, [r8 - 1]
cmp r14d, ecx
jne 0x140007e87
mov dword [rbp - 0x29], r15d
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 [0x140103800]
mov eax, dword [rbp - 0x31]
jmp 0x140007e8b
lea r12d, [rbx + rax]
mov edi, ebx
cmp ebx, r12d
jge 0x140007efc
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 0x140007eeb
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 0x140007ed2
mov dword [rbp - 0x11], eax
jmp 0x140007ee7
cmp dword [rbp - 0x25], 0xff36b752
je 0x140007ee4
cmp dword [rbp - 0x25], 0xff143d0b
jne 0x140007ee7
inc r15d
inc esi
jmp 0x140007e94
inc edi
cmp edi, r12d
jl 0x140007e92
mov r8d, dword [0x140103800]
mov eax, dword [rbp - 0x31]
add r13d, r15d
inc r14d
add ebx, eax
cmp r14d, r8d
jl 0x140007e4e
cmp r13d, 0x2710
jle 0x140007f7a
movd xmm0, dword [rbp - 0x39]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400f01d0]
cvttsd2si esi, xmm0
movd xmm0, dword [rbp - 0x35]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400f01d0]
cvttsd2si edi, xmm0
xor ebx, ebx
test edi, edi
jle 0x140007f7a
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 0x140007f46
lea rcx, [rbp + 0x17]
call fcn.140010cb0
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.140063600
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