Function at 0x14002b8d0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov esi, ecx
mov rdi, qword [0x1400bfb20]
test rdi, rdi
jne 0x14002b95e
mov ecx, 0x16a8
call fcn.140066208
mov rbx, rax
mov qword [rbp - 0x40], rax
xor edx, edx
mov r8d, 0x16a8
mov rcx, rax
call fcn.14006d020
mov rcx, rbx
call fcn.140027f70
mov rdi, rax
mov qword [0x1400bfb20], rax
test rax, rax
jne 0x14002b95e
mov r8d, 0x9d
jmp 0x14002b9af
cmp esi, dword [rdi + 0x4c]
jl 0x14002b96b
mov r8d, 0x9e
jmp 0x14002b9af
call fcn.140012d30
mov rdx, rax
test rax, rax
jne 0x14002b980
mov r8d, 0xa1
jmp 0x14002b9af
xor r14d, r14d
mov ebx, r14d
mov ecx, r14d
add rax, 0x6c
nop dword [rax]
cmp dword [rax - 4], r14d
je 0x14002b99a
cmp dword [rax], esi
je 0x14002b9f4
inc ebx
inc rcx
add rax, 0xc
cmp rcx, 0x21
jl 0x14002b990
mov r8d, 0xa5
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
xor eax, eax
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x1b0]
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
cmp ebx, 0x21
jae 0x14002b9a9
mov eax, ebx
lea r15, [rax + 0xd]
lea r15, [rax + r15*2]
lea r15, [rdx + r15*4]
test r15, r15
je 0x14002b9a9
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], r14d
mov qword [rbp - 0x60], r14
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14002c591
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x40], rax
mov r9d, ebx
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rbp - 0x40]
call fcn.140004c30
mov r9d, 0x2001f
mov rbx, qword [rbp - 0x40]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.1400222c0
or r12, 0xffffffffffffffff
test eax, eax
je 0x14002bac8
mov dword [rsp + 0x28], 0x2001f
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.14002c700
test eax, eax
je 0x14002bac8
mov rdx, rbx
lea rcx, str.CJackMgr::UpdateUIJackInfoToReg_:_Failed_to_create__s_n
call fcn.140026f80
mov r8d, 0xb9
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
jmp 0x14002c55f
mov dword [rsp + 0x68], r14d
mov r12d, dword [r15 + 4]
movsxd rax, r12d
imul r13, rax, 0xac
add r13, rdi
movzx ebx, word [r13 + 0x100]
shr ebx, 1
and ebx, 1
mov dword [rbp - 0x34], r14d
mov dword [rbp - 0x38], 4
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.JackStatus
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x14002bb35
mov esi, r14d
mov eax, 0xd
cmp dword [rbp - 0x30], 4
cmovne esi, eax
mov dword [rbp - 0x28], ebx
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatus
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movsxd rcx, r12d
mov eax, dword [rdi + rcx*4 + 0x70]
mov dword [rbp - 0x20], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatusChangedWhenPowerDown
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp esi, 2
jne 0x14002bbd1
test ebx, ebx
je 0x14002bbd1
mov dword [rbp - 0x18], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 2]
xor r8d, r8d
lea rdx, str.JackStatusChangedWhenPowerDown
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [r15 + 8]
mov dword [rbp - 0x10], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackIconTypeColor
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, dword [r13 + 0x184]
mov ebx, dword [r13 + 0x194]
mov dword [rsp + 0x50], ebx
mov r13d, dword [r13 + 0x19c]
mov ecx, ebx
shl ecx, 8
add ecx, 0x100
and ecx, 0xf00
mov eax, r13d
shl eax, 0xc
add eax, 0x1000
and eax, 0xf000
or ecx, eax
or ecx, esi
mov dword [rbp - 8], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackWidgetId
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ecx, r14d
mov dword [rbp - 0x80], ecx
mov dword [rbp - 0x58], r14d
cmp r12d, dword [rdi + 0x4c]
jae 0x14002bce2
imul rcx, r12, 0xac
cmp dword [rcx + rdi + 0x190], 0
je 0x14002bca3
mov eax, dword [rcx + rdi + 0x188]
mov dword [rbp - 0x80], eax
mov eax, dword [rcx + rdi + 0x18c]
jmp 0x14002bcbd
mov eax, dword [rcx + rdi + 0xfc]
shr eax, 8
and eax, 0xf
mov dword [rbp - 0x80], eax
mov eax, dword [rcx + rdi + 0xf4]
and eax, 0xf
mov dword [rbp - 0x58], eax
call fcn.1400209b0
test rax, rax
je 0x14002bcdf
mov r10, qword [rax]
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x80]
mov edx, r12d
mov rcx, rax
call qword [r10 + 0x28]
mov ecx, dword [rbp - 0x80]
test r13d, r13d
js 0x14002bcf0
mov r8d, dword [rdi + 0x1680]
jmp 0x14002bcf7
mov r8d, dword [rdi + 0x1674]
mov dword [rsp + 0x5c], r8d
test r13d, r13d
js 0x14002bd09
mov eax, dword [rdi + 0x1684]
jmp 0x14002bd0f
mov eax, dword [rdi + 0x1678]
mov dword [rsp + 0x64], eax
test r13d, r13d
js 0x14002bd20
mov eax, dword [rdi + 0x1688]
jmp 0x14002bd26
mov eax, dword [rdi + 0x167c]
mov dword [rsp + 0x58], eax
mov edx, r14d
cmp esi, r8d
sete dl
cmp ecx, 2
jne 0x14002bd53
mov eax, dword [rbp - 0x58]
add eax, 0xfffffff6
cmp eax, 1
ja 0x14002bd53
mov r8d, 1
mov dword [rsp + 0x54], r8d
mov ecx, r14d
jmp 0x14002bd6f
mov r8d, r14d
mov dword [rsp + 0x54], r14d
lea eax, [rcx - 8]
test eax, 0xfffffffd
je 0x14002bd6a
mov ecx, r14d
jmp 0x14002bd6f
mov ecx, 1
mov dword [rsp + 0x60], ecx
cmp dword [0x1400bea48], 0
je 0x14002bdc8
cmp dword [0x1400bea1c], 0
jne 0x14002bd92
mov rax, qword [0x1400bb278]
test byte [rax + 0x1c], 1
je 0x14002bdc8
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
mov r9d, r12d
mov r8d, 0xef
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_JackIdx_d_Wid_d_SecCodec_d_UsbCodec_d_bUAJ_d_bUAJHeadset_d_bUAJDedicatedMicOrLinein_d
call fcn.140026f80
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp + 0x10]
call fcn.14006d020
lea rcx, [rbp + 0x10]
call fcn.140045cd0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], r14
mov dword [rbp + 0x58], 0xa
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], r14
mov dword [rbp + 0x88], 0xa
mov dword [rbp + 0x90], 0xffffffff
mov dword [rbp + 0x2c], r14d
mov dword [rbp + 0x28], r12d
lea rcx, [rbp + 0x10]
call fcn.14002d6c0
lea rcx, [rbp + 0x10]
call fcn.14002dd50
test eax, eax
jne 0x14002be5c
mov r8d, 0x296
lea rdx, str.CJackReteskInfo::SetCurrSelPinIndex
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140026f80
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14002c59c
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x50], rax
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14002c5a7
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x50]
call fcn.140003130
lea rcx, [rbp - 0x48]
call fcn.140003130
mov r15, qword [rbp + 0x60]
test r15, r15
je 0x14002bf1a
lea r12, [0x14008cca4]
mov edi, dword [r15 + 0x10]
mov r15, qword [r15]
mov rax, qword [rbp - 0x50]
lea rbx, [0x140081d58]
cmp dword [rax - 0x10], 0
cmovne rbx, r12
mov eax, edi
shr eax, 8
movzx r9d, al
movzx eax, dil
shl eax, 8
or r9d, eax
mov r8, rbx
lea rdx, str._s_04x
lea rcx, [rbp - 0x50]
call fcn.14002c5d0
shr edi, 0x10
mov r9d, edi
mov r8, rbx
lea rdx, str._s_d
lea rcx, [rbp - 0x48]
call fcn.14002c5d0
test r15, r15
jne 0x14002bebc
mov rax, qword [rbp - 0x50]
or r12, 0xffffffffffffffff
test rax, rax
je 0x14002bf6a
mov rcx, r12
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x14002bf30
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.JackListTypeSequence
mov rdi, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
jmp 0x14002bf6e
mov rdi, qword [rbp - 0x70]
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x14002bfb4
mov rcx, r12
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x14002bf80
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.JackListName
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [rbp + 0x90]
mov dword [rbp], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackListCurrSelectIndex
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14002c5b2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, [0x140081d58]
lea rcx, [rsp + 0x78]
call fcn.140004a90
test al, al
jne 0x14002c031
xor r8d, r8d
lea rdx, [0x140081d58]
lea rcx, [rsp + 0x78]
call fcn.140002f50
nop
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14002c5bd
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rdx, [0x140081d58]
lea rcx, [rbp - 0x78]
call fcn.140004a90
test al, al
jne 0x14002c078
xor r8d, r8d
lea rdx, [0x140081d58]
lea rcx, [rbp - 0x78]
call fcn.140002f50
nop
call fcn.1400083c0
mov rbx, qword [rax + 0x70]
test rbx, rbx
je 0x14002c35e
mov edi, dword [rsp + 0x58]
mov r15d, dword [rsp + 0x50]
call fcn.1400083c0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14002c196
cmp esi, dword [rsp + 0x5c]
jne 0x14002c158
cmp dword [rsp + 0x54], 0
jne 0x14002c118
cmp dword [rsp + 0x60], 0
je 0x14002c158
mov r15d, dword [rsp + 0x50]
cmp r15d, dword [rcx + 0x154]
jne 0x14002c196
cmp r13d, dword [rcx + 0x14c]
jne 0x14002c196
mov edx, r14d
mov r8d, dword [rcx + 0x1e8]
test r8d, r8d
je 0x14002c196
nop word [rax + rax]
mov eax, edx
cmp dword [rcx + rax*4 + 0x1ec], edi
je 0x14002c1a4
inc edx
cmp edx, r8d
jb 0x14002c100
jmp 0x14002c196
mov r15d, dword [rsp + 0x50]
cmp r15d, dword [rcx + 0x154]
jne 0x14002c196
cmp r13d, dword [rcx + 0x14c]
jne 0x14002c196
mov edx, r14d
mov r8d, dword [rcx + 0x1e8]
test r8d, r8d
je 0x14002c196
nop
mov eax, edx
cmp dword [rcx + rax*4 + 0x1ec], esi
je 0x14002c204
inc edx
cmp edx, r8d
jb 0x14002c140
jmp 0x14002c196
cmp r15d, dword [rcx + 0x154]
jne 0x14002c196
cmp r13d, dword [rcx + 0x14c]
jne 0x14002c196
mov edx, r14d
mov r8d, dword [rcx + 0x1e8]
test r8d, r8d
je 0x14002c196
nop dword [rax]
mov eax, edx
cmp dword [rcx + rax*4 + 0x1ec], esi
je 0x14002c324
inc edx
cmp edx, r8d
jb 0x14002c180
test rbx, rbx
je 0x14002c35a
jmp 0x14002c093
mov rdx, qword [rcx + 0x10]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x78]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14002c35a
cmp dword [rbx + 0x10], 0
jl 0x14002c34c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14002c34c
call fcn.140004bb0
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14002c1f6
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x14002c35a
mov rdx, qword [rcx + 0x10]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x78]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14002c263
cmp dword [rbx + 0x10], 0
jl 0x14002c255
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14002c255
call fcn.140004bb0
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14002c24a
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x14002c263
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.140002f50
call fcn.1400083c0
mov rbx, qword [rax + 0x70]
test rbx, rbx
je 0x14002c35a
mov edi, dword [rsp + 0x64]
nop dword [rax]
call fcn.1400083c0
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdx, rdx
je 0x14002c2c4
cmp r15d, dword [rdx + 0x154]
jne 0x14002c2c4
cmp r13d, dword [rdx + 0x14c]
jne 0x14002c2c4
mov ecx, r14d
mov r8d, dword [rdx + 0x1e8]
test r8d, r8d
je 0x14002c2c4
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1ec], edi
je 0x14002c2cf
inc ecx
cmp ecx, r8d
jb 0x14002c2b2
test rbx, rbx
je 0x14002c35a
jmp 0x14002c280
mov rdx, qword [rdx + 0x10]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x78]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14002c35a
cmp dword [rbx + 0x10], 0
jl 0x14002c31e
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14002c31e
call fcn.140004bb0
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14002c314
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp - 0x78], rax
jmp 0x14002c35a
lea rcx, [rbp - 0x78]
jmp 0x14002c351
mov rdx, qword [rcx + 0x10]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x78]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14002c35a
cmp dword [rbx + 0x10], 0
jl 0x14002c34c
mov rax, qword [rbx]
cmp qword [rcx], rax
je 0x14002c1d4
lea rcx, [rsp + 0x78]
mov r8d, dword [rdx - 0x10]
call fcn.140002f50
mov rdi, qword [rbp - 0x70]
mov rax, qword [rsp + 0x78]
cmp dword [rax - 0x10], 0
je 0x14002c427
cmp dword [rsp + 0x54], 0
je 0x14002c382
mov rax, qword [rbp - 0x78]
cmp dword [rax - 0x10], 0
je 0x14002c427
mov ebx, 1
mov rcx, qword [rsp + 0x78]
mov rax, r12
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14002c390
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.EndpointId
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rax, qword [rbp - 0x78]
cmp dword [rax - 0x10], 0
jne 0x14002c3e2
lea rdx, str.EndpointIdForHiddenJack
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x14002c42b
mov rcx, qword [rbp - 0x78]
mov rax, r12
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14002c3f0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.EndpointIdForHiddenJack
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
jmp 0x14002c42b
mov ebx, dword [rsp + 0x68]
test rdi, rdi
je 0x14002c43d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], r14d
cmp dword [0x1400bea48], 0
je 0x14002c486
cmp dword [0x1400bea1c], 0
jne 0x14002c460
mov rax, qword [0x1400bb278]
test byte [rax + 0x1c], 1
je 0x14002c486
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, 0x168
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_FoundEp_d_EpId_s
call fcn.140026f80
mov r14d, ebx
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002c4a8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002c4c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002c4e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002c506
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x60]
call fcn.1400092d0
lea rcx, [rbp + 0x30]
call fcn.140010940
nop
mov eax, dword [0x1400bea58]
cmp eax, 1
jne 0x14002c534
call fcn.140046870
call fcn.1400482a0
mov eax, dword [0x1400bea58]
dec eax
mov dword [0x1400bea58], eax
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002c55b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp - 0x40]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x14002c57a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14002c589
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r14d
jmp 0x14002b9c4
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
int3