joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140124720
Capabilities:
Check os version
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x30]
mov rdi, rdx
mov dword [rsp + 0x30], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 6
jae 0x140124766
mov eax, 0x80000000
jmp 0x140124943
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x178], rsi
xor esi, esi
cmp dword [0x140206e88], esi
mov qword [rsp + 0x180], r12
mov ebx, 0x80000000
lea r12, [0x140206920]
lea rbp, [0x140206a60]
jne 0x1401248f2
mov rax, r12
mov qword [rax], rsi
add rax, 0x10
cmp rax, rbp
jl 0x1401247a2
cmp qword [0x1402084a8], rsi
lea rax, [0x140124970]
mov qword [0x1402084b0], rsi
mov qword [0x140208468], rax
jne 0x140124850
lea r9, [0x140208420]
lea r8, [0x140126810]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [0x1402084a0], rax
jne 0x14012480d
mov dword [0x140208484], 1
jmp 0x140124850
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov dword [0x140208484], esi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [0x1402084a0]
xor edx, edx
mov qword [0x1402084a8], rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [0x1402084a0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x140208558], rsi
lea rax, [0x140124b70]
mov qword [0x140208560], rsi
mov qword [0x140208520], rax
jne 0x1401248f2
lea r9, [0x1402084c0]
lea r8, [0x140127b80]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [0x140208550], rax
jne 0x1401248af
mov dword [0x140208534], 1
jmp 0x1401248f2
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov dword [0x140208534], esi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [0x140208550]
xor edx, edx
mov qword [0x140208558], rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [0x140208550]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
mov rax, r12
cmp qword [rax], rsi
je 0x14012490a
add rax, 0x10
add ecx, 1
cmp rax, rbp
jl 0x1401248f7
jmp 0x140124929
movsxd rax, ecx
lea rcx, [0x140052850]
mov ebx, esi
add rax, rax
add dword [0x140206e88], 1
mov qword [r12 + rax*8], rcx
mov qword [r12 + rax*8 + 8], rdi
mov r12, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140144dc0
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret
Function at 0x140124be0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
xor ebx, ebx
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x140124ca2
cmp dword [0x140208470], ebx
jne 0x140124c88
mov edi, 1
xor edx, edx
xor ecx, ecx
mov r8d, edi
mov dword [0x140208474], ebx
mov dword [0x140208470], edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x140124c88
lea r8d, [rbx + 4]
lea rdx, str.AERTFilters
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140124c7f
mov rcx, rax
mov dword [0x140208474], edi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [0x140208474], ebx
je 0x140124d3a
mov eax, dword [0x140208438]
and eax, 1
jmp 0x140124d3c
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str..AndreaFilterRealtek
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140124d3a
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov r9d, 0x34
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140124d31
cmp dword [rsp + 0x40], ebx
je 0x140124d31
cmp dword [rsp + 0x50], ebx
mov edi, 1
cmovne ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140144dc0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140124d70
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
xor ebx, ebx
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x140124e34
cmp dword [0x140208470], ebx
jne 0x140124e18
mov edi, 1
xor edx, edx
xor ecx, ecx
mov r8d, edi
mov dword [0x140208474], ebx
mov dword [0x140208470], edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x140124e18
lea r8d, [rbx + 4]
lea rdx, str.AERTFilters
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140124e0f
mov rcx, rax
mov dword [0x140208474], edi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [0x140208474], ebx
je 0x140124eca
mov eax, dword [0x140208438]
shr eax, 1
and eax, 1
jmp 0x140124ecc
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str..AndreaFilterRealtek
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140124eca
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov edi, 1
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x48]
lea r9d, [rdi + 0x33]
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140124ec1
cmp dword [rsp + 0x40], ebx
je 0x140124ec1
cmp dword [rsp + 0x50], ebx
cmovne ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140144dc0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140124f00
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x140124fee
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 + 0x1c0], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x140124fe2
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r9d, [rbx + 0x34]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x48]
mov edx, 0x222004
mov rcx, rdi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140124fd9
cmp dword [rsp + 0x40], ebx
je 0x140124fd9
cmp dword [rsp + 0x54], ebx
mov eax, 1
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x1c0]
mov eax, ebx
jmp 0x140125001
test byte [0x140208438], 1
mov eax, 0
cmovne eax, dword [0x140208424]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140144dc0
add rsp, 0x1b0
pop rbx
ret

Function at 0x140125020
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x14012511e
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], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x140125112
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea r9d, [rbx + 0x34]
lea r8, [rsp + 0x48]
mov esi, 1
mov edx, 0x222004
mov rcx, rdi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], esi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140125101
cmp dword [rsp + 0x40], ebx
je 0x140125101
cmp dword [rsp + 0x54], ebx
cmovne ebx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x1c8]
mov eax, ebx
jmp 0x140125131
test byte [0x140208438], 2
mov eax, 0
cmovne eax, dword [0x140208428]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140144dc0
add rsp, 0x1b0
pop rbx
ret
Function at 0x140125150
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x140125242
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 + 0x1c0], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x140125236
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r9d, [rbx + 0x34]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x48]
mov edx, 0x222004
mov rcx, rdi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14012522d
cmp dword [rsp + 0x40], ebx
je 0x14012522d
cmp dword [rsp + 0x54], ebx
mov eax, 1
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x1c0]
mov eax, ebx
jmp 0x140125255
test byte [0x140208438], 4
mov eax, 0
cmovne eax, dword [0x14020842c]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140144dc0
add rsp, 0x1b0
pop rbx
ret

Function at 0x140125270
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jae 0x140125362
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 + 0x1c0], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x140125356
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r9d, [rbx + 0x34]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x48]
mov edx, 0x222004
mov rcx, rdi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14012534d
cmp dword [rsp + 0x40], ebx
je 0x14012534d
cmp dword [rsp + 0x54], ebx
mov eax, 1
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x1c0]
mov eax, ebx
jmp 0x140125375
test byte [0x140208438], 8
mov eax, 0
cmovne eax, dword [0x140208430]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140144dc0
add rsp, 0x1b0
pop rbx
ret
Function at 0x140125390
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
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 0x140125484
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 0x140125478
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 [0x140208568]
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 0x1401254a0
lea rcx, [0x140208420]
mov edx, edi
call fcn.1401263d0
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.140144dc0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret

Function at 0x1401254d0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
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 0x1401255c4
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 0x1401255b8
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 [0x140208568]
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 0x1401255e0
lea rcx, [0x140208420]
mov edx, edi
call fcn.140125ea0
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.140144dc0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x140125610
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
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 0x140125704
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 0x1401256f8
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 [0x140208568]
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 0x140125720
lea rcx, [0x140208420]
mov edx, edi
call fcn.140126060
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.140144dc0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret

Function at 0x140125750
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
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 0x140125844
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 0x140125838
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 [0x140208568]
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 0x140125860
lea rcx, [0x140208420]
mov edx, edi
call fcn.140126220
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.140144dc0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x140125c60
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 0x140125e88
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 0x140125d0e
cmp dword [rsp + 0x110], 0x44
jne 0x140125d0e
cmp dword [rsp + 0x40], 0xaeaeaeae
jne 0x140125d0e
test dword [rsp + 0x58], 0xfffffee0
cmove edi, ebp
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140125e80
lea rcx, [rsp + 0x90]
mov rdx, rbx
mov r8d, 0x44
call fcn.1401492a0
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8d, 0x44
call fcn.1401492a0
or r9d, 0xffffffff
lea rdx, str.LoadFiltersInfo_successful
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], 0
call fcn.140126a00
test esi, esi
je 0x140125e80
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x140125e80
mov edx, dword [rsp + 0x44]
cmp edx, dword [rsp + 0x94]
je 0x140125d95
mov r8, qword [rbx + 0x90]
xor ecx, ecx
call rax
mov edx, dword [rsp + 0x48]
cmp edx, dword [rsp + 0x98]
je 0x140125dae
mov r8, qword [rbx + 0x90]
mov ecx, ebp
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x4c]
cmp edx, dword [rsp + 0x9c]
je 0x140125dca
mov r8, qword [rbx + 0x90]
mov ecx, 2
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x50]
cmp edx, dword [rsp + 0xa0]
je 0x140125de6
mov r8, qword [rbx + 0x90]
mov ecx, 3
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x54]
cmp edx, dword [rsp + 0xa4]
je 0x140125e02
mov r8, qword [rbx + 0x90]
mov ecx, 4
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x60]
cmp edx, dword [rsp + 0xb0]
je 0x140125e1e
mov r8, qword [rbx + 0x90]
mov ecx, 6
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x64]
cmp edx, dword [rsp + 0xb4]
je 0x140125e3a
mov r8, qword [rbx + 0x90]
mov ecx, 7
call qword [rbx + 0x48]
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x68], eax
je 0x140125e64
xor edx, edx
mov rcx, rbx
call fcn.140127310
test eax, eax
je 0x140125e64
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 0x140125e80
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 0x140125ea0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x140208438], 2
je 0x140126049
mov rax, qword [0x140208420]
lea r8, [r11 - 0x58]
mov qword [r11 + 0x10], rbx
mov qword [r8], rax
mov rax, qword [0x140208428]
mov qword [r11 - 8], rdi
mov qword [r8 + 8], rax
mov rax, qword [0x140208430]
xor edi, edi
mov qword [r8 + 0x10], rax
mov rax, qword [0x140208438]
test edx, edx
mov qword [r8 + 0x18], rax
mov rax, qword [0x140208440]
mov ebx, edi
mov qword [r8 + 0x20], rax
mov rax, qword [0x140208448]
mov qword [r8 + 0x28], rax
mov rax, qword [0x140208450]
mov qword [r8 + 0x30], rax
mov rax, qword [0x140208458]
mov qword [r8 + 0x38], rax
mov eax, dword [0x140208460]
mov dword [r8 + 0x40], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x58], edx
cmovne eax, edi
cmp dword [0x14020847c], ebx
mov dword [rsp + 0x50], 0xaeaeaeae
mov dword [rsp + 0x5c], eax
jne 0x140125f64
lea rdx, [r11 - 0x58]
lea rcx, [0x140208420]
call fcn.140126580
mov ebx, eax
jmp 0x14012602f
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 0x140126011
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 0x140126011
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.140126a00
jmp 0x14012602f
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.140126a00
mov rdi, qword [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa8
ret
xor eax, eax
add rsp, 0xa8
ret