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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1804a3780]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r15d, edx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180003b56
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180003b50
mov ecx, 2
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x180003964
mov ecx, 2
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x60], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r13, rax
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x40]
mov edx, 0x20
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetObjectA]
mov eax, 0x4d42
mov word [rbp + 0x80], ax
mov edx, dword [rsp + 0x48]
mov eax, edx
mov ecx, dword [rsp + 0x44]
imul eax, ecx
lea eax, [rax*4 + 0x36]
mov dword [rbp + 0x82], eax
mov dword [rbp + 0x86], r12d
mov dword [rbp + 0x8a], 0x36
mov dword [rbp + 0x90], 0x28
mov dword [rbp + 0x94], ecx
mov dword [rbp + 0x98], edx
mov r14d, 1
mov word [rbp + 0x9c], r14w
movzx eax, word [rsp + 0x52]
mov word [rbp + 0x9e], ax
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], r12
mov eax, dword [rsp + 0x4c]
imul eax, edx
movsxd rcx, eax
call fcn.18000e5c0
mov r12, rax
mov dword [rsp + 0x30], 0
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rdi
test r15d, r15d
je 0x1800038de
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], r14d
mov r9d, 0x40
mov r8d, 2
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180001a50
nop
mov r8d, 0xe
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov r8d, 0x28
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
movsxd r8, dword [rsp + 0x4c]
movsxd rax, dword [rsp + 0x48]
imul r8, rax
mov rdx, r12
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x78]
call fcn.180002d20
test rax, rax
jne 0x180003896
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.180002220
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x180003941
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0xe
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0x28
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rsp + 0x4c]
imul r8d, dword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r12
call fcn.18000e5b8
jmp 0x180003b50
mov r14d, 1
mov ecx, r14d
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x180003a54
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test r15d, r15d
je 0x1800039ba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov r8, rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180003b50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], r14d
mov r9d, 0x40
mov r8d, 2
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180001a50
nop
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1800011d0
lea rcx, [rsp + 0x78]
call fcn.180002d20
test rax, rax
jne 0x180003a27
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
jmp 0x180003b13
mov ecx, 0xd
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x180003b33
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test r15d, r15d
jne 0x18000398c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], r14d
mov r9d, 0x40
mov r8d, 2
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180001a50
nop
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1800011d0
lea rcx, [rsp + 0x78]
call fcn.180002d20
test rax, rax
jne 0x180003aeb
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.180002220
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x180003b50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.USER32.dll_CloseClipboard]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.18000e740
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret