Function at 0x23194501a
Capabilities:
Delete file
Open clipboard
Read clipboard data
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x2c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x260], rcx
mov dword [rbp + 0x268], edx
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_OpenClipboard]
call rax
test eax, eax
setne al
test al, al
je 0x231945681
mov rax, qword [rbp + 0x260]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov rax, qword [rbp + 0x260]
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 + 0x238], rax
cmp qword [rbp + 0x238], 0xffffffffffffffff
je 0x231945678
mov ecx, 2
mov rax, qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
call rax
test eax, eax
setne al
test al, al
je 0x231945445
mov ecx, 2
mov rax, qword [sym.imp.USER32.dll_GetClipboardData]
call rax
mov qword [rbp + 0x220], rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetDC]
call rax
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x218]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleDC]
call rax
mov qword [rbp + 0x210], rax
mov rdx, qword [rbp + 0x220]
mov rax, qword [rbp + 0x210]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x220]
mov r8, rdx
mov edx, 0x20
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_GetObjectA]
call rax
mov qword [rbp + 0x1fa], 0
mov qword [rbp + 0x200], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
mov qword [rbp], 0
mov word [rbp + 0x1fa], 0x4d42
mov edx, dword [rbp - 0x3c]
mov eax, dword [rbp - 0x38]
imul eax, edx
shl eax, 2
add eax, 0x36
mov dword [rbp + 0x1fc], eax
mov word [rbp + 0x200], 0
mov word [rbp + 0x202], 0
mov dword [rbp + 0x204], 0x36
mov dword [rbp - 0x20], 0x28
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x18], eax
mov word [rbp - 0x14], 1
movzx eax, word [rbp - 0x2e]
mov word [rbp - 0x12], ax
mov dword [rbp - 0x10], 0
mov dword [rbp - 0xc], 0
mov dword [rbp - 8], 0
mov dword [rbp - 4], 0
mov dword [rbp], 0
mov dword [rbp + 4], 0
mov edx, dword [rbp - 0x34]
mov eax, dword [rbp - 0x38]
imul eax, edx
cdqe
mov rcx, rax
call fcn.231a34dd0
mov qword [rbp + 0x208], rax
mov eax, dword [rbp - 0x38]
mov r8d, eax
mov rdx, qword [rbp + 0x220]
mov rax, qword [rbp + 0x210]
mov dword [rsp + 0x30], 0
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x208]
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 + 0x268], 0
je 0x231945353
mov rax, qword [rbp + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x260]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov rdx, qword [rbp + 0x260]
lea rax, [rbp + 0x10]
mov r8d, 0x10
mov rcx, rax
call fcn.231a049e0
lea rdx, [rbp + 0x1fa]
lea rax, [rbp + 0x10]
mov r8d, 0xe
mov rcx, rax
call fcn.2319e7140
lea rdx, [rbp - 0x20]
lea rax, [rbp + 0x10]
mov r8d, 0x28
mov rcx, rax
call fcn.2319e7140
mov eax, dword [rbp - 0x34]
movsxd rdx, eax
mov eax, dword [rbp - 0x38]
cdqe
imul rdx, rax
mov rcx, rdx
mov rdx, qword [rbp + 0x208]
lea rax, [rbp + 0x10]
mov r8, rcx
mov rcx, rax
call fcn.2319e7140
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a04870
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a05340
jmp 0x2319453f8
lea rax, [rbp + 0x1fa]
mov rcx, qword [rbp + 0x238]
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 - 0x20]
mov rcx, qword [rbp + 0x238]
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 - 0x34]
mov eax, dword [rbp - 0x38]
imul eax, edx
mov ecx, eax
mov rdx, qword [rbp + 0x208]
mov rax, qword [rbp + 0x238]
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 + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x218]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
call rax
mov rax, qword [rbp + 0x210]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_DeleteDC]
call rax
cmp qword [rbp + 0x208], 0
je 0x231945678
mov rax, qword [rbp + 0x208]
mov rcx, rax
call fcn.231a34d90
jmp 0x231945678
mov ecx, 1
mov rax, qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
call rax
test eax, eax
setne al
test al, al
je 0x231945546
mov ecx, 1
mov rax, qword [sym.imp.USER32.dll_GetClipboardData]
call rax
mov qword [rbp + 0x228], rax
cmp dword [rbp + 0x268], 0
je 0x2319454d7
mov rax, qword [rbp + 0x228]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalSize]
call rax
mov ecx, eax
mov rdx, qword [rbp + 0x228]
mov rax, qword [rbp + 0x238]
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 + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x231945678
mov rax, qword [rbp + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x260]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov rdx, qword [rbp + 0x260]
lea rax, [rbp + 0x10]
mov r8d, 0x10
mov rcx, rax
call fcn.231a049e0
mov rdx, qword [rbp + 0x228]
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a31800
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a04870
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a05340
jmp 0x231945678
mov ecx, 0xd
mov rax, qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
call rax
test eax, eax
setne al
test al, al
je 0x231945644
mov ecx, 0xd
mov rax, qword [sym.imp.USER32.dll_GetClipboardData]
call rax
mov qword [rbp + 0x230], rax
cmp dword [rbp + 0x268], 0
je 0x2319455d8
mov rax, qword [rbp + 0x230]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalSize]
call rax
mov ecx, eax
mov rdx, qword [rbp + 0x230]
mov rax, qword [rbp + 0x238]
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 + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x231945678
mov rax, qword [rbp + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x260]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov rdx, qword [rbp + 0x260]
lea rax, [rbp + 0x10]
mov r8d, 0x10
mov rcx, rax
call fcn.231a049e0
mov rdx, qword [rbp + 0x230]
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a31800
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a04870
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.231a05340
jmp 0x231945678
mov rax, qword [rbp + 0x238]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x260]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov ecx, 0x103
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
call rax
mov rax, qword [sym.imp.USER32.dll_CloseClipboard]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
jmp 0x2319456da
add rsp, 0x2c8
pop rbx
pop rbp
ret