Function at 0x140037b30
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 - 0xe8]
sub rsp, 0x1c0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov esi, ecx
call fcn.140016270
mov rdi, rax
test rax, rax
jne 0x140037b89
mov r8d, 0x9d
jmp 0x140038787
cmp esi, dword [rax + 0x4c]
jl 0x140037b99
mov r8d, 0x9e
jmp 0x140038787
lea rcx, [rax + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call fcn.140014a70
mov rdx, rax
test rax, rax
jne 0x140037bc5
mov r8d, 0xa4
jmp 0x140038787
xor r14d, r14d
mov ebx, r14d
mov ecx, r14d
add rax, 0xa4
cmp dword [rax - 4], r14d
je 0x140037bde
cmp dword [rax], esi
je 0x140037bf3
inc ebx
inc rcx
add rax, 0xc
cmp rcx, 0x21
jge 0x140038781
jmp 0x140037bd4
cmp ebx, 0x21
jae 0x140038781
mov eax, ebx
lea r13, [rax + 0x14]
lea r13, [rax + r13*2]
lea r13, [rdx + r13*4]
test r13, r13
je 0x140038781
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x58], r14d
mov qword [rbp - 0x50], r14
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140037c3d
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x10], rax
mov r9d, ebx
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rbp + 0x10]
call fcn.1400054e0
mov r9d, 0x2001f
mov rbx, qword [rbp + 0x10]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x60]
call fcn.14002e0d0
or rsi, 0xffffffffffffffff
test eax, eax
je 0x140037cd6
mov dword [rsp + 0x28], 0x2001f
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x60]
call fcn.140038a40
test eax, eax
je 0x140037cd6
mov rdx, rbx
lea rcx, str.CJackMgr::UpdateUIJackInfoToReg_:_Failed_to_create__s_n
call fcn.140033040
mov r8d, 0xbc
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140033040
jmp 0x140038754
mov dword [rsp + 0x70], r14d
mov r15d, dword [r13 + 4]
movsxd rax, r15d
imul r12, rax, 0xac
add r12, rdi
movzx ebx, word [r12 + 0x100]
shr ebx, 1
and ebx, 1
mov dword [rbp - 0x2c], r14d
mov dword [rbp - 0x30], 4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
xor r8d, r8d
lea rdx, str.JackStatus
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x140037d44
mov esi, r14d
mov eax, 0xd
cmp dword [rbp - 0x28], 4
cmovne esi, eax
mov dword [rbp - 0x20], ebx
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatus
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movsxd rcx, r15d
mov eax, dword [rdi + rcx*4 + 0x70]
mov dword [rbp - 0x18], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatusChangedWhenPowerDown
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp esi, 2
jne 0x140037de0
test ebx, ebx
je 0x140037de0
mov dword [rbp - 0x10], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 2]
xor r8d, r8d
lea rdx, str.JackStatusChangedWhenPowerDown
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [r13 + 8]
mov dword [rbp - 8], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackIconTypeColor
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, dword [r12 + 0x184]
mov eax, dword [r12 + 0x194]
mov dword [rsp + 0x50], eax
mov ebx, dword [r12 + 0x19c]
mov dword [rsp + 0x74], ebx
mov ecx, eax
shl ecx, 8
add ecx, 0x100
and ecx, 0xf00
mov eax, ebx
shl eax, 0xc
add eax, 0x1000
and eax, 0xf000
or ecx, eax
or ecx, esi
mov dword [rbp], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackWidgetId
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ecx, r14d
mov dword [rbp - 0x78], ecx
mov dword [rbp - 0x68], r14d
cmp r15d, dword [rdi + 0x4c]
jae 0x140037ef7
imul rcx, r15, 0xac
cmp dword [rcx + rdi + 0x190], 0
je 0x140037eb8
mov eax, dword [rcx + rdi + 0x188]
mov dword [rbp - 0x78], eax
mov eax, dword [rcx + rdi + 0x18c]
jmp 0x140037ed2
mov eax, dword [rcx + rdi + 0xfc]
shr eax, 8
and eax, 0xf
mov dword [rbp - 0x78], eax
mov eax, dword [rcx + rdi + 0xf4]
and eax, 0xf
mov dword [rbp - 0x68], eax
call fcn.14002bb70
test rax, rax
je 0x140037ef4
mov r10, qword [rax]
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x78]
mov edx, r15d
mov rcx, rax
call qword [r10 + 0x48]
mov ecx, dword [rbp - 0x78]
test ebx, ebx
js 0x140037f03
mov edx, dword [rdi + 0x1680]
jmp 0x140037f09
mov edx, dword [rdi + 0x1674]
mov dword [rsp + 0x64], edx
test ebx, ebx
js 0x140037f19
mov eax, dword [rdi + 0x1684]
jmp 0x140037f1f
mov eax, dword [rdi + 0x1678]
mov dword [rsp + 0x68], eax
test ebx, ebx
js 0x140037f2f
mov eax, dword [rdi + 0x1688]
jmp 0x140037f35
mov eax, dword [rdi + 0x167c]
mov dword [rsp + 0x60], eax
mov r8d, r14d
cmp esi, edx
sete r8b
cmp ecx, 2
jne 0x140037f60
mov eax, dword [rbp - 0x68]
add eax, 0xfffffff6
cmp eax, 1
ja 0x140037f60
mov edx, 1
mov dword [rsp + 0x6c], edx
mov r13d, edx
jmp 0x140037f75
mov edx, r14d
mov dword [rsp + 0x6c], r14d
mov r13d, r14d
lea eax, [rcx - 8]
test eax, 0xfffffffd
je 0x140037f7a
mov r12d, r14d
jmp 0x140037f80
mov r12d, 1
call fcn.140032e10
test eax, eax
je 0x140037fc3
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], ebx
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov r8d, 0xf2
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.140033040
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp + 0x20]
call fcn.1400825c0
lea rcx, [rbp + 0x20]
call fcn.140054720
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
mov dword [rbp + 0x68], 0xa
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x90], r14
mov dword [rbp + 0x98], 0xa
or rbx, 0xffffffffffffffff
mov dword [rbp + 0xa0], ebx
mov dword [rbp + 0x3c], r14d
mov dword [rbp + 0x38], r15d
lea rcx, [rbp + 0x20]
call fcn.140039a00
lea rcx, [rbp + 0x20]
call fcn.140039fb0
test eax, eax
jne 0x14003805d
mov r8d, 0x296
lea rdx, str.CJackReteskInfo::SetCurrSelPinIndex
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140033040
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140038075
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x40], rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14003809b
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
call fcn.140003e80
lea rcx, [rbp - 0x38]
call fcn.140003e80
mov r15, qword [rbp + 0x70]
lea rdx, [0x1400949f8]
test r15, r15
je 0x14003813f
lea r8, [0x1400a36b0]
mov eax, dword [r15 + 0x10]
mov r15, qword [r15]
mov edi, eax
shr edi, 0x10
mov rcx, qword [rbp - 0x40]
mov rbx, rdx
cmp dword [rcx - 0x10], 0
cmovne rbx, r8
mov ecx, eax
shr ecx, 8
movzx r9d, cl
movzx ecx, al
shl ecx, 8
or r9d, ecx
mov r8, rbx
lea rdx, str._s_04x
lea rcx, [rbp - 0x40]
call fcn.1400387d0
mov r9d, edi
mov r8, rbx
lea rdx, str._s_d
lea rcx, [rbp - 0x38]
call fcn.1400387d0
test r15, r15
lea rdx, [0x1400949f8]
lea r8, [0x1400a36b0]
jne 0x1400380d2
or rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x14003818a
mov rcx, rbx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x140038150
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 r15, qword [rbp - 0x60]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
jmp 0x14003818e
mov r15, qword [rbp - 0x60]
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x1400381d4
mov rcx, rbx
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x1400381a0
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, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [rbp + 0xa0]
mov dword [rbp + 8], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackListCurrSelectIndex
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14003821f
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rcx, [0x1400949f8]
mov rdi, rcx
shr rdi, 0x10
test rdi, rdi
jne 0x140038260
movzx ebx, cx
mov ecx, ebx
call fcn.140005710
test rax, rax
je 0x14003827d
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400053d0
jmp 0x14003827d
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140038263
mov r8d, eax
mov rdx, rcx
lea rcx, [rbp - 0x70]
call fcn.140003d30
nop
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140038295
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x48], rbx
lea rdx, [0x1400949f8]
test rdi, rdi
jne 0x1400382cf
movzx edi, dx
mov ecx, edi
call fcn.140005710
test rax, rax
je 0x1400382ed
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400053d0
jmp 0x1400382e9
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400382d3
mov r8d, eax
lea rcx, [rbp - 0x48]
call fcn.140003d30
mov rbx, qword [rbp - 0x48]
call fcn.140009a60
mov rdi, rax
or edx, 0xffffffff
mov rcx, qword [rax + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
inc dword [rdi + 0x138]
call fcn.140009a60
mov rcx, rax
call fcn.1400599a0
mov rdi, rax
test rax, rax
je 0x140038516
mov qword [rsp + 0x58], r13
mov eax, r12d
mov qword [rsp + 0x78], rax
mov r15d, dword [rsp + 0x74]
mov r12d, dword [rsp + 0x60]
nop dword [rax + rax]
call fcn.140009a60
call fcn.140009a60
test rdi, rdi
je 0x140038507
mov rdx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rdx, rdx
je 0x140038449
cmp esi, dword [rsp + 0x64]
jne 0x140038404
test r13, r13
jne 0x1400383c9
cmp qword [rsp + 0x78], r13
je 0x140038404
mov r13d, dword [rsp + 0x50]
cmp r13d, dword [rdx + 0x168]
jne 0x140038444
cmp r15d, dword [rdx + 0x160]
jne 0x140038444
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x140038444
nop
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], r12d
je 0x140038457
inc ecx
cmp ecx, r8d
jb 0x1400383b0
jmp 0x140038444
mov r13d, dword [rsp + 0x50]
cmp r13d, dword [rdx + 0x168]
jne 0x140038444
cmp r15d, dword [rdx + 0x160]
jne 0x140038444
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x140038444
nop
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], esi
je 0x140038469
inc ecx
cmp ecx, r8d
jb 0x1400383f0
jmp 0x140038444
mov eax, dword [rsp + 0x50]
cmp eax, dword [rdx + 0x168]
jne 0x140038449
cmp r15d, dword [rdx + 0x160]
jne 0x140038449
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x140038449
nop dword [rax + rax]
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], esi
je 0x140038457
inc ecx
cmp ecx, r8d
jb 0x140038430
jmp 0x140038449
mov r13, qword [rsp + 0x58]
test rdi, rdi
je 0x140038512
jmp 0x140038340
add rdx, 0x10
lea rcx, [rbp - 0x70]
call fcn.14000a130
jmp 0x140038512
add rdx, 0x10
lea rcx, [rbp - 0x70]
call fcn.14000a130
call fcn.140009a60
mov rcx, rax
call fcn.1400599a0
mov rdi, rax
test rax, rax
je 0x140038512
mov esi, dword [rsp + 0x68]
call fcn.140009a60
call fcn.140009a60
test rdi, rdi
je 0x1400384fc
mov rdx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rdx, rdx
je 0x1400384e2
cmp r13d, dword [rdx + 0x168]
jne 0x1400384e2
cmp r15d, dword [rdx + 0x160]
jne 0x1400384e2
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x1400384e2
nop
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], esi
je 0x1400384e9
inc ecx
cmp ecx, r8d
jb 0x1400384d0
test rdi, rdi
je 0x140038512
jmp 0x140038493
add rdx, 0x10
lea rcx, [rbp - 0x48]
call fcn.14000a130
mov rbx, qword [rbp - 0x48]
jmp 0x140038512
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov r15, qword [rbp - 0x60]
call fcn.140009a60
mov ecx, dword [rax + 0x138]
sub ecx, 1
mov dword [rax + 0x138], ecx
jne 0x14003854c
mov rcx, qword [rax + 0x148]
cmp dword [rax + 0x13c], 0
je 0x140038544
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14003856a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
jmp 0x14003856a
cmp ecx, 0x32
jle 0x14003856a
mov r8d, 0x6f
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140033040
mov rax, qword [rbp - 0x70]
cmp dword [rax - 0x10], 0
je 0x140038623
cmp dword [rsp + 0x6c], 0
je 0x140038589
cmp dword [rbx - 0x10], 0
je 0x140038623
mov edi, 1
mov rcx, qword [rbp - 0x70]
or rsi, 0xffffffffffffffff
mov rax, rsi
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1400385a0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.EndpointId
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp dword [rbx - 0x10], 0
jne 0x1400385ed
lea rdx, str.EndpointIdForHiddenJack
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x14003862b
mov rax, rsi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x1400385f0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, edi
xor r8d, r8d
lea rdx, str.EndpointIdForHiddenJack
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
jmp 0x14003862b
mov edi, dword [rsp + 0x70]
or rsi, 0xffffffffffffffff
test r15, r15
je 0x14003863d
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x58], r14d
cmp dword [0x1400dc724], 0
je 0x140038685
cmp dword [0x1400dc758], 0
jne 0x140038660
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x140038685
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8d, 0x16c
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_FoundEp_d_EpId_s
call fcn.140033040
mov r14d, edi
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400386a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400386c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400386de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400386fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x70]
call fcn.14000a660
lea rcx, [rbp + 0x40]
call fcn.140013110
nop
mov eax, dword [0x1400dc764]
cmp eax, 1
jne 0x14003872a
call fcn.140055660
call fcn.140057880
mov eax, dword [0x1400dc764]
dec eax
mov dword [0x1400dc764], eax
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140038750
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp + 0x10]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14003876d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14003877c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r14d
jmp 0x14003879c
mov r8d, 0xa8
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140033040
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140079e30
lea r11, [rsp + 0x1c0]
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