joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013f00
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa30
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rsp + 0xa20], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x24], 0
mov r8d, edx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14001407c
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x24], 1
test rbx, rbx
jne 0x140013fb2
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140013fb2
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140014054
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.1401e67e0
mov dword [rsp + 0x28], 0x103
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140013ff0
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400054e0
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rsp + 0x250]
call fcn.1401e67e0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
lea r9, [rsp + 0x250]
mov r8d, 0x3e7
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rax, rdi
mov rcx, qword [rsp + 0xa20]
xor rcx, rsp
call fcn.1401e35b0
lea r11, [rsp + 0xa30]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005680
int3

Function at 0x140014920
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
xor esi, esi
mov dword [r9], esi
lea rax, [rsp + 0x40]
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140014995
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x140014990
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x1400149a8
test ecx, ecx
je 0x1400149a5
test cl, 1
jne 0x140014990
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x1400149a8
mov eax, SafeArrayGetDim
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400152c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
lea r8, str.SoftwareRealtekSBCoexist
mov rbp, rcx
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x38], ebx
mov r9d, 0x20019
mov qword [rsp + 0x40], rbx
mov rdx, 0xffffffff80000002
call fcn.14000ddf0
mov rdi, qword [rsp + 0x30]
mov esi, eax
test eax, eax
jne 0x140015352
lea rax, [rsp + 0x78]
mov dword [rsp + 0x78], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea rdx, str.Technology
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x140015352
cmp dword [rsp + 0x80], 4
mov esi, ebx
mov eax, SafeArrayGetDim
cmovne esi, eax
test rdi, rdi
je 0x140015363
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbx
test esi, esi
sete bl
test rdi, rdi
je 0x140015376
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140015860
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
push rdi
sub rsp, 0x58
mov qword [rax - 0x38], 0xfffffffffffffffe
mov rbx, rcx
test rcx, rcx
je 0x140015987
xor edi, edi
mov qword [rax - 0x30], rdi
mov dword [rax - 0x28], edi
mov qword [rax - 0x20], rdi
lea rdx, [0x140281780]
lea rcx, [rax + 0x20]
call fcn.140011740
mov dword [rsp + 0x70], edi
lea r9d, [rdi + 1]
lea r8, str.SOFTWAREDolbyPCEE4DynamicKeys
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.14000ddf0
mov rdx, qword [rsp + 0x88]
test eax, eax
jne 0x14001595a
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140015952
cmp dword [rsp + 0x80], 4
jne 0x140015952
mov eax, dword [rsp + 0x70]
mov dword [rbx], eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140015936
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140015946
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x58
pop rdi
pop rbx
ret
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140015977
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140015987
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x140015990
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.140028a90
test eax, eax
je 0x140015a6b
call fcn.140028c10
test eax, eax
jne 0x140015a6b
call fcn.140028d90
test eax, eax
je 0x1400159da
mov eax, 1
add rsp, 0x78
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 1
call fcn.140028ed0
lea rcx, [rbp + 0x28]
call fcn.140015860
lea rax, [rbp - 0x38]
mov qword [rbp + 0x30], rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140015bd1
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 0x140015a4c
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140015a32
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.140012660
mov r8d, 3
jmp 0x140015ba2
mov dword [rbp + 0x30], esi
call fcn.140028d90
test eax, eax
je 0x1400159cc
xor ecx, ecx
call fcn.140028ed0
lea rcx, [rbp + 0x30]
call fcn.140015860
cmp dword [rbp + 0x30], 3
jne 0x1400159cc
lea rax, [rbp - 0x40]
mov qword [rbp + 0x38], rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140015bc6
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 0x140015afa
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140015ae0
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.14000ddf0
test eax, eax
je 0x140015b34
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140015b83
jmp 0x140015b7d
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 0x140015b75
cmp dword [rbp - 0x48], 4
jne 0x140015b75
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x28], eax
test rdi, rdi
je 0x140015b83
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 0x140015b9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, dword [rbp + 0x28]
lea rdx, [0x140281780]
lea rcx, str.SOFTWAREDolbyPCEE4DynamicKeys
call fcn.140012800
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 0x140015be0
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.14004aa80
mov rcx, rax
test rax, rax
je 0x140015d57
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 0x140015c5a
mov rax, rbx
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x140015c40
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.14000ddf0
test eax, eax
je 0x140015ca2
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140015d2c
jmp 0x140015d26
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 0x140015d1e
cmp dword [rbp + 0x40], 4
jne 0x140015d1e
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0x48], eax
test rdi, rdi
je 0x140015cf1
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 0x140015d0b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rbp + 0x48], r14d
je 0x140015d46
mov eax, esi
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rdi, rdi
je 0x140015d2c
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 0x140015d46
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 0x140016090
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.14004aa80
mov rcx, rax
test rax, rax
je 0x1400162c4
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 0x1400162a8
lea rdx, [0x140280a28]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140016120
mov r8d, eax
lea rcx, [rbp + 0x818]
call fcn.1400054e0
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x140016140
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 0x140016245
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 0x1400161e7
mov qword [rsp + 0x48], r12
jmp 0x14001623c
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 0x140016170
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 0x1400162a8
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbp
lea r8, [0x1400162d0]
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 0x140017260
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, [0x140282e4c]
mov rdx, qword [rdx]
lea rcx, [rax + 0x20]
call fcn.1401edea0
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
jne 0x1400172dc
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400172d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140017441
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401efbd8
mov rcx, qword [rsp + 0xa8]
call fcn.1401f00d4
movsxd r14, eax
test eax, eax
jle 0x1400172b6
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.1401efbd8
mov rcx, r14
call fcn.1401ee594
mov rsi, rax
test rax, rax
je 0x140017401
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.1401e67e0
mov r9, qword [rsp + 0xa8]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call fcn.1401f036c
cmp eax, 1
jl 0x1400173f9
cmp qword [r15 + 0x10], rdi
je 0x1400173f9
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14001739b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140017397
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor edi, edi
jmp 0x1400173f9
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 0x1400173f9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rsi
call fcn.1401ee580
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14001741f
call fcn.1401ee2d0
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 0x14001743f
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 0x14001abb0
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.14004aa80
mov rcx, rax
test rax, rax
je 0x14001acda
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 0x14001ac2a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001ac10
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.14000ddf0
test eax, eax
je 0x14001ac64
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001acb3
jmp 0x14001acad
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 0x14001aca5
cmp dword [rbp + 0x40], 4
jne 0x14001aca5
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x14001acb3
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 0x14001acce
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 0x14001acf0
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.14004aa80
mov rcx, rax
test rax, rax
je 0x14001ae1a
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 0x14001ad6a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001ad50
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.14000ddf0
test eax, eax
je 0x14001ada4
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001adf3
jmp 0x14001aded
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 0x14001ade5
cmp dword [rbp + 0x40], 4
jne 0x14001ade5
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x14001adf3
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 0x14001ae0e
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 0x14001e020
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.14004aa80
mov rcx, rax
test rax, rax
je 0x14001e206
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x29], rax
lea rbx, [0x140280a28]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400050a0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14001e0bb
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001e0a1
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 0x14001e0f0
movzx edx, ax
call fcn.14001e220
mov word [rsi + 0xe], ax
jmp 0x14001e0f4
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 0x14001e12c
lea rdx, str.SOFTWARERealtekRAVCpl64General
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001e120
jmp 0x14001e13d
lea rdx, str.SOFTWARERealtekRtHDVCplGeneral
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001e133
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.14000ddf0
test eax, eax
jne 0x14001e1bf
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 0x14001e1bf
cmp dword [rbp + 0x7f], 4
jne 0x14001e1bf
mov eax, dword [rbp + 0x6f]
test ax, ax
je 0x14001e1c2
movzx edx, ax
call fcn.14001e220
mov word [rsi + 0xc], ax
mov dword [rsi + 8], r12d
jmp 0x14001e1c2
mov r15d, r12d
cmp qword [rbp - 0x19], 0
je 0x14001e1d4
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 0x14001e1ec
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