joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016ac8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rdi, rcx
mov rcx, qword [r8 + 0x10]
mov rbx, rdx
mov r10, r8
jb 0x140016ae9
mov r10, qword [r8]
xor edx, edx
movabs r9, 0xcbf29ce484222325
add rcx, rcx
je 0x140016b18
movzx eax, byte [rdx + r10]
movabs r11, 0x100000001b3
xor r9, rax
inc rdx
imul r9, r11
cmp rdx, rcx
jb 0x140016afa
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400175ec
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140016b32
mov rcx, qword [rdi + 8]
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140016d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140016d7e
mov rdx, qword [rsi]
movabs r14, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x140016db0
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x140016d93
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.1400175ec
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140016dd9
mov qword [rbx], rax
mov byte [rbx + 8], r13b
jmp 0x140016f11
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x140016f33
lea r12, [rbp + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov ecx, 0x50
call fcn.140031364
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.14000b8a4
mov qword [rdi + 0x40], r13
mov qword [rdi + 0x48], 7
mov word [rdi + 0x30], r13w
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140016e41
cvtsi2ss xmm0, rcx
jmp 0x140016e56
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140016e69
cvtsi2ss xmm1, rcx
jmp 0x140016e7e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x140016eb6
mov rcx, rbp
call fcn.140016f84
mov r9, r14
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.1400175ec
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x28], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140016ef3
mov qword [rcx + rax*8], rdi
jmp 0x140016f05
cmp r9, rdx
jne 0x140016efe
mov qword [rcx + rax*8], rdi
jmp 0x140016f0a
cmp qword [rcx + rax*8 + 8], r8
jne 0x140016f0a
mov qword [rcx + rax*8 + 8], rdi
mov qword [rbx], rdi
mov byte [rbx + 8], 1
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.unordered_map_set_too_long
call fcn.14000fd9c
int3
Function at 0x140017414
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rbp, r8
mov r15, rdx
mov r9, rcx
cmp rdx, r8
je 0x1400175bb
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r12, qword [rcx + 0x18]
lea rcx, [rdx + 0x10]
cmp qword [rcx + 0x18], 8
mov r14, qword [rdx + 8]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x80], rax
jb 0x140017464
mov rcx, qword [rcx]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
add r10, r10
je 0x140017494
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r11
cmp r8, r10
jb 0x140017480
mov r13, qword [r9 + 0x30]
and r13, rdx
add r13, r13
mov rax, qword [r12 + r13*8]
mov qword [rsp + 0x78], rax
mov rax, qword [r12 + r13*8 + 8]
mov qword [rsp + 0x88], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.140017680
mov edx, 0x50
mov rcx, rbx
call fcn.14000ec50
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x1400174ff
cmp rsi, rbp
jne 0x1400174b4
cmp qword [rsp + 0x78], r15
jne 0x1400175b4
mov qword [r12 + r13*8], rsi
jmp 0x1400175b4
cmp qword [rsp + 0x78], r15
jne 0x140017517
mov rdx, qword [rsp + 0x80]
mov qword [r12 + r13*8], rdx
mov rax, rdx
jmp 0x14001751a
mov rax, r14
mov qword [r12 + r13*8 + 8], rax
cmp rsi, rbp
je 0x1400175b4
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 8
mov r10, qword [rcx + 0x10]
jb 0x14001753a
mov rcx, qword [rcx]
xor r9d, r9d
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x14001756f
movabs r8, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc r9
xor rdx, rax
imul rdx, r8
cmp r9, r10
jb 0x140017556
mov r8, qword [rsp + 0x70]
mov r15, qword [r8 + 0x30]
and r15, rdx
add r15, r15
mov r13, qword [r12 + r15*8 + 8]
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.140017680
mov edx, 0x50
mov rcx, rbx
call fcn.14000ec50
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, r13
je 0x1400175d0
cmp rsi, rbp
jne 0x14001757e
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
mov rax, rbp
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x80]
mov qword [r12 + r15*8], rax
mov qword [r12 + r15*8 + 8], rax
jmp 0x14001751f
Function at 0x1400176f8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140017731
mov rdx, qword [rsi]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
add r8, r8
je 0x14001775f
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x140017742
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.1400175ec
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140017788
mov qword [rbx], rax
mov byte [rbx + 8], 0
jmp 0x1400178c9
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x1400178e6
lea r12, [rbp + 8]
mov qword [rsp + 0x38], r12
and qword [rsp + 0x40], 0
mov ecx, 0x50
call fcn.140031364
mov rdi, rax
mov qword [rsp + 0x40], rax
lea r15, [rax + 0x10]
mov qword [rsp + 0x80], r15
mov rdx, rsi
mov rcx, r15
call fcn.14000b8a4
nop
lea rcx, [r15 + 0x20]
lea rdx, [rsi + 0x20]
call fcn.14000b8a4
nop
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400177fa
cvtsi2ss xmm0, rcx
jmp 0x14001780f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140017822
cvtsi2ss xmm1, rcx
jmp 0x140017837
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14001786e
mov rcx, rbp
call fcn.140016f84
mov r9, r14
mov r8, r15
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.1400175ec
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x28], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x1400178ab
mov qword [rcx + rax*8], rdi
jmp 0x1400178bd
cmp r9, rdx
jne 0x1400178b6
mov qword [rcx + rax*8], rdi
jmp 0x1400178c2
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400178c2
mov qword [rcx + rax*8 + 8], rdi
mov qword [rbx], rdi
mov byte [rbx + 8], 1
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.unordered_map_set_too_long
call fcn.14000fd9c
int3
Function at 0x140017964
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push r14
sub rsp, 0x60
mov qword [r11 - 0x18], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rsi, rcx
xor r14d, r14d
mov qword [r11 + 0x10], r14
mov qword [r11 - 0x28], r14
lea rax, [r11 + 0x10]
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], r14
mov dword [rsp + 0x28], 0x20006
mov dword [r11 - 0x48], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftCloudManagedUpdateuhs_settings
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140017a1b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea r8, str.SoftwareMicrosoftCloudManagedUpdateuhs_settings
lea rdx, str.Failed_to_create_open_settings_key__s
call fcn.14000ad50
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140017b02
mov rax, qword [rsi + 0xe8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140017aff
lea rax, [rbx + 0x30]
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140017a3f
mov rdx, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x140017a43
add ecx, ecx
cmp qword [rax + 0x18], 8
jb 0x140017a59
mov rax, qword [rax]
lea rdi, [rbx + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140017a6a
mov r8, qword [rdi]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [rdx + 1]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x140017ac3
cmp qword [rdi + 0x18], 8
jb 0x140017a98
mov rdi, qword [rdi]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r8, rdi
lea rdx, str.Failed_to_write__s
call fcn.14000ad50
jmp 0x140017aec
lea r9, [rdi + 0x20]
cmp qword [r9 + 0x18], 8
jb 0x140017ad1
mov r9, qword [r9]
cmp qword [rdi + 0x18], 8
jb 0x140017adb
mov rdi, qword [rdi]
mov r8, rdi
lea rdx, str.Wrote_value_Name:__s__Value:__s
xor ecx, ecx
call fcn.14000ad50
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rsi + 0xe8]
jne 0x140017a2e
mov ebx, r14d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140017b19
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140018dec
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edi, edi
mov rbx, rdx
cmp qword [rdx + 0x18], 8
mov qword [rsp + 0x30], rdi
jb 0x140018e0a
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140018e79
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140018e41
mov rdx, qword [rbx]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
nop dword [rax + rax]
test eax, eax
jne 0x140018e79
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140018e72
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
call fcn.14000ec50
mov eax, 1
jmp 0x140018e95
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140018e93
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
call fcn.14000ec50
mov eax, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140019540
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
and qword [r11 + 0x10], 0
xor ebx, ebx
mov rdi, r9
mov rax, r8
mov rsi, rcx
test r8, r8
jne 0x140019577
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14000b6d0
jmp 0x1400195d6
test rdi, rdi
je 0x140019569
mov byte [rcx], bl
mov r9d, 0x20019
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400195d6
and qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
and qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400195d6
mov byte [rsi], 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400195ec
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b5f4
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140019718
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rdx
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x30], rbp
mov rdx, rcx
jb 0x14001973e
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
cmp qword [rdi + 0x18], 8
mov rdx, rdi
mov esi, eax
jb 0x140019773
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test esi, esi
jne 0x14001979f
mov sil, 1
test eax, eax
je 0x1400197a2
mov sil, bpl
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x1400197af
mov r8, qword [rbx]
lea rax, str.exists
test sil, sil
lea r9, str.does_not_exist
cmovne r9, rax
lea rdx, str._s_registry_key__s
xor ecx, ecx
call fcn.14000ad50
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400197e8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140019802
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
call fcn.14000ec50
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001982b
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
call fcn.14000ec50
mov rbx, qword [rsp + 0x70]
mov al, sil
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019ab8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov rsi, rdx
cmp qword [rcx + 0x18], 8
mov rbx, r8
mov r14, rcx
mov qword [rsp + 0x30], rbp
mov rdx, rcx
jb 0x140019ae5
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019b5e
cmp qword [rbx + 0x18], 8
mov eax, dword [rbx + 0x10]
lea ecx, [rax*2 + 2]
mov rax, rbx
jb 0x140019b26
mov rax, qword [rbx]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x140019b33
mov rdx, qword [rsi]
mov dword [rsp + 0x28], ecx
mov r9d, 1
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019b5e
mov edi, ebp
jmp 0x140019b73
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14000b6d0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140019b89
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, edi
call fcn.14000b5f4
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x140019baa
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
call fcn.14000ec50
mov r15d, 7
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], r15
mov word [r14], bp
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140019bd6
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
call fcn.14000ec50
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], r15
mov word [rsi], bp
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140019bfb
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
call fcn.14000ec50
mov qword [rbx + 0x10], rbp
mov eax, edi
mov qword [rbx + 0x18], r15
mov word [rbx], bp
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019c24
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1400548d0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov rbx, rdx
xor esi, esi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
mov rdx, r9
lea rcx, [rbp - 0x30]
call fcn.14000d008
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 2]
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019ce0
mov eax, dword [rbp - 0x20]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rsi + 1]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019ce0
mov ebx, esi
jmp 0x140019cf5
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.14000b6d0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140019d0a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b5f4
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140019d2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.14000ec50
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140031070
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019d54
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1080
call fcn.1400322a0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400548d0]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov word [rsp + 0x70], r14w
mov dword [rsp + 0x40], 0x1000
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140019db9
mov rdx, qword [rcx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov edi, 2
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019e44
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x140019df2
mov r8, qword [rsi]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140019dff
mov rdx, qword [rbx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, edi
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140019e44
mov edi, r14d
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.14000d008
jmp 0x140019e59
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14000b6d0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140019e6f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, edi
call fcn.14000b5f4
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140019e91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
call fcn.14000ec50
mov qword [rbx + 0x10], r14
mov ebp, 7
mov qword [rbx + 0x18], rbp
mov word [rbx], r14w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140019ebc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
call fcn.14000ec50
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rbp
mov word [rsi], r14w
mov eax, edi
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.140031070
add rsp, 0x1080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140019ef0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov rbx, r8
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftCloudManagedUpdateuhs
mov r9d, 2
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019f69
mov rcx, qword [rsp + 0x48]
lea r9d, [rax + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019f69
xor ebx, ebx
jmp 0x140019f7e
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.14000b6d0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140019f94
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b5f4
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x140019fac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rbx, r9
mov dword [rax + 8], 4
lea rax, [rax - 0x18]
mov rdi, r8
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001a028
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001a028
xor ebx, ebx
jmp 0x14001a03d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.14000b6d0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001a053
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000b5f4
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret