Function at 0x14009fa60
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1403b8008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, rdx
mov r12b, 1
mov dword [rsp + 0x78], 1
xor r15d, r15d
mov qword [r11 - 0x58], r15
mov qword [r11 - 0x50], r15
mov qword [r11 - 0x70], r15
mov qword [r11 - 0x78], r15
xor r8d, r8d
lea rdx, [r11 - 0x60]
lea rcx, [r11 - 0x68]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
lea r8, [rsp + 0x68]
lea edx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
lea ecx, [r15 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r8d, ebx
mov edx, esi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r13, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [r15 + 0x18]
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov r15, rax
xor esi, esi
test rax, rax
je 0x14009fb94
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [r15], rax
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [r15 + 0x10], eax
mov rax, qword [rsp + 0x58]
mov qword [r15 + 8], rax
jmp 0x14009fb97
mov r15, rsi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14009fd23
mov ecx, eax
call fcn.1402ab8d4
mov rdi, rax
test rax, rax
je 0x14009fd23
mov r8, rax
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov ebx, esi
mov r9d, dword [rsp + 0x58]
test r9d, r9d
je 0x14009fd1b
lea r10, str.image_png
nop word [rax + rax]
mov eax, ebx
imul r8, rax, 0x68
mov rdx, qword [r8 + rdi + 0x40]
mov rax, rsi
nop
movzx ecx, word [rdx + rax*2]
cmp cx, word [r10 + rax*2]
jne 0x14009fd10
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r10 + rax*2 + 2]
jne 0x14009fd10
add rax, 2
cmp rax, 0xa
jne 0x14009fc10
movups xmm0, xmmword [r8 + rdi]
movups xmmword [rsp + 0x90], xmm0
mov rcx, rdi
call fcn.1402a4e94
cmp ebx, 0xffffffff
je 0x14009fd23
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [r15 + 8]
call qword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x14009fc7f
mov dword [r15 + 0x10], eax
jmp 0x14009fd23
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rdi, rax
mov rsi, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, rsi
sub rcx, rdx
cmp rax, rcx
jae 0x14009fcb4
add rax, rdx
jmp 0x14009fce6
jbe 0x14009fcea
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x14009fccf
mov rdx, rdi
mov rcx, r14
call fcn.1400a0400
jmp 0x14009fcea
mov rbx, rdi
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.14029a010
lea rax, [rsi + rbx]
mov qword [r14 + 8], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rdi
mov rdx, rax
mov rcx, qword [r14]
call fcn.140299960
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x14009fd26
inc ebx
cmp ebx, r9d
jb 0x14009fc00
mov rcx, rdi
call fcn.1402a4e94
xor r12b, r12b
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test r15, r15
je 0x14009fd44
mov r8, qword [r15]
mov edx, 1
mov rcx, r15
call qword [r8]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
movzx eax, r12b
jmp 0x14009fd60
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a91a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret