Function at 0x1400f6990
Capabilities:
Encode data using xor
Hash data using fnv
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movsxd r12, edx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x140], xmm1
mov r8d, 4
lea rdx, [0x14053f564]
lea rcx, [rbp + 0x130]
call fcn.140006600
nop
mov r15d, dword [rbp + 0x140]
inc r15d
lea r14, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
cmova r14, qword [rbp + 0x130]
movabs rax, 0xb112f654657179dc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rdi, 0x8353113d7455d63c
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs r13, 0xb112f65465303a8f
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400f6aa0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.140006600
nop
movabs rax, 0xf24e9b31114343dc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xec1065531127a449
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xce0a1386e758cc0f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x77173de5c5add07a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x8cb2c83eeaac9720
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rcx, 0xf4e3fb012485fd30
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movabs rax, 0xba6f40ea882ab861
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
movabs rax, 0x12745493b7c88326
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
movabs rax, 0x8cb2fc089adfcb53
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x1c0]
vmovdqa xmmword [rbp + 0x80], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 8], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x18], xmm1
lea rax, [rbp + 0x60]
vzeroupper
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400f6c00
mov r8, rbx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 8]
call fcn.140006600
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
xor r13d, r13d
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edi, [r13 + 1]
test eax, eax
jne 0x1400f6ca0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
mov r9d, edi
xor r8d, r8d
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 8]
call fcn.1400062c0
nop
lea rcx, [rbp + 0x40]
call fcn.1400062c0
mov rax, qword [rsi + 0x78]
mov ecx, dword [rax]
test ecx, ecx
js 0x1400f6cc6
cmp ecx, 0x20
jae 0x1400f6cc6
shl edi, cl
jmp 0x1400f6cec
lea rdx, str.Invalid_core_number.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400063d0
lea rdx, [0x1400065a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, r13d
mov rbx, qword [rsi + 0x50]
lea r8, [0x1402fa5b0]
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.1400ec5d0
lea rcx, [rbx + 0x40]
mov rdx, rax
call fcn.1400ec9e0
lea rcx, [rbp + 8]
call fcn.140036ee0
mov rax, qword [rsi + 0x50]
mov rdx, r12
mov rcx, qword [rax + 0x40]
mov rax, qword [rax + 0x48]
sub rax, rcx
sar rax, 5
cmp rax, r12
jbe 0x1400f724b
shl rdx, 5
add rdx, rcx
lea rcx, [rbp + 0x170]
call fcn.140020db0
nop
mov rbx, qword [rsi + 0x50]
lea r8, [0x1402fa5a0]
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.1400ec5d0
lea rcx, [rbx + 0x58]
mov rdx, rax
call fcn.1400ec9e0
lea rcx, [rbp + 8]
call fcn.140036ee0
mov rax, qword [rsi + 0x50]
mov rdx, qword [rax + 0x58]
mov rcx, qword [rax + 0x60]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x1400f7245
lea rcx, [rbp + 0x150]
call fcn.140020db0
nop
mov dword [rbp + 0xec], 4
mov dword [rbp + 0xe8], edi
mov rdi, qword [rsi + 0x50]
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 7
cmova rdx, qword [rbp + 0x170]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
mov rax, qword [rbp + 0x180]
lea r8, [rax + rax]
mov rcx, r13
movabs r14, 0x100000001b3
test r8, r8
je 0x1400f6e13
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r14
inc rcx
cmp rcx, r8
jb 0x1400f6e00
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call fcn.140031d00
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400f6e36
mov rdx, qword [rdi + 8]
add rdx, 0x30
lea rcx, [rbp + 0x110]
call fcn.140091b30
nop
mov rdi, qword [rsi + 0x50]
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
mov rax, qword [rbp + 0x160]
lea r8, [rax + rax]
mov rcx, r13
test r8, r8
je 0x1400f6e93
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r14
inc rcx
cmp rcx, r8
jb 0x1400f6e80
mov r9, rbx
lea r8, [rbp + 0x150]
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call fcn.140031d00
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400f6eb9
mov rdx, qword [rdi + 8]
add rdx, 0x30
lea rcx, [rbp + 0xf0]
call fcn.140091b30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.AssignmentSetOverride
lea rcx, [rbp + 8]
call fcn.140023500
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova rdx, qword [rbp + 0x110]
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400f6f85
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 8]
call fcn.140021ea0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.AssignmentSetOverride
lea rcx, [rbp + 8]
call fcn.140023500
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 7
cmova rdx, qword [rbp + 0xf0]
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400f7049
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 8]
call fcn.140021ea0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r8d, ntohs
lea rdx, str.DevicePolicy
lea rcx, [rbp + 8]
call fcn.140023500
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova rdx, qword [rbp + 0x110]
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400f710d
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xec]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 8]
call fcn.140021ea0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r8d, ntohs
lea rdx, str.DevicePolicy
lea rcx, [rbp + 8]
call fcn.140023500
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 7
cmova rdx, qword [rbp + 0xf0]
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400f71d1
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xec]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 8]
call fcn.140021ea0
nop
lea rcx, [rbp + 0xf0]
call fcn.140021ea0
nop
lea rcx, [rbp + 0x110]
call fcn.140021ea0
nop
lea rcx, [rbp + 0x150]
call fcn.140021ea0
nop
lea rcx, [rbp + 0x170]
call fcn.140021ea0
nop
lea rcx, [rbp + 0x130]
call fcn.1400062c0
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1402cbf10
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140021b90
nop
call fcn.140021b90
int3