joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008a0d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14016b010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x1f], rcx
mov eax, 1
mov dword [rbp + 0x1f], eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
xor r15d, r15d
mov edx, r15d
mov qword [rbp + 0x17], rdx
nop dword [rax]
mov r8d, eax
mov r9, qword [rbp + 0xf]
mov rax, r9
mov rcx, qword [rbp + 7]
sub rax, rcx
cmp r8, rax
jae 0x14008a140
lea rax, [r8 + rcx]
mov qword [rbp + 0xf], rax
jmp 0x14008a174
jbe 0x14008a174
sub rdx, rcx
cmp r8, rdx
jbe 0x14008a15b
lfence
mov rdx, r8
lea rcx, [rbp + 7]
call fcn.140085fd0
jmp 0x14008a170
sub r8, rax
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1400d9a00
mov qword [rbp + 0xf], rbx
mov rcx, qword [rbp + 7]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14008a181
mov r8, qword [rdi]
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
cmp eax, 0xea
jne 0x14008a1b8
mov eax, dword [rbp + 0x1f]
mov rdx, qword [rbp + 0x17]
jmp 0x14008a120
cmp ebx, 2
jne 0x14008a1fd
mov byte [rsi + 0x18], 0
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14008a228
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a1f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008a283
call fcn.1400d45f0
jmp 0x14008a228
test ebx, ebx
jne 0x14008a24e
mov edx, dword [rbp + 0x1f]
lea rcx, [rbp + 7]
call fcn.140085f40
mov rax, qword [rbp + 7]
mov qword [rsi], rax
mov rax, qword [rbp + 0xf]
mov qword [rsi + 8], rax
mov rax, qword [rbp + 0x17]
mov qword [rsi + 0x10], rax
mov byte [rsi + 0x18], 1
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d45d0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.RegGetValueW_failed
lea rcx, [rbp - 0x39]
call fcn.14000d650
nop
mov r9d, ebx
mov r8, rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140087830
lea rdx, [0x140168778]
lea rcx, [rbp - 0x19]
call fcn.1400d9ba0
nop
call fcn.1400e6180
int3
Function at 0x14008c190
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x28
cmp qword [rdx + 0x18], 8
jb 0x14008c19e
mov rdx, qword [rdx]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edx, eax
mov rax, qword [0x1401771b0]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14008c1d7
nop word [rax + rax]
cmp dword [rcx + 0x1c], edx
jae 0x14008c1cb
mov rcx, qword [rcx + 0x10]
jmp 0x14008c1d1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14008c1c0
cmp byte [rax + 0x19], 0
jne 0x14008c1ea
cmp edx, dword [rax + 0x1c]
jb 0x14008c1ea
mov eax, dword [rax + 0x20]
add rsp, 0x28
ret
lea rcx, str.invalid_map_K__T__key
call fcn.1400d63b0
int3

Function at 0x14008c200
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x14016b010]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
mov rdx, r8
lea rcx, [rbp - 0x58]
call fcn.14000d430
nop
xor esi, esi
mov rdi, qword [rbp - 0x40]
cmp qword [rbp - 0x48], 2
jne 0x14008c2a2
lea rax, [rbp - 0x58]
cmp rdi, 8
setae dl
mov rcx, qword [rbp - 0x58]
cmovae rax, rcx
cmp word [rax + 2], 0x3a
jne 0x14008c2a2
cmp rdi, 2
jbe 0x14008c285
mov qword [rbp - 0x48], 3
lea rax, [rbp - 0x58]
test dl, dl
cmovne rax, rcx
mov dword [rax + 4], 0x5c
jmp 0x14008c29e
mov r9d, 0x5c
movzx r8d, byte [rsp + 0x40]
lea edx, [r9 - 0x5b]
lea rcx, [rbp - 0x58]
call fcn.14000fb70
mov rdi, qword [rbp - 0x40]
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x30]
call fcn.1400d9a00
lea rcx, [rbp - 0x58]
cmp rdi, 8
cmovae rcx, qword [rbp - 0x58]
mov dword [rsp + 0x38], 0x105
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14008c38f
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14008c310
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14000d1d0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14008c364
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c35f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c389
call fcn.1400d45f0
mov rax, rbx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400d45d0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret
call fcn.1400e6180
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400155b0
nop
mov r8, rax
lea rdx, str.GetVolumeInformationW_failed_with_error:
lea rcx, [rbp - 0x78]
call fcn.140016540
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140007810
lea rdx, [0x140167958]
lea rcx, [rsp + 0x50]
call fcn.1400d9ba0
int3
Function at 0x14008e0d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x88
mov rcx, rdx
mov edx, r8d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14008e0f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14008e0fa
add rsp, 0x88
ret
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1400155b0
nop
mov r8, rax
lea rdx, str.Failed_to_trigger_process_termination_with_error:
lea rcx, [rsp + 0x58]
call fcn.140016540
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140007810
lea rdx, [0x140167958]
lea rcx, [rsp + 0x20]
call fcn.1400d9ba0
int3
Function at 0x14008fd80
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x40
mov eax, dword [rsp + 0x90]
mov r10d, r9d
mov r9, qword [rsp + 0x70]
mov r11, r8
mov dword [rsp + 0x38], eax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8d, r10d
mov qword [rsp + 0x30], rax
mov rdx, r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
add rsp, 0x40
pop rbx
ret

Function at 0x1400994d0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
lea rbx, [rcx + 8]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.1400d6d3c
test eax, eax
jne 0x14009956a
cmp byte [rsi], al
jne 0x140099572
mov rcx, rbx
call fcn.1400d6d60
mov eax, edi
cmp rax, rdi
jne 0x14009953f
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov ebx, eax
test eax, eax
js 0x140099595
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call fcn.1400102c0
lea rdx, [0x140167a60]
lea rcx, [rsp + 0x20]
call fcn.1400d9ba0
int3
mov ecx, eax
call fcn.1400d618c
nop
lea rdx, str.Invalid_attempt_to_add_data_to_finalised_hash
lea rcx, [rsp + 0x40]
call fcn.140007880
lea rdx, [0x140167958]
lea rcx, [rsp + 0x40]
call fcn.1400d9ba0
nop
lfence
lea rdx, str.Error_adding_data_to_hash
lea rcx, [rsp + 0x58]
call fcn.14000d650
nop
lea rdx, [rsp + 0x58]
mov ecx, ebx
call fcn.140058e30
int3
mov r8, qword [rdx + 8]
sub r8, qword [rdx]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
jmp 0x1400994d0
Function at 0x14009bf90
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rbx, r8
mov rax, rdx
mov dword [rsp + 0x20], 0
lea rcx, [0x14016bcb0]
mov qword [rsp + 0x28], rcx
movaps xmm6, xmmword [rsp + 0x20]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14009bfd1
mov rdx, qword [r8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14009c000
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14009bffb
mov dword [rsp + 0x20], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x28], rax
movaps xmm6, xmmword [rsp + 0x20]
xor dil, dil
jmp 0x14009c003
mov dil, 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8d, 0xb
lea rdx, str.DeleteValue
lea rcx, [rsp + 0x30]
call fcn.14000d4f0
nop
movd eax, xmm6
test eax, eax
jne 0x14009c09f
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14009c07c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c077
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c099
call fcn.1400d45f0
movzx eax, dil
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rdi
ret
call fcn.1400e6180
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000d1b0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400b17e0
mov rbx, rax
lea r8, [0x1401322f4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14000e600
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400284b0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000e670
nop
movdqa xmmword [rsp + 0x20], xmm6
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14009ebb0
int3
Function at 0x14009cab0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x14016b010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, r8
mov rax, rdx
mov dword [r11 - 0x28], r9d
mov dword [rsp + 0x30], 0
lea rcx, [0x14016bcb0]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14009cb02
mov rdx, qword [r8]
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14009cb42
mov dword [rsp + 0x30], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.SetDwordValue
lea rcx, [rsp + 0x40]
call fcn.14000d4f0
nop
movd eax, xmm6
test eax, eax
jne 0x14009cbe2
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14009cbbb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009cbb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009cbdc
call fcn.1400d45f0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400d45d0
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400e6180
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000d1b0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400b17e0
mov rbx, rax
lea r8, [0x1401322f4]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14000e600
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400284b0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14000e670
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14009ebb0
int3
Function at 0x14009ce20
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x14016b010]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov rax, rdx
mov qword [r11 - 0x38], r9
mov dword [rsp + 0x30], 0
lea rcx, [0x14016bcb0]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14009ce72
mov rdx, qword [r8]
mov dword [rsp + 0x28], 8
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
mov r9d, 0xb
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14009ceb2
mov dword [rsp + 0x30], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.SetQwordValue
lea rcx, [rsp + 0x40]
call fcn.14000d4f0
nop
movd eax, xmm6
test eax, eax
jne 0x14009cf52
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14009cf2b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009cf26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009cf4c
call fcn.1400d45f0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400d45d0
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400e6180
nop
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call fcn.14000d1b0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400b17e0
mov rbx, rax
lea r8, [0x1401322f4]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.14000e600
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400284b0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000e670
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14009ebb0
int3
Function at 0x14009f6a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp 0x14009f6a0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rbx, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [0x14016bcb0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
cmp qword [rdx + 0x18], 8
jb 0x14009f6de
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14009f71a
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14009f715
mov dword [rsp + 0x30], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
xor dil, dil
jmp 0x14009f71d
mov dil, 1
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xb
lea rdx, str.ValueExists
lea rcx, [rsp + 0x40]
call fcn.14000d4f0
nop
movd eax, xmm6
test eax, eax
jne 0x14009f7b2
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14009f78e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f789
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f7ac
call fcn.1400d45f0
movzx eax, dil
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
call fcn.1400e6180
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000d1b0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400b17e0
mov rbx, rax
lea r8, [0x1401322f4]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14000e600
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400284b0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14000e670
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14009ebb0
int3
Function at 0x14009fa10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14016b010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [0x14016bcb0]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov rbx, r8
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 4
movups xmmword [r8], xmm0
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x40], 0
jb 0x14009fa67
mov rdx, qword [rdx]
lea rax, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14009faba
mov dword [rsp + 0x30], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d45d0
add rsp, 0x60
pop rbx
ret
cmp dword [rsp + 0x40], 4
je 0x14009facb
mov dword [rsp + 0x30], 0x65d
jmp 0x14009fa91
cmp dword [rsp + 0x44], 4
je 0x14009fae1
mov edx, 1
mov rcx, rbx
call fcn.1400a3120
jmp 0x14009faa5
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d45d0
add rsp, 0x60
pop rbx
ret

Function at 0x14009fca0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14016b010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
lea rax, [0x14016bcb0]
mov qword [rsp + 0x40], rax
mov rbx, r8
movups xmm0, xmmword [rsp + 0x38]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x34], 8
movups xmmword [r8], xmm0
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x30], 0
jb 0x14009fcf8
mov rdx, qword [rdx]
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14009fd4b
mov dword [rsp + 0x38], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d45d0
add rsp, 0x50
pop rbx
ret
cmp dword [rsp + 0x30], 0xb
je 0x14009fd5c
mov dword [rsp + 0x38], 0x65d
jmp 0x14009fd22
cmp dword [rsp + 0x34], 8
je 0x14009fd72
mov edx, 1
mov rcx, rbx
call fcn.1400a3120
jmp 0x14009fd36
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d45d0
add rsp, 0x50
pop rbx
ret
Function at 0x1400a0380
Capabilities:
Set registry value

Disassembly:
mov r10, r8
mov rcx, rdx
mov rdx, r10
mov r8, r9
jmp 0x1400a0380
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14016b010]
xor rax, rsp
mov qword [rbp + 8], rax
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov rdx, r8
lea rcx, [rbp - 0x10]
call fcn.1400a1cd0
nop
mov dword [rsp + 0x30], 0
lea rax, [0x14016bcb0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov rcx, qword [rbp - 8]
mov r8, qword [rbp - 0x10]
sub rcx, r8
mov eax, ecx
cmp rax, rcx
jne 0x1400a051c
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400a0405
mov rdx, qword [rdi]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r8
mov r9d, 7
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400a0439
mov dword [rsp + 0x30], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400a0473
mov rdx, qword [rbp]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a046e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a0547
call fcn.1400d45f0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 0x1e
lea rdx, str.SetMultistringFilterEmptyValue
lea rcx, [rsp + 0x50]
call fcn.14000d4f0
nop
movd eax, xmm6
test eax, eax
jne 0x1400a054d
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400a04f0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a04eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a0516
call fcn.1400d45f0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400d45d0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1400e6180
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.1400102c0
lea rdx, [0x140167a60]
lea rcx, [rsp + 0x30]
call fcn.1400d9ba0
nop
call fcn.1400e6180
nop
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.14000d1b0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400b17e0
mov rbx, rax
lea r8, [0x1401322f4]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14000e600
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400284b0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000e670
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14009ebb0
int3
Function at 0x1400a0820
Capabilities:
Set registry value

Disassembly:
mov r10, r8
mov rcx, rdx
mov rdx, r10
mov r8, r9
jmp 0x1400a0820
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rbx, rdx
mov dword [rsp + 0x30], 0
lea rax, [0x14016bcb0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov r10, qword [r8]
mov r9, qword [r8 + 8]
sub r9, r10
mov eax, r9d
cmp rax, r9
jne 0x1400a092f
cmp qword [rdx + 0x18], 8
jb 0x1400a086d
mov rdx, qword [rdx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r10
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400a089f
mov dword [rsp + 0x30], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xe
lea rdx, str.SetBinaryValue
lea rcx, [rsp + 0x40]
call fcn.14000d4f0
nop
movd eax, xmm6
test eax, eax
jne 0x1400a095a
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400a0918
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a0913
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a0929
call fcn.1400d45f0
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400e6180
int3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
call fcn.1400102c0
lea rdx, [0x140167a60]
lea rcx, [rsp + 0x60]
call fcn.1400d9ba0
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000d1b0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1400b17e0
mov rbx, rax
lea r8, [0x1401322f4]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.14000e600
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400284b0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.14000e670
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14009ebb0
int3

Function at 0x1400a0e30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rcx + 0x58]
lea r15, [rcx + 0x60]
mov qword [rsp + 0x88], rsi
mov r13, r9
mov qword [rsp + 0x40], rdi
mov r14, r8
mov rbx, rdx
mov rbp, rcx
cmp qword [r14 + 0x18], 8
mov rdx, r14
jb 0x1400a0e6d
mov rdx, qword [r14]
mov qword [rsp + 0x28], r15
lea r9, [rbp + 0x64]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400a0ec7
cmp eax, 0xea
jne 0x1400a0ead
mov esi, dword [rbp + 0x60]
lea rcx, [rbp + 0x40]
mov edx, esi
call fcn.140085f40
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], esi
jmp 0x1400a0e60
mov dword [rsp + 0x30], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r13], xmm0
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x1400a1390
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, r8
mov dword [rsp + 0x20], 0
lea r8, [0x14016bcb0]
mov eax, r9d
mov qword [rsp + 0x28], r8
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp qword [rdx + 0x18], 8
jb 0x1400a13c2
mov rdx, qword [rdx]
xor r9d, r9d
mov r8d, eax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x1400a13fa
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x1400a13f2
mov dword [rsp + 0x20], eax
lea rax, [0x14016c220]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
xor al, al
add rsp, 0x30
pop rbx
ret
mov al, 1
add rsp, 0x30
pop rbx
ret