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

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x28]
sub rsp, 0x120
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp], rax
cmp byte [0x14164d3ef], 0
jne 0x1400c38ab
mov eax, dword [0x1401730c8]
movups xmm0, xmmword [str.chagqxjd_MOK_RS_6]
mov qword [r11 + 8], rbx
xor ebx, ebx
movups xmm1, xmmword [0x1401730b8]
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 - 0x78], eax
movzx eax, byte [0x1401730cc]
movaps xmmword [r11 - 0x18], xmm6
mov byte [rbp - 0x74], al
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
cmp r14d, 2
jl 0x1400c35c2
movdqa xmm0, xmmword [0x1401761e0]
lea rcx, [rsp + 0x6c]
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176320]
movdqa xmm6, xmmword [0x1401760c0]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
nop
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
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 [0x1401761c0]
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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x20
jl 0x1400c34c0
cmp edi, 0x25
jge 0x1400c35fe
movsxd rax, edi
lea r8, [rsp + 0x68]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, dil
inc edi
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp edi, 0x25
jl 0x1400c35d0
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
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400c3647
xor eax, eax
lea rdi, [rsp + 0x68]
rep stosb byte [rdi], al
mov rcx, rsi
lea rax, [rsp + 0x68]
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400c3660
xor eax, eax
lea rdi, [rsp + 0x68]
rep stosb byte [rdi], al
test edx, edx
jne 0x1400c3680
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1400b0340
movups xmm0, xmmword [0x140171ea0]
cmp r14d, 2
movups xmm1, xmmword [0x140171eb0]
movzx eax, word [0x140171f00]
mov r14, qword [rsp + 0x148]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x140171ec0]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140171ed0]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140171ee0]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x140171ef0]
mov word [rbp - 0x10], ax
movzx eax, byte [0x140171f02]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], al
jl 0x1400c3824
movdqa xmm0, xmmword [0x1401761e0]
lea rcx, [rbp - 0x6c]
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176320]
movdqa xmm6, xmmword [0x1401760c0]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
nop dword [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
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 [0x1401761c0]
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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x60
jl 0x1400c3720
cmp eax, 0x63
jge 0x1400c385c
movsxd rax, ebx
lea rdi, [rbp - 0x70]
add rdi, rax
nop
mov eax, 0x4d4873ed
lea rdi, [rdi + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [rdi - 1], al
cmp ebx, 0x63
jl 0x1400c3830
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movaps xmm6, xmmword [rsp + 0x110]
lea rax, [rbp - 0x70]
mov rbx, qword [rsp + 0x130]
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400c3880
mov rcx, rsi
mov byte [0x14164d3ef], 1
mov rsi, qword [rsp + 0x138]
lea rdi, [rbp - 0x70]
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x140]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140146930
add rsp, 0x120
pop rbp
ret