joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e8960
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140315d90]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov edi, ecx
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x1401e8a54
xor ebx, ebx
lea rcx, str..AndreaFilterRealtek
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x1c8], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x54], edi
cmp rax, 0xffffffffffffffff
mov rsi, rax
mov dword [rsp + 0x78], ebx
je 0x1401e8a48
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r9d, [rbx + 0x34]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov edx, 0x222000
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x14032e028]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x1c8]
xor eax, eax
jmp 0x1401e8a70
lea rcx, [0x14032dee0]
mov edx, edi
call fcn.1401e99a0
xor ebx, ebx
mov ecx, 0x80000000
test eax, eax
cmovne ecx, ebx
mov eax, ecx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402272f0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret

Function at 0x1401e8aa0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140315d90]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov edi, ecx
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x1401e8b94
xor ebx, ebx
lea rcx, str..AndreaFilterRealtek
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x1c8], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x54], edi
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x1401e8b88
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r9d, [rbx + 0x34]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov edx, 0x222000
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x14032e028]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x1c8]
xor eax, eax
jmp 0x1401e8bb0
lea rcx, [0x14032dee0]
mov edx, edi
call fcn.1401e9470
xor ebx, ebx
mov ecx, 0x80000000
test eax, eax
cmovne ecx, ebx
mov eax, ecx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402272f0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x1401e8be0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140315d90]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov edi, ecx
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x1401e8cd4
xor ebx, ebx
lea rcx, str..AndreaFilterRealtek
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x1c8], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x54], edi
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x1401e8cc8
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r9d, [rbx + 0x34]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov edx, 0x222000
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x14032e028]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x1c8]
xor eax, eax
jmp 0x1401e8cf0
lea rcx, [0x14032dee0]
mov edx, edi
call fcn.1401e9630
xor ebx, ebx
mov ecx, 0x80000000
test eax, eax
cmovne ecx, ebx
mov eax, ecx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402272f0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret

