Function at 0x140046f80
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x260], rax
movzx edi, r8b
mov byte [rsp + 0x40], r8b
mov rax, rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor esi, esi
mov qword [rsp + 0x60], rsi
lea r8, [rsp + 0x50]
mov edx, ecx
mov rcx, rax
call fcn.140081660
mov dword [rbp + 0x198], esi
mov qword [rbp + 0x190], rsi
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140320430]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x140047072
mov dword [rbp + 0x19c], 4
lea rax, [rbp + 0x19c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x198]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1a0]
xor r8d, r8d
lea rdx, str.FWBypass
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0x58]
cmp rax, rbx
je 0x140047372
nop word [rax + rax]
mov r12, qword [rax]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
test r12, r12
je 0x1400470bc
mov rax, qword [r12]
lea rdx, [rsp + 0x68]
mov rcx, r12
mov rax, qword [rax + 0x10]
call qword [case.0x14004487d.0]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
cmp r14, r13
je 0x140047351
nop
mov r15, qword [r14]
test r15, r15
je 0x14004733f
lea rdx, [rbp + 0x1a8]
mov rcx, r15
call fcn.1400773d0
nop
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 8
cmovae rdx, qword [rbp + 0x1a8]
lea rax, [rbp + 0x1d8]
mov qword [rbp + 0x1d0], rax
mov r8d, 3
lea rcx, [rbp + 0x1d0]
call fcn.1400429f0
nop
call fcn.1400606b0
cmp eax, 0x5313
jl 0x14004715a
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.CapxMode
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rcx, 0xffffffff80000002
call fcn.140057230
test eax, eax
mov edx, 0x200
je 0x14004715c
mov edx, esi
xor r8d, r8d
mov rcx, qword [rbp + 0x1d0]
call fcn.1400912e0
mov rbx, rax
lea rax, [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1d0]
cmp rcx, rax
je 0x140047186
call fcn.1402384fc
test rbx, rbx
je 0x140047333
mov dword [rsp + 0x44], 0xffffffff
test dil, dil
jne 0x1400472ca
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rbx
lea rax, str.WavesFX_Preset_GetSoundMode_0x_x_____d_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [0x1404675c0]
mov edx, 0x497
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedwavesmaxxaudiogeneric.cpp
call fcn.140039f30
xor sil, sil
lea rcx, [0x140462248]
call fcn.1401e619c
test eax, eax
je 0x1400471f2
mov ecx, eax
call fcn.1401e5ae4
xor edi, edi
test rbx, rbx
je 0x14004721f
mov rax, qword [0x1404622a0]
sub rax, qword [0x140462298]
sar rax, 3
cmp rbx, rax
ja 0x14004721f
lfence
mov rax, qword [0x140462298]
mov rdi, qword [rax + rbx*8 - 8]
lea rcx, [0x140462248]
call fcn.1401e61c0
test eax, eax
je 0x140047237
mov ecx, eax
call fcn.1401e5ae4
nop
test rdi, rdi
je 0x14004725a
mov rax, qword [rdi]
xor r8d, r8d
lea rdx, [rsp + 0x44]
mov rcx, rdi
mov rax, qword [rax + 0x130]
call qword [case.0x14004487d.0]
movzx esi, al
lea rdx, str.NULL
lea rcx, [rbp - 0x70]
call fcn.140094f00
mov r8d, dword [rsp + 0x44]
lea rdx, [0x140329250]
lea rcx, [rbp - 0x70]
call fcn.140094f00
movzx ecx, sil
mov dword [rsp + 0x38], ecx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, str.WavesFX_Preset_GetSoundMode_____s_____d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1404675c0]
mov edx, 0x4a5
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedwavesmaxxaudiogeneric.cpp
call fcn.140039f30
test sil, sil
jne 0x140047324
xor esi, esi
mov edi, 0xffffffff
mov eax, dword [r12 + 0x18]
test eax, eax
js 0x1400472dc
mov edi, eax
jmp 0x1400472f3
cmp dword [r12 + 0x48], 1
jne 0x1400472f3
mov edi, esi
cmp byte [r12 + 0x142], 0
sete dil
cmp dword [rbp + 0x198], 0
je 0x14004731a
test eax, eax
jns 0x14004731a
cmp dword [r15 + 0x80], 1
ja 0x14004731a
mov edx, 0xfffffffd
mov r8d, edx
mov rcx, rbx
call fcn.140093d30
mov edx, edi
mov rcx, rbx
call fcn.140093720
mov rcx, rbx
call fcn.140092ad0
movzx edi, byte [rsp + 0x40]
xor esi, esi
lea rcx, [rbp + 0x1a8]
call fcn.14003b0f0
add r14, 8
cmp r14, r13
jne 0x1400470d0
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.14003d760
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
cmp rax, rbx
jne 0x140047090
lea rcx, [rsp + 0x50]
call fcn.14003d760
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret