joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400adba0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x508]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x1400adbf6
nop dword [rax]
mov rcx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rcx, rcx
je 0x1400adbf1
add rcx, 4
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x1400addd6
test rdi, rdi
jne 0x1400adbd0
mov qword [rsp + 0x70], rbp
mov ecx, BSTR_UserMarshal
mov qword [rsp + 0x78], r14
call fcn.1400f47a0
xor edx, edx
mov r8d, BSTR_UserFree
mov rcx, rax
mov rdi, rax
call fcn.1400fac10
lea rbp, [rdi + 4]
mov edx, 0x7f
mov rcx, rbp
sub rsi, rbp
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400adc5d
movzx eax, word [rsi + rcx]
test ax, ax
je 0x1400adc54
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400adc30
jmp 0x1400adc59
test rdx, rdx
jne 0x1400adc5d
sub rcx, 2
xor r14d, r14d
mov word [rcx], r14w
cmp dword [rbx + 0x4f8], r14d
je 0x1400adce9
mov rcx, qword [rbx + 0x4e0]
mov r9, rdi
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400adcdf
mov eax, dword [rdi]
cmp eax, 4
je 0x1400adca7
cmp eax, 0xb
jne 0x1400adce9
mov dword [rsp + 0x30], 8
jmp 0x1400adcaf
mov dword [rsp + 0x30], 4
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x108]
mov rcx, qword [rbx + 0x4e0]
lea r9, [rsp + 0x34]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
jmp 0x1400adce9
mov dword [rdi + 0x110], 1
mov rsi, qword [rbx + 0x510]
mov rbp, qword [rsp + 0x70]
cmp qword [rbx + 0x528], r14
jne 0x1400add8f
mov ecx, dword [rbx + 0x530]
test rcx, rcx
jne 0x1400add12
mov rcx, r14
jmp 0x1400add30
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x1400addeb
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400addeb
mov rcx, qword [rbx + 0x520]
mov qword [rbx + 0x520], rax
mov r8d, dword [rbx + 0x530]
mov qword [rax], rcx
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x1400add8f
mov rax, qword [rbx + 0x528]
mov qword [rdx], rax
mov qword [rbx + 0x528], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x1400add74
mov rcx, qword [rbx + 0x528]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rdi
mov qword [rbx + 0x528], rax
mov qword [rcx + 8], rsi
mov qword [rcx], r14
inc qword [rbx + 0x518]
mov rax, qword [rbx + 0x510]
test rax, rax
je 0x1400addc3
mov qword [rax], rcx
jmp 0x1400addca
mov qword [rbx + 0x508], rcx
mov r14, qword [rsp + 0x78]
mov qword [rbx + 0x510], rcx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f4410
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.14000ce90
int3
Function at 0x1400ade00
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x60
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 + 0x18], rsi
mov rbp, rcx
mov rsi, qword [rcx + 0x508]
test rsi, rsi
je 0x1400adfb9
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x18], r14
xor r14d, r14d
mov qword [r11 - 0x10], rdi
nop dword [rax]
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
test rbx, rbx
je 0x1400adfa1
mov edi, dword [rbx]
test edi, edi
jne 0x1400ade7d
mov rcx, qword [rbp + 0x4e0]
lea rdx, [rbx + 4]
mov qword [rsp + 0x28], r14
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ade7d
mov edi, dword [rbx]
sub edi, 1
je 0x1400adf89
sub edi, 3
je 0x1400adf13
cmp edi, 7
jne 0x1400adfa1
mov rcx, qword [rbp + 0x4e0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 4]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], r14
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400adfa1
cmp dword [rsp + 0x40], 0xb
jne 0x1400adfa1
mov rcx, qword [rsp + 0x38]
mov eax, r14d
cmp rcx, qword [rbx + 0x108]
setne al
cmp dword [rbx + 0x110], r14d
je 0x1400adf0a
mov dword [rbx + 0x110], r14d
lea eax, [rdi - 6]
mov qword [rbx + 0x108], rcx
jmp 0x1400adf83
mov rcx, qword [rbp + 0x4e0]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 4]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400adfa1
cmp dword [rsp + 0x44], 4
jne 0x1400adfa1
mov ecx, dword [rsp + 0x30]
mov eax, r14d
cmp ecx, dword [rbx + 0x108]
setne al
cmp dword [rbx + 0x110], r14d
je 0x1400adf7d
mov dword [rbx + 0x110], r14d
mov eax, 1
mov dword [rbx + 0x108], ecx
test eax, eax
je 0x1400adfa1
jmp 0x1400adf8e
mov eax, 1
mov dword [rbx + 0x114], eax
mov rcx, qword [rbp + 0x4d0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test rsi, rsi
jne 0x1400ade40
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x78]
cmp dword [rbp + 0x4fc], 0
mov rsi, qword [rsp + 0x80]
je 0x1400adfd7
mov rcx, qword [rbp + 0x4c0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f4410
add rsp, 0x60
pop rbp
ret
Function at 0x1400ae420
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
xor r14d, r14d
mov rcx, rdx
mov esi, r14d
mov rbx, rdx
call fcn.140021020
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x154]
mov r8d, 0x104
call fcn.1400fac10
xor edx, edx
mov dword [rsp + 0x40], 0x104
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400fac10
mov rcx, qword [rbp + 0x4e0]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, esi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov rcx, rbx
mov edi, eax
inc esi
call fcn.140021100
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400ae4e2
mov qword [rcx], rax
jmp 0x1400ae4e5
mov qword [rbx], rax
mov qword [rbx + 8], rax
test edi, edi
je 0x1400ae460
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b0b00
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x1b4]
mov rbx, rcx
test al, al
jne 0x1400b0b89
mov byte [rcx + 0x1b4], 1
call fcn.1400147e0
mov rcx, rax
mov edx, 0x3f3
call fcn.1400e8940
mov rcx, qword [rbx + 0x90]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rbx + 0xa8]
mov edx, 0xea60
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea rdx, str.CRpcClientObject::StopRpcEventTunnel
cmp eax, 0x102
jne 0x1400b0b72
mov r9, rbx
lea r8d, [rax + 0x19]
lea rcx, str._s__d_WaitForSingleObject_hRpcEventTunnelTerminated__60000__timeout_CRpcClientObject_x
add rsp, 0x20
pop rbx
jmp fcn.140075db0
mov r8d, LPSAFEARRAY_UserUnmarshal
lea rcx, [0x14011bca8]
add rsp, 0x20
pop rbx
jmp fcn.140075db0
add rsp, 0x20
pop rbx
ret
Function at 0x1400b10f0
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
movzx eax, byte [rcx + 0x1b4]
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
test al, al
je 0x1400b113b
mov r8d, 0x1ee
lea rdx, str.CRpcClientObject::OnPropertyValueChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.140075db0
cmp dword [rcx + 0x64], 0
je 0x1400b1162
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov r8d, 0x1ef
jmp 0x1400b1119
mov qword [rsp + 0x30], rdi
lock inc dword [rcx + 0x60]
mov ecx, 0x8c
call fcn.1400f47a0
mov rdi, rax
xorps xmm0, xmm0
xor eax, eax
mov r8, rbp
mov rcx, rdi
movups xmmword [rdi], xmm0
lea edx, [rax + 0x3c]
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
mov qword [rdi + 0x80], rax
mov dword [rdi + 0x88], eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movups xmm0, xmmword [rsi]
lea rcx, [rbx + 0x28]
movups xmmword [rdi + 0x78], xmm0
mov eax, dword [rsi + 0x10]
mov dword [rdi + 0x88], eax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0x1b4]
test al, al
jne 0x1400b12c4
cmp qword [rbx + 0xd0], 0
mov rsi, qword [rbx + 0xb8]
jne 0x1400b127e
mov ecx, dword [rbx + 0xd8]
test rcx, rcx
je 0x1400b121f
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x1400b1309
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400b1309
mov rcx, qword [rbx + 0xc8]
mov qword [rbx + 0xc8], rax
mov r8d, dword [rbx + 0xd8]
mov qword [rax], rcx
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x1400b127e
mov rax, qword [rbx + 0xd0]
mov qword [rdx], rax
mov qword [rbx + 0xd0], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x1400b1263
mov rcx, qword [rbx + 0xd0]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rdi
mov qword [rbx + 0xd0], rax
mov qword [rcx + 8], rsi
mov qword [rcx], 0
inc qword [rbx + 0xc0]
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x1400b12b6
mov qword [rax], rcx
jmp 0x1400b12bd
mov qword [rbx + 0xb0], rcx
mov qword [rbx + 0xb8], rcx
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
lock dec dword [rbx + 0x60]
mov eax, dword [rbx + 0x60]
jne 0x1400b12f4
cmp dword [rbx + 0x64], 0
je 0x1400b12f4
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov ecx, 0x8007000e
call fcn.14000ce90
int3
Function at 0x1400b1340
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test al, al
je 0x1400b138b
mov r8d, 0x20e
lea rdx, str.CRpcClientObject::OnRegKeyChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.140075db0
cmp dword [rcx + 0x44], 0
je 0x1400b13b2
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov r8d, 0x20f
jmp 0x1400b1369
mov qword [rsp + 0x38], rbx
lock inc dword [rcx + 0x40]
mov ecx, 0x408
call fcn.1400f47a0
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x408
mov rcx, rax
mov rbx, rax
call fcn.1400fac10
lea rcx, [rbx + 8]
mov r8, rbp
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 0x208]
mov r8, rsi
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rdi + 0x194]
test al, al
jne 0x1400b142a
lea rcx, [rdi + 0x120]
lea rdx, [rsp + 0x30]
call fcn.14000ecc0
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
lock dec dword [rdi + 0x40]
mov eax, dword [rdi + 0x40]
mov rbx, qword [rsp + 0x38]
jne 0x1400b145f
cmp dword [rdi + 0x44], 0
je 0x1400b145f
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b16a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x1ac]
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
test al, al
je 0x1400b16eb
mov r8d, 0x257
lea rdx, str.CRpcClientObject::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.140075db0
cmp dword [rcx + 0x5c], 0
je 0x1400b1712
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov r8d, 0x258
jmp 0x1400b16c9
mov qword [rsp + 0x38], rbx
lock inc dword [rcx + 0x58]
mov ecx, 0x204
call fcn.1400f47a0
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x204
mov rcx, rax
mov rbx, rax
call fcn.1400fac10
mov r8, rbp
mov edx, 0x100
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rdi + 0x20]
mov dword [rbx + 0x200], esi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rdi + 0x1ac]
test al, al
jne 0x1400b177a
lea rcx, [rdi + 0xd8]
lea rdx, [rsp + 0x30]
call fcn.14000ecc0
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
lock dec dword [rdi + 0x58]
mov eax, dword [rdi + 0x58]
mov rbx, qword [rsp + 0x38]
jne 0x1400b17af
cmp dword [rdi + 0x5c], 0
je 0x1400b17af
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b1800
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movzx eax, byte [rcx + 0x1b4]
mov esi, r9d
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
test al, al
je 0x1400b184a
mov r8d, 0x2a2
lea rdx, str.CRpcClientObject::OnServiceEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp fcn.140075db0
cmp dword [rcx + 0x64], 0
je 0x1400b1871
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov r8d, 0x2a3
jmp 0x1400b182a
mov qword [rsp + 0x48], rbx
lock inc dword [rcx + 0x60]
mov ecx, 0x208
call fcn.1400f47a0
xor edx, edx
mov qword [rsp + 0x40], rax
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call fcn.1400fac10
mov r8, r14
mov edx, 0x100
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov dword [rbx + 0x200], ebp
lea rcx, [rdi + 0x28]
mov dword [rbx + 0x204], esi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rdi + 0x1b4]
test al, al
jne 0x1400b18df
lea rcx, [rdi + 0x110]
lea rdx, [rsp + 0x40]
call fcn.14000ecc0
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
lock dec dword [rdi + 0x60]
mov eax, dword [rdi + 0x60]
mov rbx, qword [rsp + 0x48]
jne 0x1400b1914
cmp dword [rdi + 0x64], 0
je 0x1400b1914
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b1a10
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x54], 0
mov rbx, rcx
je 0x1400b1a56
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov r8d, 0x2d8
lea rdx, str.CRpcClientObject::OnTimer
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.140075db0
lock inc dword [rcx + 0x50]
cmp qword [rcx + 0x198], 0
je 0x1400b1b0b
cmp edx, 0x3f3
jne 0x1400b1b0b
mov r9d, dword [rcx + 0x1a0]
test r9d, r9d
je 0x1400b1aeb
lea rax, [rcx - 0x10]
mov r8d, 0x2e1
lea rcx, str._s__d_block_check_EventPostingType_d_CRpcClientObject_x
mov qword [rsp + 0x20], rax
lea rdx, str.CRpcClientObject::OnTimer
call fcn.140075db0
cmp dword [rbx + 0x190], 0
je 0x1400b1ae1
mov dword [rbx + 0x194], 1
call fcn.1400147e0
mov rcx, rax
mov edx, 0x40c
call fcn.1400e8940
call fcn.1400147e0
mov rcx, rax
mov edx, 0x40c
mov r8d, 0xa
call fcn.1400e8700
jmp 0x1400b1aeb
mov dword [rbx + 0x190], 1
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
mov r8d, 0x270f
lea rdx, [0x14011c160]
mov rax, qword [rax]
call qword [case.0x14005eeb3.0]
jmp 0x1400b1b3e
cmp edx, 0x3f8
jne 0x1400b1b3e
call fcn.1400147e0
mov rcx, rax
mov edx, 0x3f8
call fcn.1400e8940
lea rcx, [rbx - 0x10]
xor r9d, r9d
mov r8d, 0x20000005
lea rdx, [0x14011c160]
call fcn.1400b1800
lock dec dword [rbx + 0x50]
mov eax, dword [rbx + 0x50]
jne 0x1400b1b5d
cmp dword [rbx + 0x54], 0
je 0x1400b1b5d
mov rcx, qword [rbx + 0x48]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x30
pop rbx
ret

