joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028c10
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
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140028d7c
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdi, str.InWuW
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x140028c8a
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140028c70
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.1400054e0
nop
xor edi, edi
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], rdi
mov dword [rbp + 0x28], edi
lea r9d, [rdi + 1]
lea r8, str.SOFTWAREWow6432NodeNuanceDragon_AssistantCore
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.14000ddf0
test eax, eax
je 0x140028ccb
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140028d56
jmp 0x140028d50
mov dword [rbp + 0x30], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x28]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140028d48
cmp dword [rbp + 0x38], 4
jne 0x140028d48
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x40], eax
test rsi, rsi
je 0x140028d1a
mov rcx, rsi
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 0x140028d36
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp dword [rbp + 0x40], edi
setne dil
mov eax, edi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rsi, rsi
je 0x140028d56
mov rcx, rsi
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 0x140028d71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x140028d90
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 0x140028eba
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rsi, str.DolbyNuanceDragonRunning
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
lea rbx, [rdi - 1]
test al, al
jne 0x140028e0a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x140028df0
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.SOFTWARERealtekRealtekEffectsBG
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.14000ddf0
test eax, eax
je 0x140028e44
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140028e93
jmp 0x140028e8d
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 0x140028e85
cmp dword [rbp + 0x40], 4
jne 0x140028e85
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x140028e93
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 0x140028eae
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 0x140031f10
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rcx
xor edi, edi
call fcn.140014f40
test eax, eax
je 0x140032137
cmp qword [r14 + 0x1008], rdi
jne 0x14003202b
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140032160
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov edx, 0x82
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp - 0x80]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rcx + rax], 0
jne 0x140031fa3
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140014370
lea rdx, str.MaxxAudioRealtek264.dll
mov rax, rsi
inc rax
cmp byte [rdx + rax], 0
jne 0x140031fc7
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001ae30
call fcn.140022310
mov rbx, qword [rsp + 0x40]
test eax, eax
je 0x14003200a
mov rax, qword [0x1402e9ce8]
test rax, rax
je 0x14003200a
mov r8, rbx
mov edx, 8
lea rcx, str.DLRA
call rax
jmp 0x14003200d
mov rax, rdi
mov qword [r14 + 0x1008], rax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14003202b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov r9d, 0x20019
lea r8, str.SoftwareRealtekSBCoexist
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.14000ddf0
mov ebx, eax
mov rsi, qword [rsp + 0x48]
test eax, eax
jne 0x1400320b3
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ExclusiveEnable
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400320b3
mov ebx, edi
mov eax, SafeArrayGetDim
cmp dword [rsp + 0x3c], 4
cmovne ebx, eax
test rsi, rsi
je 0x1400320c4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, rdi
test ebx, ebx
sete dil
test rsi, rsi
je 0x1400320d8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x34]
call fcn.1400152c0
mov dword [rsp + 0x6c], edi
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x70], eax
mov rbx, qword [r14 + 0x1008]
call fcn.140022310
test eax, eax
je 0x140032132
mov rax, qword [0x1402e9cc0]
test rax, rax
je 0x140032132
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
lea r9, [rsp + 0x68]
mov edx, 1
mov r8d, edx
mov rcx, rbx
call rax
jmp 0x140032134
xor al, al
movzx edi, al
mov eax, edi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1401e35b0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x14003e140
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x28], 0xfffffffffffffffe
test byte [rcx + 0xd54], 0x80
jne 0x14003e168
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
add rcx, 0xa60
call fcn.140026ce0
mov rdi, rax
test rax, rax
je 0x14003e15d
xor esi, esi
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
lea rdx, [0x140281798]
lea rcx, [rbp - 0x30]
call fcn.140011740
mov dword [rbp + 0x28], esi
lea r9d, [rsi + 1]
lea r8, str.SOFTWAREDolbyPCEE4DynamicKeys
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.14000ddf0
mov rdx, qword [rbp - 0x30]
test eax, eax
jne 0x14003e232
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003e22e
cmp dword [rbp - 0x38], 4
jne 0x14003e22e
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003e21a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14003e229
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rbp + 0x30]
jmp 0x14003e263
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003e24f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14003e25e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x38], esi
mov rax, qword [rdi + 0x1d0]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14003e2ec
cmp dword [rcx + 0x14], 0
je 0x14003e2ec
mov rax, qword [rcx]
lea rdx, [rbp + 0x38]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp dword [rbp + 0x38], 0
je 0x14003e2ec
cmp ebx, 1
jne 0x14003e356
xor r8d, r8d
lea rdx, [0x140281798]
lea rcx, str.SOFTWAREDolbyPCEE4DynamicKeys
call fcn.140012800
test eax, eax
je 0x14003e15d
call fcn.14005aa58
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, ebx
lea r8, str.RestorePCEE4On
lea rdx, str.Others
call qword [rax + 0x100]
mov eax, ebx
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005aa58
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, str.RestorePCEE4On
lea rdx, str.Others
call qword [rax + 0xf8]
cmp eax, 1
jne 0x14003e356
mov r8d, eax
lea rdx, [0x140281798]
lea rcx, str.SOFTWAREDolbyPCEE4DynamicKeys
call fcn.140012800
test eax, eax
je 0x14003e15d
call fcn.14005aa58
mov rcx, qword [rax + 8]
mov r10, qword [rcx]
xor r9d, r9d
lea r8, str.RestorePCEE4On
lea rdx, str.Others
call qword [r10 + 0x100]
mov eax, 1
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400407f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x48], 0xfffffffffffffffe
movaps xmmword [rsp + 0x70], xmm6
mov r14, rcx
add rcx, 0xc00
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r15, qword [r14 + 0xb98]
xor r12d, r12d
mov edi, r12d
test r15d, r15d
je 0x1400409ad
movss xmm6, dword [0x14028c51c]
cmp edi, dword [r14 + 0xb98]
jae 0x1400409a2
mov edx, edi
lea rcx, [r14 + 0xb80]
call fcn.14004bdbc
test rax, rax
je 0x1400409dc
mov rsi, qword [rax + 0x10]
test rsi, rsi
je 0x1400409a2
cmp dword [rsi + 0x15c], 8
jne 0x1400409a2
mov dword [rbp + 0x48], r12d
lea rax, [rbp - 0x50]
mov qword [rbp + 0x40], rax
call fcn.14004aa80
test rax, rax
je 0x1400409d1
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x50], rax
lea rdx, str.PbDefaultVol_SPDIF
lea rcx, [rbp - 0x50]
call fcn.1400050a0
test al, al
jne 0x1400408d4
mov r8d, SafeArrayUnaccessData
lea rdx, str.PbDefaultVol_SPDIF
lea rcx, [rbp - 0x50]
call fcn.1400054e0
nop
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r12d
mov qword [rbp - 0x20], r12
mov dword [rbp + 0x40], r12d
mov r9d, 1
lea r8, str.SOFTWARERealtekRealtekEffectsDriver
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x30]
call fcn.14000ddf0
test eax, eax
je 0x140040910
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14004095f
jmp 0x140040959
mov dword [rbp + 0x50], 4
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x58]
xor r8d, r8d
mov rdx, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140040951
cmp dword [rbp + 0x58], 4
jne 0x140040951
mov eax, dword [rbp + 0x40]
mov dword [rbp + 0x48], eax
test rbx, rbx
je 0x14004095f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004097f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [0x140281058]
movaps xmmword [rbp - 0x40], xmm0
movd xmm1, dword [rbp + 0x48]
cvtdq2ps xmm1, xmm1
divss xmm1, xmm6
lea r8, [rbp - 0x40]
mov rcx, rsi
call fcn.14000bb80
inc edi
cmp edi, r15d
jb 0x140040840
lea rcx, [r14 + 0xbf0]
mov rax, qword [rcx]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
jmp qword [rax + 0x28]
mov ecx, 0x80004005
call fcn.140005680
int3
call fcn.14004b6d4
int3
Function at 0x140040f10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x40], r14d
lea rax, [rbp - 0x48]
mov qword [rbp + 0x38], rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140041129
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rdi, str.Mode
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400050a0
lea rbx, [r14 - 1]
test al, al
jne 0x140040f9a
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140040f80
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400054e0
nop
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x18], r14d
mov qword [rbp - 0x10], r14
mov dword [rbp + 0x38], r14d
mov r9d, 1
lea r8, str.SOFTWARELenovoMoccaMode
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.14000ddf0
test eax, eax
je 0x140040ffe
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140040fda
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140041116
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140041116
mov dword [rbp + 0x48], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
xor r8d, r8d
mov rdx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400410ec
cmp dword [rbp - 0x50], 4
jne 0x1400410ec
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x40], eax
test rdi, rdi
je 0x140041055
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140041072
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [str._alsC]
movaps xmmword [rbp - 0x30], xmm0
mov rdx, qword [rsi + 0xe80]
lea rcx, [rbp - 0x40]
call fcn.1400051a0
nop
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8d, [r9 + 0x53]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
call fcn.140011360
test eax, eax
sete dil
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400410d7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x140041116
xor eax, eax
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rdi, rdi
je 0x1400410fa
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140041116
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x140041140
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140041179
lea rcx, str.OpenProcessToken_fail_r_n
jmp 0x1400411d6
lea r8, [rsp + 0x44]
xor ecx, ecx
lea rdx, str.SeSystemEnvironmentPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400411dc
lea rcx, str.Failed_RisePrivileges___r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e35b0
add rsp, 0x68
ret
Function at 0x140042da0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
movzx ebx, cl
mov rdi, rdx
mov ecx, ebx
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test rdi, rdi
je 0x140042de4
test dword [rdi + 0x1c], 0x10000
je 0x140042de4
cmp bl, 0xaf
movzx eax, bl
mov edx, 0xd1
cmovne edx, eax
mov eax, 0xd2
cmp dl, 0xae
movzx ebx, dl
cmove ebx, eax
xor ecx, ecx
movzx eax, bl
mov word [rsp + 0x2a], cx
lea rdx, [rsp + 0x20]
mov word [rsp + 0x52], cx
mov qword [rsp + 0x2c], rcx
lea r8d, [rcx + 0x28]
mov qword [rsp + 0x60], rcx
lea ecx, [r8 - 0x26]
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x28], ax
mov word [rsp + 0x50], ax
mov qword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
mov rbx, qword [rsp + 0x80]
mov eax, 1
add rsp, 0x70
pop rdi
ret
Function at 0x140045220
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rsi
mov rsi, r8
cmp dword [rcx + 0x28], 0
jne 0x140045253
mov rdx, qword [r8]
mov edi, 0xffffffff
jmp 0x1400452f9
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x140045267
mov rdx, qword [r8]
lea edi, [rcx - 1]
jmp 0x1400452f9
mov edi, 0xffffffff
test edx, edx
jne 0x1400452f6
call qword [sym.imp.SECOMN64.dll_SEAPOCOMAPI_GetLastError]
mov ebx, eax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140045320
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
cmp ebx, 0xffffff00
jne 0x1400452b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rdx, str._s_WinError___d_n
jmp 0x1400452c0
mov r9d, ebx
lea rdx, str._s_Error___d_n
mov r8, qword [rsi]
lea rcx, [rsp + 0x40]
call fcn.140004e30
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400452f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140045310
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005680
int3
Function at 0x140045990
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov r14, rcx
call fcn.140028a90
test eax, eax
je 0x140045a51
call fcn.140028c10
test eax, eax
jne 0x140045a51
call fcn.140028d90
test eax, eax
je 0x1400459df
mov eax, 1
jmp 0x140045bb7
mov ecx, 1
call fcn.140028ed0
mov ebx, eax
mov rcx, r14
call fcn.140045600
mov r15d, eax
test ebx, ebx
je 0x140045bb5
lea rdx, str.PreviosSRSApoStatus
lea rcx, [rbp - 0x30]
call fcn.1400051a0
xor esi, esi
test r15d, r15d
setne sil
mov r8d, esi
mov rdx, rax
lea rcx, str.SOFTWARERealtekRealtekEffectsBG
call fcn.140012660
test eax, eax
je 0x140045bb5
test r15d, r15d
je 0x140045bb7
xor edx, edx
mov rcx, r14
call fcn.1400457c0
test eax, eax
jne 0x140045bb7
jmp 0x140045bb5
call fcn.140028d90
test eax, eax
je 0x1400459d5
xor ecx, ecx
call fcn.140028ed0
lea rax, [rbp - 0x38]
mov qword [rbp + 0x38], rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140045bcb
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdi, str.PreviosSRSApoStatus
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.1400050a0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x140045aca
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140045ab0
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.1400054e0
nop
xor esi, esi
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x38], esi
lea r9d, [rsi + 1]
lea r8, str.SOFTWARERealtekRealtekEffectsBG
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.14000ddf0
test eax, eax
je 0x140045b0b
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140045b9a
jmp 0x140045b94
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 - 0x38]
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140045b8c
cmp dword [rbp + 0x48], 4
jne 0x140045b8c
mov eax, dword [rbp + 0x38]
mov dword [rbp - 0x40], eax
test rdi, rdi
je 0x140045b5a
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 0x140045b75
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rbp - 0x40], esi
setne sil
mov edx, esi
mov rcx, r14
call fcn.1400457c0
test eax, eax
je 0x140045bb5
jmp 0x140045bb7
test rdi, rdi
je 0x140045b9a
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 0x140045bb5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3