Function at 0x1400090b0
Capabilities:
Encode data using xor
Get common file path
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3e0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
lea rdx, [rbp + 0x1c0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [rsp + 0x40], 0x454a4b
lea r9, [rbp + 0xb0]
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rsp + 0x40], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140009455
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140001ab0
nop
mov eax, r12d
mov dword [rbp + 0xa0], eax
mov ecx, eax
movzx eax, byte [rbp + 0xa0]
mov byte [rbp + rcx - 0x60], al
mov eax, dword [rbp + 0xa0]
inc eax
mov dword [rbp + 0xa0], eax
cmp eax, 0x100
jb 0x140009190
mov edx, r12d
mov dword [rbp + 0xa4], edx
mov eax, r12d
mov dword [rbp + 0xa0], eax
lea r9, [0x140026a00]
nop dword [rax + rax]
lea r8, [rbp - 0x60]
add r8, rax
and eax, 0xf
movzx eax, byte [rax + r9]
movzx ecx, byte [r8]
add eax, edx
add ecx, eax
movzx eax, cl
mov dword [rbp + 0xa4], eax
movzx edx, byte [r8]
mov ecx, eax
movzx eax, byte [rbp + rax - 0x60]
mov byte [r8], al
mov byte [rbp + rcx - 0x60], dl
mov eax, dword [rbp + 0xa0]
inc eax
mov dword [rbp + 0xa0], eax
cmp eax, 0x100
jae 0x14000921f
mov edx, dword [rbp + 0xa4]
jmp 0x1400091d0
mov r8d, r12d
mov qword [rbp + 0xa0], r12
mov r9d, r12d
mov rsi, qword [rbp - 0x78]
mov r14, qword [rbp - 0x80]
sub rsi, r14
test esi, esi
je 0x1400092a8
mov r10, r14
mov r11d, esi
lea eax, [r9 + 1]
movzx ecx, al
mov dword [rbp + 0xa0], ecx
lea r9, [rbp - 0x60]
add r9, rcx
movzx eax, byte [r9]
add eax, r8d
movzx ecx, al
mov dword [rbp + 0xa4], ecx
movzx r8d, byte [r9]
movzx eax, byte [rbp + rcx - 0x60]
mov byte [r9], al
mov byte [rbp + rcx - 0x60], r8b
mov r8d, dword [rbp + 0xa4]
movzx edx, byte [rbp + r8 - 0x60]
mov r9d, dword [rbp + 0xa0]
movzx ecx, byte [rbp + r9 - 0x60]
add rdx, rcx
movzx eax, dl
movzx ecx, byte [rbp + rax - 0x60]
xor byte [r10], cl
lea r10, [r10 + 1]
sub r11, 1
jne 0x140009241
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x48]
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.14000c6c0
mov qword [rbp - 0x78], r14
test edi, edi
je 0x14000939a
mov dword [rsp + 0x50], 0x33056768
lea rax, [rbp + 0xb0]
or rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400092f0
inc esi
mov dword [rsp + 0x54], esi
mov ecx, esi
call fcn.140009a4c
mov r15, rax
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0xb0]
mov edx, esi
mov rcx, rax
call fcn.14000dab0
mov edx, r12d
test esi, esi
je 0x14000938f
cmp esi, 0x20
jb 0x140009375
mov ecx, esi
and ecx, 0x1f
mov r8d, esi
sub r8d, ecx
movdqa xmm2, xmmword [0x140026ac0]
nop
mov eax, edx
movdqu xmm0, xmmword [rax + r15]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax + r15], xmm1
lea eax, [rdx + 0x10]
movdqu xmm0, xmmword [rax + r15]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax + r15], xmm1
add edx, 0x20
cmp edx, r8d
jb 0x140009340
cmp edx, esi
jae 0x14000938f
mov eax, edx
add rax, r15
sub esi, edx
mov ecx, esi
xor byte [rax], 0xcf
lea rax, [rax + 1]
sub rcx, 1
jne 0x140009382
lea rdx, [rsp + 0x50]
call fcn.140003570
nop
test r14, r14
je 0x1400093f0
mov rax, qword [rbp - 0x70]
sub rax, r14
cmp rax, 0x1000
jb 0x1400093e7
test r14b, 0x1f
je 0x1400093ba
call fcn.14000d964
int3
mov rax, qword [r14 - 8]
cmp rax, r14
jb 0x1400093c9
call fcn.14000d964
int3
sub r14, rax
cmp r14, 8
jae 0x1400093d8
call fcn.14000d964
int3
cmp r14, 0x27
jbe 0x1400093e4
call fcn.14000d964
int3
mov r14, rax
mov rcx, r14
call fcn.1400097a0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140009455
mov rax, qword [rsp + 0x70]
sub rax, rcx
cmp rax, 0x1000
jb 0x140009442
test cl, 0x1f
je 0x140009415
call fcn.14000d964
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140009424
call fcn.14000d964
int3
sub rcx, rax
cmp rcx, 8
jae 0x140009433
call fcn.14000d964
int3
cmp rcx, 0x27
jbe 0x14000943f
call fcn.14000d964
int3
mov rcx, rax
call fcn.1400097a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140009468
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140009740
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret