Function at 0x140036e10
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 [0x1400d6010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov esi, ecx
call fcn.140016210
mov rdi, rax
test rax, rax
jne 0x140036e69
mov r8d, 0x9d
jmp 0x140037a67
cmp esi, dword [rax + 0x4c]
jl 0x140036e79
mov r8d, 0x9e
jmp 0x140037a67
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.140014a10
mov rdx, rax
test rax, rax
jne 0x140036ea5
mov r8d, 0xa4
jmp 0x140037a67
xor r14d, r14d
mov ebx, r14d
mov ecx, r14d
add rax, 0xa4
cmp dword [rax - 4], r14d
je 0x140036ebe
cmp dword [rax], esi
je 0x140036ed3
inc ebx
inc rcx
add rax, 0xc
cmp rcx, 0x21
jge 0x140037a61
jmp 0x140036eb4
cmp ebx, 0x21
jae 0x140037a61
mov eax, ebx
lea r13, [rax + 0x14]
lea r13, [rax + r13*2]
lea r13, [rdx + r13*4]
test r13, r13
je 0x140037a61
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 0x140036f1d
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.14002d3b0
or rsi, 0xffffffffffffffff
test eax, eax
je 0x140036fb6
mov dword [rsp + 0x28], 0x2001f
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x60]
call fcn.140037d20
test eax, eax
je 0x140036fb6
mov rdx, rbx
lea rcx, str.CJackMgr::UpdateUIJackInfoToReg_:_Failed_to_create__s_n
call fcn.140032320
mov r8d, 0xbc
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140032320
jmp 0x140037a34
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 0x140037024
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 0x1400370c0
test ebx, ebx
je 0x1400370c0
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 0x1400371d7
imul rcx, r15, 0xac
cmp dword [rcx + rdi + 0x190], 0
je 0x140037198
mov eax, dword [rcx + rdi + 0x188]
mov dword [rbp - 0x78], eax
mov eax, dword [rcx + rdi + 0x18c]
jmp 0x1400371b2
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.14002b120
test rax, rax
je 0x1400371d4
mov r10, qword [rax]
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x78]
mov edx, r15d
mov rcx, rax
call qword [r10 + 0x40]
mov ecx, dword [rbp - 0x78]
test ebx, ebx
js 0x1400371e3
mov edx, dword [rdi + 0x1680]
jmp 0x1400371e9
mov edx, dword [rdi + 0x1674]
mov dword [rsp + 0x64], edx
test ebx, ebx
js 0x1400371f9
mov eax, dword [rdi + 0x1684]
jmp 0x1400371ff
mov eax, dword [rdi + 0x1678]
mov dword [rsp + 0x68], eax
test ebx, ebx
js 0x14003720f
mov eax, dword [rdi + 0x1688]
jmp 0x140037215
mov eax, dword [rdi + 0x167c]
mov dword [rsp + 0x60], eax
mov r8d, r14d
cmp esi, edx
sete r8b
cmp ecx, 2
jne 0x140037240
mov eax, dword [rbp - 0x68]
add eax, 0xfffffff6
cmp eax, 1
ja 0x140037240
mov edx, 1
mov dword [rsp + 0x6c], edx
mov r13d, edx
jmp 0x140037255
mov edx, r14d
mov dword [rsp + 0x6c], r14d
mov r13d, r14d
lea eax, [rcx - 8]
test eax, 0xfffffffd
je 0x14003725a
mov r12d, r14d
jmp 0x140037260
mov r12d, 1
call fcn.1400320f0
test eax, eax
je 0x1400372a3
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.140032320
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp + 0x20]
call fcn.140081670
lea rcx, [rbp + 0x20]
call fcn.140053830
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.140038ce0
lea rcx, [rbp + 0x20]
call fcn.140039290
test eax, eax
jne 0x14003733d
mov r8d, 0x296
lea rdx, str.CJackReteskInfo::SetCurrSelPinIndex
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140032320
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140037355
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 0x14003737b
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, [0x1400939d8]
test r15, r15
je 0x14003741f
lea r8, [0x1400a22c0]
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.140037ab0
mov r9d, edi
mov r8, rbx
lea rdx, str._s_d
lea rcx, [rbp - 0x38]
call fcn.140037ab0
test r15, r15
lea rdx, [0x1400939d8]
lea r8, [0x1400a22c0]
jne 0x1400373b2
or rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x14003746a
mov rcx, rbx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x140037430
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 0x14003746e
mov r15, qword [rbp - 0x60]
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x1400374b4
mov rcx, rbx
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x140037480
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 0x1400374ff
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, [0x1400939d8]
mov rdi, rcx
shr rdi, 0x10
test rdi, rdi
jne 0x140037540
movzx ebx, cx
mov ecx, ebx
call fcn.140005710
test rax, rax
je 0x14003755d
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400053d0
jmp 0x14003755d
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140037543
mov r8d, eax
mov rdx, rcx
lea rcx, [rbp - 0x70]
call fcn.140003d30
nop
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140037575
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, [0x1400939d8]
test rdi, rdi
jne 0x1400375af
movzx edi, dx
mov ecx, edi
call fcn.140005710
test rax, rax
je 0x1400375cd
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400053d0
jmp 0x1400375c9
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400375b3
mov r8d, eax
lea rcx, [rbp - 0x48]
call fcn.140003d30
mov rbx, qword [rbp - 0x48]
call fcn.1400099e0
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.1400099e0
mov rcx, rax
call fcn.140058ab0
mov rdi, rax
test rax, rax
je 0x1400377f6
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.1400099e0
call fcn.1400099e0
test rdi, rdi
je 0x1400377e7
mov rdx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rdx, rdx
je 0x140037729
cmp esi, dword [rsp + 0x64]
jne 0x1400376e4
test r13, r13
jne 0x1400376a9
cmp qword [rsp + 0x78], r13
je 0x1400376e4
mov r13d, dword [rsp + 0x50]
cmp r13d, dword [rdx + 0x168]
jne 0x140037724
cmp r15d, dword [rdx + 0x160]
jne 0x140037724
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x140037724
nop
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], r12d
je 0x140037737
inc ecx
cmp ecx, r8d
jb 0x140037690
jmp 0x140037724
mov r13d, dword [rsp + 0x50]
cmp r13d, dword [rdx + 0x168]
jne 0x140037724
cmp r15d, dword [rdx + 0x160]
jne 0x140037724
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x140037724
nop
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], esi
je 0x140037749
inc ecx
cmp ecx, r8d
jb 0x1400376d0
jmp 0x140037724
mov eax, dword [rsp + 0x50]
cmp eax, dword [rdx + 0x168]
jne 0x140037729
cmp r15d, dword [rdx + 0x160]
jne 0x140037729
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x140037729
nop dword [rax + rax]
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], esi
je 0x140037737
inc ecx
cmp ecx, r8d
jb 0x140037710
jmp 0x140037729
mov r13, qword [rsp + 0x58]
test rdi, rdi
je 0x1400377f2
jmp 0x140037620
add rdx, 0x10
lea rcx, [rbp - 0x70]
call fcn.14000a0b0
jmp 0x1400377f2
add rdx, 0x10
lea rcx, [rbp - 0x70]
call fcn.14000a0b0
call fcn.1400099e0
mov rcx, rax
call fcn.140058ab0
mov rdi, rax
test rax, rax
je 0x1400377f2
mov esi, dword [rsp + 0x68]
call fcn.1400099e0
call fcn.1400099e0
test rdi, rdi
je 0x1400377dc
mov rdx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rdx, rdx
je 0x1400377c2
cmp r13d, dword [rdx + 0x168]
jne 0x1400377c2
cmp r15d, dword [rdx + 0x160]
jne 0x1400377c2
mov ecx, r14d
mov r8d, dword [rdx + 0x1f8]
test r8d, r8d
je 0x1400377c2
nop
mov eax, ecx
cmp dword [rdx + rax*4 + 0x1fc], esi
je 0x1400377c9
inc ecx
cmp ecx, r8d
jb 0x1400377b0
test rdi, rdi
je 0x1400377f2
jmp 0x140037773
add rdx, 0x10
lea rcx, [rbp - 0x48]
call fcn.14000a0b0
mov rbx, qword [rbp - 0x48]
jmp 0x1400377f2
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov r15, qword [rbp - 0x60]
call fcn.1400099e0
mov ecx, dword [rax + 0x138]
sub ecx, 1
mov dword [rax + 0x138], ecx
jne 0x14003782c
mov rcx, qword [rax + 0x148]
cmp dword [rax + 0x13c], 0
je 0x140037824
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14003784a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
jmp 0x14003784a
cmp ecx, 0x32
jle 0x14003784a
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.140032320
mov rax, qword [rbp - 0x70]
cmp dword [rax - 0x10], 0
je 0x140037903
cmp dword [rsp + 0x6c], 0
je 0x140037869
cmp dword [rbx - 0x10], 0
je 0x140037903
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 0x140037880
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 0x1400378cd
lea rdx, str.EndpointIdForHiddenJack
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x14003790b
mov rax, rsi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x1400378d0
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 0x14003790b
mov edi, dword [rsp + 0x70]
or rsi, 0xffffffffffffffff
test r15, r15
je 0x14003791d
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 [0x1400da6dc], 0
je 0x140037965
cmp dword [0x1400da710], 0
jne 0x140037940
mov rax, qword [0x1400d63b8]
test byte [rax + 0x1c], 1
je 0x140037965
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.140032320
mov r14d, edi
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140037982
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 0x1400379a0
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 0x1400379be
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 0x1400379dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x70]
call fcn.14000a5e0
lea rcx, [rbp + 0x40]
call fcn.140013090
nop
mov eax, dword [0x1400da71c]
cmp eax, 1
jne 0x140037a0a
call fcn.140054770
call fcn.140056990
mov eax, dword [0x1400da71c]
dec eax
mov dword [0x1400da71c], eax
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140037a30
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 0x140037a4d
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 0x140037a5c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r14d
jmp 0x140037a7c
mov r8d, 0xa8
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140032320
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140078ef0
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