Function at 0x140001ec0
Capabilities:
Set registry value
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x150
mov rax, qword [0x140015028]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor esi, esi
mov rbx, rcx
cmp dword [rcx + 0x28], esi
jne 0x140001ef0
xor eax, eax
jmp 0x1400021e4
cmp dword [rcx + 0x5c], esi
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rdi
jne 0x140001fed
or r9d, 0xffffffff
lea rdx, str.Send_UnlockFilters_to_service
mov edi, 1
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1400015b0
mov rcx, rbx
call fcn.140001450
test rax, rax
mov rbp, rax
jne 0x140001f6e
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140001450
test rax, rax
mov rbp, rax
jne 0x140001f6e
or r9d, 0xffffffff
lea rdx, str.UnlockFilters_failed_to_open_service
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1400015b0
mov eax, esi
jmp 0x1400021d4
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
mov r8d, 0x88
mov rcx, rbp
mov dword [rsp + 0xb0], 0xae0ae0ae
mov dword [rsp + 0xb4], 6
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001fc3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbp
mov esi, edi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1400021d4
or r9d, 0xffffffff
lea rdx, str.Send_UnlockFilters_to_service_failed
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1400015b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1400021d4
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8d, 0x44
call fcn.14000d730
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, str.SoftwareRealtekAEAPO
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x78], 0x11f
mov dword [rsp + 0x88], 0x23e
mov dword [rsp + 0x20], esi
mov ebp, esi
mov dword [rsp + 0x60], 0xaeaeaeae
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, 1
test eax, eax
jne 0x1400020bb
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
lea r9d, [rdi + 2]
lea rdx, str.CapProperties
xor r8d, r8d
mov dword [rsp + 0x28], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove ebp, edi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x1400020bb
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], esi
call fcn.1400015b0
jmp 0x1400020d5
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], esi
call fcn.1400015b0
test ebp, ebp
je 0x1400021b8
mov eax, dword [rsp + 0x88]
mov qword [rsp + 0x40], rsi
lea rdx, str.SoftwareAndrea_ElectronicsAEAudioAPOSettings
not eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], esi
mov ebp, esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400021af
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, str.AEOpts
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140002188
or r9d, 0xffffffff
lea rdx, str.UnlockFilters_was_successful
mov rcx, rbx
or r8d, r9d
mov ebp, edi
mov dword [rsp + 0x20], edi
call fcn.1400015b0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400021d2
or r9d, 0xffffffff
lea rdx, str.UnlockFilters_failed_second_write
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1400015b0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400021d2
lea rdx, str.UnlockFilters_failed_second_create
jmp 0x1400021bf
lea rdx, str.UnlockFilters_failed_first_write
or r9d, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], edi
or r8d, r9d
call fcn.1400015b0
mov eax, ebp
mov rbp, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400046f0
mov rbx, qword [rsp + 0x178]
add rsp, 0x150
pop rsi
ret