Function at 0x140056a20
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 - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1401acdc0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov edx, 8
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
mov edx, 0xa
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov r8d, ebx
mov edx, edi
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
mov qword [rbp + 0x17], r13
lea r8, [rbp + 0x17]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
lea rax, vtable.ATL::CImage.0
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], r13
mov word [rbp - 0x11], r13w
mov qword [rbp - 0xd], 0xffffffffffffffff
mov qword [rbp - 1], r13
mov dword [rbp + 7], r13d
mov qword [rbp + 0xf], r13
call fcn.140058440
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rbx + 0x30]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x39]
call fcn.140056910
lea r8, [0x140105268]
mov rdx, qword [rbp + 0x17]
lea rcx, [rbp - 0x39]
call fcn.1400597b0
lea rdx, [rbp + 0x1f]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov edi, dword [rbp + 0x1f]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov ecx, edi
mov r9, qword [rsi + 8]
mov r8, qword [rsi]
mov rdx, r9
sub rdx, r8
cmp rdi, rdx
jae 0x140056bb4
lea rax, [r8 + rdi]
mov qword [rsi + 8], rax
jmp 0x140056beb
jbe 0x140056beb
mov rax, qword [rsi + 0x10]
sub rax, r8
cmp rcx, rax
jbe 0x140056bd3
lea r8, [rbp - 0x49]
mov rdx, rcx
mov rcx, rsi
call fcn.140051810
jmp 0x140056beb
sub rcx, rdx
lea rbx, [rcx + r9]
mov r8, rcx
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rsi + 8], rbx
mov rdx, qword [rsi]
add rdx, 0x10
mov r8d, edi
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140056c36
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.140058440
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x140056c72
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140056c65
call sub.gdiplus.dll_GdiplusShutdown
mov qword [rbx], r13
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400c5d00
lea r11, [rsp + 0xd0]
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