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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x420
mov rax, qword [0x180083080]
xor rax, rsp
mov qword [rsp + 0x418], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180057c6e
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x180057c67
mov ecx, 2
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x180057a8f
mov ecx, 2
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x50], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SelectObject]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea r8, [rsp + 0x70]
mov edx, 0x20
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_GetObjectA]
lea rax, [rsp + 0x3e0]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
lea rax, [rsp + 0x3f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov eax, 0x4d42
mov word [rsp + 0x3e0], ax
mov eax, dword [rsp + 0x74]
imul eax, dword [rsp + 0x78]
shl eax, 2
cdqe
add rax, 0x36
mov dword [rsp + 0x3e2], eax
xor eax, eax
mov word [rsp + 0x3e6], ax
xor eax, eax
mov word [rsp + 0x3e8], ax
mov dword [rsp + 0x3ea], 0x36
mov dword [rsp + 0x3f0], 0x28
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x3f4], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x3f8], eax
mov eax, 1
mov word [rsp + 0x3fc], ax
movzx eax, word [rsp + 0x82]
mov word [rsp + 0x3fe], ax
mov dword [rsp + 0x400], 0
mov dword [rsp + 0x404], 0
mov dword [rsp + 0x408], 0
mov dword [rsp + 0x40c], 0
mov dword [rsp + 0x410], 0
mov dword [rsp + 0x414], 0
mov eax, dword [rsp + 0x7c]
imul eax, dword [rsp + 0x78]
cdqe
mov rcx, rax
call fcn.180017b74
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_GetDIBits]
nop
cmp dword [rsp + 0x438], 0
je 0x1800579d5
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
mov rdx, qword [rsp + 0x430]
lea rcx, [rsp + 0xb0]
call fcn.180009350
nop
mov r8d, 0xe
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0xb0]
call fcn.1800098d0
mov r8d, 0x28
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0xb0]
call fcn.1800098d0
movsxd rax, dword [rsp + 0x7c]
movsxd rcx, dword [rsp + 0x78]
imul rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.1800098d0
lea rcx, [rsp + 0xb0]
call fcn.180009270
nop
lea rcx, [rsp + 0xb0]
call fcn.180003cb0
nop
jmp 0x180057a53
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xe
lea rdx, [rsp + 0x3e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x28
lea rdx, [rsp + 0x3f0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x7c]
imul eax, dword [rsp + 0x78]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.180017b30
nop
jmp 0x180057c67
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x180057b6a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x438], 0
je 0x180057af4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180057b65
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
mov rdx, qword [rsp + 0x430]
lea rcx, [rsp + 0x1c0]
call fcn.180009350
nop
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x1c0]
call fcn.180013400
lea rcx, [rsp + 0x1c0]
call fcn.180009270
nop
lea rcx, [rsp + 0x1c0]
call fcn.180003cb0
nop
jmp 0x180057c67
mov ecx, 0xd
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x180057c42
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x438], 0
je 0x180057bcf
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180057c40
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
mov rdx, qword [rsp + 0x430]
lea rcx, [rsp + 0x2d0]
call fcn.180009350
nop
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x2d0]
call fcn.180013400
lea rcx, [rsp + 0x2d0]
call fcn.180009270
nop
lea rcx, [rsp + 0x2d0]
call fcn.180003cb0
nop
jmp 0x180057c67
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.180017b10
add rsp, 0x420
pop rdi
ret