joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012090
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov r10, rdx
mov rsi, rcx
test r9, r9
jne 0x1400120b5
xor eax, eax
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
xor edi, edi
sub r8d, 3
je 0x14001217e
sub r8d, 1
je 0x140012138
sub r8d, 7
je 0x1400120f0
cmp r8d, 8
jne 0x1400121ec
mov r8d, dword [r9]
call fcn.140012210
mov edi, eax
jmp 0x1400121ec
xor eax, eax
mov qword [rbp + 0x28], rdi
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov eax, VariantTimeToDosDateTime
mov word [rbp - 0x20], ax
movzx eax, word [r9]
mov word [rbp - 0x18], ax
cmp qword [rcx], rdi
je 0x1400121ec
lea rdx, [rbp + 0x28]
mov rcx, r10
call fcn.140011f10
test eax, eax
js 0x1400121ec
mov r9d, 3
jmp 0x1400121b7
movss xmm0, dword [r9]
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov eax, 4
mov word [rbp - 0x20], ax
movss dword [rbp - 0x18], xmm0
mov qword [rbp + 0x28], rdi
cmp qword [rcx], rdi
je 0x1400121ec
lea rdx, [rbp + 0x28]
mov rcx, r10
call fcn.140011f10
test eax, eax
js 0x1400121ec
mov r9d, 3
jmp 0x1400121b7
xor eax, eax
mov qword [rbp + 0x28], rdi
mov ebx, 3
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov eax, dword [r9]
mov dword [rbp - 0x18], eax
mov word [rbp - 0x20], bx
cmp qword [rcx], rdi
je 0x1400121ec
lea rdx, [rbp + 0x28]
mov rcx, r10
call fcn.140011f10
test eax, eax
js 0x1400121ec
mov r9d, ebx
mov rdx, qword [rbp + 0x28]
lea rax, [rbp - 0x20]
mov rcx, qword [rsi]
xor r8d, r8d
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x140012210
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov ebx, r8d
mov rax, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rdi
cmp qword [rcx], rdi
jne 0x140012246
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140011f10
test eax, eax
js 0x140012299
mov rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov rcx, qword [rsi]
mov r9d, 4
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400122b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbp
mov rsi, r8
mov rax, rdx
mov r15, rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
cmp qword [rcx], rdi
jne 0x14001230d
mov rdx, qword [r8]
sub rdx, 0x18
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140012306
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140012396
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140011f10
mov rbx, 0xffffffffffffffff
test eax, eax
js 0x140012379
mov rcx, qword [rsi]
test rcx, rcx
jne 0x140012332
lea ebp, [rbx + 0xe]
jmp 0x140012368
mov rax, rbx
lea rax, [rax + 1]
cmp word [rcx + rax*2], di
jne 0x140012335
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebp, ebp
sete dil
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140012394
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret
Function at 0x1400128c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rdi, r8
mov rsi, rcx
test rcx, rcx
jne 0x1400128f6
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
je 0x1400128e4
xor ebp, ebp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x38]
call fcn.140011c00
mov dword [rsp + 0x80], ebp
mov ebx, 1
mov r9d, ebx
mov r8, rsi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.14000e2b0
test eax, eax
jne 0x14001298f
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001298f
cmp dword [rsp + 0x30], 4
jne 0x14001298f
mov eax, dword [rsp + 0x80]
mov dword [rdi], eax
jmp 0x140012991
mov ebx, ebp
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400129b4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400129c4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400129e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
test rcx, rcx
jne 0x140012a02
mov rdx, qword [rdx]
jmp 0x140012aec
test rsi, rsi
jne 0x140012a0f
mov rdx, qword [rdx]
jmp 0x140012aec
xor eax, eax
mov r8, rcx
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rax
lea r9d, [rax + 1]
mov dword [rsp + 0x60], eax
call fcn.14000e2b0
test eax, eax
je 0x140012a52
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140012ae9
jmp 0x140012ae3
mov rdi, qword [rsp + 0x38]
lea rax, [rsp + 0x78]
mov rdx, qword [rbx]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x78], 4
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012adb
cmp dword [rsp + 0x30], 4
jne 0x140012adb
mov eax, dword [rsp + 0x60]
mov dword [rsi], eax
test rdi, rdi
je 0x140012aa6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012ac6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
test rdi, rdi
je 0x140012ae9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012b08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140012b20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdx, qword [rdx]
mov ebp, r8d
mov rdi, rcx
test rcx, rcx
jne 0x140012b49
add rdx, 0xffffffffffffffe8
jmp 0x140012c4e
movzx eax, word [rdx]
cmp ax, word [0x140280b88]
jne 0x140012b5e
add rdx, 0xffffffffffffffe8
jmp 0x140012c4e
mov r8, rdx
mov qword [rsp + 0x78], rsi
mov rdx, rdi
lea rcx, str.CCommon::SetRegUI4Property__s__s__d_n
mov r9d, ebp
call fcn.1400056e0
xor esi, esi
lea rcx, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x30], rsi
mov r8, rdi
mov dword [rsp + 0x38], esi
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
call fcn.14000e2b0
mov rcx, qword [rsp + 0x48]
test eax, eax
sete sil
test rcx, rcx
je 0x140012bc6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov rsi, qword [rsp + 0x78]
jne 0x140012bdb
mov rdx, rdi
call fcn.140012810
test eax, eax
je 0x140012c47
mov r9d, 2
lea rcx, [rsp + 0x30]
mov r8, rdi
mov rdx, 0xffffffff80000002
call fcn.14000e2b0
test eax, eax
je 0x140012c05
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140012c47
jmp 0x140012c41
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
mov rdx, qword [rbx]
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140012c7a
test rdi, rdi
je 0x140012c47
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012c66
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rdi, rdi
je 0x140012c88
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012ca7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x60]
mov eax, 1
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140012cc0
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov esi, r8d
mov rdi, rcx
test rcx, rcx
jne 0x140012cf6
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x78]
call fcn.140011c00
lea r9d, [rbx + 2]
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.14000e2b0
test eax, eax
jne 0x140012d60
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 4]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140012d60
lea ebx, [rax + 1]
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012d83
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 0x140012d93
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140012db0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov r14, r8
mov rsi, rdx
mov r8, qword [rdx]
mov rdi, rcx
mov rdx, qword [rcx]
mov ebp, r9d
lea rcx, str.CCommon::SetRegBinaryValue__s__s_nBytes___d_n
call fcn.1400056e0
mov r8, qword [rdi]
lea rcx, [rsp + 0x48]
xor ebx, ebx
mov r9d, 0x20019
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
call fcn.14000e2b0
mov rcx, qword [rsp + 0x48]
test eax, eax
sete bl
test rcx, rcx
je 0x140012e35
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140012e45
mov rdx, qword [rdi]
call fcn.140012810
test eax, eax
je 0x140012ea4
mov r8, qword [rdi]
lea rcx, [rsp + 0x30]
mov r9d, 2
mov rdx, 0xffffffff80000002
call fcn.14000e2b0
test eax, eax
je 0x140012e6f
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140012ea4
jmp 0x140012e9e
mov rbx, qword [rsp + 0x30]
mov r9d, 3
mov rdx, qword [rsi]
mov rcx, rbx
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140012ee3
test rbx, rbx
je 0x140012ea4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rdi]
mov ebx, 0xffffffff
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012ec5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140012edf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140012f31
test rbx, rbx
je 0x140012ef1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rdi]
mov ebx, 0xffffffff
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012f12
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140012f2c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
lea r11, [rsp + 0x60]
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 0x140012f50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rbp, r8
mov r8, qword [rcx]
mov rbx, r9
mov rdi, rdx
mov qword [rsp + 0x30], rax
mov rsi, rcx
mov dword [rsp + 0x38], eax
lea r9d, [rax + 1]
mov qword [rsp + 0x40], rax
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call fcn.14000e2b0
test eax, eax
je 0x140012faf
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001303c
jmp 0x140013036
mov rdx, qword [rdi]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001302e
cmp dword [rsp + 0x60], 3
jne 0x14001302e
test rbx, rbx
je 0x140012feb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsi]
mov ebx, 0xffffffff
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001300c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140013027
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
jmp 0x140013079
test rbx, rbx
je 0x14001303c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsi]
mov ebx, 0xffffffff
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001305d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140013077
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140013090
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x58], 0xfffffffffffffffe
mov rbp, r9
mov r14, r8
mov r15, rdx
xor r12d, r12d
mov qword [rax - 0x50], r12
mov dword [rax - 0x48], r12d
mov qword [rax - 0x40], r12
lea r9d, [r12 + 1]
mov r8, qword [rdx]
mov rdx, 0xffffffff80000002
lea rcx, [rax - 0x50]
call fcn.14000e2b0
test eax, eax
je 0x1400130fc
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400131b8
jmp 0x1400131b1
mov dword [rsp + 0xa0], r12d
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [r14]
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400131a9
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400131a9
mov ebx, dword [rsp + 0xa0]
shr ebx, 1
mov ecx, ebx
add rcx, rcx
call fcn.1401ee8b4
mov rsi, rax
test rax, rax
je 0x1400131a9
lea eax, [rbx + rbx]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400131a9
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x1400131a9
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140013207
test al, 1
jne 0x1400131a9
shr rax, 1
cmp word [rsi + rax*2 - 2], 0
je 0x14001320b
test rdi, rdi
je 0x1400131b8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [r15]
mov rbx, 0xffffffffffffffff
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400131dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400131f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov word [rsi], r12w
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x140013215
mov r8d, eax
mov rdx, rsi
mov rcx, rbp
call fcn.1400054e0
mov rcx, rsi
call fcn.1401ee8a0
nop
test rdi, rdi
je 0x140013245
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013262
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001327d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400132a0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x1402ea5a8]
lea rdx, [0x140282854]
call fcn.1401efbf8
test eax, eax
jne 0x140013313
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rax, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400132f6
mov r8d, ecx
lea rdx, [rsp + 0x30]
lea rcx, [0x1402ea5a8]
call fcn.140014830
mov rcx, qword [0x1402ea5a8]
add rcx, 0xffffffffffffffe8
call fcn.140014720
add rax, 0x18
mov qword [rbx], rax
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401e3920
add rsp, 0x150
pop rbx
ret
Function at 0x140013b90
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1402e9b74]
test eax, eax
jne 0x140013bbb
lea rcx, [0x1402e9b70]
mov dword [0x1402e9b70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1402e9b74]
cmp eax, 6
jne 0x140013bd3
cmp dword [0x1402e9b78], 2
jne 0x140013bd3
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140014b30
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 0x140014ba5
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x140014ba0
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x140014bb8
test ecx, ecx
je 0x140014bb5
test cl, 1
jne 0x140014ba0
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140014bb8
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 0x1400154d0
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.14000e2b0
mov rdi, qword [rsp + 0x30]
mov esi, eax
test eax, eax
jne 0x140015562
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 0x140015562
cmp dword [rsp + 0x80], 4
mov esi, ebx
mov eax, SafeArrayGetDim
cmovne esi, eax
test rdi, rdi
je 0x140015573
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbx
test esi, esi
sete bl
test rdi, rdi
je 0x140015586
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 0x140015a70
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 0x140015b97
xor edi, edi
mov qword [rax - 0x30], rdi
mov dword [rax - 0x28], edi
mov qword [rax - 0x20], rdi
lea rdx, [0x140281950]
lea rcx, [rax + 0x20]
call fcn.140011c00
mov dword [rsp + 0x70], edi
lea r9d, [rdi + 1]
lea r8, str.SOFTWAREDolbyPCEE4DynamicKeys
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.14000e2b0
mov rdx, qword [rsp + 0x88]
test eax, eax
jne 0x140015b6a
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 0x140015b62
cmp dword [rsp + 0x80], 4
jne 0x140015b62
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 0x140015b46
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 0x140015b56
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 0x140015b87
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 0x140015b97
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x58
pop rdi
pop rbx
ret