Function at 0x140008140
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, rcx
mov qword [rsp + 0x68], rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov qword [rsp + 0x58], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov r8d, eax
mov edx, esi
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov qword [rsp + 0x60], rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rbp - 0x78], 0x18
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x74], xmm0
mov dword [rbp - 0x64], eax
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetCursorInfo]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.USER32.dll_GetIconInfo]
mov edx, dword [rbp - 0x68]
sub edx, dword [rbp - 0x34]
mov r8d, dword [rbp - 0x64]
sub r8d, dword [rbp - 0x30]
mov r9, qword [rbp - 0x70]
mov rcx, r15
call qword [sym.imp.USER32.dll_DrawIcon]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov esi, eax
mov r12, qword [rsp + 0x78]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x70], ebx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140008341
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140008341
mov r8, rax
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov r8d, ebx
mov r10d, dword [rsp + 0x78]
test r10d, r10d
je 0x140008338
lea r11, str.image_jpeg
nop dword [rax + rax]
mov eax, r8d
imul r9, rax, 0x68
mov rdx, qword [r9 + rdi + 0x40]
mov rax, 0xffffffffffffffff
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r11 + rax*2 + 2]
jne 0x140008325
add rax, 2
cmp rax, 0xb
je 0x14000832f
movzx ecx, word [rdx + rax*2]
cmp cx, word [r11 + rax*2]
je 0x140008303
inc r8d
cmp r8d, r10d
jb 0x1400082f0
jmp 0x140008338
movups xmm0, xmmword [r9 + rdi]
movups xmmword [rbp - 0x48], xmm0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r9d, r9d
lea r8, [rbp - 0x48]
mov rdx, qword [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
cmovne esi, eax
mov dword [rbp - 0x50], esi
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x10]
call qword [rax + 0x60]
mov r15d, dword [rbp]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
test r15d, r15d
je 0x1400083e6
cmp r15, 0x1000
jb 0x1400083be
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140008479
call fcn.140010ff0
test rax, rax
je 0x1400083b7
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x1400083c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140010ff0
mov rcx, rax
mov qword [r14], rcx
lea rax, [rcx + r15]
mov qword [r14 + 0x10], rax
lea rdi, [rcx + r15]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [r14 + 8], rdi
mov dword [rsp + 0x50], 1
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, r15d
mov rdx, qword [r14]
call qword [rax + 0x18]
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov rax, r14
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140010fd0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001190
int3