joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140047d80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
movups xmm0, xmmword [0x1400b4768]
movaps xmmword [rsp + 0x50], xmm0
xor esi, esi
mov qword [rsp + 0x60], rsi
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
test eax, eax
jne 0x140047e5d
mov rdx, qword [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140047de4
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
lea rcx, [rsp + 0x20]
call fcn.14000a230
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140047e23
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000a3f0
nop
lea rcx, [rsp + 0x20]
call fcn.14000cfd0
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140079460
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rdx, str.SHGetKnownFolderPath_failed
lea rcx, [rsp + 0x20]
call fcn.14000a700
nop
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.140051140
int3

Function at 0x14004db40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, r8
mov rax, rdx
cmp qword [r8 + 0x10], 0
je 0x14004dbe7
mov rdx, rbx
cmp qword [r8 + 0x18], 8
jb 0x14004db68
mov rdx, qword [r8]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x14004db9e
cmp eax, 2
jne 0x14004dbae
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
lea rdx, str.RegQueryValueExW_failed
lea rcx, [rsp + 0x50]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x30]
call fcn.14007f918
nop
lea rdx, str.Invalid_registry_value_name
lea rcx, [rsp + 0x30]
call fcn.14000a700
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x50]
call fcn.14007f918
int3

Function at 0x14004dda0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
mov rbx, r8
mov rax, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14004ddbd
mov rdx, qword [r8]
xor r9d, r9d
mov r8d, dword [rcx + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov edi, eax
test eax, eax
jne 0x14004dde1
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
lea rdx, str.RemoveKeyFunction_failed
lea rcx, [rsp + 0x20]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x40]
call fcn.14007f918
int3
Function at 0x14004de40
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov r9, r8
mov r8, rdx
lea rdx, [rsp + 0x60]
call fcn.14004d720
nop
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
test eax, eax
jne 0x14004ded3
lea rcx, [rsp + 0x70]
call fcn.14000cfd0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004deb2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret
lea rdx, str.RegDeleteTreeW_failed
lea rcx, [rsp + 0x20]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x40]
call fcn.14007f918
int3

Function at 0x14004df10
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, r8
mov rax, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14004df2d
mov rdx, qword [r8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
jne 0x14004df47
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rdx, str.RegDeleteValue_failed
lea rcx, [rsp + 0x20]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x40]
call fcn.14007f918
int3

Function at 0x14004df80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, r8
mov rax, rdx
xor ecx, ecx
mov dword [rsp + 0x70], ecx
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14004dfb5
mov rdx, qword [r8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004dff8
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
lea rdx, str.RegQueryValueEx_failed
lea rcx, [rsp + 0x30]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x50]
call fcn.14007f918
int3
Function at 0x14004e040
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e5010]
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 0x14004e07f
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 0x14004e0db
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x40]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x60]
call fcn.14007f918
int3

Function at 0x14004e160
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 0x14004e185
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 0x14004e1c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x30]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x50]
call fcn.14007f918
int3

Function at 0x14004e200
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400e5010]
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 0x14004e23f
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 0x14004e29c
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x40]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x60]
call fcn.14007f918
int3
Function at 0x14004e2e0
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 0x14004e305
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 0x14004e340
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x30]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x50]
call fcn.14007f918
int3

