joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014238
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

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 r12
push r13
push r14
push r15
cmp qword [r8 + 0x18], 8
mov rdi, rdx
mov r10, qword [r8 + 0x10]
mov rbx, rcx
mov r9, r8
jb 0x14001426a
mov r9, qword [r8]
xor r13d, r13d
lea rdx, [r10 + r10]
lea rcx, [rdx + r9]
movabs rax, 0xcbf29ce484222325
cmp r9, rcx
mov r11, r9
cmova rdx, r13
test rdx, rdx
je 0x1400142b1
movzx ecx, byte [r11]
movabs rsi, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r9
imul rax, rsi
cmp rcx, rdx
jne 0x14001428e
mov r14, qword [rbx + 0x30]
mov r12, qword [rbx + 0x18]
and r14, rax
mov r11, qword [rbx + 8]
add r14, r14
mov rax, qword [r12 + r14*8]
cmp qword [r12 + r14*8], r11
jne 0x1400142d2
mov rcx, r11
jmp 0x1400142da
mov rcx, qword [r12 + r14*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400143a7
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x1400142f4
mov rdx, qword [r8]
mov r15, qword [rcx + 0x18]
mov r9, rcx
cmp r15, 8
jb 0x140014304
mov r9, qword [rcx]
mov rsi, qword [rcx + 0x10]
cmp rsi, r10
jne 0x140014343
mov rbp, rsi
test rsi, rsi
je 0x14001434b
movzx ecx, word [r9]
movzx ebx, word [rdx]
cmp cx, bx
jb 0x140014343
sub r9, rdx
cmp cx, bx
ja 0x140014343
cmp rbp, 1
je 0x14001434b
add rdx, 2
dec rbp
movzx ecx, word [rdx + r9]
movzx ebx, word [rdx]
cmp cx, bx
jae 0x140014327
mov rax, qword [rax]
jmp 0x1400142c7
lea rcx, [rax + 0x10]
cmp r15, 8
jb 0x140014358
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140014362
mov r8, qword [r8]
cmp r10, rsi
jne 0x14001439f
test r10, r10
je 0x1400143a2
movzx edx, word [r8]
movzx r9d, word [rcx]
cmp dx, r9w
jb 0x14001439f
sub r8, rcx
cmp dx, r9w
ja 0x14001439f
cmp r10, 1
je 0x1400143a2
add rcx, 2
dec r10
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jae 0x140014381
mov rax, r11
mov qword [rdi], rax
jmp 0x1400143aa
mov qword [rdi], r11
mov rbx, qword [rsp + 0x28]
mov rax, rdi
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1400144fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov r14, r9
lea r9, [rax + 8]
mov rcx, 0xffffffff80000002
xor ebx, ebx
call fcn.1400146bc
mov esi, eax
test eax, eax
jns 0x14001453e
mov ecx, eax
jmp 0x1400145f7
and dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.RacSampleNumber
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x140014581
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1400145b1
test rbx, rbx
jne 0x1400145bc
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400145b5
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140014542
mov esi, 0x8007000e
mov ecx, esi
jmp 0x1400145f7
mov esi, 0x8000ffff
jmp 0x1400145b1
cmp dword [rsp + 0x58], 4
je 0x1400145ca
mov esi, 0x8007000d
jmp 0x1400145b1
xor ebp, ebp
cmp dword [rsp + 0x60], 4
je 0x1400145e3
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.140009f60
jmp 0x1400145e8
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, ebp
call fcn.140009f80
mov esi, ebp
test ebp, ebp
jns 0x1400145fc
mov ecx, ebp
call fcn.140009f60
mov ecx, esi
call fcn.140009f80
test rbx, rbx
je 0x14001461c
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x14001462f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov eax, esi
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140015080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov rdx, qword [rsi + 0x10]
jb 0x1400150b3
mov r9, qword [rsi]
add rdx, rdx
xor r11d, r11d
movabs rax, 0xcbf29ce484222325
mov r10, r9
lea rcx, [rdx + r9]
cmp r9, rcx
cmova rdx, r11
test rdx, rdx
je 0x1400150f9
movzx ecx, byte [r10]
movabs r11, 0x100000001b3
xor rax, rcx
inc r10
mov rcx, r10
sub rcx, r9
imul rax, r11
cmp rcx, rdx
jne 0x1400150d6
mov rdx, qword [r8 + 0x30]
mov rcx, qword [r8 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x140015131
cmp qword [rcx + rdx*8], rdi
jne 0x140015126
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14001512a
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001513e
cmp qword [rcx + rdx*8], rdi
jne 0x14001513e
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.14000a110
mov rcx, rsi
call fcn.14000a110
mov edx, 0x50
mov rcx, rdi
call fcn.14002c338
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x140016650
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 0x14001666e
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]
test eax, eax
jne 0x1400166b3
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x14001669f
mov rdx, qword [rbx]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
test eax, eax
jne 0x1400166b3
lea edi, [rax + 1]
mov rcx, rbx
call fcn.14000a110
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x140016d38
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 0x140016d6f
mov ecx, 0x80070057
mov ebx, ecx
call fcn.140009f60
jmp 0x140016dc2
test rdi, rdi
je 0x140016d61
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]
test eax, eax
jne 0x140016dc2
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]
test eax, eax
jne 0x140016dc2
mov byte [rsi], 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140016dd2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140016ebc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rsi, rdx
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov rdx, rcx
jb 0x140016ee4
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]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
mov edi, eax
jb 0x140016f13
mov rdx, qword [rsi]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test edi, edi
jne 0x140016f3d
test eax, eax
jne 0x140016f3d
mov dil, 1
jmp 0x140016f40
xor dil, dil
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x140016f4d
mov r8, qword [rbx]
lea rax, str.exists
test dil, dil
lea r9, str.does_not_exist
cmovne r9, rax
lea rdx, str._s_registry_key__s
xor ecx, ecx
call fcn.140009844
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140016f80
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, rbx
call fcn.14000a110
mov rcx, rsi
call fcn.14000a110
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400171ac
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rsi, rdx
cmp qword [rcx + 0x18], 8
mov rdi, r8
mov r14, rcx
mov rdx, rcx
jb 0x1400171d5
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]
test eax, eax
je 0x14001720b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140017267
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov rax, qword [rdi + 0x10]
jb 0x14001721c
mov rcx, qword [rdi]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x140017229
mov rdx, qword [rsi]
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x140017255
xor ebx, ebx
jmp 0x14001726e
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14001726e
mov ecx, ebx
call fcn.140009f60
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001727e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
mov rcx, r14
call fcn.14000a110
mov rcx, rsi
call fcn.14000a110
mov rcx, rdi
call fcn.14000a110
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x1400172b4
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 [0x140050900]
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.14000bfac
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]
test eax, eax
je 0x140017339
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14001738a
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov eax, dword [rbp - 0x20]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 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]
test eax, eax
jne 0x140017378
mov ebx, esi
jmp 0x140017391
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140017391
mov ecx, ebx
call fcn.140009f60
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400173a0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
nop
lea rcx, [rbp - 0x30]
call fcn.14000a110
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002c310
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400173d8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1080
call fcn.14002d600
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140050900]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbp, r8
mov rsi, rdx
mov rdi, 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 0x14001743d
mov rdx, qword [rcx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14001747c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14001747c
mov ecx, ebx
call fcn.140009f60
jmp 0x1400174ea
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x140017489
mov r8, qword [rsi]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140017496
mov rdx, qword [rdi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x1400174cb
mov ebx, r14d
jmp 0x1400174dd
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140017473
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.14000bfac
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400174fa
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
nop
mov rcx, rdi
call fcn.14000a110
nop
mov rcx, rsi
call fcn.14000a110
mov eax, ebx
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14002c310
add rsp, 0x1080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001753c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov rdi, 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]
test eax, eax
je 0x140017593
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400175d3
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x1400175c1
xor ebx, ebx
jmp 0x1400175da
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400175da
mov ecx, ebx
call fcn.140009f60
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400175ea
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140017604
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rdi, r9
mov dword [rax + 8], 4
lea rax, [rax - 0x18]
mov rsi, 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]
test eax, eax
je 0x14001765f
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14001769c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001768a
xor ebx, ebx
jmp 0x1400176a3
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400176a3
mov ecx, ebx
call fcn.140009f60
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400176b3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140019534
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov rdx, qword [rsi + 0x10]
jb 0x140019567
mov r9, qword [rsi]
add rdx, rdx
xor r11d, r11d
movabs rax, 0xcbf29ce484222325
mov r10, r9
lea rcx, [rdx + r9]
cmp r9, rcx
cmova rdx, r11
test rdx, rdx
je 0x1400195ad
movzx ecx, byte [r10]
movabs r11, 0x100000001b3
xor rax, rcx
inc r10
mov rcx, r10
sub rcx, r9
imul rax, r11
cmp rcx, rdx
jne 0x14001958a
mov rdx, qword [r8 + 0x30]
mov rcx, qword [r8 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400195e5
cmp qword [rcx + rdx*8], rdi
jne 0x1400195da
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1400195de
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400195f2
cmp qword [rcx + rdx*8], rdi
jne 0x1400195f2
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x28]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.14000a110
mov rcx, rsi
call fcn.14000a110
mov edx, 0x58
mov rcx, rdi
call fcn.14002c338
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x140019868
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rbp - 0x28]
call fcn.14000a178
mov rcx, rax
call fcn.140016e48
test al, al
jne 0x1400198d3
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.14000a178
mov rcx, rax
call fcn.140016fac
mov ebx, eax
test eax, eax
jns 0x1400198d3
mov edx, 0x2f
mov rcx, qword [rbp + 8]
lea r8, str.onecoreenduserupgradeenablersdssdsslibrarypollingscheduler.cpp
mov r9d, ebx
call fcn.140003e64
mov eax, ebx
jmp 0x140019a11
lea rcx, [rbp - 0x30]
call fcn.140028678
mov ebx, eax
test eax, eax
jns 0x1400198e9
mov edx, 0x32
jmp 0x1400198b9
mov eax, dword [rbp - 0x2c]
mov rsi, qword [rdi + 8]
mov rdi, qword [rdi]
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x40], eax
xor ecx, ecx
call fcn.140009f80
mov rax, qword [rbp - 0x40]
xor ebx, ebx
and qword [rbp - 0x40], rbx
xor r8d, r8d
mov qword [rbp - 0x38], rax
mov rdx, rdi
lea rax, [rbp - 0x40]
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 2]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019994
xor edi, edi
mov rbx, qword [rbp - 0x40]
and qword [rbp - 0x40], 0
mov ecx, edi
call fcn.140009f80
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001995b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and qword [rbp - 0x40], 0
test edi, edi
js 0x1400199c1
xor ecx, ecx
call fcn.140009f80
lea rax, [rbp - 0x38]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x1400199af
xor edi, edi
jmp 0x1400199c8
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140019937
mov ecx, edi
call fcn.140009f60
jmp 0x140019940
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1400199c8
mov ecx, edi
call fcn.140009f60
mov ecx, edi
call fcn.140009f80
test rbx, rbx
je 0x1400199dd
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jns 0x1400199e8
mov ecx, edi
call fcn.140009f60
mov ecx, edi
call fcn.140009f80
test edi, edi
jns 0x140019a0f
mov rcx, qword [rbp + 8]
lea r8, str.onecoreenduserupgradeenablersdssdsslibrarypollingscheduler.cpp
mov r9d, edi
mov edx, 0x37
call fcn.140003e64
mov eax, edi
jmp 0x140019a11
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001a1dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
xor ebx, ebx
lea rax, [r11 - 0x10]
and qword [r11 - 0x10], rbx
mov rsi, r9
mov rbp, r8
mov qword [r11 - 0x28], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a257
xor edi, edi
mov rbx, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov ecx, edi
call fcn.140009f80
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001a24a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and qword [rsp + 0x38], 0
test edi, edi
jns 0x14001a272
mov ecx, edi
call fcn.140009f60
jmp 0x14001a2bc
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001a222
mov ecx, edi
call fcn.140009f60
jmp 0x14001a22d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
je 0x14001a2b5
cmp eax, 2
je 0x14001a2ba
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001a2ba
jmp 0x14001a24e
mov ecx, 1
mov dword [rsi], ecx
mov ecx, edi
call fcn.140009f80
test rbx, rbx
je 0x14001a2d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14001b0f8
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
mov rsi, r8
lea rcx, [rbp - 0x18]
mov r14, rdx
call fcn.140028678
mov eax, dword [rbp - 0x14]
mov rdi, qword [rbx + 0x18]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x20], eax
xor ecx, ecx
call fcn.140009f80
imul rax, rsi, 0x23c34600
xor esi, esi
xor r8d, r8d
add rax, qword [rbp - 0x20]
mov rdx, rdi
mov qword [rbp - 0x10], rax
mov rcx, 0xffffffff80000002
lea rax, [rbp - 0x20]
mov qword [rbp - 0x20], rsi
lea r9d, [rsi + 2]
mov qword [rsp + 0x20], rax
mov ebx, esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001b1c7
mov edi, esi
mov rbx, qword [rbp - 0x20]
mov qword [rbp - 0x20], rsi
mov ecx, edi
call fcn.140009f80
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14001b18e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbp - 0x20], rsi
test edi, edi
js 0x14001b1f4
xor ecx, ecx
call fcn.140009f80
lea rax, [rbp - 0x10]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x14001b1e2
mov edi, esi
jmp 0x14001b1fb
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001b16c
mov ecx, edi
call fcn.140009f60
jmp 0x14001b174
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14001b1fb
mov ecx, edi
call fcn.140009f60
mov ecx, edi
call fcn.140009f80
test rbx, rbx
je 0x14001b210
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jns 0x14001b21b
mov ecx, edi
call fcn.140009f60
mov ecx, edi
call fcn.140009f80
test edi, edi
jns 0x14001b242
mov rcx, qword [rbp + 0x28]
lea r8, str.onecoreenduserupgradeenablersdssdsslibrary_remoteactionscheduler.cpp
mov r9d, edi
mov edx, 0xef
call fcn.140003e64
mov eax, edi
jmp 0x14001b244
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret