Function at 0x140047f00
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 - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov esi, ecx
call fcn.14001f6c0
mov rdi, rax
test rax, rax
jne 0x140047f57
mov r8d, 0xa4
jmp 0x140047f9f
call fcn.1400175a0
mov rdx, rax
test rax, rax
jne 0x140047f6c
mov r8d, 0xab
jmp 0x140047f9f
xor r15d, r15d
mov ebx, r15d
mov ecx, r15d
add rax, 0xa4
nop dword [rax + rax]
cmp dword [rax - 4], r15d
je 0x140047f8a
cmp dword [rax], esi
je 0x140047fe4
inc ebx
inc rcx
add rax, 0xc
cmp rcx, 0x21
jl 0x140047f80
mov r8d, 0xaf
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140091f30
lea r11, [rsp + 0x1a0]
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 0x140047f99
mov eax, ebx
lea r14, [rax + 0x14]
lea r14, [rax + r14*2]
lea r14, [rdx + r14*4]
test r14, r14
je 0x140047f99
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r15
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140048c7c
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 8], rax
mov r9d, ebx
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rbp - 8]
call fcn.140005720
mov r9d, 0x2001f
mov rbx, qword [rbp - 8]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.14001da70
mov r13, 0xffffffffffffffff
test eax, eax
je 0x1400480bb
mov dword [rsp + 0x28], 0x2001f
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.140048dc0
test eax, eax
je 0x1400480bb
mov rdx, rbx
lea rcx, str.CJackMgr::UpdateUIJackInfoToReg_:_Failed_to_create__s_n
call fcn.1400430e0
mov r8d, 0xc3
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
jmp 0x140048c3f
mov dword [rsp + 0x6c], r15d
mov r12d, dword [r14 + 4]
lea rax, [rdi + 0x10]
mov qword [rbp - 0x58], rax
mov rcx, rax
call fcn.140033ab0
movsxd rax, r12d
imul r13, rax, 0xac
add r13, rdi
movzx ebx, word [r13 + reloc.OLEAUT32.dll_BSTR_UserUnmarshal]
shr ebx, 1
and ebx, 1
mov dword [rbp - 0x44], r15d
mov dword [rbp - 0x48], 4
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
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 0x140048138
mov esi, r15d
mov eax, 0xd
cmp dword [rbp - 0x40], 4
cmovne esi, eax
lea rcx, [r13 + 0x110]
call fcn.140047990
mov ecx, ebx
test eax, eax
cmovne ecx, r15d
mov dword [rbp - 0x38], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x38]
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 + 0x8c]
mov dword [rbp - 0x30], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x30]
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 0x1400481eb
test ebx, ebx
je 0x1400481eb
mov dword [rbp - 0x28], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x28]
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 [r14 + 8]
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.JackIconTypeColor
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, dword [r13 + 0x1a0]
mov r14d, dword [r13 + 0x1b0]
mov dword [rsp + 0x50], r14d
mov ebx, dword [r13 + 0x1b8]
mov dword [rsp + 0x5c], ebx
mov ecx, r14d
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 - 0x18], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x18]
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 dword [rbp - 0x78], r15d
mov dword [rbp - 0x74], r15d
cmp r12d, dword [rdi + 0x68]
jae 0x1400482fc
imul rcx, r12, 0xac
cmp dword [rcx + rdi + 0x1ac], 0
je 0x1400482c0
mov eax, dword [rcx + rdi + 0x1a4]
mov dword [rbp - 0x78], eax
mov eax, dword [rcx + rdi + 0x1a8]
jmp 0x1400482da
mov eax, dword [rcx + rdi + 0x118]
shr eax, 8
and eax, 0xf
mov dword [rbp - 0x78], eax
mov eax, dword [rcx + rdi + 0x110]
and eax, 0xf
mov dword [rbp - 0x74], eax
call fcn.14003c080
test rax, rax
je 0x1400482fc
mov r10, qword [rax]
lea r9, [rbp - 0x74]
lea r8, [rbp - 0x78]
mov edx, r12d
mov rcx, rax
call qword [r10 + 0x48]
test ebx, ebx
js 0x140048309
mov r13d, dword [rdi + 0x169c]
jmp 0x140048310
mov r13d, dword [rdi + 0x1690]
mov dword [rsp + 0x60], r13d
test ebx, ebx
js 0x140048321
mov eax, dword [rdi + 0x16a0]
jmp 0x140048327
mov eax, dword [rdi + 0x1694]
mov dword [rsp + 0x68], eax
test ebx, ebx
js 0x14004833f
mov ebx, dword [rdi + 0x16a4]
mov dword [rsp + 0x58], ebx
mov ebx, dword [rsp + 0x5c]
jmp 0x140048349
mov eax, dword [rdi + 0x1698]
mov dword [rsp + 0x58], eax
mov rcx, qword [rbp - 0x58]
call fcn.140033ba0
mov edx, r15d
cmp esi, r13d
sete dl
mov ecx, dword [rbp - 0x78]
cmp ecx, 2
jne 0x14004837e
mov eax, dword [rbp - 0x74]
add eax, 0xfffffff6
cmp eax, 1
ja 0x14004837e
mov r8d, 1
mov dword [rsp + 0x54], r8d
mov ecx, r15d
jmp 0x14004839a
mov r8d, r15d
mov dword [rsp + 0x54], r15d
lea eax, [rcx - 8]
test eax, 0xfffffffd
je 0x140048395
mov ecx, r15d
jmp 0x14004839a
mov ecx, 1
mov dword [rsp + 0x64], ecx
cmp dword [0x140103eac], 0
je 0x1400483f3
cmp dword [0x140103ea8], 0
jne 0x1400483bd
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x1400483f3
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
mov r9d, r12d
mov r8d, 0x104
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.1400430e0
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp]
call fcn.140098800
lea rcx, [rbp]
call fcn.140065c40
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x40], r15
mov dword [rbp + 0x48], 0xa
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0x70], r15
mov dword [rbp + 0x78], 0xa
mov r13, 0xffffffffffffffff
mov dword [rbp + 0x80], r13d
mov dword [rbp + 0x1c], r15d
mov dword [rbp + 0x18], r12d
lea rcx, [rbp]
call fcn.140049d80
lea rcx, [rbp]
call fcn.14004a340
test eax, eax
jne 0x140048482
mov r8d, 0x296
lea rdx, str.CJackReteskInfo::SetCurrSelPinIndex
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.1400430e0
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140048c87
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x50], rax
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140048c92
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x50]
call fcn.140003a00
lea rcx, [rbp - 0x58]
call fcn.140003a00
mov r14, qword [rbp + 0x50]
lea r12, [0x1400b1068]
test r14, r14
je 0x14004854a
lea rcx, [0x1400c5a30]
mov edi, dword [r14 + 0x10]
mov r14, qword [r14]
mov rax, qword [rbp - 0x50]
mov rbx, r12
cmp dword [rax - 0x10], 0
cmovne rbx, rcx
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.140048cc0
shr edi, 0x10
mov r9d, edi
mov r8, rbx
lea rdx, str._s_d
lea rcx, [rbp - 0x58]
call fcn.140048cc0
test r14, r14
lea rcx, [0x1400c5a30]
jne 0x1400484e9
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x14004859a
mov rcx, r13
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x140048560
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 0x14004859e
mov rdi, qword [rbp - 0x70]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1400485e4
mov rcx, r13
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x1400485b0
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 + 0x80]
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.JackListCurrSelectIndex
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140048c9d
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.140005580
test al, al
jne 0x14004866c
mov rax, r13
nop dword [rax + rax]
inc rax
cmp word [r12 + rax*2], 0
jne 0x140048650
mov r8d, eax
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.140003840
nop
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140048ca8
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140005580
test al, al
jne 0x1400486bb
mov rax, r13
nop
inc rax
cmp word [r12 + rax*2], 0
jne 0x1400486a0
mov r8d, eax
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140003840
nop
call fcn.140009e20
mov rcx, rax
call fcn.14006b4e0
call fcn.140009e20
cmp dword [rax + 0x138], 0
jne 0x14004870e
cmp dword [0x140103eac], 0
je 0x14004870e
cmp dword [0x140103ea8], 0
jne 0x1400486f5
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x14004870e
mov r8d, 0x3b
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.1400430e0
call fcn.140009e20
mov rbx, qword [rax + 0xd8]
test rbx, rbx
je 0x1400488ac
mov edi, dword [rsp + 0x58]
mov r14d, dword [rsp + 0x5c]
mov r12d, dword [rsp + 0x50]
call fcn.140009e20
call fcn.140009e20
test rbx, rbx
je 0x140048c71
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14004883f
cmp esi, dword [rsp + 0x60]
jne 0x140048807
cmp dword [rsp + 0x54], 0
jne 0x1400487c5
cmp dword [rsp + 0x64], 0
je 0x140048807
mov r12d, dword [rsp + 0x50]
cmp r12d, dword [rcx + 0x168]
jne 0x14004883f
cmp r14d, dword [rcx + 0x160]
jne 0x14004883f
mov edx, r15d
mov r8d, dword [rcx + 0x200]
test r8d, r8d
je 0x14004883f
lea rax, [rcx + 0x204]
nop dword [rax]
cmp dword [rax], edi
je 0x140048849
inc edx
add rax, 4
cmp edx, r8d
jb 0x1400487b0
jmp 0x14004883f
mov r12d, dword [rsp + 0x50]
cmp r12d, dword [rcx + 0x168]
jne 0x14004883f
cmp r14d, dword [rcx + 0x160]
jne 0x14004883f
mov edx, r15d
mov r8d, dword [rcx + 0x200]
test r8d, r8d
je 0x14004883f
lea rax, [rcx + 0x204]
cmp dword [rax], esi
je 0x1400488d8
inc edx
add rax, 4
cmp edx, r8d
jb 0x1400487f2
jmp 0x14004883f
cmp r12d, dword [rcx + 0x168]
jne 0x14004883f
cmp r14d, dword [rcx + 0x160]
jne 0x14004883f
mov edx, r15d
mov r8d, dword [rcx + 0x200]
test r8d, r8d
je 0x14004883f
lea rax, [rcx + 0x204]
nop
cmp dword [rax], esi
je 0x140048849
inc edx
add rax, 4
cmp edx, r8d
jb 0x140048830
test rbx, rbx
je 0x1400488a8
jmp 0x140048731
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rcx + 0x10]
add rbx, 0xffffffffffffffe8
lea rcx, [rdx - 0x18]
cmp rcx, rbx
je 0x1400488a8
cmp dword [rbx + 0x10], 0
jl 0x14004889a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14004889a
call fcn.1400056a0
mov rdi, rax
mov ecx, r13d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14004888f
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 0x1400488a8
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.140003840
mov rdi, qword [rbp - 0x70]
call fcn.140009e20
mov ecx, dword [rax + 0x138]
sub ecx, 1
mov dword [rax + 0x138], ecx
jne 0x140048a1d
mov rcx, qword [rax + 0x148]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140048a3b
mov rdx, qword [rcx + 0x10]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x78]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140048937
cmp dword [rbx + 0x10], 0
jl 0x140048929
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140048929
call fcn.1400056a0
mov rdi, rax
mov ecx, r13d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14004891e
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 0x140048937
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.140003840
call fcn.140009e20
mov rcx, rax
call fcn.14006b480
mov rbx, rax
test rax, rax
je 0x1400488a8
mov edi, dword [rsp + 0x68]
call fcn.140009e20
call fcn.140009e20
test rbx, rbx
je 0x140048cb3
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdx, rdx
je 0x1400489af
cmp r12d, dword [rdx + 0x168]
jne 0x1400489af
cmp r14d, dword [rdx + 0x160]
jne 0x1400489af
mov ecx, r15d
mov r8d, dword [rdx + 0x200]
test r8d, r8d
je 0x1400489af
lea rax, [rdx + 0x204]
nop dword [rax + rax]
cmp dword [rax], edi
je 0x1400489ba
inc ecx
add rax, 4
cmp ecx, r8d
jb 0x1400489a0
test rbx, rbx
je 0x1400488a8
jmp 0x140048954
mov rdx, qword [rdx + 0x10]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x80]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400488a8
cmp dword [rbx + 0x10], 0
jl 0x140048a10
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140048a10
call fcn.1400056a0
mov rdi, rax
mov ecx, r13d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140048a03
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 - 0x80], rax
jmp 0x1400488a8
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x80]
jmp 0x1400488a3
cmp ecx, 0x32
jle 0x140048a3b
mov r8d, 0x81
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.1400430e0
mov rax, qword [rsp + 0x78]
cmp dword [rax - 0x10], 0
je 0x140048b07
cmp dword [rsp + 0x54], 0
je 0x140048a5f
mov rax, qword [rbp - 0x80]
cmp dword [rax - 0x10], 0
je 0x140048b07
mov ebx, 1
mov rcx, qword [rsp + 0x78]
mov rax, r13
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140048a70
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 - 0x80]
cmp dword [rax - 0x10], 0
jne 0x140048ac2
lea rdx, str.EndpointIdForHiddenJack
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x140048b0b
mov rcx, qword [rbp - 0x80]
mov rax, r13
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140048ad0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x80]
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 0x140048b0b
mov ebx, dword [rsp + 0x6c]
test rdi, rdi
je 0x140048b1d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], r15d
cmp dword [0x140103eac], 0
je 0x140048b66
cmp dword [0x140103ea8], 0
jne 0x140048b40
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x140048b66
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, 0x17e
lea rdx, str.CJackInfoRegWriter::UpdateJackInfoToReg
lea rcx, str._s__d_FoundEp_d_EpId_s
call fcn.1400430e0
mov r15d, ebx
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048b88
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, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048ba8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048bc7
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, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048be6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x50]
call fcn.14000aa00
lea rcx, [rbp + 0x20]
call fcn.140013fb0
nop
mov eax, dword [0x140103ee0]
cmp eax, 1
jne 0x140048c14
call fcn.140066b10
call fcn.140068ad0
mov eax, dword [0x140103ee0]
dec eax
mov dword [0x140103ee0], eax
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048c3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp - 8]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r13d
sub r13d, 1
jg 0x140048c5a
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 0x140048c69
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r15d
jmp 0x140047fb4
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
int3