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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, r8
mov rax, rdx
xor edx, edx
mov dword [r11 - 0x18], edx
mov dword [r11 - 0x14], 4
cmp qword [r8 + 0x18], 8
jb 0x14007cd9f
mov r8, qword [r8]
lea rcx, [rsp + 0x84]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov r9d, 0x10
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
jne 0x14007cdfb
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x40]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x60]
call fcn.1400cb8d0
int3

Function at 0x14007ce80
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rbx, r8
mov rax, rdx
mov dword [rsp + 0x70], r9d
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14007cea5
mov rdx, qword [r8]
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14007cee0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x30]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x50]
call fcn.1400cb8d0
int3

Function at 0x14007cf20
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov rax, rdx
xor edx, edx
mov qword [r11 - 0x20], rdx
mov dword [r11 - 0x28], 8
cmp qword [r8 + 0x18], 8
jb 0x14007cf5f
mov r8, qword [r8]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov r9d, 0x40
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
jne 0x14007cfbc
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x40]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x60]
call fcn.1400cb8d0
int3
Function at 0x14007d000
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rbx, r8
mov rax, rdx
mov qword [rsp + 0x70], r9
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14007d025
mov rdx, qword [r8]
mov dword [rsp + 0x28], 8
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0xb
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14007d060
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x30]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x50]
call fcn.1400cb8d0
int3

