Function at 0x140034ab0
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 [0x1400a0008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov edi, ecx
mov dword [rsp + 0x70], ecx
xor esi, esi
mov r14d, esi
call fcn.14006641c
cmp dword [rax], 1
jg 0x140034b0d
lea r14d, [rsi + 1]
jmp 0x1400351b1
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x6c], esi
mov r12d, 1
mov dword [rsp + 0x64], r12d
call fcn.14006641c
cmp dword [rax], r12d
jle 0x1400351b1
lea r15d, [r12 + 7]
mov r13d, 4
mov dword [rsp + 0x68], r13d
jmp 0x140034b44
mov edi, dword [rsp + 0x70]
call fcn.140066424
mov rcx, qword [rax]
mov rbx, qword [r15 + rcx]
movzx eax, byte [rbx]
sub al, 0x2d
test al, 0xfd
jne 0x140035086
inc rbx
lea rdx, str.Stop
mov rcx, rbx
call fcn.14005f784
test eax, eax
jne 0x140034bc8
lea rax, str.Stopping...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400848d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a4128]
mov edx, 0xe5
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
mov rcx, qword [0x1400a7f18]
test rcx, rcx
je 0x140034bc0
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov r14d, esi
jmp 0x14003508d
lea rdx, str.Install
mov rcx, rbx
call fcn.14005f784
test eax, eax
jne 0x140034bf3
mov edi, 1
mov dword [rsp + 0x54], edi
mov r14d, edi
lea rbx, [0x1400848d0]
jmp 0x140035091
lea rdx, str.Uninstall
mov rcx, rbx
call fcn.14005f784
test eax, eax
jne 0x140034cc1
lea rax, str.Uninstalling...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400848d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a4128]
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 0x140034ca6
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 [0x1400a7f18]
test rcx, rcx
je 0x14003508d
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x14003508d
lea rdx, str.SSID
mov rcx, rbx
call fcn.14005f784
test eax, eax
jne 0x140034d19
lea rax, str.Get_SSID...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400848d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a4128]
mov edx, 0x105
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
call fcn.140034730
jmp 0x14003508d
lea rdx, str.Jack
mov rcx, rbx
call fcn.14005f784
test eax, eax
jne 0x140034f5f
lea rax, str.Initialize_jack_sense...
mov qword [rsp + 0x30], rax
lea rbx, [0x1400848d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a4128]
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.14002f800
movzx eax, byte [rsp + 0x50]
mov dword [rbp - 0x6c], eax
add eax, 0xfffffff7
cmp eax, r14d
jbe 0x140034e4b
call fcn.140020950
test eax, eax
je 0x140034e15
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.14002f800
mov eax, esi
cmp byte [rsp + 0x51], 2
sete al
mov dword [0x1400ad3c8], eax
lea rax, vtable.CJackSense.0
mov qword [0x1400ad318], rax
call fcn.140037c20
jmp 0x14003508d
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, [0x1400a4128]
mov edx, 0x120
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
jmp 0x14003508d
bt edi, 0x1a
jae 0x140034ed2
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 0x140034ece
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, [0x1400a7f70]
lea r12, [0x1400848d0]
lea r13, str.Jack_sense_failed_to_initialize.
nop dword [rax]
mov r9d, r14d
mov edx, ebx
mov rcx, rdi
call fcn.140023c20
test eax, eax
jne 0x140034f2f
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400a4128]
mov edx, 0x133
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
mov edx, esi
mov rcx, rdi
call fcn.140028ad0
inc ebx
add rdi, 0x2e0
cmp ebx, 0x1d
jl 0x140034ef0
mov byte [0x1400a7ea8], r14b
mov r12d, dword [rsp + 0x64]
mov r13d, dword [rsp + 0x68]
xor esi, esi
jmp 0x140035086
lea rdx, str.Retask
mov rcx, rbx
call fcn.14005f784
test eax, eax
jne 0x140035086
lea rax, str.WavesSvc_Retask_Start
mov qword [rsp + 0x30], rax
lea rbx, [0x1400848d0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 3
lea r8, [0x1400a4128]
mov edx, 0x13f
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
call fcn.14006641c
cmp r13d, dword [rax]
jge 0x14003504d
call fcn.140066424
mov rcx, qword [rax]
mov rcx, qword [rcx + r15 + 8]
call fcn.140060454
movsxd r14, eax
call fcn.140066424
mov rcx, qword [rax]
mov rcx, qword [r15 + rcx + 0x10]
call fcn.140060454
mov edi, eax
add r12d, 3
add r13d, 3
add r15, 0x18
call fcn.140066424
mov rcx, qword [rax]
mov rcx, qword [r15 + rcx]
call fcn.140060454
mov esi, eax
test r14d, r14d
js 0x14003504b
test edi, edi
js 0x14003504b
test eax, eax
js 0x14003504b
imul rbx, r14, 0x2e0
lea rax, [0x1400a7f70]
add rbx, rax
xor r9d, r9d
mov edx, r14d
mov rcx, rbx
call fcn.140023c20
test eax, eax
je 0x140035044
mov r8d, esi
mov edx, edi
mov rcx, rbx
call fcn.140023e70
lea rbx, [0x1400848d0]
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, [0x1400a4128]
mov edx, 0x158
lea rcx, str.WavesSvc.cpp
call fcn.140002ed0
jmp 0x14003508d
lea rbx, [0x1400848d0]
mov edi, dword [rsp + 0x54]
inc r12d
mov dword [rsp + 0x64], r12d
inc r13d
mov dword [rsp + 0x68], r13d
add r15, 8
call fcn.14006641c
cmp r12d, dword [rax]
jl 0x140034b40
test edi, edi
je 0x1400351b1
lea rax, str.Installing...
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x1400a4128]
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 0x1400351b1
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140035123
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.140010870
or rdi, 0xffffffffffffffff
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x140035176
lea rdx, str.__Jack
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140035160
mov r8d, eax
lea rcx, [rsp + 0x70]
call fcn.14002ac10
mov rbx, qword [rsp + 0x70]
mov r9, rbx
lea r8, str.WavesSvc
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call fcn.14002d040
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400351b1
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.14003aa30
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