joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010d530
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1401659c0
mov dword [rsp + 0x60], WSAStartup
mov dword [rsp + 0x64], 0x40
xor esi, esi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov rax, qword [rbx]
mov qword [rsp + 0x78], rax
mov rax, qword [rdi]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x98], rsi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14010d638
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x14010d638
mov edx, 0x1388
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
lea rax, str.ShellExecute_ok_:Execute__s__strApplicationArgument___s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 2]
lea r8, [0x140303c50]
mov edx, 0x80e
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
jmp 0x14010d674
lea rax, str.ShellExecuteEx_failed
mov qword [rsp + 0x30], rax
lea rax, [0x14022aa38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0x812
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010d696
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14010d6b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14010efd0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
movzx eax, dl
mov dword [rsp + 0x58], eax
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14010f06d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.EndpointSwitching
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146480
add rsp, 0x78
ret
Function at 0x14011a7c0
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [rcx + 0x378], 0
mov rbx, rcx
je 0x14011a8da
xor eax, eax
mov qword [r11 + 0x10], rdi
lea rcx, [r11 - 0x30]
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
call fcn.140029e10
mov rax, qword [rsp + 0x58]
shr rax, 0x1b
test al, 1
je 0x14011a825
mov eax, dword [rbx + 0xec]
and eax, 0x10
test al, al
je 0x14011a825
mov dil, 1
jmp 0x14011a828
xor dil, dil
mov rdx, qword [rsp + 0x60]
lea rax, vtable.CMaxxAudioOptions.0
mov qword [rsp + 0x48], rax
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14011a855
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
je 0x14011a8d2
mov rcx, rbx
call fcn.14011fe20
cmp qword [rbx + 0x5a8], 0
jne 0x14011a8d2
xor edi, edi
lea rax, str.Create_ExternalModuleMonitorThread
mov qword [rsp + 0x30], rax
lea r8, [0x140303c50]
lea rax, [0x14022aa38]
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_sharedcontrolmaxxaudioapowinexternalmodule.cpp
lea r9d, [rdi + 3]
mov qword [rsp + 0x20], rdi
lea edx, [rdi + 0x67]
call fcn.1400189f0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x28], rax
lea r8, [0x14011a790]
mov r9, rbx
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x5a8], rax
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146480
add rsp, 0x70
pop rbx
ret

