Function at 0x14000a1c0
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14020c040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x68], 1
lea rdx, [r11 - 0x60]
xor ebp, ebp
lea rcx, [r11 - 0x68]
xor r8d, r8d
mov qword [r11 - 0x58], rbp
mov qword [r11 - 0x50], rbp
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, ebx
mov edx, edi
mov rcx, r12
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r14
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, edi
mov dword [rsp + 0x38], ebp
xor r8d, r8d
mov dword [rsp + 0x30], ebp
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, r14
mov dword [rsp + 0x20], ebx
mov r13, rax
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rdi, rax
test rax, rax
je 0x14000a424
mov qword [rax + 8], rbp
lea r8, [rsp + 0x58]
mov qword [rax + 0x10], rbp
xor edx, edx
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rsp + 0x58], rbp
mov rcx, r15
mov qword [rdi], rax
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebp
mov dword [rdi + 0x10], eax
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
xor sil, sil
mov qword [rdi + 8], rax
mov dword [rsp + 0x58], ebp
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14000a3db
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x14000a3db
mov edx, dword [rsp + 0x50]
mov r8, rax
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov r9d, dword [rsp + 0x58]
xor ebx, ebx
test r9d, r9d
je 0x14000a3d2
lea r10, str.image_png
nop dword [rax]
mov eax, ebx
imul r8, rax, 0x68
xor eax, eax
mov rdx, qword [r8 + rbp + 0x40]
nop dword [rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r10 + rax*2]
jne 0x14000a3c7
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r10 + rax*2 + 2]
jne 0x14000a3c7
add rax, 2
cmp rax, 0xa
jne 0x14000a350
movups xmm0, xmmword [r8 + rbp]
mov rcx, rbp
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
js 0x14000a3db
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x80]
xor r9d, r9d
lea rdx, str.C:_screenshot.png
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x14000a40d
test eax, eax
mov dword [rdi + 0x10], eax
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
sete sil
call qword [rax]
jmp 0x14000a44a
inc ebx
cmp ebx, r9d
jb 0x14000a340
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_getting_PNG_encoder_CLSID.
call fcn.1400092c0
lea rdx, [0x1400094a0]
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 rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
jmp 0x14000a44a
xor eax, eax
mov edx, 1
test eax, eax
mov rcx, rdi
mov rax, qword [rdi]
sete sil
call qword [rax]
jmp 0x14000a44a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_creating_GDI_bitmap.
xor sil, sil
call fcn.1400092c0
lea rdx, [0x1400094a0]
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, r13
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
movzx eax, sil
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140010120
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret