joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff70b57bdb0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xf8
mov esi, dword [rsp + 0x178]
mov ebp, r9d
movaps xmmword [rax - 0x48], xmm6
mov rdi, rcx
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov qword [rax + 0x10], r12
mov r12d, r8d
mov qword [rax - 0x38], r13
lea r8, [rax + 8]
mov r13, rdx
mov edx, esi
call fcn.7ff70b579d10
movss xmm8, dword [rsp + 0x170]
xor ebx, ebx
mov edx, esi
movss xmm9, dword [rsp + 0x168]
mov rcx, rdi
movss xmm6, dword [rsp + 0x160]
movss xmm7, dword [rsp + 0x158]
mov dword [rsp + 0x140], eax
cmp dword [rdi + 0x44], ebx
je 0x7ff70b57be86
xorps xmm0, xmm0
mov qword [rsp + 0x78], 1
xorps xmm1, xmm1
mov qword [rsp + 0xa0], rbx
lea r8, [rsp + 0x78]
mov dword [rsp + 0xa8], ebx
movups xmmword [rsp + 0x80], xmm0
movdqu xmmword [rsp + 0x90], xmm1
call fcn.7ff70b578c70
test eax, eax
mov r10d, ebx
mov edi, ebx
cmovne r10d, dword [rsp + 0x90]
cmovne edi, dword [rsp + 0x9c]
jmp 0x7ff70b57bece
call fcn.7ff70b577900
test eax, eax
js 0x7ff70b57bf0a
mov r8, qword [rdi]
mov r11d, 0x100
movsxd r9, eax
movsx eax, r11w
movsx ecx, r11w
movzx edx, byte [r9 + r8 + 2]
imul edx, eax
movzx eax, byte [r9 + r8 + 3]
add dx, ax
movzx eax, byte [r9 + r8 + 9]
movsx r10d, dx
movzx edx, byte [r9 + r8 + 8]
imul edx, ecx
add dx, ax
movsx edi, dx
xorps xmm0, xmm0
cvtsi2ss xmm0, r10d
mulss xmm0, xmm7
addss xmm0, xmm9
call fcn.7ff70b4ddf70
cvttss2si r14d, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
call fcn.7ff70b5002e0
mulss xmm0, xmm6
addss xmm0, xmm8
call fcn.7ff70b4ddf70
cvttss2si r15d, xmm0
jmp 0x7ff70b57bf10
mov r14d, ebx
mov r15d, ebx
mov eax, dword [rsp + 0x150]
test r12d, r12d
mov rsi, qword [rsp + 0x130]
mov qword [rsp + 0x70], r13
mov r13, qword [rsp + 0xf0]
mov dword [rsp + 0x60], r12d
mov r12, qword [rsp + 0x138]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x64], ebp
je 0x7ff70b57bffb
test ebp, ebp
je 0x7ff70b57bffb
mov ecx, 0x3eb33333
call fcn.7ff70b500310
mov edx, dword [rsp + 0x140]
lea rax, [rsp + 0x150]
movaps xmm1, xmm6
mov dword [rsp + 0x150], ebx
minss xmm1, xmm7
mov qword [rsp + 0x130], rbx
lea r9, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov rcx, rsi
divss xmm0, xmm1
movaps xmm2, xmm0
call fcn.7ff70b57ba60
mov rdi, rax
test rax, rax
je 0x7ff70b57bffb
mov r9d, dword [rsp + 0x150]
lea rcx, [rsp + 0x60]
mov r8, qword [rsp + 0x130]
mov rdx, rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r14d
movss dword [rsp + 0x38], xmm8
movss dword [rsp + 0x30], xmm9
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm7
call fcn.7ff70b57aff0
mov rcx, qword [rsp + 0x130]
call fcn.7ff70b4dd700
mov rcx, rdi
call fcn.7ff70b4dd700
mov rcx, rsi
lea r11, [rsp + 0xf8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.7ff70b4dd700
Function at 0x1406b0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406b01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406b0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406b006f
add dl, dl
jne 0x1406b0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406b00f6
xor eax, eax
add dl, dl
jne 0x1406b00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406b01ad
add dl, dl
jne 0x1406b00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406b00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406b007e
mov eax, 1
add dl, dl
jne 0x1406b0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406b00fb
sub eax, ebx
mov ebx, 1
jne 0x1406b014c
mov ecx, 1
add dl, dl
jne 0x1406b012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406b013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406b0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406b007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406b0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406b0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406b015d
cmp eax, 0x7d00
jae 0x1406b019b
cmp eax, 0x500
jb 0x1406b0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406b007e
cmp eax, 0x7f
ja 0x1406b019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406b007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406b01d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406b007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400057c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test rax, rax
jne 0x1400057f3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000583a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140005835
nop
cmp rbx, rcx
jae 0x14000583a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140005820
cmp rbx, rcx
jb 0x14000583e
xor eax, eax
jmp 0x14000584a
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b4f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor edi, edi
add rcx, 8
mov dword [rcx + 0x28], edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
mov qword [rbx + 0x38], rdi
lea rax, vtable.CAsyncEventNotifyBase.0
mov qword [rbx], rax
lea r8, [0x14000b6c0]
mov qword [rbx + 0x40], rdi
lea rax, [rsp + 0x30]
mov dword [rbx + 0x48], edi
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], rdi
mov qword [rbx + 0x60], rdi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], rdi
mov dword [rbx + 0x78], 0xa
mov dword [rsp + 0x30], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x38], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbx + 0x40], rax
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140078ef0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000f830
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
test rdx, rdx
mov rbx, rcx
lea rdx, str.CAudioDeviceMuteStateHandler::OnRemoveDevice
jne 0x14000f85c
mov r8d, 0x14b
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140032320
mov r8d, 0x14d
lea rcx, [0x1400937f8]
call fcn.140032320
cmp dword [rbx + 0x30], 0
je 0x14000f88c
call fcn.140009aa0
mov rcx, rax
mov edx, 0x3fd
mov r8d, 0xc8
call fcn.1400710a0
cmp dword [rbx + 0x2c], 0
je 0x14000f8af
call fcn.140009aa0
mov rcx, rax
mov edx, 0x3fe
mov r8d, 0xc8
add rsp, 0x20
pop rbx
jmp fcn.1400710a0
add rsp, 0x20
pop rbx
ret
Function at 0x1400113b0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp dword [rcx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400113fe
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140032320
mov r8d, 0xe8
lea rdx, str.CAudioDeviceSessionEvents::AddNewAudioSession
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.140032320
mov qword [rsp + 0x50], rsi
mov eax, 1
mov qword [rsp + 0x20], r14
lock xadd dword [rcx + 0x120], eax
mov ecx, 0x28
call fcn.14007953c
mov rsi, rax
mov qword [rsp + 0x40], rax
xor eax, eax
xor r14d, r14d
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov qword [rsi + 0x10], rax
lea rax, vtable.CAudioSessionEvents.0
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], r14
call fcn.140013390
test eax, eax
je 0x1400114b4
lea rdi, [rbx + 0x138]
mov qword [rsp + 0x48], rbp
mov rbp, qword [rdi + 8]
mov rcx, rdi
call fcn.140005600
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rax]
test rax, rax
je 0x140011485
mov qword [rax + 0x10], rsi
mov qword [rdi + 0x20], rcx
mov qword [rax + 8], rbp
mov rbp, qword [rsp + 0x48]
mov qword [rax], r14
inc qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400114ab
mov qword [rcx], rax
mov qword [rdi + 8], rax
jmp 0x1400114bc
mov qword [rdi], rax
mov qword [rdi + 8], rax
jmp 0x1400114bc
mov rcx, rsi
call fcn.140011120
or eax, 0xffffffff
lock xadd dword [rbx + 0x120], eax
mov eax, dword [rbx + 0x120]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
test eax, eax
jne case.default.0x1400114f0
cmp dword [rbx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], eax
je case.default.0x1400114f0
mov rcx, qword [rbx + 0x118]
add rsp, 0x28
pop rdi
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x140014df0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140014e26
lea r8d, [rdx + 0x1a]
lea rdx, str.CBssGeneralConditionsMgr::SyncAudioDeviceConditions
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140032320
cmp dword [rdx + 0x180], 4
jne 0x140014ed0
cmp dword [rdx + 0x150], 0
jne 0x140014e49
cmp dword [rdx + 0x16c], 0
je 0x140014ed0
mov rax, qword [rdx + 0x18]
lea rcx, str._s__d__s__s
mov r9, qword [rdx + 0x10]
mov r8d, 0x1e
lea rdx, str.CBssGeneralConditionsMgr::SyncAudioDeviceConditions
mov qword [rsp + 0x20], rax
call fcn.140032320
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140064670
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.1400153a0
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbx + 0x10]
call qword [rax]
xor r9d, r9d
mov dword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
mov rcx, rbx
lea rdx, [0x1400924a0]
call fcn.140002db0
test eax, eax
jne 0x140014ed0
mov rdx, rbx
mov rcx, rdi
call fcn.140014fd0
mov rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rdi
call fcn.1400150f0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140016730
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14001675a
lea r8d, [rdx + 0x4a]
lea rdx, str.CControlChangeEventNotify::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140032320
lea rcx, [rdx + 0xd0]
call fcn.14000d7a0
test rax, rax
je 0x14001677e
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 0x140016790
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x1400167ba
lea r8d, [rdx + 0x59]
lea rdx, str.CControlChangeEventNotify::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140032320
lea rcx, [rdx + 0xd0]
call fcn.14000d7a0
test rax, rax
je 0x1400167de
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 0x1400194e0
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
jmp 0x1400194e0
push rbp
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x510], rbx
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rsp + 0x60]
call fcn.140081670
mov dword [rsp + 0x4c], 3
mov dword [rsp + 0x48], 0x64
mov qword [rsp + 0x38], 0
xor eax, eax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.140057f00
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14001957f
mov r8d, 0x3a
jmp 0x1400195cf
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x14001958f
lea r8d, [rcx + 0x3b]
jmp 0x1400195cf
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.AsusPresetInformation
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x1400195e7
mov r8d, 0x40
lea rdx, str.CCustomizeASUS::WritePreset
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140032320
jmp 0x1400196b7
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.140081670
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.140081670
mov qword [rsp + 0x40], 0
lea rdx, [rbp + 0x1e0]
call fcn.140019700
lea rax, str.ASUS.txt
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e0]
lea r8, [0x1400934b8]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.140015900
lea r8, [0x140098ac0]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov ebx, eax
test eax, eax
jne 0x14001968e
mov edx, dword [rsp + 0x48]
mov r9, qword [rsp + 0x40]
lea r8d, [rax + 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__flushall]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9d, eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r8d, ebx
lea rdx, str.CCustomizeASUS::WritePreset
lea rcx, str._s_err_d_LastErr_d_szFile_s
call fcn.140032320
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400196d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140078ef0
mov rbx, qword [rsp + 0x510]
add rsp, 0x500
pop rbp
ret
Function at 0x140019700
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.140081670
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x24]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140019750
cmp word [rsp + rax*2 + 0x1e], 0x5c
jne 0x14001977b
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x1400197b6
xor ecx, ecx
mov word [rsp + rax + 0x20], cx
lea rcx, [rsp + 0x20]
call fcn.140019380
lea r8, [rsp + 0x20]
mov edx, 0x103
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140078ef0
add rsp, 0x240
pop rbx
ret
call fcn.140079768
int3
Function at 0x14001b500
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
call fcn.14002b6e0
call fcn.140009750
test dword [rax + 0xac], 0x100
je 0x14001b524
mov ecx, 1
call fcn.14001b9f0
call fcn.140009750
test byte [rax + 0x264], 0xf
je 0x14001b563
call fcn.140009750
mov ecx, dword [rax + 0x264]
shr ecx, 5
movzx eax, cl
mov dword [0x1400da49c], eax
call fcn.140009750
mov ecx, dword [rax + 0x264]
shr ecx, 4
and ecx, 1
add rsp, 0x28
jmp 0x14001bb70
add rsp, 0x28
ret
push rbx
sub rsp, 0x20
mov ebx, ecx
lea rdx, str.CCustomizeHP::SetForceRestoreToDefaultWhenReboot
mov r9d, ecx
mov r8d, 0x336
lea rcx, str._s__d_bForceRestore___d
call fcn.140032320
mov rax, qword [0x1400db260]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x1400db260]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x14001bbdb
mov r9d, ebx
lea rdx, str.CCustomizeHP::SetForceRestoreToDefaultWhenReboot
mov r8d, 0x33c
lea rcx, str._s__d_SetPresetAutoSwitchDefaultValue_fail__bForceRestore___d
add rsp, 0x20
pop rbx
jmp fcn.140032320
mov rax, qword [0x1400db260]
lea r8, str.ForceRestoreDefaultVolumeValue
mov r9d, dword [0x1400da49c]
lea rdx, str.Others
lea rcx, [0x1400db260]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test ebx, ebx
je 0x14001bd13
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call fcn.1400099e0
or edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
inc dword [rbx + 0x138]
call fcn.1400099e0
mov rcx, rax
call fcn.140058ab0
mov rdi, rax
test rax, rax
je 0x14001bc9f
call fcn.1400099e0
call fcn.1400099e0
test rdi, rdi
je 0x14001bd19
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x14001bc9a
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp dword [rbx + 0x58], 0
jne 0x14001bc7d
mov rcx, rbx
call fcn.1400118d0
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp dword [rbx + 0x8c], 0
je 0x14001bc9a
xor edx, edx
mov rcx, rbx
call fcn.14001ede0
test rdi, rdi
jne 0x14001bc46
call fcn.1400099e0
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x14001bcd3
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je 0x14001bccb
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14001bcf1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
jmp 0x14001bcf1
cmp ecx, 0x32
jle 0x14001bcf1
mov r8d, 0x6f
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140032320
call fcn.140009aa0
mov rcx, rax
mov edx, 0x408
mov r8d, 0xbb8
call fcn.1400710a0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003fc0
int3
Function at 0x14001bb70
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
call fcn.14002b6e0
call fcn.140009750
test dword [rax + 0xac], 0x100
je 0x14001b524
mov ecx, 1
call fcn.14001b9f0
call fcn.140009750
test byte [rax + 0x264], 0xf
je 0x14001b563
call fcn.140009750
mov ecx, dword [rax + 0x264]
shr ecx, 5
movzx eax, cl
mov dword [0x1400da49c], eax
call fcn.140009750
mov ecx, dword [rax + 0x264]
shr ecx, 4
and ecx, 1
add rsp, 0x28
jmp 0x14001bb70
add rsp, 0x28
ret
push rbx
sub rsp, 0x20
mov ebx, ecx
lea rdx, str.CCustomizeHP::SetForceRestoreToDefaultWhenReboot
mov r9d, ecx
mov r8d, 0x336
lea rcx, str._s__d_bForceRestore___d
call fcn.140032320
mov rax, qword [0x1400db260]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x1400db260]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x14001bbdb
mov r9d, ebx
lea rdx, str.CCustomizeHP::SetForceRestoreToDefaultWhenReboot
mov r8d, 0x33c
lea rcx, str._s__d_SetPresetAutoSwitchDefaultValue_fail__bForceRestore___d
add rsp, 0x20
pop rbx
jmp fcn.140032320
mov rax, qword [0x1400db260]
lea r8, str.ForceRestoreDefaultVolumeValue
mov r9d, dword [0x1400da49c]
lea rdx, str.Others
lea rcx, [0x1400db260]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test ebx, ebx
je 0x14001bd13
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call fcn.1400099e0
or edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
inc dword [rbx + 0x138]
call fcn.1400099e0
mov rcx, rax
call fcn.140058ab0
mov rdi, rax
test rax, rax
je 0x14001bc9f
call fcn.1400099e0
call fcn.1400099e0
test rdi, rdi
je 0x14001bd19
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x14001bc9a
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp dword [rbx + 0x58], 0
jne 0x14001bc7d
mov rcx, rbx
call fcn.1400118d0
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp dword [rbx + 0x8c], 0
je 0x14001bc9a
xor edx, edx
mov rcx, rbx
call fcn.14001ede0
test rdi, rdi
jne 0x14001bc46
call fcn.1400099e0
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x14001bcd3
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je 0x14001bccb
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14001bcf1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
jmp 0x14001bcf1
cmp ecx, 0x32
jle 0x14001bcf1
mov r8d, 0x6f
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140032320
call fcn.140009aa0
mov rcx, rax
mov edx, 0x408
mov r8d, 0xbb8
call fcn.1400710a0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003fc0
int3