Function at 0x1400233bc
Capabilities:
Create service
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, rdx
mov r14, r8
mov rsi, rcx
lea r8, [rbp + 0x90]
mov rcx, rax
xor r9d, r9d
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
jne 0x140023421
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1400236d3
and qword [rsp + 0x60], 0
lea rax, str.FltMgr
and qword [rsp + 0x58], 0
mov r9d, 0xf01ff
mov qword [rsp + 0x50], rax
mov r8, rsi
and qword [rsp + 0x48], 0
lea rax, str.FSFilter_Activity_Monitor
mov qword [rsp + 0x40], rax
mov rdx, rsi
lea rax, [rbp + 0x90]
mov rcx, rdi
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 2
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
test rax, rax
jne 0x1400234b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x14002349a
mov ebx, 1
jmp 0x14002349c
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400236d1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x80]
call fcn.140060710
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140060670
lea rdx, [0x1400a1ba8]
lea rcx, [rbp - 0x80]
call fcn.140060670
lea rax, [rbp + 0x1d8]
mov rdi, 0xffffffff80000002
mov qword [rsp + 0x40], rax
lea r9, [0x14009d610]
lea rax, [rsp + 0x70]
mov ebx, 1
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x80]
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002341a
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140060710
lea rdx, [0x1400a1bb8]
lea rcx, [rbp - 0x80]
call fcn.140060670
lea rcx, [rbp - 0x80]
call fcn.140045e50
mov rcx, qword [rsp + 0x70]
lea rdx, str.DefaultInstance
mov dword [rsp + 0x28], eax
mov r9d, ebx
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002341a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x80]
call fcn.140060710
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140060670
lea rdx, str.Instances_
lea rcx, [rbp - 0x80]
call fcn.140060670
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140060670
lea rdx, [0x1400a1bb8]
lea rcx, [rbp - 0x80]
call fcn.140060670
lea rax, [rbp + 0x1d8]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea r9, [0x14009d610]
lea rax, [rsp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x80]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002341a
mov r8, r14
lea rdx, [0x14009ef1c]
lea rcx, [rbp - 0x80]
call fcn.1400055a4
lea rcx, [rbp - 0x80]
call fcn.140045e50
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1400a1be8]
mov dword [rsp + 0x28], eax
mov r9d, ebx
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002341a
and dword [rbp + 0x1d8], eax
lea r9d, [rbx + 3]
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x1d8]
mov dword [rsp + 0x28], r9d
lea rdx, str.Flags
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14002341a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret