Function at 0x14000b0e0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r15, rcx
mov dword [rbp - 0x11], 1
xor r13d, r13d
lea rcx, [rbp - 0x29]
xor r8d, r8d
mov qword [rbp - 9], r13
lea rdx, [rbp - 0x11]
mov qword [rbp - 1], r13
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edx, [r13 + 8]
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
lea edx, [r13 + 0xa]
mov rcx, r14
mov edi, eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, edi
mov rcx, r14
mov r8d, eax
mov ebx, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rsi
mov r12, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, edi
mov dword [rsp + 0x38], r13d
xor r8d, r8d
mov dword [rsp + 0x30], r13d
xor edx, edx
mov qword [rsp + 0x28], r14
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
test r12, r12
je 0x14000b371
lea rdx, [rbp + 0x6f]
mov dword [rbp + 0x77], r13d
lea rcx, [rbp + 0x77]
mov dword [rbp + 0x6f], r13d
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rbp + 0x6f]
test eax, eax
je 0x14000b25f
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000b25f
mov edx, dword [rbp + 0x6f]
mov r8, rax
mov ecx, dword [rbp + 0x77]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov r10d, dword [rbp + 0x77]
mov r8d, r13d
test r10d, r10d
je 0x14000b256
lea r11, str.image_png
mov r9d, r8d
imul rax, r9, 0x68
mov rdx, qword [rax + rbx + 0x40]
mov rax, r13
nop
movzx ecx, word [rdx + rax*2]
cmp cx, word [r11 + rax*2]
jne 0x14000b360
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r11 + rax*2 + 2]
jne 0x14000b360
add rax, 2
cmp rax, 0xa
jne 0x14000b220
imul rax, r9, 0x68
movups xmm0, xmmword [rax + rbx]
movups xmmword [rbp - 0x21], xmm0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r8, [rbp + 0x6f]
mov qword [rbp + 0x7f], r13
xor edx, edx
mov qword [rbp + 0x6f], r13
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea r8, [rbp + 0x7f]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdx, qword [rbp + 0x7f]
lea r8, [rbp - 0x21]
mov rcx, qword [rbp + 0x6f]
xor r9d, r9d
call qword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp + 0x6f]
mov qword [rbp + 0x6f], r13
call qword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
movdqa xmm0, xmmword [0x1400ce690]
lea rcx, [rbp + 7]
mov rdx, rax
mov qword [rbp + 7], r13
movdqu xmmword [rbp + 0x17], xmm0
mov rbx, rax
call fcn.140039450
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp qword [rbp + 0x1f], 0x10
lea rcx, [rbp + 7]
mov r8, rbx
mov rdx, rax
cmovae rcx, qword [rbp + 7]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rax, [rbp + 7]
cmp r15, rax
je 0x14000b342
mov rcx, r15
call fcn.140007de0
movups xmm0, xmmword [rbp + 7]
mov byte [rbp + 7], r13b
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [r15], xmm0
movdqa xmm0, xmmword [0x1400ce690]
movdqu xmmword [rbp + 0x17], xmm0
movups xmmword [r15 + 0x10], xmm1
lea rcx, [rbp + 7]
call fcn.140007de0
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x14000b384
inc r8d
cmp r8d, r10d
jb 0x14000b210
jmp 0x14000b256
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_capture_screen_n
call fcn.140007ff0
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret