Function at 0x140001000
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x140015028]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xor esi, esi
lea rdi, [rcx + 0x58]
mov ebp, 1
mov rbx, rcx
mov dword [rcx + 0x5c], ebp
mov qword [rcx + 0x48], rsi
mov dword [rcx + 0x54], esi
mov dword [rcx + 0x50], esi
mov dword [rcx + 0x60], esi
mov qword [rcx + 0x88], rsi
mov dword [rcx + 0x64], ebp
lea r8, [rsp + 0x48]
lea rdx, str.SoftwareAndrea_ElectronicsAEAudioAPO
mov rcx, 0xffffffff80000002
mov dword [rdi], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1400010b2
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.Logging
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1400010a7
mov dword [rdi], esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rdi], esi
je 0x14000115c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000115c
lea rdx, [rsp + 0xb0]
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14000115c
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
movsxd rcx, eax
jle 0x140001114
nop
nop
cmp byte [rsp + rcx + 0xb0], 0x5c
je 0x140001114
sub rcx, rbp
sub eax, ebp
test rcx, rcx
jg 0x140001100
add eax, ebp
lea rdx, [rbx + 0x68]
mov r8d, 0x14
movsxd rcx, eax
sub rcx, rdx
lea r9, [rsp + rcx + 0xb0]
nop
lea rax, [r8 + 0x7fffffea]
test rax, rax
je 0x140001151
movzx eax, byte [r9 + rdx]
test al, al
je 0x140001151
mov byte [rdx], al
add rdx, rbp
sub r8, rbp
jne 0x140001130
jmp 0x140001156
test r8, r8
jne 0x140001159
sub rdx, rbp
mov byte [rdx], sil
xor eax, eax
lea rdx, str.SoftwareRealtekAEAPO
mov r9d, 0x20119
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov dword [rbx + 0x40], eax
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov edi, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001243
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.CapProperties
xor r8d, r8d
mov dword [rsp + 0x30], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001207
cmp dword [rsp + 0x30], 0x44
jne 0x140001207
cmp dword [rsp + 0x60], 0xaeaeaeae
jne 0x140001207
test dword [rsp + 0x78], 0xfffffee0
cmove edi, ebp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140001243
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov r8d, 0x44
call fcn.14000d730
or r9d, 0xffffffff
lea rdx, str.LoadFiltersInfo_successful
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], esi
call fcn.1400015b0
cmp dword [rbx + 0x18], esi
jne 0x140001255
cmp dword [rbx + 0x28], esi
jne 0x140001255
mov rcx, rbx
call fcn.140001860
mov edx, dword [rbx + 0x28]
test edx, edx
je 0x1400012fa
mov eax, dword [rbx + 0x18]
mov edi, esi
test eax, eax
je 0x1400012f7
add eax, eax
cmp eax, edx
jne 0x1400012f7
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareAndrea_ElectronicsAEAudioAPOSettings
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400012f7
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
lea rdx, str.AEOpts
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400012e8
mov ecx, dword [rsp + 0x34]
not ecx
cmp ecx, dword [rbx + 0x28]
cmove edi, ebp
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1400012fa
mov dword [rbx + 0x18], esi
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400046f0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret