Function at 0x140024320
Capabilities:
Query or enumerate registry value

Disassembly:
test rcx, rcx
je 0x140024bbe
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov r13, rcx
xor esi, esi
mov dword [r11 + 0x10], esi
lea rax, [rsp + 0x60]
mov qword [r11 + 8], rax
call fcn.1400544b4
mov rcx, rax
mov edx, esi
test rax, rax
setne dl
test edx, edx
jne 0x14002437c
mov ecx, 0x80004005
call fcn.140012170
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_0
test rdx, 0xffffffffffff0000
jne 0x1400243bc
movzx edi, dx
mov ecx, edi
call fcn.1400544a0
test rax, rax
je 0x1400243da
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400118a0
jmp 0x1400243da
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x60]
call fcn.140011ed0
nop
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0x60]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140013ec0
cmp dword [rsp + 0x138], 0
jle 0x14002459d
call fcn.140024240
test eax, eax
jle 0x14002459d
mov ebp, 1
mov dword [rsp + 0x130], ebp
mov ebx, ebp
lea rdi, str.Skype.exe
lea r12, [0x1400e0720]
nop
nop
mov rcx, qword [rdi]
call fcn.140024cd0
test al, al
jne 0x1400244fa
add ebx, ebp
add rdi, 8
cmp rdi, r12
jl 0x140024430
lea rax, [rsp + 0x50]
mov qword [rsp + 0x130], rax
call fcn.1400544b4
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140024477
mov ecx, 0x80004005
call fcn.140012170
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_Session_Enable
test rdx, 0xffffffffffff0000
jne 0x1400244ba
movzx edi, dx
mov ecx, edi
call fcn.1400544a0
test rax, rax
je 0x1400244d8
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400118a0
jmp 0x1400244d8
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.140011ed0
nop
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140014020
mov ebp, esi
mov dword [rsp + 0x130], esi
jmp 0x1400245a6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x140], rax
call fcn.1400544b4
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140024526
mov ecx, 0x80004005
call fcn.140012170
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_Session_Enable
test rdx, 0xffffffffffff0000
jne 0x140024569
movzx edi, dx
mov ecx, edi
call fcn.1400544a0
test rax, rax
je 0x140024587
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400118a0
jmp 0x140024587
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x48]
call fcn.140011ed0
nop
mov r8d, ebx
lea rdx, [rsp + 0x48]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140014020
jmp 0x1400245a6
mov ebp, esi
mov dword [rsp + 0x130], esi
mov dword [rsp + 0x148], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x140], rax
call fcn.1400544b4
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400245d9
mov ecx, 0x80004005
call fcn.140012170
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_Lync_Enable
mov rax, rdx
shr rax, 0x10
mov qword [rsp + 0xc0], rax
jne 0x140024624
movzx edi, dx
mov ecx, edi
call fcn.1400544a0
test rax, rax
je 0x140024642
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400118a0
jmp 0x140024642
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.140011ed0
nop
mov dword [rsp + 0x140], esi
mov qword [rsp + 0x70], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWARERealtekRealtekEffects
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140024732
mov rdi, qword [rsp + 0x70]
mov dword [rsp + 0x6c], 4
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140024701
cmp dword [rsp + 0x68], 4
jne 0x140024701
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x148], eax
test rdi, rdi
je 0x1400246de
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024753
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140024753
test rdi, rdi
je 0x14002470f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024753
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140024753
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024753
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rsp + 0x148], ebp
je 0x140024bab
mov r14, rsi
mov r12, rsi
lea rdi, [r13 + 0xb8]
mov qword [rsp + 0x80], rdi
mov rcx, rdi
call fcn.14002f030
mov r15, qword [r13 + 0x60]
mov ebp, esi
test r15d, r15d
je 0x1400249e2
nop
cmp ebp, dword [r13 + 0x60]
jae 0x1400249c7
mov edx, ebp
lea rcx, [r13 + 0x48]
call fcn.140053840
test rax, rax
je 0x1400249d4
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x1400249c7
mov qword [rsp + 0x40], rsi
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b40c8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b4088]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002481b
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400248c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400248c5
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b31d0]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140024859
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400248c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400248c5
cmp word [rsp + 0xa0], 0x13
je 0x140024885
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400248c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400248c5
mov edi, dword [rsp + 0xa8]
mov dword [rsp + 0xcc], edi
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400248b2
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
test edi, edi
setne al
test eax, eax
je 0x1400248c5
mov r14, rbx
jmp 0x1400249c7
mov qword [rsp + 0x38], rsi
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b40c8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b4088]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140024925
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400249c7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400249c7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b31e8]
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140024960
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400249c7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400249c7
cmp word [rsp + 0x88], 0x13
je 0x14002498c
lea rcx, [rsp + 0x88]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400249c7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400249c7
mov edi, dword [rsp + 0x90]
mov dword [rsp + 0xc8], edi
lea rcx, [rsp + 0x88]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400249b9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
cmp edi, 1
sete al
test eax, eax
cmovne r12, rbx
add ebp, 1
cmp ebp, r15d
jae 0x1400249da
jmp 0x140024790
call fcn.140054698
int3
mov rdi, qword [rsp + 0x80]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test r14, r14
je 0x140024bab
test r12, r12
je 0x140024bab
lea rax, [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdi, qword [r12]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140024a32
cmp rax, qword [rdi - 0x18]
jne 0x140024a32
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140024a70
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140024a4e
call fcn.140011890
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.14007f790
lea rax, [rbx + 0x18]
mov qword [rsp + 0x78], rax
mov rdi, qword [r14]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140024aa0
cmp rax, qword [rdi - 0x18]
jne 0x140024aa0
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140024ade
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140024abc
call fcn.140011890
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.14007f790
lea rax, [rbx + 0x18]
mov qword [rsp + 0xb8], rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0xb8]
mov ebx, dword [rsp + 0x130]
mov ecx, ebx
call fcn.1400290c0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x130], rdx
call fcn.1400544b4
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140024b30
mov ecx, 0x80004005
call fcn.140012170
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0xc0], 0
jne 0x140024b72
lea rdx, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_Lync_Enable
movzx edi, dx
mov ecx, edi
call fcn.1400544a0
test rax, rax
je 0x140024b97
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400118a0
jmp 0x140024b97
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_Lync_Enable
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140011ed0
nop
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140014020
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret 0