Function at 0x140008ed0
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
push rbp
push r14
sub rsp, 0xc8
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x78], 1
lea rdx, [r11 - 0x60]
mov r14, rcx
xor ebp, ebp
lea rcx, [r11 - 0x68]
mov qword [r11 - 0x58], rbp
xor r8d, r8d
mov qword [r11 - 0x50], rbp
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x140008f1f
xor al, al
jmp 0x140009192
mov qword [rsp + 0xe8], rbx
xor ecx, ecx
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xb0], r15
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 r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, ebx
mov edx, edi
mov rcx, r13
mov qword [rsp + 0x68], rax
mov rsi, rax
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], ebp
xor r8d, r8d
mov dword [rsp + 0x30], ebp
xor edx, edx
mov qword [rsp + 0x28], r13
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x18
call sub.gdiplus.dll_GdipAlloc
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x14000900c
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rsp + 0x58], rbp
lea r8, [rsp + 0x58]
mov qword [rdi], rax
xor edx, edx
mov rcx, r12
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov dword [rdi + 0x10], eax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 8], rax
jmp 0x14000900f
mov rdi, rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov edx, 1
xor ecx, ecx
xor r15b, r15b
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x140009124
lea rdx, [rsp + 0x90]
lea rcx, str.557CF406_1A04_11D3_9A73_0000F81EF32E
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x90]
mov rcx, qword [rdi + 8]
xor r9d, r9d
call sub.gdiplus.dll_GdipSaveImageToStream
test eax, eax
je 0x14000906b
mov dword [rdi + 0x10], eax
jmp 0x140009119
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
call qword [sym.imp.ole32.dll_GetHGlobalFromStream]
test eax, eax
jne 0x140009119
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, qword [r14 + 8]
mov rsi, rax
mov rdx, qword [r14]
mov rcx, rbp
sub rcx, rdx
cmp rax, rcx
jae 0x1400090ad
lea rcx, [rdx + rax]
mov qword [r14 + 8], rcx
jmp 0x1400090e8
jbe 0x1400090e8
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp rsi, rax
jbe 0x1400090cd
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, r14
call fcn.140008d20
jmp 0x1400090e8
mov rbx, rsi
xor edx, edx
sub rbx, rcx
mov rcx, rbp
mov r8, rbx
call fcn.14005c680
lea rax, [rbx + rbp]
mov qword [r14 + 8], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140009114
mov rcx, qword [r14]
mov r8, rsi
mov rdx, rax
call fcn.14005bfe0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r15b, 1
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xe8]
test rdi, rdi
je 0x14000913f
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x70]
call sub.gdiplus.dll_GdiplusShutdown
mov r13, qword [rsp + 0xb8]
movzx eax, r15b
mov r15, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400354d0
add rsp, 0xc8
pop r14
pop rbp
ret