Function at 0x1400185a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x43a0]
mov eax, 0x44a0
call fcn.1401514a0
sub rsp, rax
mov r12, r9
mov rbx, r8
mov r15, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rbp + 0x43e0], r13d
cmp byte [rcx + 0x10], 1
jne 0x1400185e6
call fcn.140018aa0
mov rdi, qword [rbp + 0x4400]
mov qword [rsi + 0x60], rdi
mov dword [rsi], 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
mov dword [rsi + 4], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x70]
mov dword [rsi + 8], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x58]
mov dword [rsi + 0xc], eax
lea rcx, [rsp + 0x68]
call fcn.140040a10
nop
lea r8, str.Media_Editory_Clipboard.dat
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14003f3a0
nop
mov rdx, rax
lea rcx, [rsi + 0x18]
call fcn.140037020
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
mov rbx, 0xffffffffffffffff
cmp eax, 0x7ffffc17
je 0x14001867f
mov eax, dword [rdx + 0x10]
cmp eax, ebx
je 0x140018675
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001867f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400186b0
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400186a6
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400186b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsi + 0x18]
call fcn.140041f40
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x40]
call fcn.14000a560
nop
lea rax, vtable.JRPropertyMap.0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x58], 1
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14004d810
nop
lea r14, [rsi + 0x20]
lea rax, [rsp + 0x40]
cmp rax, r14
je 0x140018721
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140037020
lea rcx, [r14 + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x80]
movzx eax, byte [rsp + 0x58]
mov byte [r14 + 0x18], al
lea rax, vtable.JRPropertyMap.0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140018746
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsp + 0x50], r13
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140018777
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14001876d
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018777
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov dword [rsi + 0x40], 3
mov qword [rsi + 0x44], 1
mov byte [rsi + 0x4e], 1
mov rcx, r14
call fcn.140056b10
test al, al
jne 0x1400188e6
lea rdx, str.Error
lea rcx, [rsp + 0x30]
call fcn.14000a4d0
mov dword [rbp + 0x43e0], 1
lea rdi, vtable.JRDllString.0
mov rax, qword [rsp + 0x30]
cmp dword [rax - 0x10], 0
jle 0x1400187fe
mov rcx, qword [0x14022a428]
test rcx, rcx
je 0x1400187fe
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x38]
test rax, rax
je 0x1400187fe
mov qword [rsp + 0x78], rdi
lea rcx, [rsp + 0x30]
mov qword [rbp - 0x80], rcx
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rdx, str.Error_creating_file...
lea rcx, [rbp + 0x4400]
call fcn.14000a4d0
mov dword [rbp + 0x43e0], 3
mov rax, qword [rbp + 0x4400]
cmp dword [rax - 0x10], 0
jle 0x14001885e
mov rcx, qword [0x14022a428]
test rcx, rcx
je 0x14001885e
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x38]
test rax, rax
je 0x14001885e
mov qword [rbp - 0x78], rdi
lea rcx, [rbp + 0x4400]
mov qword [rbp - 0x70], rcx
mov r8, qword [rax]
lea rdx, [rbp - 0x78]
mov rcx, rax
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
xor r9d, r9d
mov r8, qword [rsp + 0x30]
mov rdx, qword [rbp + 0x4400]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rbp + 0x43e0], 1
mov rdx, qword [rbp + 0x4400]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400188b2
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400188a8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400188b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400188e1
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400188d7
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400188e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140018a76
mov qword [r15], r12
lea rax, [rsp + 0x38]
mov qword [rbp - 0x68], rax
call fcn.140121d48
mov rcx, rax
test rax, rax
je 0x140018a91
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, str.Adding_data_to_clipboard...
cmp rdx, 0x10000
jae 0x140018931
movzx edx, dx
lea rcx, [rsp + 0x38]
call fcn.140017950
jmp 0x14001894a
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018934
lea rcx, [rsp + 0x38]
call fcn.140017f80
nop
mov byte [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140035f80
nop
test rdi, rdi
jle 0x140018a12
movabs r14, 0xa3d70a3d70a3d70b
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rsi + 0x60]
mov rax, r14
imul r9
lea r8, [r9 + rdx]
sar r8, 6
mov rcx, r8
shr rcx, 0x3f
add r8, rcx
test r8, r8
jle 0x1400189bb
sub r9, rdi
mov rax, r9
cqo
idiv r8
mov rdx, rax
mov r8b, 1
lea rcx, [rbp - 0x60]
call fcn.140036290
mov r9d, 0x4000
cmp rdi, r9
cmovb r9, rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 0x3a0]
mov rcx, r15
call fcn.140033400
mov r8, qword [rsp + 0x70]
sub rdi, r8
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x43f0]
lea rdx, [rbp + 0x3a0]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test rdi, rdi
jg 0x140018980
mov byte [rsi + 0x10], 1
lea rax, vtable.CProgress.0
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
call fcn.14011b0fc
mov rdx, qword [rbp + 0x398]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140018a48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x2b0]
call fcn.1401345c0
lea rcx, [rbp + 0x1c8]
call fcn.14012325c
lea rcx, [rbp + 0xe0]
call fcn.14012325c
lea rcx, [rbp - 0x60]
call fcn.140122134
nop
mov rbx, qword [rsp + 0x44e8]
add rsp, 0x44a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400180c0
int3