Function at 0x1401207c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rcx + 0x248]
mov dword [rsp + 0x30], 4
mov rbx, rcx
lea r9, [rsp + 0x34]
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea rdx, str.ActiveOutputMode
mov qword [rsp + 0x20], rax
mov rcx, qword [rbx + 0x90]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x24c]
mov rcx, qword [rbx + 0x90]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ActiveSoundMode
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140146480
add rsp, 0x40
pop rbx
ret
Function at 0x140120c30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov rbx, r8
mov rsi, rcx
call fcn.14011fe20
mov rax, qword [rsi + 0x278]
mov qword [rsi + 0x280], rbx
mov qword [rsi + 0x288], rdi
test rax, rax
jne 0x140120ca6
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x14011db50]
mov r9, rsi
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x30], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x278], rax
test rax, rax
setne al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140122be0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x1a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov ebp, r9d
mov r15, r8
mov ebx, edx
mov rsi, rcx
mov edi, dword [rsp + 0x200]
xor r14b, r14b
test r9d, r9d
js 0x140122c2b
test edi, edi
jns 0x140122c44
call fcn.1401207c0
test ebp, ebp
jns 0x140122c3a
mov ebp, dword [rsi + 0x248]
test edi, edi
jns 0x140122c44
mov edi, dword [rsi + 0x24c]
mov r9d, 1
mov r8d, edi
mov edx, ebp
mov rcx, rsi
call fcn.140123f20
mov r13, rax
test rax, rax
je 0x140122d83
cmp byte [rsp + 0x208], 0
je 0x140122d6f
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [r13 + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140122d6f
cmp dword [rsp + 0x38], eax
je 0x140122d6f
xor edx, edx
mov r8d, 0x138
lea rcx, [rsp + 0x50]
call fcn.1401659c0
lea rcx, [rsp + 0x50]
call fcn.1401117c0
nop
lea rcx, [rsi + 0x140]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
mov r8d, edi
mov edx, ebp
call fcn.140114830
mov rdx, qword [rsp + 0x138]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x140122d33
cmp dword [rax + 0x1c], ebx
jae 0x140122d1d
mov rax, qword [rax + 0x10]
jmp 0x140122d23
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140122d12
cmp rcx, rdx
je 0x140122d33
cmp ebx, dword [rcx + 0x1c]
jae 0x140122d36
mov rcx, rdx
cmp rcx, rdx
je 0x140122d60
movsxd rax, dword [rcx + 0x20]
test eax, eax
js 0x140122d60
mov rcx, rax
mov rax, qword [rsp + 0x160]
movsd xmm0, qword [rax + rcx*8]
test r15, r15
je 0x140122d60
movsd qword [r15], xmm0
mov r14b, 1
lea rcx, [rsp + 0x50]
call fcn.140111ac0
test r14b, r14b
jne 0x140122d83
mov r8, r15
mov edx, ebx
mov rcx, r13
call fcn.140126030
test eax, eax
setne al
jmp 0x140122d87
movzx eax, r14b
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140146480
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140122db0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, r8
mov rbx, rcx
mov r8d, edx
lea rcx, [rsp + 0x30]
lea rdx, str.Property_u
mov r14d, r9d
call fcn.14005f330
mov rdi, qword [rbx + 0x470]
mov esi, 0xffffffff
test rdi, rdi
je 0x140122e0e
mov edx, 0xbb8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov esi, eax
mov rcx, qword [rbx + 0x90]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], r14d
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
sete bl
test rdi, rdi
je 0x140122e4e
cmp esi, 0x102
je 0x140122e4e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
movzx eax, bl
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140146480
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140122e70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, r8
mov ebx, edx
mov rdi, rcx
mov r15, qword [rbp + 0x260]
mov r8d, edx
lea rdx, str.Property_u
lea rcx, [rbp + 0x180]
call fcn.14005f330
xor r12d, r12d
mov dword [rbp + 0x160], r12d
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x168]
xor r8d, r8d
lea rdx, [rbp + 0x180]
mov rcx, qword [rdi + 0x90]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov eax, dword [rbp + 0x160]
test eax, eax
je 0x140123079
test r14, r14
je 0x140122f5a
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x168]
xor r8d, r8d
lea rdx, [rbp + 0x180]
mov rcx, qword [rdi + 0x90]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ecx, r12d
test eax, eax
sete cl
test ecx, ecx
je 0x140123079
mov eax, dword [rbp + 0x160]
test r15, r15
je 0x140123079
mov dword [r15], eax
cmp ebx, 1
jne 0x140123079
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea r8d, [rbx + 2]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140021580
nop
mov rdi, qword [rsp + 0x40]
xor sil, sil
test rdi, rdi
je 0x14012304e
mov qword [rbp + 0x168], r12
lea rax, [rbp + 0x168]
mov qword [rsp + 0x20], rax
lea r9, [0x14022ea28]
xor edx, edx
lea r8d, [rbx + 0x16]
lea rcx, [0x14022ea08]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov rbx, qword [rbp + 0x168]
test rbx, rbx
je 0x14012303b
mov qword [rbp + 0x170], r12
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.140021410
nop
mov r9, qword [rbx]
lea r8, [rbp + 0x170]
mov rdx, qword [rax]
mov rcx, rbx
call qword [r9 + 0x28]
mov ebx, eax
lea rax, [rbp + 0x58]
mov rcx, qword [rbp + 0x50]
cmp rcx, rax
je 0x140123011
call fcn.14016e4d0
mov rcx, qword [rbp + 0x170]
test ebx, ebx
js 0x140123026
test rcx, rcx
je 0x140123026
mov sil, 1
jmp 0x140123029
xor sil, sil
test rcx, rcx
je 0x140123034
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rbp + 0x168]
test rbx, rbx
je 0x140123049
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
cmp rdi, rax
je 0x140123060
mov rcx, rdi
call fcn.14016e4d0
test sil, sil
jne 0x14012309c
mov r8d, dword [rbp + 0x160]
xor edx, edx
mov rcx, r14
call fcn.1401659c0
mov dword [r15], r12d
xor al, al
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140146480
add rsp, 0x300
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov al, 1
jmp 0x14012307b
Function at 0x140123130
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14011fe20
mov rax, qword [rsi + 0x258]
mov qword [rsi + 0x260], rbx
mov qword [rsi + 0x268], rdi
test rax, rax
jne 0x1401231a6
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x14011da70]
mov r9, rsi
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x30], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x258], rax
test rax, rax
setne al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140123550
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r9
mov esi, r8d
mov ebp, edx
mov rbx, rcx
call fcn.1401207c0
test ebp, ebp
jns 0x140123582
mov ebp, dword [rbx + 0x248]
test esi, esi
jns 0x14012358c
mov esi, dword [rbx + 0x24c]
mov r9d, 1
mov r8d, esi
mov edx, ebp
mov rcx, rbx
call fcn.140123f20
test rdi, rdi
je 0x14012361c
test rax, rax
je 0x14012361c
xor ecx, ecx
mov dword [rsp + 0x38], 4
mov dword [rdi], ecx
lea r9, [rsp + 0x3c]
mov dword [rsp + 0x34], ecx
lea rdx, str.Type
mov dword [rsp + 0x30], ecx
xor r8d, r8d
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1401235f8
mov eax, dword [rsp + 0x30]
mov dword [rdi], eax
mov al, 1
jmp 0x14012361e
mov rax, qword [rbx]
lea r9, [rsp + 0x34]
mov r8d, esi
mov edx, ebp
mov rcx, rbx
call qword [rax + 0xf8]
test al, al
je 0x140123618
mov eax, dword [rsp + 0x34]
mov dword [rdi], eax
mov al, 1
jmp 0x14012361e
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140146480
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140123940
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x278
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r13d, r9d
mov r12, r8
mov r15d, edx
mov rbx, rcx
mov r14d, dword [rsp + 0x2e0]
mov ebp, dword [rsp + 0x2e8]
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x470]
mov esi, 0xffffffff
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x40], rdi
test rdi, rdi
je 0x1401239bf
mov edx, 0xbb8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov esi, eax
mov dword [rsp + 0x38], eax
mov rcx, rbx
call fcn.1401207c0
test r14d, r14d
jns 0x1401239d3
mov r14d, dword [rbx + 0x248]
test ebp, ebp
jns 0x1401239dd
mov ebp, dword [rbx + 0x24c]
mov r9d, 1
mov r8d, ebp
mov edx, r14d
mov rcx, rbx
call fcn.140123f20
mov rbx, rax
test rax, rax
je 0x140123a36
mov r8d, r15d
lea rdx, str.Property_u
lea rcx, [rsp + 0x50]
call fcn.140025980
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x140123a38
xor bl, bl
test rdi, rdi
je 0x140123a4e
cmp esi, 0x102
je 0x140123a4e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
movzx eax, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140146480
add rsp, 0x278
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140123a80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, qword [rsp + 0x2b0]
mov r14, r8
mov ebp, dword [rsp + 0x2b8]
mov r15d, edx
mov edi, dword [rsp + 0x2c0]
mov rbx, rcx
call fcn.1401207c0
test ebp, ebp
jns 0x140123ad3
mov ebp, dword [rbx + 0x248]
test edi, edi
jns 0x140123add
mov edi, dword [rbx + 0x24c]
xor r9d, r9d
mov r8d, edi
mov edx, ebp
mov rcx, rbx
call fcn.140123f20
mov rbx, rax
test rax, rax
je 0x140123b85
mov r8d, r15d
lea rdx, str.Property_u
lea rcx, [rsp + 0x40]
call fcn.140025980
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x30]
xor edi, edi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140123b85
test r14, r14
je 0x140123b7a
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
sete dil
test edi, edi
je 0x140123b85
mov eax, dword [rsp + 0x30]
test rsi, rsi
je 0x140123b81
mov dword [rsi], eax
mov al, 1
jmp 0x140123b87
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140123bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebx, r8d
mov r14, rdx
mov rdi, rcx
xor sil, sil
test rdx, rdx
je 0x140123c9d
call fcn.1401207c0
test ebx, ebx
jns 0x140123bfd
mov ebx, dword [rdi + 0x248]
mov dword [rsp + 0x38], 0
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x140123cbf
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r8d, ebx
lea rdx, str.SoundModeOnOutput_d
lea rcx, [rsp + 0x40]
call fcn.140021720
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rdi + 0x90]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140123c80
mov eax, dword [rsp + 0x38]
mov dword [r14], eax
mov sil, 1
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140123c9d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, sil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.1400151f0
int3
Function at 0x140123cd0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edi, r8d
mov r15d, edx
mov rsi, rcx
mov r14b, 1
xor eax, eax
mov qword [r11 - 0x50], rax
mov rbp, qword [rcx + 0x470]
mov ebx, 0xffffffff
mov dword [rsp + 0x58], ebx
mov qword [r11 - 0x48], rbp
test rbp, rbp
je 0x140123d3c
mov edx, 0xbb8
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov ebx, eax
mov dword [rsp + 0x58], eax
mov rcx, rsi
call fcn.1401207c0
cmp edi, 0xffffffff
jne 0x140123d4f
mov edi, dword [rsi + 0x248]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
call fcn.140016e40
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov edx, edi
lea rcx, [rsi + 0x140]
call fcn.140114950
mov rax, qword [rsp + 0x38]
mov rdi, qword [rax]
cmp rdi, rax
je 0x140123eae
xor r13d, r13d
nop dword [rax]
mov ebx, dword [rdi + 0x1c]
mov rcx, rsi
call fcn.140124140
xor r9d, r9d
mov r8d, r15d
mov edx, ebx
lea rcx, [rsi + 0x140]
call fcn.1401144f0
test rax, rax
je 0x140123e48
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x140123f07
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8d, dword [rdi + 0x1c]
lea rdx, str.SoundModeOnOutput_d
lea rcx, [rsp + 0x50]
call fcn.140021720
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx r14d, r14b
test eax, eax
cmovne r14d, r13d
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140123e48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
je 0x140123e78
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x140123e73
nop dword [rax]
cmp rdi, qword [rax + 0x10]
jne 0x140123e73
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140123e60
mov rdi, rax
jmp 0x140123e9f
mov rdi, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140123e9f
nop dword [rax]
nop dword [rax + rax]
mov rdi, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140123e90
cmp rdi, qword [rsp + 0x38]
jne 0x140123d90
mov ebx, dword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140016d80
mov edx, 0x20
mov rcx, qword [rsp + 0x38]
call fcn.140146bac
nop
test rbp, rbp
je 0x140123ede
cmp ebx, 0x102
je 0x140123ede
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
movzx eax, r14b
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400151f0
int3