joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401248f0
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 0x1401249de
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 0x1401249d2
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 0x1401249c9
cmp dword [rsp + 0x40], ebx
je 0x1401249c9
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 0x1401249f1
test byte [0x140208438], 1
mov eax, 0
cmovne eax, dword [0x140208424]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
add rsp, 0x1b0
pop rbx
ret

Function at 0x140124a10
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 0x140124b0e
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 0x140124b02
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 0x140124af1
cmp dword [rsp + 0x40], ebx
je 0x140124af1
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 0x140124b21
test byte [0x140208438], 2
mov eax, 0
cmovne eax, dword [0x140208428]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
add rsp, 0x1b0
pop rbx
ret
Function at 0x140124b40
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 0x140124c32
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 0x140124c26
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 0x140124c1d
cmp dword [rsp + 0x40], ebx
je 0x140124c1d
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 0x140124c45
test byte [0x140208438], 4
mov eax, 0
cmovne eax, dword [0x14020842c]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
add rsp, 0x1b0
pop rbx
ret

Function at 0x140124c60
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 0x140124d52
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 0x140124d46
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 0x140124d3d
cmp dword [rsp + 0x40], ebx
je 0x140124d3d
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 0x140124d65
test byte [0x140208438], 8
mov eax, 0
cmovne eax, dword [0x140208430]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
add rsp, 0x1b0
pop rbx
ret
Function at 0x140124d80
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 0x140124e74
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 0x140124e68
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 0x140124e90
lea rcx, [0x140208420]
mov edx, edi
call fcn.140125dc0
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.1401447b0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret

Function at 0x140124ec0
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 0x140124fb4
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 0x140124fa8
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 0x140124fd0
lea rcx, [0x140208420]
mov edx, edi
call fcn.140125890
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.1401447b0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x140125000
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 0x1401250f4
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 0x1401250e8
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 0x140125110
lea rcx, [0x140208420]
mov edx, edi
call fcn.140125a50
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.1401447b0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret

Function at 0x140125140
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 0x140125234
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 0x140125228
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 0x140125250
lea rcx, [0x140208420]
mov edx, edi
call fcn.140125c10
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.1401447b0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x140125650
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 0x140125878
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 0x1401256fe
cmp dword [rsp + 0x110], 0x44
jne 0x1401256fe
cmp dword [rsp + 0x40], 0xaeaeaeae
jne 0x1401256fe
test dword [rsp + 0x58], 0xfffffee0
cmove edi, ebp
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140125870
lea rcx, [rsp + 0x90]
mov rdx, rbx
mov r8d, 0x44
call fcn.140148c90
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8d, 0x44
call fcn.140148c90
or r9d, 0xffffffff
lea rdx, str.LoadFiltersInfo_successful
mov rcx, rbx
or r8d, r9d
mov dword [rsp + 0x20], 0
call fcn.1401263f0
test esi, esi
je 0x140125870
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x140125870
mov edx, dword [rsp + 0x44]
cmp edx, dword [rsp + 0x94]
je 0x140125785
mov r8, qword [rbx + 0x90]
xor ecx, ecx
call rax
mov edx, dword [rsp + 0x48]
cmp edx, dword [rsp + 0x98]
je 0x14012579e
mov r8, qword [rbx + 0x90]
mov ecx, ebp
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x4c]
cmp edx, dword [rsp + 0x9c]
je 0x1401257ba
mov r8, qword [rbx + 0x90]
mov ecx, 2
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x50]
cmp edx, dword [rsp + 0xa0]
je 0x1401257d6
mov r8, qword [rbx + 0x90]
mov ecx, 3
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x54]
cmp edx, dword [rsp + 0xa4]
je 0x1401257f2
mov r8, qword [rbx + 0x90]
mov ecx, 4
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x60]
cmp edx, dword [rsp + 0xb0]
je 0x14012580e
mov r8, qword [rbx + 0x90]
mov ecx, 6
call qword [rbx + 0x48]
mov edx, dword [rsp + 0x64]
cmp edx, dword [rsp + 0xb4]
je 0x14012582a
mov r8, qword [rbx + 0x90]
mov ecx, 7
call qword [rbx + 0x48]
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x68], eax
je 0x140125854
xor edx, edx
mov rcx, rbx
call fcn.140126d00
test eax, eax
je 0x140125854
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 0x140125870
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 0x140125890
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x140208438], 2
je 0x140125a39
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 0x140125954
lea rdx, [r11 - 0x58]
lea rcx, [0x140208420]
call fcn.140125f70
mov ebx, eax
jmp 0x140125a1f
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 0x140125a01
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 0x140125a01
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
jmp 0x140125a1f
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
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 0x140125a50
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x140208438], 4
je 0x140125bf9
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 + 0x58]
mov dword [rsp + 0x5c], edx
cmovne eax, edi
cmp dword [0x14020847c], ebx
mov dword [rsp + 0x50], 0xaeaeaeae
mov dword [rsp + 0x58], eax
jne 0x140125b14
lea rdx, [r11 - 0x58]
lea rcx, [0x140208420]
call fcn.140125f70
mov ebx, eax
jmp 0x140125bdf
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 0x140125bc1
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 0x140125bc1
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
jmp 0x140125bdf
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
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 0x140125c10
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x140208438], 8
je 0x140125dac
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]
mov ebx, edi
cmp dword [0x14020847c], ebx
mov qword [r8 + 0x18], rax
mov rax, qword [0x140208440]
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 dword [rsp + 0x60], edx
mov dword [rsp + 0x50], 0xaeaeaeae
jne 0x140125cc7
lea rdx, [r11 - 0x58]
lea rcx, [0x140208420]
call fcn.140125f70
mov ebx, eax
jmp 0x140125d92
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 0x140125d74
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 0x140125d74
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
jmp 0x140125d92
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
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 0x140125dc0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
test byte [0x140208438], 1
je 0x140125f5c
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]
mov ebx, edi
cmp dword [0x14020847c], ebx
mov qword [r8 + 0x18], rax
mov rax, qword [0x140208440]
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 dword [rsp + 0x54], edx
mov dword [rsp + 0x50], 0xaeaeaeae
jne 0x140125e77
lea rdx, [r11 - 0x58]
lea rcx, [0x140208420]
call fcn.140125f70
mov ebx, eax
jmp 0x140125f42
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 0x140125f24
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 0x140125f24
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_successful
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
jmp 0x140125f42
or r9d, 0xffffffff
lea rdx, str.WriteRegistry_failed
lea rcx, [0x140208420]
or r8d, r9d
mov dword [rsp + 0x20], edi
call fcn.1401263f0
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 0x140125f70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rdx
or r9d, 0xffffffff
lea rcx, [0x140208420]
lea rdx, str.Start_WriteService
or r8d, r9d
xor ebx, ebx
mov dword [rsp + 0x20], 1
call fcn.1401263f0
lea rcx, [0x140208420]
call fcn.1401260a0
test rax, rax
mov rdi, rax
jne 0x140125fec
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140208420]
call fcn.1401260a0
test rax, rax
mov rdi, rax
je 0x140126055
lea rcx, [rsp + 0x48]
mov rdx, rsi
mov r8d, 0x44
mov dword [rsp + 0x40], 0xae0ae0ae
mov dword [rsp + 0x44], 1
call fcn.140148c90
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 0x140126041
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 0x14012605c
lea rdx, str.WriteService_failed
or r9d, 0xffffffff
lea rcx, [0x140208420]
mov dword [rsp + 0x20], 0
or r8d, r9d
call fcn.1401263f0
mov eax, ebx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret