joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018c60
Capabilities:
Create directory
Print debug messages

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x290
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea r14, [0x140303c00]
mov qword [rsp + 0x40], r14
mov rcx, r14
call fcn.140126b90
test eax, eax
je 0x140018cb7
mov ecx, eax
call fcn.1401267a8
nop
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rcx, qword [0x1403011d0]
test rcx, rcx
je 0x140018e50
cmp rax, rcx
jb 0x140018e5d
xor ebp, ebp
mov qword [0x1403011d0], rbp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bp
mov qword [rsp + 0x30], rbp
lea rbx, [0x1402f47b8]
mov rdi, rbx
cmp qword [0x1402f47d0], 8
cmovae rdi, qword [0x1402f47b8]
lea rdx, [0x1402f4798]
cmp qword [0x1402f47b0], 8
cmovae rdx, qword [0x1402f4798]
mov r8, qword [0x1402f47a8]
lea rcx, [rsp + 0x48]
call fcn.140016750
cmp qword [rsp + 0x58], rbp
je 0x140018df7
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.1401659c0
lea rsi, [0x1402f4778]
cmp byte [0x1403011d8], bpl
jne 0x140018d99
mov rcx, rsi
cmp qword [0x1402f4790], 8
cmovae rcx, qword [0x1402f4778]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x140018d92
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x140018d99
mov byte [0x1403011d8], 1
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
cmp qword [0x1402f4790], 8
cmovae rsi, qword [0x1402f4778]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str._s_s.log
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x70]
call fcn.140018960
lea r8, str.a_ccsUNICODE
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140172924
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140018e21
mov r8, rdi
lea rdx, [0x14022aa38]
call fcn.140018910
mov rcx, qword [rsp + 0x30]
call fcn.140172a0c
mov qword [rsp + 0x30], rbp
jmp 0x140018e2a
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov qword [0x1402f47c8], rbp
cmp qword [0x1402f47d0], 8
cmovae rbx, qword [0x1402f47b8]
mov word [rbx], bp
lea rcx, [rsp + 0x48]
call fcn.1400166e0
jmp 0x140018e5d
add rax, 0x3e8
mov qword [0x1403011d0], rax
mov rcx, r14
call fcn.140126bb4
test eax, eax
je 0x140018e71
mov ecx, eax
call fcn.1401267a8
nop
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140019a00
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x478
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140019a9a
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.Debug
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140019ac1
mov dword [0x1403011c0], eax
mov r8d, 0xb
lea rdx, str.WavesSysSvc
lea rcx, [0x1402f4798]
call fcn.140016750
mov edx, 6
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
lea rcx, [rsp + 0x50]
call fcn.140019b20
nop
lea rcx, [rsp + 0x50]
call fcn.140028870
nop
lea rcx, [rsp + 0x50]
call fcn.140019dc0
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140146480
add rsp, 0x478
ret
Function at 0x14001fae0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov rsi, r9
mov rbp, r8
mov edi, 0x80004005
test r8, r8
jne 0x14001fb17
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x14001fbab
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test rsi, rsi
jne 0x14001fb67
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001fbab
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x14001fb9e
cmp qword [rsp + 0x50], rbx
je 0x14001fbab
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140146480
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001fbd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0xc0]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor eax, eax
mov qword [rcx], rax
call fcn.140016290
mov ebp, 1
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001fd2f
mov dword [rsp + 0x50], r15d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x54]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, dword [rsp + 0x50]
test edi, edi
je 0x14001fd24
shr edi, 1
lea edx, [rdi + 1]
test edx, edx
js 0x14001fd4c
mov rax, qword [rsi]
sub ebp, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ebp, ecx
jge 0x14001fcb0
mov rcx, rsi
call fcn.140017100
mov rbx, qword [rsi]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x54]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001fce0
test rax, rax
je 0x14001fcf4
mov word [rbx + rdi*2], r15w
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14001fd01
mov eax, r15d
jmp 0x14001fd0e
movsxd rdx, dword [rcx - 0xc]
call fcn.140172bb4
test eax, eax
js 0x14001fd57
mov rcx, qword [rsi]
cmp eax, dword [rcx - 0xc]
jg 0x14001fd57
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsi]
mov word [rax + rcx*2], r15w
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rax, rsi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146480
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80070057
call fcn.1400151f0
int3
mov ecx, 0x80070057
call fcn.1400151f0
int3
Function at 0x14001fd70
Capabilities:
Delete registry key
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebx, ebx
mov dword [rsp + 0x58], r9d
mov rsi, r8
mov edi, 0x80004005
test r8, r8
jne 0x14001fda5
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x14001fe1e
mov eax, dword [rsp + 0xb0]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x40], r8
or eax, 0x2001f
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x38], r8
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001fe1e
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146480
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001fe40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], r9d
lea rax, [rsp + 0x30]
mov r9d, dword [rsp + 0x80]
mov rbx, r8
or r9d, 0x20019
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001feca
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rdx, rbx
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.140146480
add rsp, 0x50
pop rbx
ret
Function at 0x14001fef0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x58
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, qword [rsp + 0xa0]
lea rax, [rsp + 0x30]
mov rdi, r9
mov qword [rsp + 0x20], rax
mov rsi, r8
xor ebp, ebp
mov r9d, 0x20019
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001ffe3
lea rax, [rsp + 0x38]
mov qword [rdi], rbp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov rdx, rsi
mov qword [rsp + 0x50], rbx
mov dword [r14], ebp
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x38], ebp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14001ffbd
mov eax, dword [rsp + 0x38]
mov ecx, eax
mov dword [r14], eax
call fcn.140146e5c
lea rcx, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x14001ffdc
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001ffdc
call fcn.140146bac
mov qword [rdi], rbp
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140146480
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140020000
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rbp, r9
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x38], rax
mov rsi, r8
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x2001f
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov edi, 0x80004005
mov qword [rsp + 0x50], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140020096
mov eax, dword [rsp + 0xc0]
lea r9d, [rbx + 3]
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140146480
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400200c0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r9
mov r12, r8
mov edi, 0x80004005
xor r13d, r13d
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
cmp qword [rsp + 0x58], r13
je 0x14002027a
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x1400202b3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov esi, r13d
mov rax, qword [r14 + 8]
lea r15d, [r13 + 1]
test rax, rax
je 0x1400201e3
cmp r13, rax
jae 0x14002029d
mov rax, qword [r14]
mov rdx, qword [rax + rsi*8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.14001da80
mov rbx, qword [rsp + 0x60]
movsxd rbp, dword [rbx - 0x10]
lea edi, [rbp + 1]
test edi, edi
js 0x1400202d1
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400201be
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140017100
mov rbx, qword [rsp + 0x60]
mov eax, ebp
mov word [rbx + rax*2], r13w
cmp edi, dword [rbx - 0xc]
jg 0x1400202c6
mov dword [rbx - 0x10], edi
mov word [rbx + rbp*2 + 2], r13w
inc rsi
mov rax, qword [r14 + 8]
cmp rsi, rax
jb 0x140020175
movsxd rsi, dword [rbx - 0x10]
lea edi, [rsi + 1]
test edi, edi
js 0x1400202bb
sub r15d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, r15d
jge 0x140020211
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140017100
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov word [rbx + rax*2], r13w
cmp edi, dword [rbx - 0xc]
jg 0x1400202a8
mov dword [rbx - 0x10], edi
mov word [rbx + rsi*2 + 2], r13w
mov eax, dword [rbx - 0x10]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 7
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14002027a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140146480
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80070057
call fcn.1400151f0
int3
mov ecx, 0x80070057
call fcn.1400151f0
nop
mov ecx, edi
call fcn.1400151f0
nop
mov ecx, 0x80070057
call fcn.1400151f0
int3
mov ecx, 0x80070057
call fcn.1400151f0
int3
mov ecx, 0x80070057
call fcn.1400151f0
int3
Function at 0x140020470
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push r14
sub rsp, 0x278
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r8
lea rax, [rsp + 0x40]
xor r14d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
cmp qword [rsp + 0x40], r14
je 0x1400205cb
mov rcx, qword [rbx]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x2a8], rsi
test rcx, rcx
je 0x1400204ef
mov rdx, qword [rbx + 8]
call fcn.140021b70
mov rcx, qword [rbx]
call fcn.14016e4d0
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov esi, 1
mov qword [rbx + 0x10], r14
mov ebp, r14d
mov qword [rsp + 0x270], rdi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, ebp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x140020578
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jb 0x140020561
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140021a80
test al, al
je 0x1400205cf
mov rax, qword [rbx]
lea rdx, [rsp + 0x50]
lea rcx, [rax + rdi*8]
call fcn.140016290
inc qword [rbx + 8]
jmp 0x140020584
cmp eax, 0x103
mov esi, r14d
setne sil
inc ebp
test esi, esi
jne 0x140020510
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rsp + 0x270]
lea eax, [rsi + 1]
mov rsi, qword [rsp + 0x2a8]
mov rbp, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140146480
add rsp, 0x278
pop r14
pop rbx
ret
xor eax, eax
jmp 0x1400205b0
mov ecx, 0x8007000e
call fcn.1400151f0
int3
Function at 0x1400205e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push r14
sub rsp, 0x278
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r8
lea rax, [rsp + 0x40]
xor r14d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
cmp qword [rsp + 0x40], r14
je 0x14002073b
mov rcx, qword [rbx]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x2a8], rsi
test rcx, rcx
je 0x14002065f
mov rdx, qword [rbx + 8]
call fcn.140021b70
mov rcx, qword [rbx]
call fcn.14016e4d0
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov esi, 1
mov qword [rbx + 0x10], r14
mov ebp, r14d
mov qword [rsp + 0x270], rdi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, ebp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x1400206e8
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jb 0x1400206d1
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140021a80
test al, al
je 0x14002073f
mov rax, qword [rbx]
lea rdx, [rsp + 0x50]
lea rcx, [rax + rdi*8]
call fcn.140016290
inc qword [rbx + 8]
jmp 0x1400206f4
cmp eax, 0x103
mov esi, r14d
setne sil
inc ebp
test esi, esi
jne 0x140020680
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rsp + 0x270]
lea eax, [rsi + 1]
mov rsi, qword [rsp + 0x2a8]
mov rbp, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140146480
add rsp, 0x278
pop r14
pop rbx
ret
xor eax, eax
jmp 0x140020720
mov ecx, 0x8007000e
call fcn.1400151f0
int3

Function at 0x140020db0
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareWaves_Audio
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140020e32
xor edx, edx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rdx, str.SoftwareWaves_Audio
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140146480
add rsp, 0x48
ret
Function at 0x140020e50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140020ee0
test rdi, rdi
jne 0x140020ea7
lea ebx, [rdi + 1]
jmp 0x140020eda
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov dword [rsp + 0x38], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
cmp eax, 2
setne bl
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400210e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x90]
xor eax, eax
mov qword [rsp + 0x40], rax
mov rbx, r8
mov qword [rsp + 0x30], rax
or r9d, 0x20019
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002116f
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
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 rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140146480
add rsp, 0x60
pop rbx
ret
Function at 0x140021190
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xb0]
lea rcx, [r11 - 0x30]
mov qword [r11 - 0x48], rcx
xor ebx, ebx
mov qword [r11 - 0x28], r9
lea rcx, [r11 - 0x38]
mov qword [r11 - 0x50], rcx
or eax, 0x2001f
mov qword [r11 - 0x58], rbx
mov rsi, r8
mov dword [rsp + 0x28], eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x58], ebx
mov qword [r11 - 0x38], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
test rcx, rcx
je 0x140021230
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 8
lea r9d, [rbx + 0xb]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146480
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret