joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002dee0
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14001dc30
test dword [rax + 4], 0x200
je 0x14002dfe3
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov dword [rsp + 0x38], esi
call fcn.140030cb0
test eax, eax
je 0x14002df29
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rsp + 0x38]
call qword [rax + 0xd8]
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400b43a0
call fcn.14000b470
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140006ae0
test rdi, rdi
lea rbx, [rdi + 0x10]
cmove rbx, rsi
call fcn.140031310
mov rdx, rbx
lea rcx, [rax + 8]
call fcn.140006ae0
mov qword [rdi + 0x48], rsi
call fcn.140006a20
mov rcx, rax
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
call fcn.140090560
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x48], rax
test rax, rax
je 0x14002dfc5
lea rdx, str.GlobalNN
mov rcx, rax
call fcn.14008fb40
mov rcx, qword [rdi + 0x48]
lea rdx, [rdi + 0x18]
add rcx, 0x20
add rsp, 0x20
pop rdi
jmp fcn.140006ae0
mov r8d, 0x5d
lea rdx, str.CCustomizeASUS::NormalUserStart
lea rcx, str._s__d_RegisterNotifier_fail
add rsp, 0x20
pop rdi
jmp fcn.14005dbf0
add rsp, 0x20
pop rdi
ret
Function at 0x140030ea0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
test rdx, rdx
jne 0x140030ef2
mov r8d, 0x3f2
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
xor eax, eax
jmp 0x140031033
mov esi, 0x63
xor eax, eax
mov qword [rsp + 0x50], rax
xor ebp, ebp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x38], ebp
mov ebx, 1
mov r9d, ebx
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400278b0
test eax, eax
je 0x140030f60
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140030fc8
jmp 0x140030fc2
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.GlobalNN
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140030fba
cmp dword [rsp + 0x40], 4
jne 0x140030fba
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x140030fb6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, ebx
jmp 0x140030fca
test rdi, rdi
je 0x140030fc8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, ebp
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, 0x3f7
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.14005dbf0
test edi, edi
je 0x140031013
cmp esi, 1
jne 0x140030ff8
mov dword [r14], ebx
jmp 0x140031031
test esi, esi
jne 0x140031001
mov dword [r14], ebp
jmp 0x140031031
mov r9d, esi
mov r8d, 0x406
lea rcx, str._s__d_get_GlobalNN_from_registry_error_____d_
jmp 0x140031023
xor r9d, r9d
mov r8d, 0x40c
lea rcx, str._s__d_get_GlobalNN_via_GetRegUI4Property_fail_____d_
lea rdx, str.CCustomizeASUS::GetGlobalNN
call fcn.14005dbf0
mov ebx, ebp
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140031600
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [r11 - 0x50], rcx
lea rax, vtable.CCustomizeGigabyte.1.0
mov qword [rcx], rax
lea rax, vtable.CCustomizeGigabyte.0
mov qword [rcx + 8], rax
xor r14d, r14d
mov qword [rcx + 0x10], r14
cmp dword [0x140161340], r14d
je 0x14003181c
call fcn.14000b190
test dword [rax + 0xc0], 0x200
je 0x14003181c
mov ebp, 0x3e7
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x40], r14d
lea r9d, [r14 + 1]
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400278b0
test eax, eax
je 0x1400316d9
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003172f
jmp 0x140031729
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.JackImpedance
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140031721
cmp dword [rsp + 0x48], 4
jne 0x140031721
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x14003172f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.14000b470
mov rcx, rax
call fcn.14008cd40
call fcn.14000b470
mov rcx, rax
call fcn.14008cce0
mov rbx, rax
nop dword [rax]
test rbx, rbx
je 0x1400317a8
call fcn.14000b470
call fcn.14000b470
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140031750
cmp dword [rcx + 0x1ac], 1
jne 0x140031750
add rcx, 0x10
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, ebp
lea rdx, [0x1400dda58]
call fcn.1400032a0
mov r9d, ebp
mov r8d, eax
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.14005dbf0
call fcn.14000b470
mov rcx, rax
call fcn.14008cdc0
call fcn.140006a20
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.140090560
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400317fb
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.14008fb40
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.140006ae0
jmp 0x14003181c
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.14005dbf0
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400beb20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140031f40
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov dword [rsp + 0x50], eax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x38], eax
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [r11 - 0x30]
call fcn.1400278b0
test eax, eax
je 0x140031fc9
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140032051
jmp 0x14003204b
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.SkipActionForS0
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140032043
cmp dword [rsp + 0x40], 4
jne 0x140032043
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x14003201f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140032051
mov r8d, 0x60
lea rdx, str.CCustomizeHonor::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005dbf0
mov eax, 1
jmp 0x140032053
test rbx, rbx
je 0x140032051
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140032ef0
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
movsxd rdi, r8d
mov dword [rsp + 0x30], 0
cmp edi, 0xf
jg 0x140032fed
call fcn.14002a070
mov rbx, rax
test rax, rax
jne 0x140032f48
mov r8d, 0x160
lea rdx, str.CCustomizeHonor::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.14005dbf0
mov edx, edi
mov rcx, rbx
call fcn.140060130
imul rcx, rdi, 0xb0
movzx ebx, word [rcx + rbx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal]
shr ebx, 1
and ebx, 1
mov qword [rsp + 0x38], 0
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140032ff8
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e2b48]
lea rcx, [rsp + 0x38]
call fcn.140006bc0
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x140161338]
call fcn.14007dbb0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032fed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3

Function at 0x140033320
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x140033364
call fcn.140032320
test eax, eax
je 0x1400333b4
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x42d
call fcn.1400b45d0
mov r8d, 0x19c
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, [0x1400e2bd0]
add rsp, 0x38
jmp fcn.14005dbf0
cmp edx, 0x432
jne 0x1400333b4
mov r8d, 0x1a2
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.14005dbf0
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x432
call fcn.1400b45d0
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007dbb0
add rsp, 0x38
ret

Function at 0x1400374b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0xb0]
mov ebx, edx
mov rdi, rcx
mov dword [rsp + 0x20], eax
mov r9d, edx
lea rcx, str._s__d_bSetGlobalNN___d__current_global_NN___d
lea rdx, str.CCustomizeHP::SetGlobalNN
mov r8d, 0x5b9
call fcn.14005dbf0
mov rax, qword [0x140161330]
lea r8, str.GlobalNN
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x140161330]
call qword [rax + 0x28]
test eax, eax
jne 0x140037531
mov r9d, ebx
lea rdx, str.CCustomizeHP::SetGlobalNN
mov r8d, 0x5bf
lea rcx, str._s__d_SetGloablNN_fail__bSetGloablNN___d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14005dbf0
cmp dword [rdi + 0xb0], ebx
je 0x140037557
mov dword [rdi + 0xb0], ebx
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400b43a0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003bf20
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.14000b190
test byte [rax + 0x2dc], 0xf
je 0x14003c092
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 1
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14003c0aa
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r9, str.HP_CONTROL
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e2b48]
lea rcx, [rsp + 0x50]
call fcn.140006bc0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003c076
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14003c076
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.HP_CONTROL_DefVolumeLevelEnable
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jne 0x14003c076
mov r9d, dword [rsp + 0x40]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x140161330]
mov rax, qword [0x140161330]
call qword [rax + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0xf37
lea rdx, str.CCustomizeHP::SyncHpControlDefaultVolume
lea rcx, str._s__d_bSuccess__d__dwForceRestore___d
call fcn.14005dbf0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003c092
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x14003f9c0
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rdx
test rdx, rdx
jne 0x14003f9ff
mov r8d, 0x1490
lea rdx, str.CCustomizeHP::OnNamedPipeEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14005dbf0
cmp dword [rdx], 0x30000003
jne 0x14003fa87
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14003fa92
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdi, [0x1400e2fc8]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140004660
test al, al
jne 0x14003fa6b
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x14003fa50
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400048e0
nop
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.140004520
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400bad40
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140040100
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r11 - 0x20], 0
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x28], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400402a1
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rbx, str.AutoLogon_Skype
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140004660
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14004019b
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140040180
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400048e0
nop
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140040296
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rbx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140004660
test al, al
jne 0x1400401f1
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400401d6
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400048e0
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.14007e700
nop
mov r9, qword [rsp + 0x48]
mov r8d, 0x1518
lea rdx, str.CCustomizeHP::CheckAutoLogonSkypeRunKey
lea rcx, str._s__d__s
call fcn.14005dbf0
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], 0
jge 0x14004023a
mov ebx, edi
jmp 0x140040260
lea rdx, str.AutoLogon_Skype.cmd
mov rcx, rax
call fcn.1400c4db0
mov rbx, rax
test rax, rax
mov rax, qword [rsp + 0x48]
jne 0x14004025a
mov ebx, edi
jmp 0x140040260
sub rbx, rax
sar rbx, 1
not ebx
shr ebx, 0x1f
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14004027c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
nop
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140040870
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov dword [rsp + 0x50], eax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x38], eax
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [r11 - 0x30]
call fcn.1400278b0
test eax, eax
je 0x1400408f9
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140040981
jmp 0x14004097b
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.SkipActionForS0
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140040973
cmp dword [rsp + 0x40], 4
jne 0x140040973
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x14004094f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140040981
mov r8d, 0x6d
lea rdx, str.CCustomizeHuawei::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005dbf0
mov eax, 1
jmp 0x140040983
test rbx, rbx
je 0x140040981
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140041610
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
movsxd rdi, r8d
mov dword [rsp + 0x30], 0
cmp edi, 0xf
jg 0x14004170d
call fcn.14002a070
mov rbx, rax
test rax, rax
jne 0x140041668
mov r8d, 0x162
lea rdx, str.CCustomizeHuawei::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.14005dbf0
mov edx, edi
mov rcx, rbx
call fcn.140060130
imul rcx, rdi, 0xb0
movzx ebx, word [rcx + rbx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal]
shr ebx, 1
and ebx, 1
mov qword [rsp + 0x38], 0
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140041718
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e2b48]
lea rcx, [rsp + 0x38]
call fcn.140006bc0
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x140161338]
call fcn.14007dbb0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004170d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3

Function at 0x1400422f0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x140042334
call fcn.140040c10
test eax, eax
je 0x140042384
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x42d
call fcn.1400b45d0
mov r8d, 0x2ae
lea rdx, str.CCustomizeHuawei::OnTimer
lea rcx, [0x1400e2bd0]
add rsp, 0x38
jmp fcn.14005dbf0
cmp edx, 0x432
jne 0x140042384
mov r8d, 0x2b4
lea rdx, str.CCustomizeHuawei::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.14005dbf0
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x432
call fcn.1400b45d0
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007dbb0
add rsp, 0x38
ret
Function at 0x140043510
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov ebx, edx
mov rbp, rcx
mov r9d, edx
mov r8d, 0x63
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d_dwTid_d
call fcn.14005dbf0
cmp ebx, 0x437
jne 0x1400437c9
call fcn.14000b5e0
mov rcx, rax
mov edx, ebx
call fcn.1400b45d0
cmp dword [0x14015fb74], 0
jne 0x1400437ef
call fcn.14000b470
mov edx, 1
call fcn.14008ede0
mov qword [rbp + 0x10], rax
mov r9, rax
mov r8d, 0x6b
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d_m_pAudDev_x
call fcn.14005dbf0
cmp dword [0x140161cd4], 0
jne 0x140043741
mov dword [rsp + 0x78], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x88], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140043805
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
lea r14, [0x1400f8f98]
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.140004660
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14004362f
mov rax, rdi
nop dword [rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x140043610
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.1400048e0
nop
mov edx, 0xea60
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x80]
call fcn.1400bc2d0
mov ebx, dword [rsp + 0x78]
mov ecx, ebx
call fcn.1400bf14c
mov rsi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.1400c53e0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x88], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400437fa
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.140004660
test al, al
jne 0x1400436cf
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x1400436b0
mov r8d, edi
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.1400048e0
nop
mov edx, 0xea60
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [rsp + 0x80]
call fcn.1400bc2d0
test eax, eax
je 0x14004370e
mov rdx, qword [rbp + 0x10]
add rdx, 0x10
mov r9d, dword [rsp + 0x78]
mov r8, rsi
lea rcx, [0x140161bb0]
call fcn.1400b85e0
test rsi, rsi
je 0x14004371b
mov rcx, rsi
call fcn.1400beb4c
mov r8d, 0x85
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, [0x1400e2bd0]
call fcn.14005dbf0
cmp dword [0x140161cd4], 0
je 0x1400437ef
mov r8d, 0x8a
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, [0x1400e2bd0]
call fcn.14005dbf0
mov r8d, 0x54
lea rdx, str.CWasapiPlayback::Play
lea rcx, [0x1400e2bd0]
call fcn.14005dbf0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [0x140161bb0]
lea r8, [0x1400b8d60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x436
mov r8d, 0xea60
call fcn.1400b43a0
mov dword [0x14015fb74], 1
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp ebx, 0x436
jne 0x1400437ef
mov r8d, 0x95
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d
call fcn.14005dbf0
call fcn.140043390
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
mov ecx, 0x80004005
call fcn.140004fd0
int3