Function at 0x1401efb70
Capabilities:
Set registry value
Start service
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
xor esi, esi
mov dword [0x140337670], 0xaee0aee0
cmp dword [0x1403376dc], esi
mov edi, esi
jne 0x1401efbbb
lea rbx, [0x140337670]
mov rdx, rbx
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp 0x1401efc80
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareRealtekAEAPO
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rbx, [0x140337670]
test eax, eax
jne 0x1401efc46
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 3]
lea rdx, str.RenProperties
xor r8d, r8d
mov dword [rsp + 0x28], 0x60
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
test eax, eax
cmove edi, ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
lea rdx, str.WriteRegistry_successful
jne 0x1401efc4d
lea rdx, str.WriteRegistry_failed
or r9d, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], esi
or r8d, r9d
call fcn.1401f0010
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0xf0
mov rax, qword [0x14031eda0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
or r9d, 0xffffffff
lea rdx, str.Start_WriteService
lea rcx, [0x140337670]
xor r12d, r12d
mov r13d, 1
or r8d, r9d
mov edi, r12d
mov dword [rsp + 0x20], r13d
call fcn.1401f0010
mov qword [rsp + 0x30], r12
lea rcx, str..pipeAERTAPOProperties
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
jne 0x1401efe7e
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r12
lea rcx, str..pipeAERTAPOProperties
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
jne 0x1401efe7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Cant_open_pipe:
lea rcx, [0x140337670]
mov r8d, eax
or r9d, ebx
mov dword [rsp + 0x20], r12d
call fcn.1401f0010
cmp dword [0x1403376e0], r12d
je 0x1401efdc8
mov dword [0x1403376e0], r13d
lea rdx, str.WriteService_failed
or r9d, 0xffffffff
lea rcx, [0x140337670]
mov dword [rsp + 0x20], r12d
or r8d, r9d
call fcn.1401f0010
mov eax, edi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14022b9b0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
mov r8d, r13d
xor edx, edx
xor ecx, ecx
mov esi, r12d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rbx, rax
je 0x1401efd7e
lea rdx, str.AERTFilters
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rax
mov qword [rsp + 0x110], rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rbp, rax
je 0x1401efe23
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rbp
test eax, eax
cmovne esi, r13d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
mov rbp, qword [rsp + 0x110]
je 0x1401efd7e
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r12
lea rcx, str..pipeAERTAPOProperties
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x1401efd7e
test rbx, rbx
je 0x1401efd7e
lea rcx, [rsp + 0x58]
lea rdx, [0x140337670]
mov r8d, 0x60
mov dword [rsp + 0x50], 0xae0ae0ae
mov dword [rsp + 0x54], 2
call fcn.14022e920
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x88
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401efedc
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, r13d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1401efd7e
lea rdx, str.WriteService_successful
jmp 0x1401efd85