Function at 0x140034910
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov edi, ecx
mov dword [rsp + 0x70], ecx
xor esi, esi
mov r14d, esi
call fcn.140066204
cmp dword [rax], 1
jg 0x14003496d
lea r14d, [rsi + 1]
jmp 0x140035011
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x6c], esi
mov r12d, 1
mov dword [rsp + 0x64], r12d
call fcn.140066204
cmp dword [rax], r12d
jle 0x140035011
lea r15d, [r12 + 7]
mov r13d, 4
mov dword [rsp + 0x68], r13d
jmp 0x1400349a4
mov edi, dword [rsp + 0x70]
call fcn.14006620c
mov rcx, qword [rax]
mov rbx, qword [r15 + rcx]
movzx eax, byte [rbx]
sub al, 0x2d
test al, 0xfd
jne 0x140034ee6
inc rbx
lea rdx, str.Stop
mov rcx, rbx
call fcn.14005f5f4
test eax, eax
jne 0x140034a28
lea rax, str.Stopping...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400838d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a3128]
mov edx, 0xe5
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
mov rcx, qword [0x1400a6ea8]
test rcx, rcx
je 0x140034a20
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov r14d, esi
jmp 0x140034eed
lea rdx, str.Install
mov rcx, rbx
call fcn.14005f5f4
test eax, eax
jne 0x140034a53
mov edi, 1
mov dword [rsp + 0x54], edi
mov r14d, edi
lea rbx, [0x1400838d0]
jmp 0x140034ef1
lea rdx, str.Uninstall
mov rcx, rbx
call fcn.14005f5f4
test eax, eax
jne 0x140034b21
lea rax, str.Uninstalling...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400838d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a3128]
mov edx, 0xf8
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
mov qword [rbp - 0x80], rsi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140034b06
lea rdx, str.WavesSvc
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1400a6ea8]
test rcx, rcx
je 0x140034eed
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x140034eed
lea rdx, str.SSID
mov rcx, rbx
call fcn.14005f5f4
test eax, eax
jne 0x140034b79
lea rax, str.Get_SSID...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400838d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a3128]
mov edx, 0x105
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
call fcn.140034590
jmp 0x140034eed
lea rdx, str.Jack
mov rcx, rbx
call fcn.14005f5f4
test eax, eax
jne 0x140034dbf
lea rax, str.Initialize_jack_sense...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400838d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a3128]
mov edx, 0x10a
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
mov r14d, 1
mov dword [rsp + 0x6c], r14d
mov byte [rsp + 0x5a], 4
mov byte [rsp + 0x59], r14b
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x59]
lea rcx, [rsp + 0x5a]
call fcn.14002f660
movzx eax, byte [rsp + 0x50]
mov dword [rbp - 0x6c], eax
add eax, 0xfffffff7
cmp eax, r14d
jbe 0x140034cab
call fcn.1400209b0
test eax, eax
je 0x140034c75
mov byte [rsp + 0x51], 4
mov byte [rsp + 0x5d], r14b
mov byte [rsp + 0x5c], 0
mov byte [rsp + 0x5b], 0
lea r9, [rsp + 0x5b]
lea r8, [rsp + 0x5c]
lea rdx, [rsp + 0x5d]
lea rcx, [rsp + 0x51]
call fcn.14002f660
mov eax, esi
cmp byte [rsp + 0x51], 2
sete al
mov dword [0x1400ac3c8], eax
lea rax, vtable.CJackSense.0
mov qword [0x1400ac318], rax
call fcn.140037a90
jmp 0x140034eed
lea rax, str.Jack_sense_failed_to_initialize.
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [0x1400a3128]
mov edx, 0x120
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
jmp 0x140034eed
bt edi, 0x1a
jae 0x140034d32
mov dword [rsp + 0x60], 0x1f4
mov qword [rbp - 0x78], 0
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140034d2e
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.MuteOnJack
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [rsp + 0x60]
xor ebx, ebx
lea rdi, [0x1400a6f70]
lea r12, [0x1400838d0]
lea r13, str.Jack_sense_failed_to_initialize.
nop dword [rax]
mov r9d, r14d
mov edx, ebx
mov rcx, rdi
call fcn.140023c00
test eax, eax
jne 0x140034d8f
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400a3128]
mov edx, 0x133
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
mov edx, esi
mov rcx, rdi
call fcn.140028930
inc ebx
add rdi, 0x2e0
cmp ebx, 0x1d
jl 0x140034d50
mov byte [0x1400a6eb8], r14b
mov r12d, dword [rsp + 0x64]
mov r13d, dword [rsp + 0x68]
xor esi, esi
jmp 0x140034ee6
lea rdx, str.Retask
mov rcx, rbx
call fcn.14005f5f4
test eax, eax
jne 0x140034ee6
lea rax, str.WavesSvc_Retask_Start
mov qword [rsp + 0x30], rax
lea rbx, [0x1400838d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 3
lea r8, [0x1400a3128]
mov edx, 0x13f
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
call fcn.140066204
cmp r13d, dword [rax]
jge 0x140034ead
call fcn.14006620c
mov rcx, qword [rax]
mov rcx, qword [rcx + r15 + 8]
call fcn.1400602c4
movsxd r14, eax
call fcn.14006620c
mov rcx, qword [rax]
mov rcx, qword [r15 + rcx + 0x10]
call fcn.1400602c4
mov edi, eax
add r12d, 3
add r13d, 3
add r15, 0x18
call fcn.14006620c
mov rcx, qword [rax]
mov rcx, qword [r15 + rcx]
call fcn.1400602c4
mov esi, eax
test r14d, r14d
js 0x140034eab
test edi, edi
js 0x140034eab
test eax, eax
js 0x140034eab
imul rbx, r14, 0x2e0
lea rax, [0x1400a6f70]
add rbx, rax
xor r9d, r9d
mov edx, r14d
mov rcx, rbx
call fcn.140023c00
test eax, eax
je 0x140034ea4
mov r8d, esi
mov edx, edi
mov rcx, rbx
call fcn.140023e50
lea rbx, [0x1400838d0]
xor esi, esi
mov r14d, esi
lea rax, str.WavesSvc_Retask_End
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 3
lea r8, [0x1400a3128]
mov edx, 0x158
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
jmp 0x140034eed
lea rbx, [0x1400838d0]
mov edi, dword [rsp + 0x54]
inc r12d
mov dword [rsp + 0x64], r12d
inc r13d
mov dword [rsp + 0x68], r13d
add r15, 8
call fcn.140066204
cmp r12d, dword [rax]
jl 0x1400349a0
test edi, edi
je 0x140035011
lea rax, str.Installing...
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a3128]
mov edx, 0x15f
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
mov r8d, 0x104
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [rbp - 0x50], 0
je 0x140035011
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140034f83
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r8, [rbp - 0x50]
lea rdx, str.__s_
lea rcx, [rsp + 0x70]
call fcn.1400108a0
or rdi, 0xffffffffffffffff
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x140034fd6
lea rdx, str.__Jack
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140034fc0
mov r8d, eax
lea rcx, [rsp + 0x70]
call fcn.14002aa70
mov rbx, qword [rsp + 0x70]
mov r9, rbx
lea r8, str.WavesSvc
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call fcn.14002cea0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140035011
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, r14d
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14003a8a0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret