Function at 0x14002c610
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 [0x1400e3040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, r8
mov rdi, rdx
xor ebx, ebx
cmp qword [r8 + 0x10], rbx
je 0x14002c7c7
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rbx
mov dword [rbp - 0x80], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.140079680
cmp qword [rsi + 0x18], 8
jb 0x14002c67e
mov rsi, qword [rsi]
mov r9, rsi
lea r8, [0x1400c8928]
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.140021b90
lea r8, [rsp + 0x70]
lea rdx, str.systemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14002c6eb
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jle 0x14002c6c3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jle 0x14002c7b3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14002ca94
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002c6f8
mov rdx, qword [rdi]
lea r8, [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14002c6b3
lea rcx, [rbp - 0x40]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x14002c720
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 + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x14002c6b8
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 esi, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jle 0x14002c79f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jle 0x14002c7af
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x14002c7c7
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14002ca94
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x34
jb 0x14002cac4
cmp qword [rdi + 0x18], 8
jb 0x14002c7ec
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0x34
lea r9, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x78]
call fcn.1400203c0
nop
call fcn.140015410
mov r14, rax
lea r12, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r12, qword [rbp - 0x78]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, 0x14
lea rdx, str.RtlInitUnicodeString
lea rcx, [rsp + 0x48]
call fcn.140001d70
nop
call fcn.14002e730
lea r15, [r14 + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x48]
mov r13, qword [rsp + 0x60]
cmp r13, 0x10
setae byte [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
cmovae rdx, rsi
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, rbx
movabs r10, 0x100000001b3
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14002c8c3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14002c8b0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140015ce0
mov r8, qword [rax + 8]
test r8, r8
je 0x14002c902
cmp r8, qword [r14 + 8]
je 0x14002c902
mov r14, qword [r8 + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x14002c90c
mov rdx, r12
lea rcx, [rbp - 0x58]
call r14
jmp 0x14002c90c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp byte [rsp + 0x40], 0
je 0x14002c944
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002c93c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002caca
mov rcx, rsi
call fcn.14004b1e0
call fcn.140015410
mov r15, rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, 0xc
lea rdx, str.NtLoadDriver
lea rcx, [rsp + 0x48]
call fcn.140001d70
nop
call fcn.14002e730
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x48]
mov r13, qword [rsp + 0x60]
cmp r13, 0x10
setae r12b
mov rsi, qword [rsp + 0x48]
cmovae rcx, rsi
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14002c9d3
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor rdi, rax
imul rdi, r8
inc rbx
cmp rbx, rdx
jb 0x14002c9c0
mov r9, rdi
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140015ce0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002ca14
cmp rdx, qword [r15 + 8]
je 0x14002ca14
mov rbx, qword [rdx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002ca1e
lea rcx, [rbp - 0x58]
call rbx
mov ebx, eax
jmp 0x14002ca23
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
test r12b, r12b
je 0x14002ca56
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002ca4d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002caca
mov rcx, rsi
call fcn.14004b1e0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14002ca92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cabe
call fcn.14004b1e0
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14004b1c0
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.14008ac40
int3
call fcn.140001810
nop
call fcn.14008ac40
nop