Function at 0x1400545e0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x680]
sub rsp, 0x780
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x7d8], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov edi, r9d
mov r14, r8
mov ebx, edx
mov r13, rcx
xor r15d, r15d
mov dword [rsp + 0x54], r15d
mov byte [rsp + 0x50], r15b
mov dword [rsp + 0x30], edx
lea rax, str.CMaxxAudioClientEx::SetChunk_param:__d_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 2]
lea r8, [0x140303c50]
mov edx, 0xcfe
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_sharedmaxxaudioclientex.cpp
call fcn.1400189f0
sub ebx, 0xa
je 0x140054ff1
sub ebx, 0xa
je 0x140054a25
cmp ebx, 1
jne 0x140055199
test r14, r14
je 0x140055199
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140055199
mov r8d, dword [r14 + 0xc]
test r8d, r8d
je 0x140055199
cmp qword [r14 + 0x20], r15
je 0x140055199
cmp dword [r14 + 0x1c], r15d
je 0x140055199
mov edx, dword [r14]
call fcn.140056be0
mov r13, rax
mov qword [rbp + 0x620], r15
mov rdx, rcx
lea rcx, [rbp + 0x620]
call fcn.140021310
nop
mov qword [rbp + 0x650], r15
mov r8d, dword [r14 + 0x1c]
mov rdx, qword [r14 + 0x20]
lea rcx, [rbp + 0x650]
call fcn.140021310
nop
mov rbx, qword [rbp + 0x650]
mov qword [rsp + 0x40], rbx
mov rdi, qword [rbp + 0x620]
mov qword [rsp + 0x38], rdi
mov eax, dword [r14]
mov dword [rsp + 0x30], eax
lea rax, str.SetChunk_ChunkValueType::RegistryDWORD__with_key:__d__section:__s__entry:__s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 2]
lea r8, [0x140303c50]
mov edx, 0xdc0
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_sharedmaxxaudioclientex.cpp
call fcn.1400189f0
lea r12, [rdi - 0x18]
mov rcx, r12
call fcn.14001dc80
add rax, 0x18
mov qword [rbp - 0x70], rax
lea r8, [rbp - 0x70]
mov rdx, r13
call fcn.1400582d0
lea rsi, [r15 - 1]
test al, al
je 0x1400549e4
cmp r13, 0xffffffff80000001
jne 0x1400549c6
mov qword [rbp + 0x638], r15
lea rdx, [rbp + 0x638]
call fcn.140056c30
nop
mov rax, qword [rbp + 0x638]
cmp dword [rax - 0x10], r15d
je 0x140054998
mov r13, 0xffffffff80000003
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x1400551d3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, [0x14023c150]
lea rcx, [rsp + 0x60]
call fcn.1400165c0
test al, al
jne 0x1400547ed
lea rdx, [0x14023c150]
lea rcx, [rsp + 0x60]
call fcn.1400241d0
nop
mov qword [rsp + 0x70], r15
mov rax, qword [rbp + 0x638]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140054810
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140054821
call fcn.140015450
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1400551de
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x54], 4
mov r9, qword [rsp + 0x60]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp + 0x638]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400242f0
nop
mov qword [rsp + 0x78], r15
mov rbx, qword [rsp + 0x70]
lea rax, [rbx - 0x18]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14005488e
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14005489f
call fcn.140015450
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1400551e9
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x54], 0xc
mov eax, dword [rdi - 0x10]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400242f0
mov rdx, qword [rsp + 0x78]
lea rbx, [rdx - 0x18]
cmp rbx, r12
je 0x14005493d
cmp dword [r12 + 0x10], 0
jl 0x14005492d
mov rax, qword [r12]
cmp qword [rbx], rax
jne 0x14005492d
mov rcx, rbx
call fcn.14001dc80
mov rdi, rax
mov ecx, esi
lock xadd dword [r12 + 0x10], ecx
sub ecx, 1
jg 0x140054920
mov rcx, qword [r12]
mov r8, qword [rcx]
mov rdx, r12
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x620], rax
jmp 0x14005493d
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x620]
call fcn.140016ed0
mov dword [rsp + 0x54], 4
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14005495e
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
nop
mov eax, esi
mov rdx, qword [rsp + 0x58]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054979
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054998
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x638]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400549b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x650]
mov rdi, qword [rbp + 0x620]
mov dword [rsp + 0x20], r15d
mov r9d, dword [r14 + 0x28]
mov r8, rbx
mov rdx, rdi
mov rcx, r13
call fcn.14001fd70
test eax, eax
setne byte [rsp + 0x50]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400549fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x620]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140055199
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140055199
test r14, r14
je 0x140055199
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140055199
mov r8d, dword [r14 + 0xc]
test r8d, r8d
je 0x140055199
cmp qword [r14 + 0x20], r15
je 0x140055199
cmp dword [r14 + 0x1c], r15d
je 0x140055199
cmp qword [r14 + 0x30], r15
je 0x140055199
cmp dword [r14 + 0x2c], r15d
je 0x140055199
mov edx, dword [r14]
call fcn.140056be0
mov r13, rax
mov qword [rbp + 0x628], r15
mov rdx, rcx
lea rcx, [rbp + 0x628]
call fcn.140021310
nop
mov qword [rbp + 0x630], r15
mov r8d, dword [r14 + 0x1c]
mov rdx, qword [r14 + 0x20]
lea rcx, [rbp + 0x630]
call fcn.140021310
nop
mov rax, qword [rbp + 0x630]
mov qword [rsp + 0x40], rax
mov rdi, qword [rbp + 0x628]
mov qword [rsp + 0x38], rdi
mov eax, dword [r14]
mov dword [rsp + 0x30], eax
lea rax, str.SetChunk_ChunkValueType::RegistryString__with_key:__d__section:__s__entry:__s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0xd97
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_sharedmaxxaudioclientex.cpp
call fcn.1400189f0
lea r12, [rdi - 0x18]
mov rcx, r12
call fcn.14001dc80
add rax, 0x18
mov qword [rbp - 0x68], rax
lea r8, [rbp - 0x68]
mov rdx, r13
call fcn.1400582d0
mov rsi, 0xffffffffffffffff
test al, al
je 0x140054fc4
cmp r13, 0xffffffff80000001
jne 0x140054d75
mov qword [rbp + 0x640], r15
lea rdx, [rbp + 0x640]
call fcn.140056c30
nop
mov rax, qword [rbp + 0x640]
cmp dword [rax - 0x10], 0
je 0x140054d4e
mov r13, 0xffffffff80000003
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x1400551f4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [0x14023c150]
lea rcx, [rsp + 0x68]
call fcn.1400165c0
test al, al
jne 0x140054bab
lea rdx, [0x14023c150]
lea rcx, [rsp + 0x68]
call fcn.1400241d0
nop
mov qword [rbp - 0x80], r15
mov rax, qword [rbp + 0x640]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140054bcd
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140054bde
call fcn.140015450
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1400551ff
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x54], 1
mov r9, qword [rsp + 0x68]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp + 0x640]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x80]
call fcn.1400242f0
nop
mov qword [rbp - 0x78], r15
mov rbx, qword [rbp - 0x80]
lea rax, [rbx - 0x18]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140054c47
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140054c58
call fcn.140015450
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1400551c8
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x54], 3
mov eax, dword [rdi - 0x10]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1400242f0
mov rdx, qword [rbp - 0x78]
lea rbx, [rdx - 0x18]
cmp rbx, r12
je 0x140054cf3
cmp dword [r12 + 0x10], 0
jl 0x140054ce3
mov rax, qword [r12]
cmp qword [rbx], rax
jne 0x140054ce3
mov rcx, rbx
call fcn.14001dc80
mov rdi, rax
mov ecx, esi
lock xadd dword [r12 + 0x10], ecx
sub ecx, 1
jg 0x140054cd6
mov rcx, qword [r12]
mov r8, qword [rcx]
mov rdx, r12
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x628], rax
jmp 0x140054cf3
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x628]
call fcn.140016ed0
mov dword [rsp + 0x54], 1
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140054d14
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
nop
mov eax, esi
mov rdx, qword [rsp + 0x58]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054d2f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054d4e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x640]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054d6e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x628]
mov rdx, qword [rbp + 0x630]
lea r8, str.AudioPresets
mov rcx, rsi
nop word [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x140054db6
add rcx, 2
cmp rcx, 0xd
je 0x140054e2b
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x140054d90
sbb eax, eax
or eax, 1
mov r8d, dword [r14 + 0x2c]
mov rdx, qword [r14 + 0x30]
test eax, eax
jne 0x140054f57
mov qword [rbp + 0x660], r15
lea rcx, [rbp + 0x660]
call fcn.140021310
nop
mov rdx, qword [rbp + 0x630]
lea rcx, [rbp + 0x2e0]
call fcn.140021410
mov rbx, rax
mov rdx, rdi
lea rcx, [rbp + 0x1d0]
call fcn.140021410
mov r14, qword [rbx]
mov rdx, qword [rax]
mov edi, 0x80004005
mov rbx, qword [rbp + 0x660]
mov rcx, r13
test r14, r14
jne 0x140054e30
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x140054f1c
mov eax, r15d
jmp 0x140054dbb
xor r9d, r9d
xor r8d, r8d
test rbx, rbx
jne 0x140054e97
mov qword [rbp + 0x610], r15
lea rax, [rbp + 0x668]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x610]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp + 0x610]
test rcx, rcx
je 0x140054f1c
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x610]
jmp 0x140054f14
mov qword [rbp + 0x618], r15
lea rax, [rbp + 0x66c]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x618]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp + 0x618]
test rcx, rcx
je 0x140054f1c
mov rax, rsi
nop dword [rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140054ee0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 2
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x618]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete byte [rsp + 0x50]
lea rax, [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1d0]
cmp rcx, rax
je 0x140054f3c
call fcn.14016e4d0
nop
lea rax, [rbp + 0x2e8]
mov rcx, qword [rbp + 0x2e0]
cmp rcx, rax
je 0x140054f55
call fcn.14016e4d0
nop
jmp 0x140054faa
mov qword [rbp + 0x658], r15
lea rcx, [rbp + 0x658]
call fcn.140021310
nop
mov rbx, qword [rbp + 0x658]
cmp dword [rbx - 8], 1
jle 0x140054f8e
mov edx, dword [rbx - 0x10]
lea rcx, [rbp + 0x658]
call fcn.1400171b0
mov rbx, qword [rbp + 0x658]
mov r9, rbx
mov r8, qword [rbp + 0x630]
mov rdx, rdi
mov rcx, r13
call fcn.14001fae0
test eax, eax
setne byte [rsp + 0x50]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054fc4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x630]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054fe5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x628]
jmp 0x140054a05
cmp edi, 0xcb8
jne 0x140055199
lea rdx, [r14 + 0x4b4]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rdx + rsi], r15b
jne 0x140055010
lea rcx, [r13 + 0x13dfc8]
mov r8, rsi
call fcn.140025820
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xc0], rax
lea rdx, [r14 + 0xcc]
mov r8d, 3
lea rcx, [rbp + 0xc0]
call fcn.140021580
nop
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
lea rdx, [r14 + 4]
mov r8d, 3
lea rcx, [rbp - 0x50]
call fcn.140021580
nop
mov rdi, qword [rbp + 0xc0]
mov r14, qword [rbp - 0x50]
lea rsi, [r13 + 0x13dfe8]
mov qword [rbp + 0x648], r15
lea rax, [rbp + 0x648]
mov qword [rsp + 0x20], rax
lea r9, [0x140250cf0]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140213030]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov rbx, qword [rbp + 0x648]
test rbx, rbx
je 0x14005515f
mov rdx, rdi
lea rcx, [rbp + 0x500]
call fcn.140021410
mov rdi, rax
mov rdx, r14
lea rcx, [rbp + 0x3f0]
call fcn.140021410
nop
mov r10, qword [rbx]
mov r9d, 1
mov r8, qword [rdi]
mov rdx, qword [rax]
mov rcx, rbx
call qword [r10 + 0x18]
nop
lea rax, [rbp + 0x3f8]
mov rcx, qword [rbp + 0x3f0]
cmp rcx, rax
je 0x14005510d
call fcn.14016e4d0
nop
lea rax, [rbp + 0x508]
mov rcx, qword [rbp + 0x500]
cmp rcx, rax
je 0x140055125
call fcn.14016e4d0
mov rcx, qword [rbp + 0x648]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x648]
mov rax, qword [rcx]
cmp qword [rsi + 0x10], 0
cmovne r15, rsi
mov r9, r15
xor r8d, r8d
xor edx, edx
call qword [rax + 0x30]
mov rbx, qword [rbp + 0x648]
test rbx, rbx
je 0x14005516e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
lea rax, [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
je 0x140055181
call fcn.14016e4d0
nop
lea rax, [rbp + 0xc8]
mov rcx, qword [rbp + 0xc0]
cmp rcx, rax
je 0x140055199
call fcn.14016e4d0
movzx eax, byte [rsp + 0x50]
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x7d8]
add rsp, 0x780
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400151f0
nop
mov ecx, 0x80004005
call fcn.1400151f0
nop
mov ecx, 0x80004005
call fcn.1400151f0
nop
mov ecx, 0x80004005
call fcn.1400151f0
nop
mov ecx, 0x80004005
call fcn.1400151f0
nop
mov ecx, 0x80004005
call fcn.1400151f0
int3