Function at 0x14007d2b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, r8
mov r10, rdx
mov rax, qword [r9 + 0x10]
cmp rax, 0x7ffffffe
ja 0x14007d357
lea rax, [rax*2 + 2]
cmp qword [r9 + 0x18], 8
jb 0x14007d2e2
mov r9, qword [r9]
mov rdx, rbx
cmp qword [r8 + 0x18], 8
jb 0x14007d2ef
mov rdx, qword [r8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, 1
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14007d31e
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x50]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x30]
call fcn.1400cb8d0
nop
lea rdx, str.Value_too_big_for_registry
lea rcx, [rsp + 0x30]
call fcn.14000c390
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x50]
call fcn.1400cb8d0
int3
Function at 0x14007db80
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, r8
mov r10, rdx
mov rcx, qword [r9]
mov rax, qword [r9 + 8]
sub rax, rcx
mov edx, 0xffffffff
cmp rax, rdx
ja 0x14007dc19
mov rdx, rbx
cmp qword [r8 + 0x18], 8
jb 0x14007dbb1
mov rdx, qword [r8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14007dbe0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x30]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x50]
call fcn.1400cb8d0
nop
lea rdx, str.Buffer_too_large_for_RegSetValueExW
lea rcx, [rsp + 0x30]
call fcn.140004160
lea rdx, [0x140156678]
lea rcx, [rsp + 0x30]
call fcn.1400cb8d0
int3
Function at 0x14007eb10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15d, r9d
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0xf], rcx
mov ecx, 2
mov dword [rbp + 0xf], ecx
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor r12d, r12d
mov r8d, r12d
mov qword [rbp + 7], r12
nop
mov eax, ecx
and eax, 1
shr rcx, 1
add rax, rcx
mov r9, qword [rbp - 1]
mov rcx, r9
mov rdx, qword [rbp - 9]
sub rcx, rdx
sar rcx, 1
cmp rax, rcx
jae 0x14007eb8b
lea rcx, [rdx + rax*2]
mov qword [rbp - 1], rcx
jmp 0x14007ebc6
jbe 0x14007ebc6
sub r8, rdx
sar r8, 1
cmp rax, r8
jbe 0x14007eba9
lfence
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.14007f650
jmp 0x14007ebc2
sub rax, rcx
lea r8, [rax + rax]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call fcn.1400cb730
mov qword [rbp - 1], rbx
mov rdx, qword [rbp - 9]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14007ebd3
mov r8, qword [rdi]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r12
mov r9d, r15d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
cmp eax, 0xea
jne 0x14007ec09
mov ecx, dword [rbp + 0xf]
mov r8, qword [rbp + 7]
jmp 0x14007eb60
cmp ebx, 2
jne 0x14007ec54
mov byte [rsi + 0x18], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14007ec95
mov rdx, qword [rbp + 7]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ec4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007eceb
call fcn.1400c59a0
jmp 0x14007ec95
test ebx, ebx
jne 0x14007ecf1
mov ecx, dword [rbp + 0xf]
test cl, 1
jne 0x14007ecb6
mov edx, ecx
and edx, 1
mov eax, ecx
shr rax, 1
add rdx, rax
lea rcx, [rbp - 9]
call fcn.14007e800
mov rax, qword [rbp - 9]
mov qword [rsi], rax
mov rax, qword [rbp - 1]
mov qword [rsi + 8], rax
mov rax, qword [rbp + 7]
mov qword [rsi + 0x10], rax
mov byte [rsi + 0x18], 1
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c5980
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.Invalid_registry_value_data_length
lea rcx, [rbp - 0x49]
call fcn.14000c390
nop
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rbp - 0x29]
call fcn.1400cb8d0
nop
call fcn.1400da6f8
nop
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x40]
call fcn.14000c390
nop
mov r9d, ebx
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x69]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rbp - 0x69]
call fcn.1400cb8d0
int3
Function at 0x14007ed30
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 [0x14015a010]
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 0x14007eda0
lea rax, [r8 + rcx]
mov qword [rbp + 0xf], rax
jmp 0x14007edd4
jbe 0x14007edd4
sub rdx, rcx
cmp r8, rdx
jbe 0x14007edbb
lfence
mov rdx, r8
lea rcx, [rbp + 7]
call fcn.140026550
jmp 0x14007edd0
sub r8, rax
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1400cb730
mov qword [rbp + 0xf], rbx
mov rcx, qword [rbp + 7]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14007ede1
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 0x14007ee18
mov eax, dword [rbp + 0x1f]
mov rdx, qword [rbp + 0x17]
jmp 0x14007ed80
cmp ebx, 2
jne 0x14007ee5d
mov byte [rsi + 0x18], 0
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14007ee88
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ee56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007eee3
call fcn.1400c59a0
jmp 0x14007ee88
test ebx, ebx
jne 0x14007eeae
mov edx, dword [rbp + 0x1f]
lea rcx, [rbp + 7]
call fcn.1400248b0
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.1400c5980
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.14000c390
nop
mov r9d, ebx
mov r8, rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rbp - 0x19]
call fcn.1400cb8d0
nop
call fcn.1400da6f8
int3
Function at 0x1400802e0
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.1400c8198
test eax, eax
jne 0x14008037a
cmp byte [rsi], al
jne 0x140080382
mov rcx, rbx
call fcn.1400c81f8
mov eax, edi
cmp rax, rdi
jne 0x14008034f
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 0x1400803a5
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.14002b450
lea rdx, [0x140156a60]
lea rcx, [rsp + 0x20]
call fcn.1400cb8d0
int3
mov ecx, eax
call fcn.1400c8ed4
nop
lea rdx, str.Invalid_attempt_to_add_data_to_finalised_hash
lea rcx, [rsp + 0x40]
call fcn.140004160
lea rdx, [0x140156678]
lea rcx, [rsp + 0x40]
call fcn.1400cb8d0
nop
lfence
lea rdx, str.Error_adding_data_to_hash
lea rcx, [rsp + 0x58]
call fcn.14000c390
nop
lea rdx, [rsp + 0x58]
mov ecx, ebx
call fcn.14001e7c0
int3

Function at 0x140086cc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x330
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov edi, ecx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0xd8], rax
cmp rax, 0xffffffffffffffff
je 0x140086d89
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0xe4]
call fcn.1400cb730
mov dword [rsp + 0xe0], 0x238
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140086dd1
cmp dword [rsp + 0xe8], edi
je 0x140086d56
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140086d32
mov edi, dword [rsp + 0x100]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0x348]
add rsp, 0x330
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140014f00
nop
mov r8, rax
lea rdx, str.CreateToolhelp32Snapshot_failed_with_error:
lea rcx, [rsp + 0x58]
call fcn.14000d780
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400040f0
lea rdx, [0x140156678]
lea rcx, [rsp + 0x20]
call fcn.1400cb8d0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140014f00
mov rbx, rax
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140014f00
nop
mov r8, rax
lea rdx, str.Failed_to_find_parent_process_ID_for_process_ID
lea rcx, [rsp + 0x78]
call fcn.14000d780
nop
lea r8, str._with_last_error:
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14000d3a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400171e0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400040f0
lea rdx, [0x140156678]
lea rcx, [rsp + 0x20]
call fcn.1400cb8d0
int3
Function at 0x14008c2b0
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, [0x14015acc0]
mov qword [rsp + 0x28], rcx
movaps xmm6, xmmword [rsp + 0x20]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14008c2f1
mov rdx, qword [r8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14008c320
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14008c31b
mov dword [rsp + 0x20], eax
lea rax, [0x14015b210]
mov qword [rsp + 0x28], rax
movaps xmm6, xmmword [rsp + 0x20]
xor dil, dil
jmp 0x14008c323
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.14000c140
nop
movd eax, xmm6
test eax, eax
jne 0x14008c3bf
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008c39c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c397
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c3b9
call fcn.1400c59a0
movzx eax, dil
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rdi
ret
call fcn.1400da6f8
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000be40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400a1cf0
mov rbx, rax
lea r8, [0x140122650]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14000d330
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400171e0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000d3a0
nop
movdqa xmmword [rsp + 0x20], xmm6
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14008edc0
int3
Function at 0x14008d0b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x14015a010]
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, [0x14015acc0]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14008d102
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 0x14008d142
mov dword [rsp + 0x30], eax
lea rax, [0x14015b210]
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.14000c140
nop
movd eax, xmm6
test eax, eax
jne 0x14008d1e2
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14008d1bb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d1b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d1dc
call fcn.1400c59a0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400c5980
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400da6f8
nop
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call fcn.14000be40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400a1cf0
mov rbx, rax
lea r8, [0x140122650]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.14000d330
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400171e0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000d3a0
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14008edc0
int3
Function at 0x14008fa40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp 0x14008fa40
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, [0x14015acc0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
cmp qword [rdx + 0x18], 8
jb 0x14008fa7e
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 0x14008faba
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14008fab5
mov dword [rsp + 0x30], eax
lea rax, [0x14015b210]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
xor dil, dil
jmp 0x14008fabd
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.14000c140
nop
movd eax, xmm6
test eax, eax
jne 0x14008fb52
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14008fb2e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fb29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008fb4c
call fcn.1400c59a0
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.1400da6f8
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000be40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400a1cf0
mov rbx, rax
lea r8, [0x140122650]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14000d330
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400171e0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14000d3a0
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14008edc0
int3
Function at 0x14008fdb0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, rdx
mov dword [r11 - 0x28], r8d
mov dword [rsp + 0x30], 0
lea rax, [0x14015acc0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
cmp qword [rdx + 0x18], 8
jb 0x14008fdfc
mov rdx, qword [rdx]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14008fe39
mov dword [rsp + 0x30], eax
lea rax, [0x14015b210]
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.14000c140
nop
movd eax, xmm6
test eax, eax
jne 0x14008fed9
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14008feb2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fead
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008fed3
call fcn.1400c59a0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400c5980
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400da6f8
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000be40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400a1cf0
mov rbx, rax
lea r8, [0x140122650]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14000d330
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400171e0
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14000d3a0
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14008edc0
int3

Function at 0x14008ff60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [0x14015acc0]
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 0x14008ffb7
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 0x14009000a
mov dword [rsp + 0x30], eax
lea rax, [0x14015b210]
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.1400c5980
add rsp, 0x60
pop rbx
ret
cmp dword [rsp + 0x40], 4
je 0x14009001b
mov dword [rsp + 0x30], 0x65d
jmp 0x14008ffe1
cmp dword [rsp + 0x44], 4
je 0x140090031
mov edx, 1
mov rcx, rbx
call fcn.140093820
jmp 0x14008fff5
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c5980
add rsp, 0x60
pop rbx
ret
Function at 0x1400901f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
lea rax, [0x14015acc0]
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 0x140090248
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 0x14009029b
mov dword [rsp + 0x38], eax
lea rax, [0x14015b210]
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.1400c5980
add rsp, 0x50
pop rbx
ret
cmp dword [rsp + 0x30], 0xb
je 0x1400902ac
mov dword [rsp + 0x38], 0x65d
jmp 0x140090272
cmp dword [rsp + 0x34], 8
je 0x1400902c2
mov edx, 1
mov rcx, rbx
call fcn.140093820
jmp 0x140090286
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c5980
add rsp, 0x50
pop rbx
ret