Function at 0x14004e590
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 0x14004e637
lea rax, [rax*2 + 2]
cmp qword [r9 + 0x18], 8
jb 0x14004e5c2
mov r9, qword [r9]
mov rdx, rbx
cmp qword [r8 + 0x18], 8
jb 0x14004e5cf
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 0x14004e5fe
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x50]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x30]
call fcn.14007f918
nop
lea rdx, str.Value_too_big_for_registry
lea rcx, [rsp + 0x30]
call fcn.14000a700
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x50]
call fcn.14007f918
int3
Function at 0x14004ee10
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 0x14004eea9
mov rdx, rbx
cmp qword [r8 + 0x18], 8
jb 0x14004ee41
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 0x14004ee70
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
lea rdx, str.RegSetValueExW_failed
lea rcx, [rsp + 0x30]
call fcn.14000a700
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rsp + 0x50]
call fcn.14007f918
nop
lea rdx, str.Buffer_too_large_for_RegSetValueExW
lea rcx, [rsp + 0x30]
call fcn.140005640
lea rdx, [0x1400e26d0]
lea rcx, [rsp + 0x30]
call fcn.14007f918
int3
Function at 0x14004fca0
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 [0x1400e5010]
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 0x14004fd1b
lea rcx, [rdx + rax*2]
mov qword [rbp - 1], rcx
jmp 0x14004fd56
jbe 0x14004fd56
sub r8, rdx
sar r8, 1
cmp rax, r8
jbe 0x14004fd39
lfence
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1400470f0
jmp 0x14004fd52
sub rax, rcx
lea r8, [rax + rax]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call fcn.14007f9f0
mov qword [rbp - 1], rbx
mov rdx, qword [rbp - 9]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004fd63
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 0x14004fd99
mov ecx, dword [rbp + 0xf]
mov r8, qword [rbp + 7]
jmp 0x14004fcf0
cmp ebx, 2
jne 0x14004fde4
mov byte [rsi + 0x18], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14004fe25
mov rdx, qword [rbp + 7]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fddd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fe7b
call fcn.140079480
jmp 0x14004fe25
test ebx, ebx
jne 0x14004fe81
mov ecx, dword [rbp + 0xf]
test cl, 1
jne 0x14004fe46
mov edx, ecx
and edx, 1
mov eax, ecx
shr rax, 1
add rdx, rax
lea rcx, [rbp - 9]
call fcn.140046980
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.140079460
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.14000a700
nop
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rbp - 0x29]
call fcn.14007f918
nop
call fcn.140086b94
nop
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x40]
call fcn.14000a700
nop
mov r9d, ebx
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x69]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rbp - 0x69]
call fcn.14007f918
int3
Function at 0x14004fec0
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 [0x1400e5010]
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 0x14004ff30
lea rax, [r8 + rcx]
mov qword [rbp + 0xf], rax
jmp 0x14004ff64
jbe 0x14004ff64
sub rdx, rcx
cmp r8, rdx
jbe 0x14004ff4b
lfence
mov rdx, r8
lea rcx, [rbp + 7]
call fcn.14004d160
jmp 0x14004ff60
sub r8, rax
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.14007f9f0
mov qword [rbp + 0xf], rbx
mov rcx, qword [rbp + 7]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004ff71
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 0x14004ffa8
mov eax, dword [rbp + 0x1f]
mov rdx, qword [rbp + 0x17]
jmp 0x14004ff10
cmp ebx, 2
jne 0x14004ffed
mov byte [rsi + 0x18], 0
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140050018
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ffe6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050073
call fcn.140079480
jmp 0x140050018
test ebx, ebx
jne 0x14005003e
mov edx, dword [rbp + 0x1f]
lea rcx, [rbp + 7]
call fcn.14004d0d0
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.140079460
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.14000a700
nop
mov r9d, ebx
mov r8, rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.14004d640
lea rdx, [0x1400e2cc8]
lea rcx, [rbp - 0x19]
call fcn.14007f918
nop
call fcn.140086b94
int3

Function at 0x140050900
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
mov r10, qword [rdx]
mov r9, rcx
mov rdx, qword [rcx + 8]
mov eax, dword [r8]
mov r8, r10
mov dword [rdx], eax
xor edx, edx
mov rax, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [r9 + 8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov edx, dword [rax]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x48
ret
Function at 0x140050990
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov r10, qword [rdx]
mov r9, rcx
mov rdx, qword [rcx + 8]
mov eax, dword [r8]
xor r8d, r8d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r8
mov dword [rdx], eax
mov rdx, qword [rcx + 0x18]
mov rax, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r9, qword [r9 + 8]
mov edx, dword [rdx]
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r8
mov r8, r10
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x48
ret

Function at 0x140050a10
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov r10, qword [rdx]
mov r9, rcx
mov rdx, qword [rcx + 8]
mov eax, dword [r8]
mov r8, r10
mov dword [rdx], eax
xor edx, edx
mov rax, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [r9 + 8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov edx, dword [rax]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x48
ret
Function at 0x140055d90
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rdi, r8
mov rax, rdx
mov dword [rsp + 0x20], 0
lea rcx, str.P__f_
mov qword [rsp + 0x28], rcx
movaps xmm6, xmmword [rsp + 0x20]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140055dd1
mov rdx, qword [r8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test eax, eax
je 0x140055dff
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140055dfb
call fcn.140078f20
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], rax
movaps xmm6, xmmword [rsp + 0x20]
xor bl, bl
jmp 0x140055e01
mov bl, 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.14000a500
nop
movd eax, xmm6
test eax, eax
jne 0x140055e9c
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140055e7a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055e75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055e96
call fcn.140079480
movzx eax, bl
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rdi
ret
call fcn.140086b94
nop
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14000a210
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140078390
mov rbx, rax
lea r8, [0x1400c5224]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14000f1f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14000f320
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000f260
nop
movdqa xmmword [rsp + 0x20], xmm6
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14005db50
int3
Function at 0x140056b50
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1400e5010]
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, str.P__f_
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140056ba6
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]
mov edi, eax
test eax, eax
je 0x140056be6
call fcn.140078f20
mov dword [rsp + 0x30], edi
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.14000a500
nop
movd eax, xmm6
test eax, eax
jne 0x140056c8e
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140056c5f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056c5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c88
call fcn.140079480
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rdi
ret
call fcn.140086b94
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000a210
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140078390
mov rbx, rax
lea r8, [0x1400c5224]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14000f1f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14000f320
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14000f260
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14005db50
int3
Function at 0x140056ec0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1400e5010]
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, str.P__f_
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140056f16
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]
mov edi, eax
test eax, eax
je 0x140056f56
call fcn.140078f20
mov dword [rsp + 0x30], edi
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.14000a500
nop
movd eax, xmm6
test eax, eax
jne 0x140056ffe
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140056fcf
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056fca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056ff8
call fcn.140079480
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rdi
ret
call fcn.140086b94
nop
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call fcn.14000a210
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140078390
mov rbx, rax
lea r8, [0x1400c5224]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.14000f1f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14000f320
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000f260
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14005db50
int3