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

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x30], 0xfffffffffffffffe
xor esi, esi
mov dword [rbp + 0x28], esi
call fcn.140028d50
test eax, eax
je 0x140015c7b
call fcn.140028ed0
test eax, eax
jne 0x140015c7b
call fcn.140029050
test eax, eax
je 0x140015bea
mov eax, 1
add rsp, 0x78
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 1
call fcn.140029190
lea rcx, [rbp + 0x28]
call fcn.140015a70
lea rax, [rbp - 0x38]
mov qword [rbp + 0x30], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140015de1
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdi, str.DolbyPrevPreset
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
test al, al
jne 0x140015c5c
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140015c42
mov r8d, ebx
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.1400054e0
nop
mov r8d, dword [rbp + 0x28]
lea rdx, [rbp - 0x38]
lea rcx, str.SOFTWARERealtekRealtekEffectsBG
call fcn.140012b20
mov r8d, 3
jmp 0x140015db2
mov dword [rbp + 0x30], esi
call fcn.140029050
test eax, eax
je 0x140015bdc
xor ecx, ecx
call fcn.140029190
lea rcx, [rbp + 0x30]
call fcn.140015a70
cmp dword [rbp + 0x30], 3
jne 0x140015bdc
lea rax, [rbp - 0x40]
mov qword [rbp + 0x38], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140015dd6
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rdi, str.DolbyPrevPreset
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400050a0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x140015d0a
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140015cf0
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400054e0
nop
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], esi
mov qword [rbp - 0x18], rsi
mov dword [rbp + 0x38], esi
mov r9d, 1
lea r8, str.SOFTWARERealtekRealtekEffectsBG
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.14000e2b0
test eax, eax
je 0x140015d44
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140015d93
jmp 0x140015d8d
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x48]
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140015d85
cmp dword [rbp - 0x48], 4
jne 0x140015d85
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x28], eax
test rdi, rdi
je 0x140015d93
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140015dae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, dword [rbp + 0x28]
lea rdx, [0x140281950]
lea rcx, str.SOFTWAREDolbyPCEE4DynamicKeys
call fcn.140012cc0
test eax, eax
setne sil
mov eax, esi
add rsp, 0x78
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x140015df0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
lea rax, [rbp - 0x30]
mov qword [rbp + 0x30], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140015f67
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdi, str.DD0DF94B_53A2_4A92_854E_91F42E28FD7B_1
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1400050a0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x140015e6a
mov rax, rbx
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x140015e50
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1400054e0
nop
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x18], r14d
mov qword [rbp - 0x10], r14
mov dword [rbp + 0x30], r14d
mov esi, 1
mov r9d, esi
lea r8, str.SOFTWAREDolbyDolbyDigitalPlusDynamicKeys
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.14000e2b0
test eax, eax
je 0x140015eb2
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140015f3c
jmp 0x140015f36
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140015f2e
cmp dword [rbp + 0x40], 4
jne 0x140015f2e
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0x48], eax
test rdi, rdi
je 0x140015f01
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, esi
jg 0x140015f1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rbp + 0x48], r14d
je 0x140015f56
mov eax, esi
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rdi, rdi
je 0x140015f3c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, esi
jg 0x140015f56
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov esi, r14d
mov eax, r14d
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x1400162a0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rdi, r9
mov rbx, rdx
mov rbp, rcx
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400164d4
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x818], rax
mov qword [rbp + 0x808], rbx
mov dword [rbp + 0x800], 0x8002
xor r12d, r12d
mov qword [rbp + 0x810], r12
test rdi, rdi
je 0x1400164b8
lea rdx, [0x140280b88]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140016330
mov r8d, eax
lea rcx, [rbp + 0x818]
call fcn.1400054e0
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x140016350
mov r8d, ebx
mov rdx, rdi
lea rcx, [rbp + 0x818]
call fcn.140004b30
mov rdi, rbp
mov esi, 0x5c00
nop dword [rax]
nop dword [rax + rax]
mov qword [rdi + 8], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
je 0x140016455
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov ebx, esi
or ebx, 0x220000
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax + 3]
mov rcx, qword [rbp + 0x818]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400163f7
mov qword [rsp + 0x48], r12
jmp 0x14001644c
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
test ebx, ebx
cmove rcx, r12
mov qword [rsp + 0x48], rcx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm0
add esi, 0xc
add rdi, 0x20
cmp esi, 0x5ef4
jl 0x140016380
mov qword [rbp + 0x7e8], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x7e0], rax
test rax, rax
je 0x1400164b8
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbp
lea r8, [0x1400164e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x810], rax
mov rax, rbp
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x140017470
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov r12, r8
mov rbx, rdx
mov r15, rcx
mov qword [rax + 0x20], 0
xor edi, edi
lea r8, [0x140282fdc]
mov rdx, qword [rdx]
lea rcx, [rax + 0x20]
call fcn.1401ee1c0
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
jne 0x1400174ec
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400174e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140017651
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401efef8
mov rcx, qword [rsp + 0xa8]
call fcn.1401f03f4
movsxd r14, eax
test eax, eax
jle 0x1400174c6
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.1401efef8
mov rcx, r14
call fcn.1401ee8b4
mov rsi, rax
test rax, rax
je 0x140017611
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.1401e6b00
mov r9, qword [rsp + 0xa8]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call fcn.1401f068c
cmp eax, 1
jl 0x140017609
cmp qword [r15 + 0x10], rdi
je 0x140017609
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400175ab
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400175a7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor edi, edi
jmp 0x140017609
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov eax, 0x41
mov word [rsp + 0x40], ax
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], rsi
mov rax, qword [r15 + 0x10]
mov rcx, qword [rsp + 0x30]
mov r10, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9, r12
mov r8d, 1
mov rdx, qword [rax]
call qword [r10 + 0x58]
xor edi, edi
test eax, eax
setns dil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140017609
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rsi
call fcn.1401ee8a0
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14001762f
call fcn.1401ee5f0
mov qword [rsp + 0xa8], 0
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001764f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001adc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
xor edi, edi
mov dword [rbp + 0x30], edi
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001aeea
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rsi, str.DTSSpkMode
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
lea rbx, [rdi - 1]
test al, al
jne 0x14001ae3a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001ae20
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400054e0
nop
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], rdi
mov dword [rbp + 0x28], edi
mov r9d, 1
lea r8, str.SOFTWAREDTSU2PPresets
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.14000e2b0
test eax, eax
je 0x14001ae74
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001aec3
jmp 0x14001aebd
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001aeb5
cmp dword [rbp + 0x40], 4
jne 0x14001aeb5
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x14001aec3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001aede
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x30]
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x14001af00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
xor edi, edi
mov dword [rbp + 0x30], edi
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001b02a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rsi, str.DTSHpMode
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
lea rbx, [rdi - 1]
test al, al
jne 0x14001af7a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001af60
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400054e0
nop
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], rdi
mov dword [rbp + 0x28], edi
mov r9d, 1
lea r8, str.SOFTWAREDTSU2PPresets
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.14000e2b0
test eax, eax
je 0x14001afb4
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001b003
jmp 0x14001affd
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001aff5
cmp dword [rbp + 0x40], 4
jne 0x14001aff5
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x14001b003
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001b01e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x30]
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x14001e230
Capabilities:
Get system information on windows
Identify system language via api
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rsi, rcx
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001e416
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x29], rax
lea rbx, [0x140280b88]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400050a0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14001e2cb
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001e2b1
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400054e0
nop
xor r12d, r12d
mov qword [rbp - 0x19], r12
mov dword [rbp - 0x11], r12d
mov qword [rbp - 9], r12
mov dword [rbp + 0x6f], r12d
mov eax, 0x409
mov word [rsi + 0xe], ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
test ax, ax
je 0x14001e300
movzx edx, ax
call fcn.14001e430
mov word [rsi + 0xe], ax
jmp 0x14001e304
movzx eax, word [rsi + 0xe]
mov word [rsi + 0xc], ax
mov r15d, 1
mov dword [rsi + 8], r15d
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, rdi
cmp word [rbp - 1], 9
jne 0x14001e33c
lea rdx, str.SOFTWARERealtekRAVCpl64General
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001e330
jmp 0x14001e34d
lea rdx, str.SOFTWARERealtekRtHDVCplGeneral
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001e343
mov r8d, eax
lea rcx, [rbp - 0x29]
call fcn.1400054e0
mov r9d, 0x20019
mov rbx, qword [rbp - 0x29]
mov r8, rbx
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x19]
call fcn.14000e2b0
test eax, eax
jne 0x14001e3cf
mov dword [rbp + 0x77], 4
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x7f]
xor r8d, r8d
lea rdx, str.Language
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e3cf
cmp dword [rbp + 0x7f], 4
jne 0x14001e3cf
mov eax, dword [rbp + 0x6f]
test ax, ax
je 0x14001e3d2
movzx edx, ax
call fcn.14001e430
mov word [rsi + 0xc], ax
mov dword [rsi + 8], r12d
jmp 0x14001e3d2
mov r15d, r12d
cmp qword [rbp - 0x19], 0
je 0x14001e3e4
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14001e3fc
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r15d
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x14001e8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
xor edi, edi
mov dword [rbp + 0x30], edi
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001e9da
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rsi, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_0
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
lea rbx, [rdi - 1]
test al, al
jne 0x14001e92a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001e910
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400054e0
nop
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], rdi
mov dword [rbp + 0x28], edi
mov r9d, 1
lea r8, str.SOFTWARERealtekRealtekEffects
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.14000e2b0
test eax, eax
je 0x14001e964
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001e9b3
jmp 0x14001e9ad
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e9a5
cmp dword [rbp + 0x40], 4
jne 0x14001e9a5
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x14001e9b3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001e9ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x30]
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x14001e9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
xor edi, edi
mov dword [rbp + 0x30], edi
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001eb1a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rsi, str.ED600AF1_6C0E_48d8_A015_BAD55D680E0C_1
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
lea rbx, [rdi - 1]
test al, al
jne 0x14001ea6a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001ea50
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400054e0
nop
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], rdi
mov dword [rbp + 0x28], edi
mov r9d, 1
lea r8, str.SOFTWARERealtekRealtekEffects
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.14000e2b0
test eax, eax
je 0x14001eaa4
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001eaf3
jmp 0x14001eaed
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001eae5
cmp dword [rbp + 0x40], 4
jne 0x14001eae5
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x14001eaf3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001eb0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x30]
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x14001ff30
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140020180
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140280b88]
mov rdx, rsi
mov rcx, rdi
call fcn.1400050a0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x14001ffc9
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001ffb0
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.1400054e0
nop
mov dword [rsp + 0x20], 1
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0x40]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001fff0
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400054e0
cmp dword [0x1402ea760], 0
jne 0x14002013c
cmp dword [0x1402ea754], 0
jne 0x14002013c
cmp dword [0x1402ea7cc], 0
je 0x140020043
lea rdx, str.Drivers_rtwaves30vsd.dat
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140020034
jmp 0x14002014d
cmp dword [0x1402ea768], 0
jne 0x140020122
cmp dword [0x1402ea764], 0
jne 0x140020122
cmp dword [0x1402ea774], 0
jne 0x140020122
cmp dword [0x1402ea778], 0
jne 0x140020122
cmp dword [0x1402ea770], 0
jne 0x14002010f
cmp dword [0x1402ea76c], 0
jne 0x14002010f
cmp dword [0x1402ea77c], 0
je 0x1400200b0
lea rdx, str.Drivers_rtwavesvolpro.dat
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400200a1
jmp 0x14002014d
cmp dword [0x1402ea784], 0
jne 0x1400200fc
cmp dword [0x1402ea78c], 0
jne 0x1400200fc
cmp dword [0x1402ea780], 0
jne 0x1400200fc
cmp dword [0x1402ea788], 0
jne 0x1400200fc
cmp dword [0x1402ea798], 0
jne 0x1400200e6
cmp dword [0x1402ea79c], 0
je 0x140020158
lea rdx, str.Drivers_rtwaves60.dat
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400200f0
jmp 0x14002014d
lea rdx, str.Drivers_rtwavesmapro.dat
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140020103
jmp 0x14002014d
lea rdx, str.Drivers_rtwavesvp.dat
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140020116
jmp 0x14002014d
lea rdx, str.Drivers_rtwaves40.dat
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140020130
jmp 0x14002014d
lea rdx, str.Drivers_rtwaves30.dat
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140020143
mov r8d, ebx
mov rcx, rdi
call fcn.140004b30
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401e3920
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005680
int3