Function at 0x1400b1b70
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x4c], 0
mov rbx, rcx
je 0x1400b1bb6
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov r8d, 0x2fd
lea rdx, str.CRpcClientObject::OnControlChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140075db0
lock inc dword [rcx + 0x48]
call fcn.1400147e0
mov rcx, rax
mov edx, 0x3f8
mov r8d, 0x64
call fcn.1400e8700
lock dec dword [rbx + 0x48]
mov eax, dword [rbx + 0x48]
jne 0x1400b1bf1
cmp dword [rbx + 0x4c], 0
je 0x1400b1bf1
mov rcx, qword [rbx + 0x40]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x20
pop rbx
ret
Function at 0x1400b1d90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15d, r8d
mov rbp, rdx
mov r13, rcx
mov ecx, BSTR_UserMarshal
call fcn.1400f47a0
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400fac10
xor ebx, ebx
mov word [r14], bx
test rbp, rbp
je 0x1400b1e21
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400b1e1e
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400b1e15
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400b1df0
jmp 0x1400b1e1a
test rdx, rdx
jne 0x1400b1e1e
sub rcx, 2
mov word [rcx], bx
mov dword [r14 + 0x104], r15d
mov esi, 0x63
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x30], ebx
lea r9d, [rsi - 0x62]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140035040
test eax, eax
je 0x1400b1e91
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400b1efc
jmp 0x1400b1ef6
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.s0i3
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b1eee
cmp dword [rsp + 0x38], 4
jne 0x1400b1eee
mov esi, dword [rsp + 0x30]
test rdi, rdi
je 0x1400b1ee7
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, 1
jmp 0x1400b1efc
test rdi, rdi
je 0x1400b1efc
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x48
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s__d_s0i3_d__bSuccess_d
call fcn.140075db0
mov r9d, r15d
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s_Endpoint_s_NewState_d
call fcn.140075db0
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x54
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s__d_PostEvent
call fcn.140075db0
lea rcx, [r13 + 8]
mov rdx, r14
call fcn.140016780
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f4410
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b1f80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
mov r15, rcx
mov ecx, BSTR_UserMarshal
call fcn.1400f47a0
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400fac10
mov r12d, 1
mov word [r14], r12w
xor ebx, ebx
test rbp, rbp
je 0x1400b2020
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400b201d
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400b2014
mov word [rcx], ax
add rcx, 2
sub rdx, r12
jne 0x1400b1ff0
jmp 0x1400b2019
test rdx, rdx
jne 0x1400b201d
sub rcx, 2
mov word [rcx], bx
mov esi, 0x63
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x30], ebx
mov r9d, r12d
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140035040
test eax, eax
je 0x1400b2088
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400b20f1
jmp 0x1400b20eb
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.s0i3
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b20e3
cmp dword [rsp + 0x38], 4
jne 0x1400b20e3
mov esi, dword [rsp + 0x30]
test rdi, rdi
je 0x1400b20de
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, r12d
jmp 0x1400b20f1
test rdi, rdi
je 0x1400b20f1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x69
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, str._s__d_s0i3_d__bSuccess_d
call fcn.140075db0
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, [0x1401683f8]
call fcn.140075db0
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x75
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, str._s__d_PostEvent
call fcn.140075db0
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.140016780
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret