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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, r8
mov rsi, rdx
xor edi, edi
lea r13, [rdi - 1]
cmp qword [r8 + 0x10], rdi
je 0x1800105d7
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.180095d50
cmp qword [rbx + 0x18], 8
jb 0x180010492
mov rbx, qword [rbx]
mov r9, rbx
lea r8, str.___s
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.180009770
lea r8, [rsp + 0x70]
lea rdx, str.systemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1800104ff
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jle 0x1800104d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jle 0x1800105c3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x180010a17
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001050c
mov rdx, qword [rsi]
lea r8, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1800104c7
lea rcx, [rbp - 0x40]
mov rax, r13
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], di
jne 0x180010530
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x1800104cc
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jle 0x1800105af
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jle 0x1800105bf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1800105d7
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x180010a17
mov r12, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 0x34
jb 0x180010a47
cmp qword [rsi + 0x18], 8
jb 0x1800105ff
mov rsi, qword [rsi]
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
lea r15, [r12 + 0x34]
mov ebx, 7
lea r14, [rbp - 0x78]
cmp r15, rbx
jbe 0x180010656
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x18001062f
mov rbx, rcx
jmp 0x18001063b
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, r13
lea rcx, [rbp - 0x78]
call fcn.180005c50
mov r14, rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rbx
movaps xmm0, xmmword [str._registrymachineSYSTEMCurrentControlSetServices_]
movups xmmword [r14], xmm0
movaps xmm1, xmmword [0x1800e31a0]
movups xmmword [r14 + 0x10], xmm1
movaps xmm0, xmmword [0x1800e31b0]
movups xmmword [r14 + 0x20], xmm0
movaps xmm1, xmmword [0x1800e31c0]
movups xmmword [r14 + 0x30], xmm1
movaps xmm0, xmmword [0x1800e31d0]
movups xmmword [r14 + 0x40], xmm0
movaps xmm1, xmmword [0x1800e31e0]
movups xmmword [r14 + 0x50], xmm1
movsd xmm0, qword [0x1800e31f0]
movsd qword [r14 + 0x60], xmm0
lea rcx, [r14 + 0x68]
lea r8, [r12 + r12]
mov rdx, rsi
call fcn.1800956b0
mov word [r14 + r15*2], di
call fcn.180009850
mov r12, rax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8d, 0x14
lea rdx, str.RtlInitUnicodeString
lea rcx, [rsp + 0x30]
call fcn.1800058b0
nop
call fcn.180022290
lea rax, [r12 + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
setae r13b
mov r15, qword [rsp + 0x30]
cmovae r8, r15
movabs rsi, 0xcbf29ce484222325
mov rdx, rsi
mov rcx, rdi
movabs r9, 0x100000001b3
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x180010784
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, r14
jb 0x180010770
mov rcx, qword [r12 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r12 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov rdx, qword [r12 + 8]
mov qword [rsp + 0x70], rdx
cmp rbx, rdx
je 0x1800107f6
mov r12, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800107c2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
test r13b, r13b
cmovne rcx, r15
cmp r14, rax
jne 0x1800107df
mov r8, r14
call fcn.1800961b0
test eax, eax
je 0x1800107ea
cmp rbx, r12
je 0x1800107f1
mov rbx, qword [rbx + 8]
jmp 0x1800107b0
mov rdx, qword [rsp + 0x70]
jmp 0x1800107f9
mov rdx, qword [rsp + 0x70]
mov rbx, rdi
test rbx, rbx
cmove rbx, rdx
mov rcx, qword [rsp + 0x78]
cmp rbx, rdx
je 0x180010825
mov rbx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18001082c
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x58]
call rbx
jmp 0x18001082c
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test r13b, r13b
je 0x180010866
mov rdx, qword [rsp + 0x48]
inc rdx
mov rax, r15
cmp rdx, 0x1000
jb 0x18001085e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010a4d
mov rcx, r15
call fcn.180093588
call fcn.180009850
mov r13, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 0xc
lea rdx, str.NtLoadDriver
lea rcx, [rsp + 0x50]
call fcn.1800058b0
nop
call fcn.180022290
lea rax, [r13 + 0x40]
mov qword [rsp + 0x70], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
setae r12b
mov r15, qword [rsp + 0x50]
cmovae rdx, r15
mov rcx, rdi
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x180010903
movabs r8, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rsi, rax
imul rsi, r8
inc rcx
cmp rcx, r14
jb 0x1800108f0
mov rcx, qword [r13 + 0x30]
and rcx, rsi
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r13, qword [r13 + 8]
cmp rbx, r13
je 0x18001096d
mov rsi, qword [rax + rcx*8]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180010942
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
test r12b, r12b
cmovne rcx, r15
cmp r14, rax
jne 0x18001095f
mov r8, r14
call fcn.1800961b0
test eax, eax
je 0x18001096a
cmp rbx, rsi
je 0x18001096d
mov rbx, qword [rbx + 8]
jmp 0x180010930
mov rdi, rbx
test rdi, rdi
cmove rdi, r13
mov rcx, qword [rsp + 0x70]
cmp rdi, r13
je 0x180010997
mov rbx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18001099d
lea rcx, [rbp - 0x58]
call rbx
mov ebx, eax
jmp 0x1800109a2
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
test r12b, r12b
je 0x1800109d9
mov rdx, qword [rsp + 0x68]
inc rdx
mov rax, r15
cmp rdx, 0x1000
jb 0x1800109d0
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010a4d
mov rcx, r15
call fcn.180093588
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180010a15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010a10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010a41
call fcn.180093588
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180093c30
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18009a4c4
int3
call fcn.180001ee0
nop
call fcn.18009a4c4
nop
int3