Function at 0x140017c50
Capabilities:
Capture screenshot
Delete file
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xe00]
sub rsp, 0xf00
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0xdf0], rax
mov eax, dword [0x140395ef8]
lea rcx, [rbp + 0x5f0]
mov dword [rsp + 0x58], eax
xor edx, edx
xor eax, eax
mov dword [rsp + 0x70], 1
mov r8d, 0x800
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
xor r14b, r14b
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x208
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x208
call fcn.1401bcf80
call qword [sym.imp.WINMM.dll_timeGetTime]
xor r9d, r9d
lea rcx, [0x140266448]
xor r8d, r8d
mov dword [rsp + 0x54], eax
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateDCW]
mov rdi, rax
test rax, rax
je 0x140017fe3
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4f
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
cmp byte [rbp + 0xe40], r14b
je 0x140017d69
mov edx, 8
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0xa
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp ebx, r15d
jne 0x140017d69
cmp eax, esi
jne 0x140017d69
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
dec dword [0x1403b0ec4]
xor al, al
jmp 0x140017fe7
mov rcx, rdi
mov qword [rsp + 0xf20], r12
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, r15d
mov rcx, rdi
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, r15d
mov rbx, rax
xor r8d, r8d
xor eax, eax
xor edx, edx
mov dword [rsp + 0x38], eax
mov rcx, r12
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
mov rsi, rax
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x140017e2d
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
mov qword [rbx], rax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
jmp 0x140017e2f
xor ebx, ebx
mov eax, dword [0x1403a8c04]
lea rdx, [rbp - 0x50]
movups xmm0, xmmword [0x1401fdcf0]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x58], rax
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x5c], 4
mov dword [rbp - 0x60], 1
call fcn.140018e70
xor r9d, r9d
lea rax, [rbp + 0x1d0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140017ea5
lea r8, [0x140269150]
mov edx, 0x104
lea rcx, [rbp + 0x1d0]
call fcn.1401c981c
call fcn.1401c7a90
lea r9, [rbp - 0x40]
lea rdx, [0x140269158]
lea rcx, [rbp + 0x1d0]
lea r8d, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 8]
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x40]
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x140017ef3
mov dword [rbx + 0x10], eax
js 0x140017f85
cmp qword [0x1403a6be0], 0
je 0x140017f85
movabs rax, 0x4900440047
lea rcx, [rbp + 0x3e8]
xor edx, edx
mov qword [rbp + 0x3e0], rax
mov r8d, 0x200
call fcn.1401bcf80
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [rsp + 0x54]
lea rcx, str._Mon_2__GDI__lu_
cmp byte [rbp + 0xe40], 0
lea rdx, str._Mon_1__GDI__lu_
mov r8d, eax
cmovne rdx, rcx
lea rcx, [rbp + 0x3e0]
call fcn.1400085e0
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x5f0]
mov eax, dword [rsp + 0x58]
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x20], eax
call fcn.140018c20
test eax, eax
je 0x140017fa9
mov r14b, 1
jmp 0x140017fa9
lea r8, str.GDI_locked..._r_n
mov edx, 0x104
lea rcx, [rbp + 0x5f0]
call fcn.140008670
lea rcx, [rbp + 0x5f0]
call fcn.140024850
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r12, qword [rsp + 0xf20]
movzx eax, r14b
mov rcx, qword [rbp + 0xdf0]
xor rcx, rsp
call fcn.1401b6fc0
lea r11, [rsp + 0xf00]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret