joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017bb0
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r13, r8
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov r15, qword [r8 + 8]
sub r15, qword [r8]
sar r15, 4
lea eax, [r15 + r15*4]
shl eax, 3
movsxd rcx, eax
add rcx, 2
mov eax, 2
mul rcx
mov rbp, 0xffffffffffffffff
cmovo rax, rbp
mov rcx, rax
call fcn.14008b448
mov r12, rax
xor edi, edi
mov qword [rsp + 0x48], rdi
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x140017d88
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov dword [r12], edi
mov esi, edi
test r15d, r15d
jle 0x140017d01
mov r14d, edi
mov r15d, r15d
mov rcx, qword [r13]
add rcx, r14
lea rdx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromCLSID]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x140017c83
mov eax, edi
jmp 0x140017c90
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x140017c86
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.140003400
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140017cb2
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + 0x48], rdi
mov rbx, qword [rsp + 0x50]
movzx eax, word [rbx]
cmp ax, word [0x1400aa028]
je 0x140017cee
movsxd rax, dword [rbx - 0x10]
cmp eax, 0x28
jge 0x140017cee
mov r8, rax
add r8, r8
movsxd rax, esi
lea rcx, [r12 + rax*2]
mov rdx, rbx
call fcn.140091960
add esi, dword [rbx - 0x10]
movsxd rax, esi
mov word [r12 + rax*2], di
inc esi
add r14, 0x10
sub r15, 1
jne 0x140017c63
mov r14, qword [rsp + 0x30]
movsxd rax, esi
mov word [r12 + rax*2], di
test r12, r12
je 0x140017d4c
mov r9, r12
mov rax, rbp
inc rax
cmp word [r9 + rax*2], 0
jne 0x140017d14
inc eax
lea r9, [r9 + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x140017d11
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x140017d63
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.14008ade0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003700
int3
Function at 0x14001caf0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14001cba5
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x14001cb71
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14001cb90
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x14001cb90
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x14001cb90
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x1400fae70], 0
jne 0x14001cbf0
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14001cbe0
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x1400fae68], rax
mov byte [0x1400fae70], 1
jmp 0x14001cbf7
mov rax, qword [0x1400fae68]
mov byte [0x1400fae70], 1
jmp 0x14001cbf7
mov rax, qword [0x1400fae68]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x14001cb7a
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
Function at 0x140020ac0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x140020aea
lea r8d, [rdx + 0x4a]
lea rdx, str.CControlChangeEventNotify::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14003f0e0
lea rcx, [rdx + 0xd0]
call fcn.14000db70
test rax, rax
je 0x140020b0e
mov r8, qword [rax]
lea rdx, [rbx - 8]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [r8 + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140020b20
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x140020b4a
lea r8d, [rdx + 0x59]
lea rdx, str.CControlChangeEventNotify::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14003f0e0
lea rcx, [rdx + 0xd0]
call fcn.14000db70
test rax, rax
je 0x140020b6e
mov r8, qword [rax]
lea rdx, [rbx - 8]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [r8 + 0x40]
add rsp, 0x20
pop rbx
ret
Function at 0x140022680
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r14
sub rsp, 0x38
mov ebx, r8d
mov r14, rdx
test rdx, rdx
jne 0x1400226b7
mov r8d, 0x314
lea rdx, str.CCustomizeAcer::EnableAcerTrueHarmony
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x38
pop r14
pop rbx
jmp fcn.14003f0e0
call fcn.140009760
mov r9d, 1
mov ecx, dword [rax + 0x17c]
and ecx, 0x8000000
test ebx, ebx
je 0x140022836
mov qword [rsp + 0x58], rbp
test ecx, ecx
mov qword [rsp + 0x60], rsi
mov rcx, r14
mov qword [rsp + 0x30], rdi
je 0x14002271c
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 0
lea rdx, [0x1400a8760]
call fcn.1400024c0
mov r8d, dword [rsp + 0x50]
lea rdx, [0x1400a8748]
mov r9d, 1
mov rcx, r14
jmp 0x140022726
mov r8d, r9d
lea rdx, [0x1400a87a8]
call fcn.140002720
xor r9d, r9d
lea r8, str.GFX_StereoEnhance_Enable
lea rdx, str.Acer
lea rcx, [0x1400fa5d0]
call fcn.140003e40
xor r9d, r9d
lea r8, str.RTK_VOICE_ENHANCE
lea rdx, str.Acer
mov ebx, eax
lea rcx, [0x1400fa5d0]
call fcn.140003e40
xor r9d, r9d
lea r8, str.GFX_VirtualBass_Enable
lea rdx, str.Acer
mov edi, eax
lea rcx, [0x1400fa5d0]
call fcn.140003e40
xor r9d, r9d
lea r8, str.RTK_MP3_ENHANCE
lea rdx, str.Acer
mov esi, eax
lea rcx, [0x1400fa5d0]
call fcn.140003e40
mov r9d, 1
lea rdx, [0x1400a8790]
mov r8d, ebx
mov rcx, r14
mov ebp, eax
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8778]
mov r8d, edi
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8730]
mov r8d, esi
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8718]
mov r8d, ebp
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a86e8]
xor r8d, r8d
mov rcx, r14
call fcn.140002720
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x38
pop r14
pop rbx
ret
test ecx, ecx
mov rcx, r14
je 0x140022882
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 0
lea rdx, [0x1400a8748]
call fcn.1400024c0
mov r8d, dword [rsp + 0x50]
lea rdx, [0x1400a8760]
mov r9d, 1
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8748]
mov rcx, r14
jmp 0x140022889
lea rdx, [0x1400a87a8]
xor r8d, r8d
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8790]
xor r8d, r8d
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8778]
xor r8d, r8d
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8730]
xor r8d, r8d
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a8718]
xor r8d, r8d
mov rcx, r14
call fcn.140002720
mov r9d, 1
lea rdx, [0x1400a86e8]
mov r8d, r9d
mov rcx, r14
call fcn.140002720
add rsp, 0x38
pop r14
pop rbx
ret
Function at 0x1400246f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [r11 - 0x40], rcx
lea rax, vtable.CCustomizeGigabyte.1.0
mov qword [rcx], rax
lea rax, vtable.CCustomizeGigabyte.0
mov qword [rcx + 8], rax
xor ebx, ebx
mov qword [rcx + 0x10], rbx
cmp dword [0x1400fa5e0], ebx
je 0x1400248f9
call fcn.140009760
test dword [rax + 0x48], 0x200
je 0x1400248f9
mov ebp, 0x3e7
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x40], ebx
lea r9d, [rbx + 1]
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.14001cc20
test eax, eax
je 0x1400247c3
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14003f0e0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140024819
jmp 0x140024813
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 0x14002480b
cmp dword [rsp + 0x48], 4
jne 0x14002480b
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x140024819
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.140009920
mov rcx, rax
call fcn.140066e30
call fcn.140009920
mov rcx, rax
call fcn.140066dd0
mov rbx, rax
test rbx, rbx
je 0x140024885
call fcn.140009920
call fcn.140009920
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140024836
cmp dword [rcx + 0x180], 1
jne 0x140024836
xor r9d, r9d
mov r8d, ebp
lea rdx, [0x1400a8598]
call fcn.140002720
mov r9d, ebp
mov r8d, eax
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.14003f0e0
call fcn.140009920
mov rcx, rax
call fcn.140066eb0
call fcn.140004f10
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.1400690a0
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400248d8
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.140068b50
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.140004fd0
jmp 0x1400248f9
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.14003f0e0
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008ade0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002a9f0
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 [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.140009760
test byte [rax + 0x264], 0xf
je 0x14002ab62
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 1
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14002ab7a
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, [0x1400a9b08]
lea rcx, [rsp + 0x50]
call fcn.140005270
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 0x14002ab46
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002ab46
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 0x14002ab46
mov r9d, dword [rsp + 0x40]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x1400fa5d0]
mov rax, qword [0x1400fa5d0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0xaaa
lea rdx, str.CCustomizeHP::SyncHpControlDefaultVolume
lea rcx, str._s__d_bSuccess__d__dwForceRestore___d
call fcn.14003f0e0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ab62
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.14008ade0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003700
int3
Function at 0x14002de90
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 0x14002decf
mov r8d, 0xfc8
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.14003f0e0
cmp dword [rdx], 0x30000003
jne 0x14002df57
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14002df62
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdi, [0x1400aa028]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400050d0
test al, al
jne 0x14002df3b
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x14002df20
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140003400
nop
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.140005030
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400878a0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003700
int3

Function at 0x14002f0e0
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 0x14002f1dd
call fcn.1400205f0
mov rbx, rax
test rax, rax
jne 0x14002f138
mov r8d, 0xa8
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.14003f0e0
mov edx, edi
mov rcx, rbx
call fcn.140041150
imul rcx, rdi, 0xac
movzx ebx, word [rcx + rbx + 0x100]
shr ebx, 1
and ebx, 1
mov qword [rsp + 0x38], 0
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14002f1e8
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, [0x1400a9b08]
lea rcx, [rsp + 0x38]
call fcn.140005270
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x1400fa5d8]
call fcn.14005c180
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002f1dd
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.140003700
int3

Function at 0x14002f4a0
Capabilities:
Print debug messages

Disassembly:
test rdx, rdx
jne 0x14002f4be
mov r8d, 0xce
lea rdx, str.CCustomizeHuawei::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
jmp fcn.14003f0e0
cmp dword [rdx + 0x180], 4
jne 0x14002f4ce
xor edx, edx
jmp fcn.14002ec50
ret

Function at 0x14002f4d0
Capabilities:
Print debug messages

Disassembly:
test rdx, rdx
jne 0x14002f4ee
mov r8d, 0xd7
lea rdx, str.CCustomizeHuawei::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
jmp fcn.14003f0e0
cmp dword [rdx + 0x180], 4
je fcn.14002ec50
ret
Function at 0x140035e80
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ebp, r8d
mov esi, edx
mov edi, ecx
xor eax, eax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], 0x1001
mov dword [rsp + 0x74], ecx
mov word [rsp + 0x78], si
mov word [rsp + 0x7a], bp
lea r9, str.RealtekAudioBackgroundProcessClass
lea r8, str.RealtekAudioBackgroundProcessClass
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
mov qword [rsp + 0x60], 0xc
mov qword [rsp + 0x58], 0x2000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x58]
mov r8, qword [0x1400fa590]
mov edx, 0x4a
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x140036042
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0xcb
lea r8, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rdx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
lea rcx, [rsp + 0x80]
call fcn.140005270
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [0x1400f9a88], 0
je 0x140035ffa
cmp dword [0x1400f9a54], 0
jne 0x140035fc2
mov rax, qword [0x1400f5508]
test byte [rax + 0x1c], 1
je 0x140035ffa
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov r9, r14
mov r8d, 0xcf
lea rdx, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rcx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
call fcn.14003f0e0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140036016
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003700
int3
Function at 0x140037b10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rbx, r8
mov edi, edx
mov r8, rcx
mov edx, 0x208
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.1400916b0
xor eax, eax
mov dword [rsp + 0x70], 0x68
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.140036a60
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x140037c08
test edi, edi
je 0x140037bda
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test rbx, rbx
je 0x140037bed
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0x518]
add rsp, 0x500
pop rdi
ret

Function at 0x14003c810
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x14003c878
cmp dword [rdx + 0x158], 1
jne 0x14003c878
cmp dword [0x1400f9a4c], 0
jne 0x14003c878
cmp dword [0x1400f9a48], 0
je 0x14003c878
mov r8d, 0x17a
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400a9e48]
call fcn.14003f0e0
call fcn.14003c270
cmp dword [0x1400f9a4c], 0
jne 0x14003c878
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400a9e48]
add rsp, 0x28
jmp fcn.14003f0e0
add rsp, 0x28
ret
Function at 0x14003f0e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1028
call fcn.140093df0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x1010], rax
cmp dword [0x1400f9a88], 0
je 0x14003f320
cmp dword [0x1400f9a54], 0
jne 0x14003f145
mov rax, qword [0x1400f5508]
test byte [rax + 0x1c], 1
je 0x14003f320
lea rcx, [0x1400f9a60]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rsp + 0x840]
call fcn.1400916b0
lea rbx, [rsp + 0x1048]
mov qword [rsp + 0x48], rbx
call fcn.1400055e0
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x1040]
mov r8d, 0x3e6
lea rdx, [rsp + 0x840]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rax, qword [0x1400f5508]
test byte [rax + 0x1c], 1
je 0x14003f1c0
lea rcx, [rsp + 0x840]
call fcn.14008ac00
cmp dword [0x1400f9a54], 0
je 0x14003f313
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx eax, word [rsp + 0x66]
movzx ecx, word [rsp + 0x64]
movzx r8d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
lea r10, [rsp + 0x840]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._02d:_02d:_02d:_03d___s_n
mov edx, 0x3e6
lea rcx, [rsp + 0x70]
call fcn.14003f460
cmp dword [0x1400f5294], 1
jne 0x14003f2bf
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14003f33a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400050d0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14003f28d
lea rcx, [rsp + 0x70]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14003f270
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003400
nop
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1400fa9d8]
call fcn.14000d940
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14003f313
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003f313
cmp dword [0x1400f9a50], 0
je 0x14003f313
cmp dword [0x1400f5290], 0
je 0x14003f308
mov rdx, qword [0x1400f9a58]
test rdx, rdx
jne 0x14003f2ee
call fcn.14003e910
mov rdx, qword [0x1400f9a58]
test rdx, rdx
je 0x14003f313
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x1400f9a58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14003f313
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x1400f9a60]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x1010]
xor rcx, rsp
call fcn.14008ade0
add rsp, 0x1028
pop rdi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003700
int3