Function at 0x140009580
Capabilities:
Get common file path
Open clipboard
Write clipboard data
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
mov eax, 0x56b0
call fcn.140023000
sub rsp, rax
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x56a0], rax
mov rsi, rcx
lea rcx, [rsp + 0x6a2]
xor ebp, ebp
xor edx, edx
mov r8d, 0x4ffe
mov word [rsp + 0x6a0], bp
call fcn.140013bd0
lea rcx, [rsp + 0x492]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x490], bp
call fcn.140013bd0
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x70], bp
call fcn.140013bd0
lea rcx, [rsp + 0x282]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x280], bp
call fcn.140013bd0
lea rcx, [rsp + 0x490]
call fcn.140008aa0
test eax, eax
jne 0x140009644
lea rdx, [rsp + 0x490]
mov ecx, 0x104
call qword [0x1400241b8]
test eax, eax
je 0x140009929
lea rcx, [rsp + 0x490]
mov qword [rsp + 0x56c8], rbx
mov qword [rsp + 0x56d0], rdi
call qword [0x1400243c0]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x48e], 0x5c
je 0x140009685
lea rdx, [0x140024e58]
lea rcx, [rsp + 0x490]
call qword [0x140024108]
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x70]
call qword [0x140024100]
lea r8, [rsp + 0x280]
mov r9d, 0x104
mov edx, 0x3f4
mov rcx, rsi
call qword [0x1400246e0]
lea rcx, [rsp + 0x280]
call qword [0x1400243c0]
test eax, eax
jne 0x1400096db
lea rdx, str.Invitation
lea rcx, [rsp + 0x280]
call qword [0x140024100]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x70]
call qword [0x140024108]
lea rdx, str..inv
lea rcx, [rsp + 0x70]
call qword [0x140024108]
xor eax, eax
mov rbx, rbp
mov edi, ebp
mov word [rsp + 0x48], bp
mov qword [rsp + 0x4a], rax
mov qword [rsp + 0x52], rax
mov qword [rsp + 0x5a], rax
mov qword [rsp + 0x62], rax
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
nop dword [rax]
test rbx, rbx
je 0x14000973f
cmp rbx, 0xffffffffffffffff
jne 0x140009828
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 1
call qword [0x1400241b0]
mov rbx, rax
test rax, rax
je 0x140009778
cmp rax, 0xffffffffffffffff
jne 0x140009828
inc edi
cmp edi, 0x14
jg 0x140009828
lea rdx, [0x140024a4c]
lea rcx, [rsp + 0x48]
mov r8d, edi
call qword [0x1400246f8]
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x70]
call qword [0x140024100]
lea r8, [rsp + 0x280]
mov r9d, 0x104
mov edx, 0x3f4
mov rcx, rsi
call qword [0x1400246e0]
lea rcx, [rsp + 0x280]
call qword [0x1400243c0]
test eax, eax
jne 0x1400097ee
lea rdx, str.Invitation
lea rcx, [rsp + 0x280]
call qword [0x140024100]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x70]
call qword [0x140024108]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call qword [0x140024108]
lea rdx, str..inv
lea rcx, [rsp + 0x70]
call qword [0x140024108]
jmp 0x140009730
mov rdi, qword [rsp + 0x56d0]
test rbx, rbx
je 0x14000991f
cmp rbx, 0xffffffffffffffff
je 0x14000991f
lea r8, [rsp + 0x6a0]
mov r9d, 0x2800
mov edx, 0x3f0
mov rcx, rsi
call qword [0x1400246e0]
lea rcx, [rsp + 0x6a0]
call qword [0x1400243c0]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x6a0]
lea r8d, [rax + rax]
mov rcx, rbx
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x20], rbp
call qword [0x1400241a8]
mov rcx, rbx
call qword [0x140024130]
mov edx, 0x21e
mov ecx, 0x2040
call qword [0x140024120]
mov rbx, rax
test rax, rax
je 0x14000991f
mov rcx, rax
call qword [0x140024118]
test rax, rax
je 0x14000991f
lea rcx, [rax + 0x14]
lea rdx, [rsp + 0x70]
mov dword [rax], 0x14
mov dword [rax + 0xc], ebp
mov dword [rax + 0x10], 1
mov dword [rax + 4], ebp
mov dword [rax + 8], ebp
call qword [0x140024100]
mov rcx, rbx
call qword [0x140024110]
mov rcx, rsi
call qword [0x1400246d0]
test eax, eax
je 0x14000991f
call qword [0x1400246d8]
test eax, eax
je 0x14000991f
mov rdx, rbx
mov ecx, 0xf
call qword [0x1400246e8]
call qword [0x1400246f0]
mov eax, 1
jmp 0x140009921
xor eax, eax
mov rbx, qword [rsp + 0x56c8]
mov rcx, qword [rsp + 0x56a0]
xor rcx, rsp
call fcn.140013ba0
mov rbp, qword [rsp + 0x56d8]
add rsp, 0x56b0
pop rsi
ret