Function at 0x140001c20
Capabilities:
Encode data using xor
Hash data using fnv
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rdi, r8
mov rsi, rdx
xor ebx, ebx
cmp qword [r8 + 0x10], rbx
je 0x140001de2
mov qword [rbp + 0x1f8], rbx
mov qword [rbp + 0x1f0], rbx
mov dword [rbp + 0x1e0], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 7
jbe 0x140001c89
mov rdi, qword [rdi]
mov r9, rdi
lea r8, str.___s
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.140001070
lea r8, [rbp + 0x1f8]
lea rdx, str.systemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140001cfc
mov rcx, qword [rbp + 0x1f0]
test rcx, rcx
jle 0x140001cd2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f8]
test rcx, rcx
jle 0x140001dce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140001fec
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140001d09
mov rdx, qword [rsi]
lea r8, [rbp + 0x1f0]
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140001cc0
lea rcx, [rbp - 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x140001d30
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x1f0]
test eax, eax
jne 0x140001cc7
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rbp + 0x1f0]
test rcx, rcx
jle 0x140001db8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f8]
test rcx, rcx
jle 0x140001dca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140001de2
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140001fec
mov r8, rsi
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x50]
call fcn.140002820
nop
call fcn.1400012a0
mov r14, rax
lea r12, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova r12, qword [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x20
call fcn.1400064c0
mov rsi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.RtlInitUnicodeString]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400086e0]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.1400045f0
lea r15, [r14 + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, rbx
movabs r13, 0x100000001b3
nop
movzx eax, byte [rsi + rcx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, 0x14
jb 0x140001e80
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140002a40
mov r8, qword [rax + 8]
test r8, r8
je 0x140001ed3
cmp r8, qword [r14 + 8]
je 0x140001ed3
mov r14, qword [r8 + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x140001edd
mov rdx, r12
lea rcx, [rsp + 0x70]
call r14
jmp 0x140001edd
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rsi
call fcn.140006744
call fcn.1400012a0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0xc
mov qword [rsp + 0x48], 0xf
movsd xmm0, qword [str.NtLoadDriver]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [0x1400086f0]
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x3c], 0
call fcn.1400045f0
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
movzx eax, byte [rsp + rbx + 0x30]
xor rdi, rax
imul rdi, r13
inc rbx
cmp rbx, 0xc
jb 0x140001f40
mov r9, rdi
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140002a40
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140001f96
cmp rdx, qword [r14 + 8]
je 0x140001f96
mov rbx, qword [rdx + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140001fa0
lea rcx, [rsp + 0x70]
call rbx
mov ebx, eax
jmp 0x140001fa5
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001fea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fe5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fe5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006744
mov eax, ebx
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret