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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15d, r9d
mov r14, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x14009044d
mov r8d, 0x83
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
xor eax, eax
jmp 0x14009051e
test r14, r14
jne 0x14009045a
mov r8d, 0x84
jmp 0x140090433
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x48], rdi
call fcn.140091390
test eax, eax
jne 0x140090497
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.140090660
test eax, eax
jne 0x140090497
mov r8d, 0x8d
jmp 0x1400904f4
mov r9d, 2
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x38]
call fcn.14002b400
mov rbx, qword [rsp + 0x38]
test eax, eax
je 0x1400904be
mov r8d, 0x92
jmp 0x1400904f4
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140090509
mov r8d, 0x96
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
jmp 0x14009050e
mov edi, 1
test rbx, rbx
je 0x14009051c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140090540
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x68
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r9
mov r14, r8
mov rbp, qword [rsp + 0xb0]
test rdx, rdx
jne 0x14009058c
mov r8d, 0xda
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
xor eax, eax
jmp 0x14009063c
test rbp, rbp
jne 0x140090599
mov r8d, 0xdc
jmp 0x140090572
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rax
mov edi, 1
mov r9d, edi
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.14002b400
test eax, eax
je 0x1400905d5
mov r8d, 0xe5
jmp 0x140090612
test rsi, rsi
je 0x1400905df
mov rax, qword [rsi]
jmp 0x1400905e1
xor eax, eax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14009060c
cmp dword [rsp + 0x30], 3
je 0x140090627
mov r8d, 0xe9
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
xor edi, edi
cmp qword [rsp + 0x38], 0
je 0x14009063a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400908e0
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12d, r9d
mov r15, r8
mov r14, rdx
mov rbp, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
or r9d, 0x20006
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14002b400
mov esi, eax
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x14009096e
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test eax, eax
je 0x140090998
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov r8d, 0x147
lea rcx, str._s__d_DeleteValue__x_s_s__nRet_d
jmp 0x140090984
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov r8d, 0x14c
lea rcx, str._s__d_Open__x_s__nRet_d_AccMask_x
mov qword [rsp + 0x20], r14
mov r9, rbp
lea rdx, str.CRegClient::DeleteRegValue
call fcn.14006dd20
test rbx, rbx
je 0x1400909a9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, rdi
test esi, esi
sete dil
test rbx, rbx
je 0x1400909bd
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140090d60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov r12, r8
mov r15, rdx
mov rbp, rcx
mov r14, qword [rsp + 0xd0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x140090efc
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r13, [0x140103060]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140004560
lea rdi, [rbx - 1]
test al, al
jne 0x140090e0f
mov rax, rdi
inc rax
cmp word [r13 + rax*2], 0
jne 0x140090df2
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.1400047f0
nop
mov r9d, 1
mov r8, r15
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
jne 0x140090ea2
mov eax, dword [r14]
add eax, eax
mov dword [rsp + 0x30], eax
mov dword [r14], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140090ea2
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x140090e70
mov eax, SafeArrayDestroy
jmp 0x140090ea0
mov ecx, dword [rsp + 0x30]
test rsi, rsi
je 0x140090e99
test ecx, ecx
je 0x140090e96
test cl, 1
jne 0x140090e8f
mov eax, ecx
shr rax, 1
cmp word [rsi + rax*2 - 2], 0
je 0x140090e99
mov eax, SafeArrayDestroy
jmp 0x140090ea0
mov word [rsi], bx
shr ecx, 1
mov dword [r14], ecx
mov eax, ebx
test eax, eax
sete bl
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140090ecc
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140090edc
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004f30
int3
Function at 0x140091240
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov ebp, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rbx
call fcn.140091390
test eax, eax
jne 0x1400912bb
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.140090660
test eax, eax
jne 0x1400912bb
mov r8d, 0x1e8
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
jmp 0x140091363
mov r9d, 2
mov r8, r14
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14002b400
mov esi, eax
mov r9d, eax
mov r8d, 0x1ee
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.14006dd20
mov rbp, qword [rsp + 0x30]
test esi, esi
jne 0x140091360
test rdi, rdi
jne 0x140091302
lea esi, [rdi + 0xd]
jmp 0x140091342
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140091310
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
mov r9d, esi
mov r8d, 0x1f5
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.14006dd20
test esi, esi
sete bl
test rbp, rbp
je 0x140091371
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400927a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.14002b400
mov ebx, eax
test eax, eax
jne 0x1400928b7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x140092891
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400927a0
mov ebx, eax
test eax, eax
jne 0x1400928b7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x140092840
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400928a6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.14002b2c0
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400928c7
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400928f0
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 - 0x18], 0
lea rax, [r11 - 0x38]
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x30]
mov qword [r11 - 0x20], rax
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x140092ae8
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rbx, str.RtkAudUService
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140004560
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14009298b
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140092970
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400047f0
nop
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x140092add
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rbx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140004560
test al, al
jne 0x1400929eb
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400929d0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400047f0
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140090f10
nop
mov r9, qword [rsp + 0x40]
mov r8d, reloc.OLEAUT32.dll_SafeArrayCopy
lea rdx, str.CRegKeyMgr::CheckRtkAudUServiceRunKey
lea rcx, str._s__d__s
call fcn.14006dd20
lea rsi, [0x1401784b8]
cmp word [0x1401784b8], 0
jne 0x140092a67
mov ebx, 0x22
mov word [0x1401784b8], bx
mov r8d, 0xfe
lea rdx, [0x1401784ba]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrlenW]
movsxd rcx, eax
mov word [rsi + rcx*2], bx
mov rax, qword [rsp + 0x40]
cmp dword [rax - 0x10], 0
jge 0x140092a76
mov ebx, edi
jmp 0x140092a98
mov rdx, rsi
mov rcx, rax
call fcn.1400e5534
mov rbx, rax
test rax, rax
mov rax, qword [rsp + 0x40]
jne 0x140092a92
mov ebx, edi
jmp 0x140092a98
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 0x140092abe
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004f30
nop
mov ecx, 0x80004005
call fcn.140004f30
int3
Function at 0x1400948a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1400948d8
mov r8d, 0x175
lea rdx, str.CRegPKeyReWriter::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006dd20
mov ecx, dword [rdx + 0x1ac]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x140094961
cmp ecx, 4
jne 0x14009494e
call fcn.140006ac0
mov r8, qword [rbx + 0x158]
mov rcx, rax
mov rdx, 0xffffffff80000002
call fcn.1400a58d0
test rax, rax
je 0x14009491a
lea rcx, [rax + 0x20]
lea rdx, [rdi - 8]
call fcn.14000bdd0
call fcn.14000bb10
test dword [rax + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0x100
jne 0x140094940
call fcn.14000bb10
test dword [rax + 0x128], 0x20000
je 0x1400949cc
call fcn.140006ac0
mov r8, qword [rbx + 0x130]
jmp 0x1400949ab
cmp ecx, 5
jne 0x1400949cc
call fcn.140006ac0
mov r8, qword [rbx + 0x130]
jmp 0x1400949ab
call fcn.140006ac0
mov r8, qword [rbx + 0x130]
mov rcx, rax
mov rdx, 0xffffffff80000002
call fcn.1400a58d0
test rax, rax
je 0x14009498e
lea rcx, [rax + 0x20]
lea rdx, [rdi - 8]
call fcn.14000bdd0
call fcn.14000bb10
test dword [rax + 0x1fc], 0x10000000
je 0x1400949cc
call fcn.140006ac0
mov r8, qword [rbx + 0x158]
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.1400a58d0
test rax, rax
je 0x1400949cc
lea rdx, [rdi - 8]
lea rcx, [rax + 0x20]
call fcn.14000bdd0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140095750
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x68]
mov rdi, rdx
test rax, rax
je 0x140095770
cmp qword [rax + 0x10], rdi
je 0x140095794
mov rax, qword [rax]
test rax, rax
jne 0x140095762
mov r8d, 0x9e
lea rdx, str.CRpcServerHelper::StopRpcEventTunnel
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rdi
jmp fcn.14006dd20
add rsp, 0x20
pop rdi
ret
test rdi, rdi
je 0x14009578e
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + 0x78]
mov qword [rsp + 0x40], rsi
call fcn.140095a60
cmp rbx, 1
mov rsi, rax
mov rbx, qword [rsp + 0x30]
jne 0x1400957db
mov r8d, 0x27
lea rdx, str.CRpcClientEventHelper::StopRpcEventTunnelPreHandle
lea rcx, [0x140102ba8]
call fcn.14006dd20
mov edx, 1
xchg byte [rsi + 8], dl
mov rcx, qword [rdi]
call fcn.1400a7730
mov rcx, qword [rdi]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400a7df0
Function at 0x140096a40
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000bd10
mov rcx, rax
call fcn.1400a1a60
call fcn.14000bd10
cmp dword [rax + 0x140], 0
jne 0x140096a99
cmp dword [0x140180270], 0
je 0x140096a99
cmp dword [0x140180274], 0
jne 0x140096a80
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x140096a99
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14006dd20
call fcn.14000bd10
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x140096ad0
nop word [rax + rax]
call fcn.14000bd10
call fcn.14000bd10
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140096acb
call fcn.140096df0
test rbx, rbx
jne 0x140096ab0
call fcn.14000bd10
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x140096af7
mov rcx, qword [rax + 0x150]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp ecx, 0x32
jle 0x140096b1a
mov r8d, 0x80
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
add rsp, 0x20
pop rbx
jmp fcn.14006dd20
add rsp, 0x20
pop rbx
ret
Function at 0x1400980c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rsi, rcx
call fcn.14000bb10
cmp ebx, 0x2c
jne 0x14009821f
mov qword [rsp + 0x78], rbp
xor ebp, ebp
cmp dword [0x140181ea8], ebp
mov dword [rsp + 0x50], ebp
jle 0x14009812b
movups xmm0, xmmword [0x140101c48]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
xor r8d, r8d
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
call fcn.14009e280
jmp 0x14009819f
mov eax, dword [0x140181e78]
mov dword [rsp + 0x54], ebp
test eax, eax
jg 0x140098154
mov r8d, 0x385
lea rdx, str.CDriverPropertyClient::KsProperty
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
jmp 0x14009819f
movups xmm0, xmmword [0x140101c48]
movaps xmmword [rsp + 0x40], xmm0
test eax, eax
jle 0x14009823a
mov rcx, qword [0x140181e70]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x38]
call fcn.14009ecb0
cmp dword [rsp + 0x50], ebp
lea rdx, str.CRtkAudioDriverHelperForNormalUser::IsACPowerStateChanged
mov ebx, dword [rsi + 0x48]
lea rcx, str._s_PowerStateChange_d_SysPowerState_d_DrvAcPowerState_d
mov qword [rsp + 0x80], rdi
mov r8d, ebp
mov edi, ebp
mov r9d, ebx
sete dil
cmp ebx, edi
mov dword [rsp + 0x20], edi
setne r8b
call fcn.14006dd20
cmp ebx, edi
mov dword [rsi + 0x48], edi
mov rdi, qword [rsp + 0x80]
je 0x14009821a
call fcn.14000bd10
mov edx, 1
call fcn.1400a4210
mov r9, rsi
mov qword [rsp + 0x28], rbp
lea r8, [0x140098250]
mov qword [rsi + 0x40], rax
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x50], rax
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rsi
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.140015050
int3
Function at 0x140099070
Capabilities:
Create thread