Function at 0x1401e8d20
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140315d90]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov edi, ecx
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x1401e8e14
xor ebx, ebx
lea rcx, str..AndreaFilterRealtek
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x1c8], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x54], edi
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x1401e8e08
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r9d, [rbx + 0x34]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov edx, 0x222000
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x14032e028]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x1c8]
xor eax, eax
jmp 0x1401e8e30
lea rcx, [0x14032dee0]
mov edx, edi
call fcn.1401e97f0
xor ebx, ebx
mov ecx, 0x80000000
test eax, eax
cmovne ecx, ebx
mov eax, ecx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402272f0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x1401e9230
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xe0
mov esi, edx
lea rax, [rsp + 0x30]
mov rbx, rcx
lea rdx, str.SoftwareRealtekAEAPO
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401e9458
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x110]
lea r9, [rsp + 0x118]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.CapProperties
xor r8d, r8d
mov qword [rsp + 0x100], rbp
mov dword [rsp + 0x110], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebp, [rdi + 1]
test eax, eax
jne 0x1401e92de
cmp dword [rsp + 0x110], 0x44
jne 0x1401e92de
cmp dword [rsp + 0x40], 0xaeaeaeae
jne 0x1401e92de
test dword [rsp + 0x58], 0xfffffee0
cmove edi, ebp
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1401e9450
lea rcx, [rsp + 0x90]
mov rdx, rbx
mov r8d, 0x44
call fcn.14022a570
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8d, 0x44
call fcn.14022a570
or r9d, 0xffffffff
lea rdx, str.LoadFiltersInfo_successful
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], 0
call fcn.1401e9fd0
test esi, esi
je 0x1401e9450
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x1401e9450
mov edx, dword [rsp + 0x44]
cmp edx, dword [rsp + 0x94]
je 0x1401e9365
mov r8, qword [rbx + 0x90]
xor ecx, ecx
call rax
mov edx, dword [rsp + 0x48]
cmp edx, dword [rsp + 0x98]
je 0x1401e937e
mov r8, qword [rbx + 0x90]
mov ecx, ebp
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x4c]
cmp edx, dword [rsp + 0x9c]
je 0x1401e939a
mov r8, qword [rbx + 0x90]
mov ecx, 2
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x50]
cmp edx, dword [rsp + 0xa0]
je 0x1401e93b6
mov r8, qword [rbx + 0x90]
mov ecx, 3
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x54]
cmp edx, dword [rsp + 0xa4]
je 0x1401e93d2
mov r8, qword [rbx + 0x90]
mov ecx, 4
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x60]
cmp edx, dword [rsp + 0xb0]
je 0x1401e93ee
mov r8, qword [rbx + 0x90]
mov ecx, 6
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x64]
cmp edx, dword [rsp + 0xb4]
je 0x1401e940a
mov r8, qword [rbx + 0x90]
mov ecx, 7
call qword [rbx + 0x48]
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x68], eax
je 0x1401e9434
xor edx, edx
mov rcx, rbx
call fcn.1401ea8e0
test eax, eax
je 0x1401e9434
mov r8, qword [rbx + 0x90]
xor edx, edx
lea ecx, [rdx + 8]
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x6c]
cmp edx, dword [rsp + 0xbc]
je 0x1401e9450
mov r8, qword [rbx + 0x90]
mov ecx, 9
call qword [rbx + 0x48]
mov rbp, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401e9470
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x14032def8], 2
je 0x1401e9619
mov rax, qword [0x14032dee0]
lea r8, [r11 - 0x58]
mov qword [r11 + 0x10], rbx
mov qword [r8], rax
mov rax, qword [0x14032dee8]
mov qword [r11 - 8], rdi
mov qword [r8 + 8], rax
mov rax, qword [0x14032def0]
xor edi, edi
mov qword [r8 + 0x10], rax
mov rax, qword [0x14032def8]
test edx, edx
mov qword [r8 + 0x18], rax
mov rax, qword [0x14032df00]
mov ebx, edi
mov qword [r8 + 0x20], rax
mov rax, qword [0x14032df08]
mov qword [r8 + 0x28], rax
mov rax, qword [0x14032df10]
mov qword [r8 + 0x30], rax
mov rax, qword [0x14032df18]
mov qword [r8 + 0x38], rax
mov eax, dword [0x14032df20]
mov dword [r8 + 0x40], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x58], edx
cmovne eax, edi
cmp dword [0x14032df3c], ebx
mov dword [rsp + 0x50], 0xaeaeaeae
mov dword [rsp + 0x5c], eax
jne 0x1401e9534
lea rdx, [r11 - 0x58]
lea rcx, [0x14032dee0]
call fcn.1401e9b50
mov ebx, eax
jmp 0x1401e95ff
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xb0]
lea rdx, str.SoftwareRealtekAEAPO
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401e95e1
mov rcx, qword [rsp + 0xb0]
lea rax, [rsp + 0x50]
lea rdx, str.CapProperties
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1401e95e1
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
jmp 0x1401e95ff
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
mov rdi, qword [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa8
ret
xor eax, eax
add rsp, 0xa8
ret
Function at 0x1401e9630
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x14032def8], 4
je 0x1401e97d9
mov rax, qword [0x14032dee0]
lea r8, [r11 - 0x58]
mov qword [r11 + 0x10], rbx
mov qword [r8], rax
mov rax, qword [0x14032dee8]
mov qword [r11 - 8], rdi
mov qword [r8 + 8], rax
mov rax, qword [0x14032def0]
xor edi, edi
mov qword [r8 + 0x10], rax
mov rax, qword [0x14032def8]
test edx, edx
mov qword [r8 + 0x18], rax
mov rax, qword [0x14032df00]
mov ebx, edi
mov qword [r8 + 0x20], rax
mov rax, qword [0x14032df08]
mov qword [r8 + 0x28], rax
mov rax, qword [0x14032df10]
mov qword [r8 + 0x30], rax
mov rax, qword [0x14032df18]
mov qword [r8 + 0x38], rax
mov eax, dword [0x14032df20]
mov dword [r8 + 0x40], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], edx
cmovne eax, edi
cmp dword [0x14032df3c], ebx
mov dword [rsp + 0x50], 0xaeaeaeae
mov dword [rsp + 0x58], eax
jne 0x1401e96f4
lea rdx, [r11 - 0x58]
lea rcx, [0x14032dee0]
call fcn.1401e9b50
mov ebx, eax
jmp 0x1401e97bf
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xb0]
lea rdx, str.SoftwareRealtekAEAPO
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401e97a1
mov rcx, qword [rsp + 0xb0]
lea rax, [rsp + 0x50]
lea rdx, str.CapProperties
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1401e97a1
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
jmp 0x1401e97bf
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
mov rdi, qword [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa8
ret
xor eax, eax
add rsp, 0xa8
ret
Function at 0x1401e97f0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x14032def8], 8
je 0x1401e998c
mov rax, qword [0x14032dee0]
lea r8, [r11 - 0x58]
mov qword [r11 + 0x10], rbx
mov qword [r8], rax
mov rax, qword [0x14032dee8]
mov qword [r11 - 8], rdi
mov qword [r8 + 8], rax
mov rax, qword [0x14032def0]
xor edi, edi
mov qword [r8 + 0x10], rax
mov rax, qword [0x14032def8]
mov ebx, edi
cmp dword [0x14032df3c], ebx
mov qword [r8 + 0x18], rax
mov rax, qword [0x14032df00]
mov qword [r8 + 0x20], rax
mov rax, qword [0x14032df08]
mov qword [r8 + 0x28], rax
mov rax, qword [0x14032df10]
mov qword [r8 + 0x30], rax
mov rax, qword [0x14032df18]
mov qword [r8 + 0x38], rax
mov eax, dword [0x14032df20]
mov dword [r8 + 0x40], eax
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x50], 0xaeaeaeae
jne 0x1401e98a7
lea rdx, [r11 - 0x58]
lea rcx, [0x14032dee0]
call fcn.1401e9b50
mov ebx, eax
jmp 0x1401e9972
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xb0]
lea rdx, str.SoftwareRealtekAEAPO
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401e9954
mov rcx, qword [rsp + 0xb0]
lea rax, [rsp + 0x50]
lea rdx, str.CapProperties
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1401e9954
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
jmp 0x1401e9972
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
mov rdi, qword [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa8
ret
xor eax, eax
add rsp, 0xa8
ret
Function at 0x1401e99a0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x14032def8], 1
je 0x1401e9b3c
mov rax, qword [0x14032dee0]
lea r8, [r11 - 0x58]
mov qword [r11 + 0x10], rbx
mov qword [r8], rax
mov rax, qword [0x14032dee8]
mov qword [r11 - 8], rdi
mov qword [r8 + 8], rax
mov rax, qword [0x14032def0]
xor edi, edi
mov qword [r8 + 0x10], rax
mov rax, qword [0x14032def8]
mov ebx, edi
cmp dword [0x14032df3c], ebx
mov qword [r8 + 0x18], rax
mov rax, qword [0x14032df00]
mov qword [r8 + 0x20], rax
mov rax, qword [0x14032df08]
mov qword [r8 + 0x28], rax
mov rax, qword [0x14032df10]
mov qword [r8 + 0x30], rax
mov rax, qword [0x14032df18]
mov qword [r8 + 0x38], rax
mov eax, dword [0x14032df20]
mov dword [r8 + 0x40], eax
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x50], 0xaeaeaeae
jne 0x1401e9a57
lea rdx, [r11 - 0x58]
lea rcx, [0x14032dee0]
call fcn.1401e9b50
mov ebx, eax
jmp 0x1401e9b22
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xb0]
lea rdx, str.SoftwareRealtekAEAPO
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401e9b04
mov rcx, qword [rsp + 0xb0]
lea rax, [rsp + 0x50]
lea rdx, str.CapProperties
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1401e9b04
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
jmp 0x1401e9b22
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x14032dee0]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401e9fd0
mov rdi, qword [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa8
ret
xor eax, eax
add rsp, 0xa8
ret
Function at 0x1401e9b50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140315d90]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rdx
or r9d, 0xffffffff
lea rcx, [0x14032dee0]
lea rdx, str.Start_WriteService
or r8d, r9d
xor ebx, ebx
mov dword [rsp + 0x20], 1
call fcn.1401e9fd0
lea rcx, [0x14032dee0]
call fcn.1401e9c80
test rax, rax
mov rdi, rax
jne 0x1401e9bcc
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14032dee0]
call fcn.1401e9c80
test rax, rax
mov rdi, rax
je 0x1401e9c35
lea rcx, [rsp + 0x48]
mov rdx, rsi
mov r8d, 0x44
mov dword [rsp + 0x40], 0xae0ae0ae
mov dword [rsp + 0x44], 1
call fcn.14022a570
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, 0x88
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401e9c21
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
lea rdx, str.WriteService_successful
jne 0x1401e9c3c
lea rdx, str.WriteService_failed
or r9d, 0xffffffff
lea rcx, [0x14032dee0]
mov dword [rsp + 0x20], 0
or r8d, r9d
call fcn.1401e9fd0
mov eax, ebx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1402272f0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1401e9c80
Capabilities:
Start service

Disassembly:
push r12
sub rsp, 0x40
xor r12d, r12d
lea rcx, str..pipeAERTAPOProperties
xor r9d, r9d
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x1401e9dd5
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Cant_open_pipe:
lea rcx, [0x14032dee0]
or r9d, 0xffffffff
mov r8d, eax
mov dword [rsp + 0x20], r12d
call fcn.1401e9fd0
cmp dword [0x14032df40], r12d
je 0x1401e9d0a
mov ebx, 1
mov rax, r12
mov dword [0x14032df40], ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret
mov qword [rsp + 0x60], rsi
mov ebx, 1
xor edx, edx
xor ecx, ecx
mov r8d, ebx
mov qword [rsp + 0x68], rdi
mov esi, r12d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rdi, rax
je 0x1401e9dc3
lea r8d, [rbx + 0xf]
lea rdx, str.AERTFilters
mov rcx, rax
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rbp, rax
je 0x1401e9d72
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rbp
test eax, eax
cmovne esi, ebx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
mov rbp, qword [rsp + 0x58]
je 0x1401e9dc3
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r12
lea rcx, str..pipeAERTAPOProperties
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
cmove rax, r12
jmp 0x1401e9dc6
mov rax, r12
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret
Function at 0x1401ea8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [rcx + 0x28]
xor ebx, ebx
test ecx, ecx
jne 0x1401ea907
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x1401ea99d
add eax, eax
cmp eax, ecx
jne 0x1401ea99d
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareAndrea_ElectronicsAEAudioAPOSettings
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401ea99d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.AEOpts
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401ea992
mov ecx, dword [rsp + 0x60]
mov eax, 1
not ecx
cmp ecx, dword [rdi + 0x28]
cmove ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1401eac40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x100
mov esi, edx
lea rax, [rsp + 0x30]
mov rbx, rcx
lea rdx, str.SoftwareRealtekAEAPO
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401eadb1
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x130]
lea r9, [rsp + 0x138]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.RenProperties
xor r8d, r8d
mov qword [rsp + 0x120], rbp
mov dword [rsp + 0x130], 0x60
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebp, [rdi + 1]
test eax, eax
jne 0x1401eace4
cmp dword [rsp + 0x130], 0x60
jne 0x1401eace4
cmp dword [rsp + 0x40], 0xaee0aee0
cmove edi, ebp
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1401eada9
lea rcx, [rsp + 0xa0]
mov rdx, rbx
mov r8d, 0x60
call fcn.14022a570
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8d, 0x60
call fcn.14022a570
or r9d, 0xffffffff
lea rdx, str.LoadEQInfo_successful
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], 0
call fcn.1401eb260
test esi, esi
je 0x1401eada9
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x1401eada9
mov edx, dword [rsp + 0x4c]
cmp edx, dword [rsp + 0xac]
je 0x1401ead63
mov r8, qword [rbx + 0xa0]
xor ecx, ecx
call rax
mov r8, qword [rbx + 0xa0]
xor edx, edx
mov ecx, ebp
call qword [rbx + 0x60]
mov edx, dword [rsp + 0x48]
cmp edx, dword [rsp + 0xa8]
je 0x1401ead8d
mov r8, qword [rbx + 0xa0]
mov ecx, 2
call qword [rbx + 0x60]
mov edx, dword [rsp + 0x78]
cmp edx, dword [rsp + 0xd8]
je 0x1401eada9
mov r8, qword [rbx + 0xa0]
mov ecx, 3
call qword [rbx + 0x60]
mov rbp, qword [rsp + 0x120]
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret