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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov rax, qword [0x140119ad0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov rdi, r8
mov r15d, edx
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x69], r12
mov rcx, r9
call fcn.14004b020
mov ecx, 0x200
call fcn.14009af2c
mov rbx, rax
mov qword [rbp - 0x51], rax
test rax, rax
jne 0x14006a498
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
lea rcx, [rbp - 0x69]
call fcn.140005edc
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400b6b90
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x69], r12
jne 0x14006a61e
cmp qword [rdi + 0x18], 8
jb 0x14006a4ac
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.14006a37c
mov rcx, rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14006a465
mov esi, r12d
mov dword [rbp - 0x61], 0x100
mov rcx, qword [rbp - 0x69]
test rcx, rcx
setne al
test al, al
je 0x14006a5ef
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x61]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test eax, eax
jne 0x14006a5bc
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp word [rbx], r12w
jne 0x14006a540
mov r8, r12
jmp 0x14006a54e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x14006a544
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140006180
nop
mov r15, qword [r14]
lea r9, [rbp - 9]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.1400709fc
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14006a5e2
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 0xf], 8
jb 0x14006a5a9
mov rcx, qword [rbp - 9]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
inc esi
cmp esi, 0x1000
jb 0x14006a4de
jmp 0x14006a465
cmp eax, 0x103
jne 0x14006a5d5
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x14006a465
mov rcx, r14
call fcn.14004b020
jmp 0x14006a465
lea rcx, str.list_T__too_long
call fcn.14009a10c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 9]
call fcn.140005f88
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.1400057c8
lea rdx, [0x14010f918]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 9]
call fcn.140005f88
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.1400057c8
lea rdx, [0x14010f918]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14006a654
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov rax, qword [0x140119ad0]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r8
mov r15d, edx
mov rsi, rcx
mov r14, qword [rbp + 0x7f]
xor r12d, r12d
mov qword [rbp - 0x71], r12
mov rcx, r14
call fcn.14004b020
mov ecx, 0x8000
call fcn.14009af2c
mov rbx, rax
mov qword [rbp - 0x59], rax
test rax, rax
jne 0x14006a6e9
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
lea rcx, [rbp - 0x71]
call fcn.140005edc
mov eax, edi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400b6b90
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x71], r12
jne 0x14006a87d
cmp qword [rdi + 0x18], 8
jb 0x14006a6fd
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.14006a37c
mov rcx, rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14006a6b6
mov esi, r12d
mov dword [rbp - 0x69], 0x4000
mov rcx, qword [rbp - 0x71]
test rcx, rcx
setne al
test al, al
je 0x14006a84e
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x14006a81b
cmp dword [rbp - 0x65], 1
jne 0x14006a808
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
cmp word [rbx], r12w
jne 0x14006a79f
mov r8, r12
jmp 0x14006a7ad
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x14006a7a3
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140006180
nop
mov r15, qword [r14]
lea r9, [rbp - 0x11]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.1400709fc
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14006a841
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 7], 8
jb 0x14006a808
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
inc esi
cmp esi, 0x1000
jae 0x14006a6b6
jmp 0x14006a72f
cmp eax, 0x103
jne 0x14006a834
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x14006a6b6
mov rcx, r14
call fcn.14004b020
jmp 0x14006a6b6
lea rcx, str.list_T__too_long
call fcn.14009a10c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x11]
call fcn.140005f88
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.1400057c8
lea rdx, [0x14010f918]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 0x11]
call fcn.140005f88
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.1400057c8
lea rdx, [0x14010f918]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14006b290
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov rcx, qword [rsp + 0x90]
mov rbx, r8
mov rdi, rdx
xor ebp, ebp
xor r8d, r8d
mov qword [rax - 0x28], rbp
lea rdx, [0x1400cfda0]
mov r14, r9
call fcn.140006180
mov rsi, qword [rsp + 0x98]
mov dword [rsi], ebp
cmp qword [rbx + 0x18], 8
jb 0x14006b2e2
mov rbx, qword [rbx]
mov rcx, qword [rdi]
lea rax, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [rsi], eax
sete dil
test eax, eax
jne 0x14006b3d0
mov eax, 0x104
or r12, 0xffffffffffffffff
mov dword [rsp + 0x98], eax
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.14009af2c
cmp qword [r14 + 0x18], 8
mov rbx, rax
jb 0x14006b346
mov r8, qword [r14]
jmp 0x14006b349
mov r8, r14
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], rbx
mov r9d, 0xffff
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsi], eax
test eax, eax
jne 0x14006b3a2
cmp word [rbx], bp
jne 0x14006b383
mov r8, rbp
jmp 0x14006b390
mov r8, r12
inc r8
cmp word [rbx + r8*2], bp
jne 0x14006b386
mov rcx, qword [rsp + 0x90]
mov rdx, rbx
call fcn.140006180
jmp 0x14006b3ae
cmp eax, 0xea
movzx edi, dil
cmovne edi, ebp
test rbx, rbx
je 0x14006b3bc
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
cmp dword [rsi], 0xea
jne 0x14006b3d0
mov eax, dword [rsp + 0x98]
jmp 0x14006b321
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006b3e0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x50]
mov al, dil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x14006b410
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0x98]
mov rdi, r9
and qword [rax - 0x18], 0
mov rbx, r8
mov r14, rdx
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x14006b44a
mov rdx, qword [r8]
jmp 0x14006b44d
mov rdx, rbx
mov rcx, qword [r14]
lea rax, [rsp + 0x50]
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsi], eax
cmp eax, 2
jne 0x14006b4ba
cmp qword [rbx + 0x18], 8
jb 0x14006b47a
mov rbx, qword [rbx]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov rcx, qword [r14]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], 0x2011b
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x14006b502
mov rcx, qword [rsp + 0x90]
cmp qword [rcx + 0x18], 8
mov rax, qword [rcx + 0x10]
jb 0x14006b4d0
mov rcx, qword [rcx]
cmp qword [rdi + 0x18], 8
jb 0x14006b4da
mov rdi, qword [rdi]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
mov r8, rdi
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006b512
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x14006b540
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rcx, qword [rsp + 0x90]
mov rbx, r8
mov rdi, rdx
xor ebp, ebp
xor r8d, r8d
mov qword [rax - 0x28], rbp
lea rdx, [0x1400cfda0]
mov r15, r9
call fcn.140006180
mov r14, qword [rsp + 0x98]
mov dword [r14], ebp
cmp qword [rbx + 0x18], 8
jb 0x14006b598
mov rbx, qword [rbx]
mov rcx, qword [rdi]
lea rax, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [r14], eax
sete sil
test eax, eax
jne 0x14006b698
movzx edi, byte [rsp + 0xa0]
mov eax, 0x104
xor edi, 1
mov dword [rsp + 0x98], eax
shl edi, 0x1c
or r13, 0xffffffffffffffff
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14009af2c
cmp qword [r15 + 0x18], 8
mov rbx, rax
jb 0x14006b60b
mov r8, qword [r15]
jmp 0x14006b60e
mov r8, r15
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 0xffff]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [r14], eax
test eax, eax
jne 0x14006b669
cmp word [rbx], bp
jne 0x14006b64a
mov r8, rbp
jmp 0x14006b657
mov r8, r13
inc r8
cmp word [rbx + r8*2], bp
jne 0x14006b64d
mov rcx, qword [rsp + 0x90]
mov rdx, rbx
call fcn.140006180
jmp 0x14006b675
cmp eax, 0xea
movzx esi, sil
cmovne esi, ebp
test rbx, rbx
je 0x14006b683
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
cmp dword [r14], 0xea
jne 0x14006b698
mov eax, dword [rsp + 0x98]
jmp 0x14006b5e6
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006b6a8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x50]
mov al, sil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x14006b6d0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0x98]
mov rdi, r9
and qword [rax - 0x18], 0
mov rbx, r8
mov r14, rdx
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x14006b70a
mov rdx, qword [r8]
jmp 0x14006b70d
mov rdx, rbx
mov rcx, qword [r14]
lea rax, [rsp + 0x50]
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsi], eax
cmp eax, 2
jne 0x14006b77a
cmp qword [rbx + 0x18], 8
jb 0x14006b73a
mov rbx, qword [rbx]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov rcx, qword [r14]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], 0x2011b
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x14006b7c2
mov rcx, qword [rsp + 0x90]
cmp qword [rcx + 0x18], 8
mov rax, qword [rcx + 0x10]
jb 0x14006b790
mov rcx, qword [rcx]
cmp qword [rdi + 0x18], 8
jb 0x14006b79a
mov rdi, qword [rdi]
add eax, eax
mov r9d, 2
mov dword [rsp + 0x28], eax
mov r8, rdi
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006b7d2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret

Function at 0x14006b800
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0x50
mov rsi, qword [rsp + 0x80]
mov rbx, r9
mov r14, qword [rsp + 0x88]
mov rax, r8
and qword [r11 - 0x18], 0
mov r10, rdx
and dword [rsi], 0
and dword [r14], 0
cmp qword [r8 + 0x18], 8
jb 0x14006b844
mov rax, qword [r8]
lea rcx, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [r10]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x14006b8d1
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x80], 4
jb 0x14006b885
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov r9d, 0x18
lea rax, [rsp + 0x88]
mov r8, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x14006b8d1
mov ecx, dword [rsp + 0x88]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006b8e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop r14
ret
Function at 0x14006b900
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0x98]
mov rdi, r9
and qword [rax - 0x18], 0
mov rbx, r8
mov r14, rdx
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x14006b93a
mov rdx, qword [r8]
jmp 0x14006b93d
mov rdx, rbx
mov rcx, qword [r14]
lea rax, [rsp + 0x50]
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsi], eax
cmp eax, 2
jne 0x14006b9aa
cmp qword [rbx + 0x18], 8
jb 0x14006b96a
mov rbx, qword [rbx]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov rcx, qword [r14]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], 0x2011b
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x14006b9e3
cmp qword [rdi + 0x18], 8
jb 0x14006b9b4
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x90]
mov r9d, 4
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov dword [rsp + 0x28], r9d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006b9f3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret

Function at 0x14006ba20
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
mov rbx, r9
and qword [rsp + 0x30], 0
mov rax, r8
mov r10, rdx
mov dil, 1
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x14006ba53
mov rax, qword [r8]
lea rcx, [rsp + 0x30]
mov r9d, 0x20106
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [r10]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsi], eax
cmp eax, 2
je 0x14006ba9c
cmp qword [rbx + 0x18], 8
jb 0x14006ba83
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
mov dword [rsi], eax
sete dil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006baac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
mov al, dil
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14006bad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0x50
mov rsi, qword [rsp + 0x80]
mov rbx, r9
mov r14, qword [rsp + 0x88]
mov rax, r8
and qword [r11 - 0x18], 0
mov r10, rdx
and qword [rsi], 0
and dword [r14], 0
cmp qword [r8 + 0x18], 8
jb 0x14006bb15
mov rax, qword [r8]
lea rcx, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [r10]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x14006bba4
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x80], 8
jb 0x14006bb56
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov r9d, 0x48
lea rax, [rsp + 0x88]
mov r8, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x14006bba4
mov rcx, qword [rsp + 0x88]
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006bbb4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop r14
ret

Function at 0x14006bbe0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0x98]
mov rdi, r9
and qword [rax - 0x18], 0
mov rbx, r8
mov r14, rdx
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x14006bc1a
mov rdx, qword [r8]
jmp 0x14006bc1d
mov rdx, rbx
mov rcx, qword [r14]
lea rax, [rsp + 0x50]
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsi], eax
cmp eax, 2
jne 0x14006bc8a
cmp qword [rbx + 0x18], 8
jb 0x14006bc4a
mov rbx, qword [rbx]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov rcx, qword [r14]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], 0x2011b
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x14006bcc6
cmp qword [rdi + 0x18], 8
jb 0x14006bc94
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x90]
mov r9d, 0xb
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov dword [rsp + 0x28], 8
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006bcd6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140071138
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rdi, r8
mov r15, rdx
mov r14, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140071173
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x1400711a2
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x140071184
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [r14 + 0x28]
mov rsi, rdx
and rsi, rcx
cmp qword [r14 + 0x30], rsi
ja 0x1400711c9
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
mov rbx, qword [r14]
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x14007122e
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14007122e
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, rdi
call fcn.140036960
test al, al
jne 0x140071209
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x1400711e9
jmp 0x14007122e
mov rdx, rdi
lea rcx, [rbx + 0x10]
call fcn.140036960
test al, al
jne 0x14007121e
mov rbx, qword [rbx]
jmp 0x14007122e
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x140071313
mov rax, qword [r14]
mov r13, qword [rax]
mov r9, rdi
mov r8, qword [r13 + 8]
mov rdx, r13
call fcn.140040998
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jb 0x14007132b
inc rax
mov qword [r14 + 8], rax
mov qword [r13 + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rcx, qword [r14]
mov rdi, qword [rcx]
mov qword [rsp + 0x70], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400712b6
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
cmp qword [rdx + rsi*8], rcx
jne 0x1400712cf
mov qword [rdx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x1400712ff
cmp qword [rdx + rsi*8], rbx
jne 0x1400712db
mov qword [rdx + rsi*8], rdi
jmp 0x1400712ff
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rdi
je 0x1400712ff
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.140071340
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.14009a10c
int3