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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, r8
mov rbx, rdx
xor r12d, r12d
cmp qword [r8 + 0x10], r12
je 0x1400267a9
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x78], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140089280
cmp qword [rdi + 0x18], 8
jb 0x140026662
mov rdi, qword [rdi]
mov r9, rdi
lea r8, str.___s
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.140016b40
lea r8, [rsp + 0x68]
lea rdx, str.systemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400266cf
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jle 0x1400266a7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jle 0x140026795
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140026a63
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400266dc
mov rdx, qword [rbx]
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140026697
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], r12w
jne 0x140026700
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
test eax, eax
jne 0x14002669c
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1400d9030]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jle 0x140026781
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jle 0x140026791
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1400267a9
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140026a63
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x34
jb 0x140026a94
cmp qword [rbx + 0x18], 8
jb 0x1400267ce
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x34
lea r9, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x80]
call fcn.14001ba4c
nop
call fcn.140023e20
mov rdi, rax
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r14, qword [rbp - 0x80]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rdx, str.RtlInitUnicodeString
lea rcx, [rsp + 0x40]
call fcn.1400069f0
nop
call fcn.140045d40
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
mov rcx, r12
movabs r15, 0x100000001b3
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140026893
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140026880
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.140025420
mov r8, qword [rax + 8]
test r8, r8
je 0x1400268d1
cmp r8, qword [rdi + 8]
je 0x1400268d1
mov rdi, qword [r8 + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x1400268db
mov rdx, r14
lea rcx, [rbp - 0x60]
call rdi
jmp 0x1400268db
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140026918
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026913
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026a9a
call fcn.14006a754
call fcn.140023e20
mov rsi, rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rdx, str.NtLoadDriver
lea rcx, [rsp + 0x40]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov rcx, r12
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140026985
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r15
inc rcx
cmp rcx, r8
jb 0x140026972
mov r9, rbx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140025420
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400269c6
cmp rdx, qword [rsi + 8]
je 0x1400269c6
mov rbx, qword [rdx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400269d0
lea rcx, [rbp - 0x60]
call rbx
mov ebx, eax
jmp 0x1400269d5
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140026a12
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026a0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026aa0
call fcn.14006a754
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140026a61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026a5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026a8e
call fcn.14006a754
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140097d64
int3
call fcn.140001300
nop
call fcn.140097d64
nop
call fcn.140097d64
int3