Function at 0x1400027f0
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
push rsi
push r14
sub rsp, 0xb8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x70], 1
lea rdx, [r11 - 0x58]
mov rsi, rcx
xor r14d, r14d
lea rcx, [r11 - 0x60]
mov qword [r11 - 0x50], r14
xor r8d, r8d
mov qword [r11 - 0x48], r14
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x140002a4d
mov qword [rsp + 0xd8], rbx
xor ecx, ecx
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xa0], r15
call qword [sym.imp.USER32.dll_GetDC]
lea ecx, [r14 + 1]
mov r15, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, edi
mov edx, ebx
mov rcx, r15
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rbp
mov r12, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, ebx
mov dword [rsp + 0x38], r14d
xor r8d, r8d
mov dword [rsp + 0x30], r14d
xor edx, edx
mov qword [rsp + 0x28], r15
mov rcx, rbp
mov dword [rsp + 0x20], edi
mov r13, rax
call qword [sym.imp.GDI32.dll_BitBlt]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], r14
xor edx, edx
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x60], r14d
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x50], r14d
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
test eax, eax
je 0x1400029e0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400029e0
mov edx, dword [rsp + 0x50]
mov r8, rax
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov r9d, dword [rsp + 0x60]
xor ebx, ebx
test r9d, r9d
je 0x1400029d7
lea r10, str.image_png
nop
mov eax, ebx
imul r8, rax, 0x68
xor eax, eax
mov rdx, qword [r8 + rdi + 0x40]
nop dword [rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r10 + rax*2]
jne 0x1400029d0
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r10 + rax*2 + 2]
jne 0x1400029d0
add rax, 2
cmp rax, 0xa
jne 0x140002970
movups xmm0, xmmword [r8 + rdi]
mov rcx, rdi
movups xmmword [rsp + 0x88], xmm0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp ebx, 0xffffffff
je 0x1400029e0
cmp qword [rsi + 0x18], 7
jbe 0x1400029b7
mov rsi, qword [rsi]
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
jmp 0x1400029e0
inc ebx
cmp ebx, r9d
jb 0x140002960
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, r13
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rcx, r14
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140007350
add rsp, 0xb8
pop r14
pop rsi
ret