Disassembly:
cmp r8d, 0x218
jne 0x140099176
push rbx
push rdi
sub rsp, 0x58
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
lea rdx, str.CRtkAudioDriverHelperForNormalUser::OnWindowsPowerMessage
mov r9d, r8d
mov qword [rsp + 0x20], rbx
mov rdi, rcx
mov r8d, 0x168
lea rcx, str._s__d___uMsg___d__wParam___d
call fcn.14006dd20
cmp rbx, 0xa
jne 0x140099163
call fcn.14000bb10
test dword [rax + 0x2ec], 0x100000
je 0x140099163
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rsi
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
mov ebx, dword [rdi + 0x1c]
lea rdx, str.CRtkAudioDriverHelperForNormalUser::OnWindowsPowerMessage
xor esi, esi
lea rcx, str._s_PowerStateChange_d_ACLineStatus_d
cmp byte [rsp + 0x30], sil
setne sil
xor r8d, r8d
cmp ebx, esi
mov r9d, esi
setne r8b
call fcn.14006dd20
cmp ebx, esi
je 0x14009915e
mov dword [rdi + 0x1c], esi
call fcn.14000bd10
mov edx, 1
call fcn.1400a4100
mov qword [rdi + 0x30], rax
test rax, rax
je 0x14009915e
lea r9, [rdi - 0x10]
mov qword [rsp + 0x28], 0
lea r8, [0x140098250]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x40], rax
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x140099720
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xorps xmm0, xmm0
lea rdx, [rcx + 0x2fc]
movups xmmword [rcx + 0x300], xmm0
xor eax, eax
mov rsi, rcx
movups xmmword [rcx + 0x310], xmm0
movups xmmword [rcx + 0x320], xmm0
movups xmmword [rcx + 0x330], xmm0
mov dword [rcx + 0x348], eax
call fcn.14009a770
mov eax, dword [rsi + 0x1c0]
shr eax, 9
xor eax, dword [rsi + 0x300]
and eax, 0x200
xor dword [rsi + 0x300], eax
cmp dword [rsi + 0x2f8], 0
jne 0x140099799
lea rdx, [rsi + 0x340]
xor eax, eax
mov qword [rdx], rax
call fcn.140099f00
test dword [rsi + 0x2fc], 0x200000
je 0x1400997b6
or dword [rsi + 0x90], 3
mov dword [rsi + 0x84], 1
movzx eax, word [rsi + 0x340]
lea r9, [rsi + 0x2e0]
mov word [rsp + 0x28], ax
lea rdx, [rsi + 0x8c]
movzx eax, word [rsi + 0x342]
lea r8, [rsi + 0x2fc]
lea rcx, [rsi + 0x348]
mov word [rsp + 0x20], ax
call fcn.1400028c0
test byte [rsi + 0x2ec], 2
mov edi, 4
mov dword [rsi + 0x88], edi
je 0x140099813
mov edi, 5
mov dword [rsi + 0x88], edi
jmp 0x14009989f
cmp dword [0x140181e78], 0
je 0x140099826
xor edi, edi
mov dword [rsi + 0x88], edi
jmp 0x14009989f
cmp dword [0x140181e98], 0
je 0x14009989f
mov qword [rsp + 0x40], rbp
call fcn.140014b20
mov ebx, dword [0x140181e78]
call fcn.140014b20
mov ebp, dword [0x140181e98]
test ebx, ebx
jne 0x14009988b
test ebp, ebp
je 0x14009988b
xor edi, edi
mov eax, edi
mov ebx, edi
test ebp, ebp
jle 0x140099871
nop dword [rax]
mov ecx, ebx
call fcn.14009ab80
test eax, eax
jne 0x14009988b
inc ebx
cmp ebx, ebp
jl 0x140099860
test eax, eax
jne 0x14009988b
call fcn.14009ac20
test eax, eax
setne dil
add edi, 2
mov dword [rsi + 0x88], edi
jmp 0x14009989a
mov dword [rsi + 0x88], 1
mov edi, 1
mov rbp, qword [rsp + 0x40]
mov r9d, edi
lea rdx, str.CRtkAudioDriverInfo::RefreshDriverDependantMode
mov r8d, 0x2c0
lea rcx, str._s__d_DriverDependantMode_d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14006dd20

Function at 0x1400a1ae0
Capabilities:
Print debug messages

Disassembly:
sub dword [rcx + 0x140], 1
mov eax, dword [rcx + 0x140]
jne 0x1400a1afd
mov rcx, qword [rcx + 0x150]
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp eax, 0x32
jle 0x1400a1b1b
mov r8d, 0x80
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
jmp fcn.14006dd20
ret