Function at 0x140002280
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 0x1400022b0
xor eax, eax
jmp 0x1400025a4
cmp dword [rcx + 0x5c], esi
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rdi
jne 0x1400023ad
or r9d, 0xffffffff
lea rdx, str.Send_UnlockFilters_to_service
mov edi, 1
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.140001970
mov rcx, rbx
call fcn.140001700
test rax, rax
mov rbp, rax
jne 0x14000232e
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140001700
test rax, rax
mov rbp, rax
jne 0x14000232e
or r9d, 0xffffffff
lea rdx, str.UnlockFilters_failed_to_open_service
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.140001970
mov eax, esi
jmp 0x140002594
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 0x140002383
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 0x140002594
or r9d, 0xffffffff
lea rdx, str.Send_UnlockFilters_to_service_failed
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.140001970
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x140002594
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8d, 0x44
call fcn.14000cf50
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, str.SoftwareIDTAEAPO
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 0x14000247b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
lea r9d, [rdi + 2]
lea rdx, [0x140011fd8]
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 0x14000247b
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], esi
call fcn.140001970
jmp 0x140002495
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], esi
call fcn.140001970
test ebp, ebp
je 0x140002578
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 0x14000256f
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 0x140002548
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.140001970
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002592
or r9d, 0xffffffff
lea rdx, str.UnlockFilters_failed_second_write
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.140001970
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002592
lea rdx, str.UnlockFilters_failed_second_create
jmp 0x14000257f
lea rdx, str.UnlockFilters_failed_first_write
or r9d, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], edi
or r8d, r9d
call fcn.140001970
mov eax, ebp
mov rbp, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140003f10
mov rbx, qword [rsp + 0x178]
add rsp, 0x150
pop rsi
ret