Function at 0x231944b1f
Capabilities:
Capture screenshot
Delete file
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x2d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x270], rcx
mov dword [rbp + 0x278], edx
mov rax, qword [rbp + 0x270]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov rax, qword [rbp + 0x270]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
mov r9d, 0
mov r8d, 0
mov edx, 0x40000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0xffffffffffffffff
je 0x231944feb
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetDC]
call rax
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x240]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleDC]
call rax
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x240]
mov edx, 8
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_GetDeviceCaps]
call rax
mov dword [rbp + 0x234], eax
mov rax, qword [rbp + 0x240]
mov edx, 0xa
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_GetDeviceCaps]
call rax
mov dword [rbp + 0x230], eax
mov ecx, dword [rbp + 0x230]
mov edx, dword [rbp + 0x234]
mov rax, qword [rbp + 0x240]
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
call rax
mov qword [rbp + 0x228], rax
mov rdx, qword [rbp + 0x228]
mov rax, qword [rbp + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov qword [rbp + 0x220], rax
mov ecx, dword [rbp + 0x234]
mov rax, qword [rbp + 0x238]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rbp + 0x240]
mov qword [rsp + 0x28], rdx
mov edx, dword [rbp + 0x230]
mov dword [rsp + 0x20], edx
mov r9d, ecx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_BitBlt]
call rax
mov rdx, qword [rbp + 0x220]
mov rax, qword [rbp + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov qword [rbp + 0x228], rax
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x228]
mov r8, rdx
mov edx, 0x20
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_GetObjectA]
call rax
mov qword [rbp + 0x20a], 0
mov qword [rbp + 0x210], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
mov qword [rbp], 0
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], 0
mov word [rbp + 0x20a], 0x4d42
mov edx, dword [rbp - 0x2c]
mov eax, dword [rbp - 0x28]
imul eax, edx
shl eax, 2
add eax, 0x36
mov dword [rbp + 0x20c], eax
mov word [rbp + 0x210], 0
mov word [rbp + 0x212], 0
mov dword [rbp + 0x214], 0x36
mov dword [rbp - 0x10], 0x28
mov eax, dword [rbp - 0x2c]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0x28]
mov dword [rbp - 8], eax
mov word [rbp - 4], 1
movzx eax, word [rbp - 0x1e]
mov word [rbp - 2], ax
mov dword [rbp], 0
mov dword [rbp + 4], 0
mov dword [rbp + 8], 0
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x14], 0
mov edx, dword [rbp - 0x24]
mov eax, dword [rbp - 0x28]
imul eax, edx
cdqe
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp + 0x218], rax
mov eax, dword [rbp - 0x28]
mov r8d, eax
mov rdx, qword [rbp + 0x228]
mov rax, qword [rbp + 0x238]
mov dword [rsp + 0x30], 0
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x218]
mov qword [rsp + 0x20], rcx
mov r9d, r8d
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_GetDIBits]
call rax
cmp dword [rbp + 0x278], 0
je 0x231944eef
mov rax, qword [rbp + 0x248]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x270]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov rdx, qword [rbp + 0x270]
lea rax, [rbp + 0x20]
mov r8d, 0x10
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream_char_const__std::_Ios_Openmode_
lea rdx, [rbp + 0x20a]
lea rax, [rbp + 0x20]
mov r8d, 0xe
mov rcx, rax
call method.std::ostream.write_char_const__long_long_
lea rdx, [rbp - 0x10]
lea rax, [rbp + 0x20]
mov r8d, 0x28
mov rcx, rax
call method.std::ostream.write_char_const__long_long_
mov eax, dword [rbp - 0x24]
movsxd rdx, eax
mov eax, dword [rbp - 0x28]
cdqe
mov rcx, rdx
imul rcx, rax
mov rdx, qword [rbp + 0x218]
lea rax, [rbp + 0x20]
mov r8, rcx
mov rcx, rax
call method.std::ostream.write_char_const__long_long_
lea rax, [rbp + 0x20]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea rax, [rbp + 0x20]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream__
jmp 0x231944f94
lea rax, [rbp + 0x20a]
mov rcx, qword [rbp + 0x248]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0xe
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
lea rax, [rbp - 0x10]
mov rcx, qword [rbp + 0x248]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x28
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
mov edx, dword [rbp - 0x24]
mov eax, dword [rbp - 0x28]
imul eax, edx
mov ecx, eax
mov rdx, qword [rbp + 0x218]
mov rax, qword [rbp + 0x248]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
mov rax, qword [rbp + 0x248]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x228]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_DeleteObject]
call rax
mov rax, qword [rbp + 0x240]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
call rax
mov rax, qword [rbp + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_DeleteDC]
call rax
cmp qword [rbp + 0x218], 0
je 0x231944feb
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.operator_delete___void_
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
jmp 0x231945010
add rsp, 0x2d8
pop rbx
pop rbp
ret