Function at 0x1400a84b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x390], rbx
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rdx
mov qword [rsp + 0x60], rdx
mov r14, rcx
mov qword [rsp + 0x70], rcx
test rdx, rdx
jne 0x1400a851f
mov r8d, 0xa0
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140061d00
jmp 0x1400a8c29
xor edx, edx
mov r8d, 0xa0c
mov rcx, rsi
call fcn.1400cc120
mov dword [rsi + 4], 1
xor r12d, r12d
mov qword [rbp - 8], r12
mov qword [rbp - 0x10], r12
mov qword [rbp + 8], r12
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [0x140128768]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x1401287a0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0x1400a85d6
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [0x1401287b0]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x140128778]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0x1400a859d
mov r8d, 0xb0
jmp 0x1400a85bb
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x140128758]
call qword [rax]
test eax, eax
jns 0x1400a85d6
mov r8d, SystemTimeToVariantTime
mov r9d, eax
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, str._s__d_RETURN_ON_ERROR_hr0x_X
call fcn.140061d00
jmp 0x1400a8bfa
mov dword [rbp - 0x1c], r12d
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x20], r12d
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov rcx, qword [rbp - 8]
lea rdx, [rbp - 0x38]
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov rdx, r14
test rcx, rcx
je 0x1400a861c
mov rax, qword [rcx]
call qword [rax + 0x48]
jmp 0x1400a8626
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, 7
test eax, eax
js 0x1400a8643
mov ecx, ebx
cmp dword [rbp - 0x20], ebx
cmovle ecx, dword [rbp - 0x20]
mov eax, r12d
test ecx, ecx
cmovns eax, ecx
mov dword [rsi + 4], eax
mov rcx, qword [rbp - 8]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x1c]
mov rdx, r14
test rcx, rcx
jne 0x1400a865b
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
js 0x1400a87d2
mov eax, dword [rbp - 0x1c]
cmp eax, 0x10
jge 0x1400a87a4
mov dword [rsi], eax
mov r13d, r12d
cmp dword [rsi + 4], r12d
jle 0x1400a87c3
lea rcx, [rsi + 0xc]
mov qword [rsp + 0x48], rcx
lea rdx, [rsi + 0x80c]
mov qword [rsp + 0x50], rdx
nop dword [rax]
mov edi, r12d
test eax, eax
jle 0x1400a8776
mov r14, r12
mov r15, rdx
mov rsi, qword [rsp + 0x48]
nop word [rax + rax]
mov rax, qword [rbp - 0x30]
movups xmm0, xmmword [r14 + rax]
movups xmmword [rsi + r14], xmm0
mov dword [r15], r12d
movsxd rdx, edi
shl rdx, 4
add rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140050910
mov rbx, rax
mov rcx, qword [rbp - 0x30]
movups xmm0, xmmword [r14 + rcx]
movaps xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.1400a9270
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r13d
mov r9, qword [rsp + 0x70]
mov r8d, 0xf6
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, str._s__d_EpId_s_nScenarioIdx__d_nQueryCondIdx_d_AddCondName_s_AddCondGuid_s
call fcn.140061d00
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a8752
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
add r15, 4
add r14, 0x10
mov eax, dword [rbp - 0x1c]
cmp edi, eax
jl 0x1400a86c0
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
inc r13d
add rdx, 0x40
mov qword [rsp + 0x50], rdx
add rcx, 0x100
mov qword [rsp + 0x48], rcx
cmp r13d, dword [rsi + 4]
jl 0x1400a86a0
mov ebx, 7
mov r14, qword [rsp + 0x70]
jmp 0x1400a87c3
mov r9d, 0x10
mov r8d, 0xfd
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, str._s__d_nQueryCondCount__d
call fcn.140061d00
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400a87d2
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rdx, qword [rbp - 0x28]
mov eax, dword [rbp - 0x20]
cmp eax, 8
jge 0x1400a87e8
cmp dword [rdx], 0x10
mov dword [rsp + 0x48], r12d
jl 0x1400a87f0
mov dword [rsp + 0x48], 1
cmp eax, 7
cmovle ebx, eax
mov eax, r12d
test ebx, ebx
cmovns eax, ebx
mov dword [rsi + 4], eax
mov r11d, r12d
mov dword [rsp + 0x40], r12d
test eax, eax
jle 0x1400a8a25
mov r15, r12
mov rbx, r12
mov qword [rsp + 0x60], rbx
mov r9d, 0x203
mov qword [rsp + 0x50], r9
nop word [rax + rax]
mov r8d, r12d
mov dword [rsp + 0x58], r12d
mov r13, r12
mov r10, r12
mov qword [rsp + 0x68], r10
mov ecx, 0x10
cmp dword [rbx + rdx], ecx
cmovle ecx, dword [rbx + rdx]
cmp r8d, ecx
jge 0x1400a89f8
mov ebx, r12d
mov r14, r12
cmp dword [rsi], 0
jle 0x1400a89de
movsxd r12, r8d
shl r12, 4
movsxd rdx, r11d
shl rdx, 4
mov qword [rbp - 0x78], rdx
nop dword [rax]
mov r8, qword [rbp - 0x40]
mov rcx, qword [r8 + r15]
movsxd rax, ebx
add rdx, rax
add rdx, rdx
mov rax, qword [rsi + rdx*8 + 0xc]
cmp rax, qword [rcx + r12]
jne 0x1400a89b7
mov rax, qword [rsi + rdx*8 + 0x14]
cmp rax, qword [rcx + r12 + 8]
jne 0x1400a89b7
mov rax, qword [rbp - 0x38]
mov rcx, qword [r15 + rax]
lea rdx, [r9 + r14]
mov eax, dword [rcx + r13]
mov dword [rsi + rdx*4], eax
call fcn.140061b10
test eax, eax
je 0x1400a89b7
mov rdi, qword [r8 + r15]
add rdi, r12
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x30]
call fcn.1400cc120
mov r8d, 0x7f
lea rdx, [rbp + 0x30]
lea rcx, [0x1400eced8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
mov r8d, 0x7f
lea rdx, [rbp + 0x130]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x30]
test eax, eax
cmovle rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.140004520
nop
mov rax, qword [rbp - 0x40]
mov rcx, qword [r15 + rax]
mov rax, qword [rsp + 0x68]
movups xmm0, xmmword [rcx + rax]
movaps xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call fcn.1400a9270
mov rcx, qword [rbp - 0x38]
mov rdx, qword [r15 + rcx]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + r13]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x40]
mov r8d, LPSAFEARRAY_UserUnmarshal
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, str._s__d_Scenario_d_UnionCondIdx_d_Val_d_CondName_s_GUID_s
call fcn.140061d00
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a89b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9, qword [rsp + 0x50]
inc ebx
inc r14
cmp ebx, dword [rsi]
mov rdx, qword [rbp - 0x78]
jl 0x1400a8880
mov rdx, qword [rbp - 0x28]
xor r12d, r12d
mov r8d, dword [rsp + 0x58]
mov r10, qword [rsp + 0x68]
mov r11d, dword [rsp + 0x40]
inc r8d
mov dword [rsp + 0x58], r8d
add r10, 0x10
add r13, 4
mov rbx, qword [rsp + 0x60]
jmp 0x1400a883e
inc r11d
mov dword [rsp + 0x40], r11d
add rbx, 4
mov qword [rsp + 0x60], rbx
add r15, 8
add r9, 0x10
mov qword [rsp + 0x50], r9
cmp r11d, dword [rsi + 4]
jl 0x1400a8830
mov r14, qword [rsp + 0x70]
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x10], r12
mov dword [rbp + 0x18], r12d
mov qword [rbp + 0x20], r12
mov dword [rbp - 0x18], r12d
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioExtSettings
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x10]
call fcn.140027f60
test eax, eax
je 0x1400a8a8a
lea r9, str.SOFTWARERealtekAudioExtSettings
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140061d00
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400a8b11
jmp 0x1400a8b0b
mov dword [rbp], 4
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 4]
xor r8d, r8d
lea rdx, str.DefaultDisableAINR
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a8b03
cmp dword [rbp + 4], 4
jne 0x1400a8b03
mov edi, dword [rbp - 0x18]
test rbx, rbx
je 0x1400a8ad9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x1400a8b11
mov r9, r14
mov r8d, 0x136
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, str._s__d_DefaultDisableAINR_EpId_s
call fcn.140061d00
mov rcx, rsi
call fcn.1400a9740
jmp 0x1400a8b11
test rbx, rbx
je 0x1400a8b11
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [0x140169dd8], 0
je 0x1400a8b72
cmp dword [0x140169da4], 0
jne 0x1400a8b30
mov rax, qword [0x1401631e0]
test byte [rax + 0x1c], 1
je 0x1400a8b72
lea rax, str.CondBufOverflow
lea r9, [0x1400ea068]
cmp dword [rsp + 0x48], 0
cmovne r9, rax
mov qword [rsp + 0x30], r14
mov eax, dword [rsi]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x20], eax
mov r8d, 0x13c
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, str._s__d__s_nScenarioCount_d__Count_d_EpId_s
call fcn.140061d00
cmp dword [rbp - 0x20], 0
jle 0x1400a8bb3
mov rbx, r12
nop dword [rax + rax]
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x1400a8b93
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x1400a8ba6
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
inc r12d
add rbx, 8
cmp r12d, dword [rbp - 0x20]
jl 0x1400a8b80
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400a8bc2
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400a8bd1
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400a8be0
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov r8d, 0x157
lea rdx, str.CRtkEffectConditionsBase::GetDefaultConditions
lea rcx, [0x1400e9c70]
call fcn.140061d00
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400a8c0a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400a8c1a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400a8c29
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret