Function at 0x1800236b0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x180240300]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r13, r8
mov r14, rdx
mov qword [rsp + 0x60], rdx
mov qword [rbp - 0x78], r8
xor ebx, ebx
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x70]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x180023901
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
mov qword [rsp + 0x58], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x50], rax
mov rcx, r13
call fcn.18000b640
mov esi, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
imul esi, eax
mov rcx, r13
call fcn.18000b640
mov edi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
imul edi, eax
mov r8d, edi
mov edx, esi
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov qword [rsp + 0x60], rax
mov rdx, rax
mov rcx, qword [rsp + 0x50]
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], r15
mov dword [rsp + 0x20], edi
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov r15, rax
test rax, rax
je 0x1800237fa
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [r15], rax
mov qword [rsp + 0x70], rbx
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [r15 + 0x10], eax
mov rax, qword [rsp + 0x70]
mov qword [r15 + 8], rax
jmp 0x1800237fd
mov r15, rbx
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 + 0x70], ebx
mov dword [rsp + 0x78], ebx
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1800238bc
mov ecx, eax
call fcn.1801be36c
mov rsi, rax
test rax, rax
je 0x1800238bc
mov r8, rax
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov edi, ebx
mov r9d, dword [rsp + 0x70]
test r9d, r9d
je 0x1800238af
lea r10, str.image_jpeg
nop dword [rax]
mov eax, edi
imul r8, rax, 0x68
mov rdx, qword [r8 + rsi + 0x40]
mov rax, 0xffffffffffffffff
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r10 + rax*2 + 2]
jne 0x1800238a8
add rax, 2
cmp rax, 0xb
je 0x180023955
movzx ecx, word [rdx + rax*2]
cmp cx, word [r10 + rax*2]
je 0x180023882
inc edi
cmp edi, r9d
jb 0x180023870
mov rcx, rsi
call fcn.1801b23b8
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test r15, r15
je 0x1800238d8
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1801fc629]
mov rcx, r14
call fcn.180005680
nop
mov rcx, r13
call fcn.1800042b0
mov rax, r14
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.18017b860
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [r8 + rsi]
movups xmmword [rbp - 0x10], xmm0
mov rcx, rsi
call fcn.1801b23b8
cmp edi, 0xffffffff
je 0x1800238b7
xor r9d, r9d
lea r8, [rbp - 0x10]
mov rdx, qword [rbp - 0x80]
mov rcx, qword [r15 + 8]
call qword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x18002398c
mov dword [r15 + 0x10], eax
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp]
call qword [rax + 0x60]
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x70], eax
xorps xmm0, xmm0
mov r12d, eax
movdqu xmmword [rbp - 0x68], xmm0
mov rsi, rbx
mov qword [rbp - 0x58], rbx
test eax, eax
je 0x1800239e4
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.180042ee0
mov r8d, r12d
xor edx, edx
mov rdi, qword [rbp - 0x68]
mov rcx, rdi
call fcn.1801d91d0
lea rax, [rdi + r12]
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp - 0x58]
jmp 0x1800239e8
mov rdi, qword [rbp - 0x68]
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]
lea r9, [rbp - 0x50]
mov r8d, dword [rsp + 0x70]
mov rdx, rdi
call qword [rax + 0x18]
mov r9, r12
mov r8, rdi
lea rdx, [rbp - 0x30]
call fcn.180024220
nop
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x10], xmm1
movdqa xmm0, xmmword [0x18020dfe0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rcx, [rbp - 0x30]
call fcn.1800042b0
nop
test rdi, rdi
je 0x180023923
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x180023abe
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180023ace
mov rdx, rsi
mov rcx, rdi
call fcn.18017bcc0
jmp 0x180023923
call fcn.1801b27d8
int3