joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007ba20
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rcx + 0x10]
movzx ebp, r8w
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14007baa6
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rcx
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], dx
movzx edx, bp
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x14007bad0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov dword [rsp + 0x20], r8d
mov r9, rdx
lea r8, str._s_failed_w_err_0x_08lx
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14001ff00
mov rdx, qword [rdi + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14007bb79
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ecx
lea edx, [r9 - 1]
mov word [rsp + 0x28], r9w
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
ret
Function at 0x14007be00
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov ebx, eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14007be53
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
jmp 0x14007bf31
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x14007bf2f
cmp eax, 3
jne 0x14007beb8
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
test eax, eax
je 0x14007be48
cmp dword [rsp + 0x3c], 1
je 0x14007bf2f
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x2710
ja 0x14007bf4c
cmp dword [rsp + 0x3c], 3
je 0x14007be65
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x14007be48
cmp dword [rsp + 0x3c], 1
je 0x14007bf2f
nop word [rax + rax]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
test eax, eax
je 0x14007be48
cmp dword [rsp + 0x3c], 1
je 0x14007bf2f
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x2710
ja 0x14007bf4c
cmp dword [rsp + 0x3c], 1
jne 0x14007bee0
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov eax, 0x5b4
jmp 0x14007bf31
Function at 0x14007c440
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, edx
mov rdi, rcx
lea rdx, str.CSilencePlayerMgr::PlayASlienceMS
mov r8d, 0xc7
lea rcx, str._s__d
call fcn.14003f0e0
lea rax, [rsp + 0x30]
mov dword [rdi + 8], ebx
mov qword [rsp + 0x28], rax
lea r8, [0x14007c4c0]
mov r9, rdi
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], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14007cfb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0
mov r9d, 0x11
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlPriorityControl
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007d03b
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], eax
lea rdx, str.ConvertibleSlateMode
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008ade0
add rsp, 0x58
ret

Function at 0x14007d060
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], edx
lea rax, [rsp + 0x30]
mov dword [rsp + 0x40], r8d
lea rdx, str.SOFTWARERealtekRealtekEffectsAP
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007d10c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.AutoRotationState
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, str.SensorIndex
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008ade0
add rsp, 0x58
ret
Function at 0x140080fd0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
sub rsp, 0x28
cmp dword [rcx + 0x130], 0
mov rbp, rcx
mov ebx, edx
je 0x1400811d1
mov qword [rsp + 0x20], rdi
lea rdi, [rcx + 0xe8]
mov r8, qword [rdi]
test r8, r8
je 0x140081022
xor edx, edx
mov eax, ebx
div dword [rdi + 0x10]
mov rax, qword [r8 + rdx*8]
test rax, rax
je 0x140081022
nop dword [rax]
cmp dword [rax + 0x18], ebx
jne 0x140081019
cmp dword [rax], ebx
je 0x14008102e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140081010
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
pop rbx
ret
mov qword [rsp + 0x50], rsi
mov rsi, qword [rax + 8]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CancelWaitableTimer]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140081058
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsi + 0x10], 0
movsxd rax, dword [rsi + 0x18]
mov edx, 0x20
mov rcx, rsi
mov qword [rbp + rax*8 + 0x140], 0
call fcn.14008ae0c
mov r11, qword [rdi]
test r11, r11
je 0x1400810cf
mov esi, dword [rdi + 0x10]
xor edx, edx
mov eax, ebx
xor r9d, r9d
div esi
mov r8, qword [r11 + rdx*8]
test r8, r8
je 0x1400810cf
mov eax, dword [r8 + 0x18]
cmp eax, ebx
jne 0x14008109f
cmp dword [r8], ebx
je 0x1400810ad
mov r9, r8
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x140081092
jmp 0x1400810cf
mov r10, qword [r8 + 0x10]
test r9, r9
jne 0x1400810c0
xor edx, edx
div esi
mov qword [r11 + rdx*8], r10
jmp 0x1400810c4
mov qword [r9 + 0x10], r10
mov rdx, r8
mov rcx, rdi
call 0x14000aaa0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rsi, qword [rsp + 0x50]
mov dword [rbp + 0x138], 1
cmp qword [rdi + 8], 0
je 0x14008118c
mov r8d, dword [rdi + 0x10]
xor edx, edx
test r8d, r8d
je 0x140081114
mov r9, qword [rdi]
mov rcx, qword [r9 + rdx*8]
test rcx, rcx
jne 0x140081120
inc edx
cmp edx, r8d
jb 0x140081104
xor ecx, ecx
test rcx, rcx
je 0x14008118c
nop dword [rax + rax]
mov r11, rcx
test rcx, rcx
je 0x14008115d
mov r9, qword [rcx + 0x10]
test r9, r9
jne 0x14008115a
mov eax, dword [rcx + 0x18]
xor edx, edx
mov r10d, dword [rdi + 0x10]
div r10d
inc edx
nop
cmp edx, r10d
jae 0x14008115a
mov rax, qword [rdi]
mov r8, qword [rax + rdx*8]
test r8, r8
cmovne r9, r8
inc edx
test r9, r9
je 0x140081140
mov rcx, r9
mov r9, qword [r11 + 8]
test r9, r9
je 0x140081187
movsxd r8, dword [rbp + 0x138]
lea eax, [r8 + 1]
mov dword [rbp + 0x138], eax
mov rax, qword [r9 + 0x10]
mov qword [rbp + r8*8 + 0x140], rax
mov dword [r9 + 0x18], r8d
test rcx, rcx
jne 0x140081120
lea rcx, [rbp + 0xb8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov r9d, dword [rbp + 0x138]
lea rdx, str.CTimerEventNotify::KillTimer
mov r8d, 0x9c
lea rcx, str._s__d_m_nhWaitHandlesCount_d
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
pop rbx
jmp fcn.14003f0e0
mov rcx, qword [0x1400fa590]
mov rdx, rbx
add rsp, 0x28
pop rbp
pop rbx
jmp qword [sym.imp.USER32.dll_KillTimer]
Function at 0x1400822a0
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbp
mov r12, rdx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
lea rcx, str.AddPid_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
test r12, r12
jne 0x14008230f
lea r8d, [rbp + 0x30]
lea rdx, str.CVoipStreamCreationTimeMgr::AddPidToEndpointPidList
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.14003f0e0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r15, qword [r12 + 0x28]
test r15, r15
je 0x1400822f5
mov rsi, qword [r15 + 0x10]
mov r15, qword [r15]
test rsi, rsi
je 0x140082314
mov rbx, qword [0x1400f54c0]
test rbx, rbx
je 0x140082314
mov r14, qword [rbx + 0x10]
mov rbx, qword [rbx]
test r14, r14
je 0x1400823ca
call fcn.140003970
test rax, rax
je 0x140082478
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400050d0
test al, al
jne 0x14008239b
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140082380
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140003400
nop
or ebp, 1
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400823ca
mov rcx, qword [r14]
cmp dword [rcx - 0x10], 0
jl 0x1400823ca
call fcn.140091080
test rax, rax
je 0x1400823ca
sub rax, qword [r14]
sar rax, 1
test eax, eax
js 0x1400823ca
mov dil, 1
jmp 0x1400823cd
xor dil, dil
test bpl, 1
je 0x1400823f7
and ebp, 0xfffffffe
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400823f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
jne 0x14008240a
test rbx, rbx
jne 0x140082331
jmp 0x140082314
mov edx, dword [r12]
mov rax, qword [r14 + 8]
test rax, rax
je 0x140082428
cmp dword [rax + 0x10], edx
je 0x140082314
mov rax, qword [rax]
test rax, rax
jne 0x140082417
xor r9d, r9d
mov r8, qword [r14 + 0x10]
lea rcx, [r14 + 8]
call fcn.14000ab30
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140082446
mov qword [rcx], rax
jmp 0x14008244a
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
mov r9d, dword [r12]
mov r8d, 0x41
lea rdx, str.CVoipStreamCreationTimeMgr::AddPidToEndpointPidList
lea rcx, str._s__d_add_process_id__d__to_EndpointId__s__n
call fcn.14003f0e0
jmp 0x140082314
mov ecx, 0x80004005
call fcn.140003700
int3
Function at 0x140082490
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r13, rdx
lea rcx, str.DelPid_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
test r13, r13
jne 0x14008251a
lea r8d, [r13 + 0x4d]
lea rdx, str.CVoipStreamCreationTimeMgr::DelPidOfEndpointPidList
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.14003f0e0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008ade0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, qword [0x1400f54c0]
test r12, r12
je 0x1400824ef
mov r15, qword [r12 + 0x10]
mov r12, qword [r12]
mov eax, dword [r13]
mov rdi, qword [r15 + 8]
test rdi, rdi
je 0x140082521
nop dword [rax]
cmp dword [rdi + 0x10], eax
je 0x14008254f
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140082540
jmp 0x140082521
xor ebp, ebp
mov rsi, qword [r13 + 0x28]
test rsi, rsi
je 0x14008261e
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
call fcn.140003970
test rax, rax
je 0x140082690
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400050d0
test al, al
jne 0x1400825c1
test rbx, rbx
jne 0x14008259f
xor eax, eax
jmp 0x1400825b0
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400825a6
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140003400
nop
mov rdx, qword [r15]
mov rbx, qword [rsp + 0x38]
test rdx, rdx
je 0x1400825f1
cmp dword [rbx - 0x10], 0
jl 0x1400825f1
mov rcx, rbx
call fcn.140091080
test rax, rax
je 0x1400825f1
sub rax, rbx
sar rax, 1
test eax, eax
mov eax, 1
cmovns ebp, eax
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008260d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rsi, rsi
jne 0x14008255e
test ebp, ebp
jne 0x140082521
mov rax, qword [rdi]
cmp rdi, qword [r15 + 8]
jne 0x14008262d
mov qword [r15 + 8], rax
jmp 0x140082634
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
cmp rdi, qword [r15 + 0x10]
jne 0x140082644
mov qword [r15 + 0x10], rax
jmp 0x14008264b
mov rdx, qword [rdi]
mov qword [rdx + 8], rax
mov rax, qword [r15 + 0x28]
mov qword [rdi], rax
mov qword [r15 + 0x28], rdi
sub qword [r15 + 0x18], 1
jne 0x140082666
lea rcx, [r15 + 8]
call fcn.14000a500
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov r9d, dword [r13]
mov r8d, 0x64
lea rdx, str.CVoipStreamCreationTimeMgr::DelPidOfEndpointPidList
lea rcx, str._s__d_del_process_id__d__of_EndpointId__s__n
call fcn.14003f0e0
jmp 0x140082521
mov ecx, 0x80004005
call fcn.140003700
int3
Function at 0x1400826a0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.StartFirstSession_n
mov rbx, rdx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppStartFirstSession
test rbx, rbx
jne 0x1400826d7
lea r8d, [rbx + 0x6d]
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14003f0e0
mov rax, qword [rbx + 0x18]
lea rcx, str._s__d_nProcessType_d_sAppName_s
mov r9d, dword [rbx + 4]
mov r8d, 0x6f
mov qword [rsp + 0x20], rax
call fcn.14003f0e0
mov rdx, rbx
call fcn.1400822a0
mov rdx, rbx
add rsp, 0x30
pop rbx
jmp fcn.140082880

Function at 0x140082710
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.EndLastSession_n
mov rbx, rdx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppEndLastSession
test rbx, rbx
jne 0x140082747
lea r8d, [rbx + 0x79]
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14003f0e0
mov rax, qword [rbx + 0x18]
lea rcx, str._s__d_nProcessType_d_sAppName_s
mov r9d, dword [rbx + 4]
mov r8d, 0x7b
mov qword [rsp + 0x20], rax
call fcn.14003f0e0
mov rdx, rbx
call fcn.140082490
mov rdx, rbx
add rsp, 0x30
pop rbx
jmp fcn.140082880

Function at 0x140082780
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.TypeChange_n
mov rbx, rdx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionTypeChange
test rbx, rbx
jne 0x1400827b9
mov r8d, 0x85
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14003f0e0
mov rax, qword [rbx + 0x18]
lea rcx, str._s__d_nProcessType_d_sAppName_s
mov r9d, dword [rbx + 4]
mov r8d, 0x87
mov qword [rsp + 0x20], rax
call fcn.14003f0e0
mov rdx, rbx
call fcn.1400822a0
mov rdx, rbx
call fcn.140082490
mov rdx, rbx
add rsp, 0x30
pop rbx
jmp fcn.140082880

Function at 0x140082800
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.DeviceChange_n
mov rbx, rdx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionAudioDeviceChange
test rbx, rbx
jne 0x140082839
mov r8d, 0x92
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14003f0e0
mov rax, qword [rbx + 0x18]
lea rcx, str._s__d_nProcessType_d_sAppName_s
mov r9d, dword [rbx + 4]
mov r8d, 0x94
mov qword [rsp + 0x20], rax
call fcn.14003f0e0
mov rdx, rbx
call fcn.1400822a0
mov rdx, rbx
call fcn.140082490
mov rdx, rbx
add rsp, 0x30
pop rbx
jmp fcn.140082880
Function at 0x1400830e0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rcx, str.OnRemoveDevice_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
test rbp, rbp
jne 0x140083143
mov r8d, 0x12f
lea rdx, str.CVoipStreamCreationTimeMgr::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.14003f0e0
jmp 0x140083279
mov rdi, qword [0x1400f54c0]
test rdi, rdi
je 0x140083279
mov r14, qword [rdi + 0x10]
mov rdi, qword [rdi]
test r14, r14
je 0x1400831f9
mov rbx, qword [rbp + 0x148]
call fcn.140003970
test rax, rax
je 0x14008329b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400050d0
test al, al
jne 0x1400831cb
test rbx, rbx
jne 0x1400831a4
xor eax, eax
jmp 0x1400831ba
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400831b0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003400
nop
or esi, 1
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400831f9
mov rcx, qword [r14]
cmp dword [rcx - 0x10], 0
jl 0x1400831f9
call fcn.140091080
test rax, rax
je 0x1400831f9
sub rax, qword [r14]
sar rax, 1
test eax, eax
js 0x1400831f9
mov bl, 1
jmp 0x1400831fb
xor bl, bl
test sil, 1
je 0x140083225
and esi, 0xfffffffe
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140083225
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14008314a
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
lea r9d, [rax + 0x14]
lea r8, [rsp + 0x40]
lea rdx, [0x1400a8b98]
mov rcx, rbp
call fcn.140002d50
test eax, eax
jne 0x140083279
mov r9, qword [rbp + 0x148]
mov r8d, 0x13c
lea rdx, str.CVoipStreamCreationTimeMgr::OnRemoveDevice
lea rcx, str._s__d_pAudDev__m_szEndpointId_s__set_FxProperty_PKey_PKEY_RTK_AUDIO_VOIP_STREAM_CREATION_TIME_fail
call fcn.14003f0e0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008ade0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140003700
int3
Function at 0x140084290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
sub rsp, 0x160
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
test rdx, rdx
jne 0x1400842ba
xor eax, eax
jmp 0x1400844c1
mov qword [rcx + 8], rdx
xor edx, edx
mov qword [rsp + 0x180], rbp
xor ebp, ebp
mov dword [rcx + 0xf8], ebp
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x188], rdi
lea r8d, [rbp + 0x64]
call fcn.1400916b0
xor edx, edx
lea r8d, [rbp + 0x64]
lea rcx, [rsp + 0x20]
call fcn.1400916b0
lea r8, [0x1400c2a68]
xor ecx, ecx
lea edx, [rbp + 0x6d]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14008447e
mov rdx, rax
mov qword [rsp + 0x178], rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rdx, rdi
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
xor r8d, r8d
mov dword [rsp + 0x24], 0x204d454d
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x3c], edi
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioOpenW]
lea r9d, [rbp + 0x20]
mov dword [rsp + 0xb0], 0x45564157
mov rcx, rax
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
test eax, eax
jne 0x14008446b
lea r9d, [rbp + 0x10]
mov dword [rsp + 0x90], 0x20746d66
lea r8, [rsp + 0xa8]
mov rcx, rbx
lea rdx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
test eax, eax
jne 0x14008446b
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioAscend]
lea r9d, [rbp + 0x10]
mov dword [rsp + 0xc0], 0x61746164
lea r8, [rsp + 0xa8]
mov rcx, rbx
lea rdx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
test eax, eax
jne 0x14008446b
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioAscend]
mov edx, dword [rsp + 0x9c]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioSeek]
mov r8d, dword [rsp + 0x94]
lea rdi, [rsi + 0xfc]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioRead]
cmp dword [rsp + 0x94], eax
jne 0x14008446b
mov eax, dword [rsp + 0xc4]
xor edx, edx
mov qword [rsi + 0x18], rdi
mov dword [rsi + 0x20], eax
movzx ecx, word [rsi + 0x108]
div ecx
mov dword [rsi + 0x24], eax
jmp 0x140084476
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
mov rbx, qword [rsp + 0x178]
mov rax, qword [rsi + 0x18]
lea rcx, [rsi + 0x28]
mov dword [rsi + 0x114], ebp
mov word [rax + 0x10], bp
call fcn.140085cf0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov rdi, qword [rsp + 0x188]
mov rbp, qword [rsp + 0x180]
mov qword [rsi + 0xf0], rax
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008ade0
add rsp, 0x160
pop rsi
ret