Function at 0x140024200
Capabilities:
Query or enumerate registry value

Disassembly:
test rcx, rcx
je 0x140024a9e
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.140054628
mov rcx, rax
mov edx, esi
test rax, rax
setne dl
test edx, edx
jne 0x14002425c
mov ecx, 0x80004005
call fcn.140012060
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 0x14002429c
movzx edi, dx
mov ecx, edi
call fcn.140054614
test rax, rax
je 0x1400242ba
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140011760
jmp 0x1400242ba
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.140011dc0
nop
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0x60]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140013dc0
cmp dword [rsp + 0x138], 0
jle 0x14002447d
call fcn.140024120
test eax, eax
jle 0x14002447d
mov ebp, 1
mov dword [rsp + 0x130], ebp
mov ebx, ebp
lea rdi, str.Skype.exe
lea r12, str.Internal
nop
nop
mov rcx, qword [rdi]
call fcn.140024bb0
test al, al
jne 0x1400243da
add ebx, ebp
add rdi, 8
cmp rdi, r12
jl 0x140024310
lea rax, [rsp + 0x50]
mov qword [rsp + 0x130], rax
call fcn.140054628
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140024357
mov ecx, 0x80004005
call fcn.140012060
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 0x14002439a
movzx edi, dx
mov ecx, edi
call fcn.140054614
test rax, rax
je 0x1400243b8
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140011760
jmp 0x1400243b8
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.140011dc0
nop
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140013f20
mov ebp, esi
mov dword [rsp + 0x130], esi
jmp 0x140024486
lea rax, [rsp + 0x48]
mov qword [rsp + 0x140], rax
call fcn.140054628
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140024406
mov ecx, 0x80004005
call fcn.140012060
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 0x140024449
movzx edi, dx
mov ecx, edi
call fcn.140054614
test rax, rax
je 0x140024467
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140011760
jmp 0x140024467
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.140011dc0
nop
mov r8d, ebx
lea rdx, [rsp + 0x48]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140013f20
jmp 0x140024486
mov ebp, esi
mov dword [rsp + 0x130], esi
mov dword [rsp + 0x148], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x140], rax
call fcn.140054628
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400244b9
mov ecx, 0x80004005
call fcn.140012060
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 0x140024504
movzx edi, dx
mov ecx, edi
call fcn.140054614
test rax, rax
je 0x140024522
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140011760
jmp 0x140024522
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.140011dc0
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 0x140024612
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 0x1400245e1
cmp dword [rsp + 0x68], 4
jne 0x1400245e1
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x148], eax
test rdi, rdi
je 0x1400245be
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 0x140024633
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140024633
test rdi, rdi
je 0x1400245ef
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 0x140024633
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140024633
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024633
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rsp + 0x148], ebp
je 0x140024a8b
mov r14, rsi
mov r12, rsi
lea rdi, [r13 + 0xb8]
mov qword [rsp + 0x80], rdi
mov rcx, rdi
call fcn.14002ef30
mov r15, qword [r13 + 0x60]
mov ebp, esi
test r15d, r15d
je 0x1400248c2
nop
cmp ebp, dword [r13 + 0x60]
jae 0x1400248a7
mov edx, ebp
lea rcx, [r13 + 0x48]
call fcn.140053bc0
test rax, rax
je 0x1400248b4
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x1400248a7
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, [0x1400b40b8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b4078]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400246fb
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400247a5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400247a5
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 0x140024739
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400247a5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400247a5
cmp word [rsp + 0xa0], 0x13
je 0x140024765
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400247a5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400247a5
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 0x140024792
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
test edi, edi
setne al
test eax, eax
je 0x1400247a5
mov r14, rbx
jmp 0x1400248a7
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, [0x1400b40b8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b4078]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140024805
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400248a7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400248a7
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 0x140024840
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400248a7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400248a7
cmp word [rsp + 0x88], 0x13
je 0x14002486c
lea rcx, [rsp + 0x88]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400248a7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400248a7
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 0x140024899
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 0x1400248ba
jmp 0x140024670
call fcn.140053538
int3
mov rdi, qword [rsp + 0x80]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test r14, r14
je 0x140024a8b
test r12, r12
je 0x140024a8b
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 0x140024912
cmp rax, qword [rdi - 0x18]
jne 0x140024912
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140024950
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x14002492e
call fcn.140015850
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.14007f440
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 0x140024980
cmp rax, qword [rdi - 0x18]
jne 0x140024980
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x1400249be
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x14002499c
call fcn.140015850
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.14007f440
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.140028fa0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x130], rdx
call fcn.140054628
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140024a10
mov ecx, 0x80004005
call fcn.140012060
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 0x140024a52
lea rdx, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_Lync_Enable
movzx edi, dx
mov ecx, edi
call fcn.140054614
test rax, rax
je 0x140024a77
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140011760
jmp 0x140024a77
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.140011dc0
nop
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, str.SOFTWARERealtekRealtekEffects
call fcn.140013f20
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret 0