Function at 0x1400f9df0
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 [0x14072a340]
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, [0x140543574]
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, 0xa45a69c67db5d45c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rdi, 0x514bf30f3e8a08e8
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs r13, 0xa45a69c67df4970f
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 0x1400f9f00
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.140006600
nop
movabs rax, 0xe70604a30987ee5c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x3e0887615bf87a9d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x6617df5c7f4a9d9f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x8e3ad60fdba57d46
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x65f1a5bc79692b50
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rcx, 0xce2717e3e2e4d9ec
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, 0x12728c301038e9f1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
movabs rax, 0xeb59bf79a9c02e1a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
movabs rax, 0x65f1918a091a7723
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 0x1400fa060
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 0x1400fa100
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 0x1400fa126
cmp ecx, 0x20
jae 0x1400fa126
shl edi, cl
jmp 0x1400fa14c
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, [0x1402fe5c0]
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.1400edd20
lea rcx, [rbx + 0x40]
mov rdx, rax
call fcn.1400ee130
lea rcx, [rbp + 8]
call fcn.140022f00
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 0x1400fa6ab
shl rdx, 5
add rdx, rcx
lea rcx, [rbp + 0x170]
call fcn.140022120
nop
mov rbx, qword [rsi + 0x50]
lea r8, [0x1402fe5b0]
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.1400edd20
lea rcx, [rbx + 0x58]
mov rdx, rax
call fcn.1400ee130
lea rcx, [rbp + 8]
call fcn.140022f00
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 0x1400fa6a5
lea rcx, [rbp + 0x150]
call fcn.140022120
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 0x1400fa273
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r14
inc rcx
cmp rcx, r8
jb 0x1400fa260
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call fcn.140033190
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400fa296
mov rdx, qword [rdi + 8]
add rdx, 0x30
lea rcx, [rbp + 0x110]
call fcn.140093280
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 0x1400fa2f3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r14
inc rcx
cmp rcx, r8
jb 0x1400fa2e0
mov r9, rbx
lea r8, [rbp + 0x150]
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call fcn.140033190
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400fa319
mov rdx, qword [rdi + 8]
add rdx, 0x30
lea rcx, [rbp + 0xf0]
call fcn.140093280
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.140024900
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 0x1400fa3e5
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.1400232a0
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.140024900
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 0x1400fa4a9
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.1400232a0
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.140024900
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 0x1400fa56d
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.1400232a0
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.140024900
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 0x1400fa631
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.1400232a0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400232a0
nop
lea rcx, [rbp + 0x110]
call fcn.1400232a0
nop
lea rcx, [rbp + 0x150]
call fcn.1400232a0
nop
lea rcx, [rbp + 0x170]
call fcn.1400232a0
nop
lea rcx, [rbp + 0x130]
call fcn.1400062c0
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1402cf370
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.140022f90
nop
call fcn.140022f90
int3