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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rdi + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000f66c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14000f6c3
cmp qword [rcx + rdx*8], rdi
jne 0x14000f6b8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14000f6bc
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14000f6d0
cmp qword [rcx + rdx*8], rdi
jne 0x14000f6d0
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x18]
dec qword [r9 + 0x10]
call fcn.14000be20
mov edx, 0x38
mov rcx, rdi
call fcn.1400301e8
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f71c
Capabilities:
Create service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140056920]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
je 0x14000f816
mov ebx, 3
xor edx, edx
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000f816
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x70]
and qword [rsp + 0x58], 0
lea r9d, [rbx + 1]
and qword [rsp + 0x50], 0
lea r8, str.Restores_Health_of_Windows_Update_Components
and qword [rsp + 0x48], 0
lea rdx, str.Update_Health_Service
and qword [rsp + 0x40], 0
mov rcx, rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000f7f1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x14000f822
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
jmp 0x14000f822
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400301c0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret
Function at 0x14000f84c
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140056920]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
xorps xmm0, xmm0
xor edx, edx
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 1]
mov esi, 0xe10
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000f95d
mov r8d, 0x10024
lea rdx, str.Update_Health_Service
mov rcx, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000f93a
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
nop dword [rax + rax]
test eax, eax
je 0x14000f92b
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
jmp 0x14000f913
cmp dword [rsp + 0x24], 3
jne 0x14000f92b
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
sub esi, 1
je 0x14000f92b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x14000f8f6
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x14000f95d
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400301c0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140013f10
Capabilities:
Parse pe header

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 r14
sub rsp, 0x20
xor r11d, r11d
lea r8, [0x140000000]
mov r9, rdx
test rdx, rdx
jne 0x140013f41
mov r9, r8
not r9
mov rdx, r9
mov rcx, r8
call fcn.140013c38
test eax, eax
je 0x140014145
mov edx, 0x40
call fcn.140013c38
test eax, eax
je 0x140014145
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140014145
movsxd rax, dword [0x14000003c]
cmp rax, r9
jae 0x140014145
lea rcx, [rax + r8]
mov edx, 0x108
call fcn.140013c38
test eax, eax
je 0x140014145
cmp dword [rcx], 0x4550
jne 0x140014145
movzx eax, word [rcx + 0x14]
cmp rax, r9
jae 0x140014145
add rcx, 0x18
mov edx, 0x10b
cmp word [rcx], dx
jne 0x140013fea
cmp rax, 0x60
jb 0x140014145
mov edx, 0xe0
call fcn.140013c38
test eax, eax
je 0x140014145
mov eax, dword [rcx + 0x5c]
add rcx, 0x70
jmp 0x14001401b
mov edx, 0x20b
cmp word [rcx], dx
jne 0x140014145
cmp rax, 0x70
jb 0x140014145
mov edx, 0xf0
call fcn.140013c38
test eax, eax
je 0x140014145
mov eax, dword [rcx + 0x6c]
sub rcx, 0xffffffffffffff80
cmp eax, 2
jbe 0x140014145
mov eax, dword [rcx]
mov edx, dword [rcx + 4]
test rax, rax
je 0x140014145
test rdx, rdx
je 0x140014145
lea rdi, [rax + r8]
test rdi, rdi
je 0x140014145
mov rcx, rdi
call fcn.140013c38
test eax, eax
je 0x140014145
mov ebp, 0x10
cmp rdx, rbp
jb 0x140014145
movzx ebx, word [rdi + 0xe]
test rbx, rbx
je 0x140014145
movzx ecx, word [rdi + 0xc]
lea r14d, [rbp - 8]
add rcx, 2
mov rsi, r11
lea rcx, [rdi + rcx*8]
test rbx, rbx
je 0x1400140ab
mov rdx, r14
call fcn.140013c38
test eax, eax
je 0x140014145
cmp word [rcx], bp
je 0x1400140ab
add rcx, r14
inc rsi
cmp rsi, rbx
jb 0x14001408b
cmp rsi, rbx
je 0x140014145
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x14001412d
mov esi, 0x7fffffff
mov rdx, rbp
and rbx, rsi
add rbx, rdi
mov rcx, rbx
call fcn.140013c38
test eax, eax
je 0x140014145
cmp word [rbx + 0xe], r11w
jne 0x1400140e3
cmp word [rbx + 0xc], r11w
je 0x140014145
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.140013c38
test eax, eax
je 0x140014145
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x14001412d
and rbx, rsi
mov rdx, rbp
add rbx, rdi
mov rcx, rbx
call fcn.140013c38
test eax, eax
je 0x140014145
cmp word [rbx + 0xe], r11w
jne 0x14001411d
cmp word [rbx + 0xc], r11w
je 0x140014145
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.140013c38
test eax, eax
je 0x140014145
mov ecx, dword [rcx + 4]
mov rdx, rbp
add rcx, rdi
call fcn.140013c38
test eax, eax
je 0x140014145
mov r11d, dword [rcx]
add r11, r8
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140014934
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140056920]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rsp + 0x2a8]
lea rdx, str.UpdateHealthTools
mov rdi, rcx
add rcx, 8
call fcn.1400133f0
lea rcx, [rdi + 0x10]
lea rdx, str.CloudManagedUpdate
call fcn.1400133f0
lea rcx, [rdi + 0x18]
lea rdx, str.UpdateHealthTools
call fcn.1400133f0
mov rdx, rbx
lea rcx, [rdi + 0x20]
call fcn.1400133f0
mov rcx, rdi
mov qword [rdi + 0x78], 0xffffffff80000002
call fcn.140015490
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x140014a56
mov rcx, rdi
call fcn.1400153b8
mov ebx, eax
test eax, eax
js 0x140014a56
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rdx, qword [rdi + 0x20]
lea rax, [rsp + 0x40]
mov rcx, qword [rdi + 0x78]
lea r9d, [r14 + 2]
mov qword [rsp + 0x30], rax
lea r8, str.Endpoint
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140014a47
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140014a33
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x140014a4e
lea rdx, str.settings_win.data.microsoft.com
mov rcx, rdi
call fcn.1400133f0
mov byte [rdi + 0xa8], 1
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400301c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14001506c
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [rcx + 0x20]
lea rax, [rsp + 0x48]
mov rcx, qword [rcx + 0x78]
xor ebx, ebx
and qword [rsp + 0x48], rbx
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1400150b6
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140015114
mov rcx, qword [rsp + 0x48]
lea rdx, str.ETag
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
je 0x1400150e3
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140015114
mov rcx, qword [rsp + 0x48]
lea rdx, str.RefreshAfter
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
je 0x140015114
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001512a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140016150
Capabilities:
Encode data using xor
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 r14
push r15
cmp qword [r8 + 0x18], 8
mov rsi, rdx
mov rbx, qword [r8 + 0x10]
mov r11, rcx
mov r10, r8
jb 0x14001617e
mov r10, qword [r8]
lea rdx, [rbx + rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x1400161b1
movzx eax, byte [rcx + r10]
movabs rdi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdi
cmp rcx, rdx
jb 0x140016193
mov r14, qword [r11 + 0x30]
mov r15, qword [r11 + 0x18]
and r14, r9
mov rdi, qword [r11 + 8]
add r14, r14
mov rax, qword [r15 + r14*8]
cmp qword [r15 + r14*8], rdi
jne 0x1400161d2
mov rcx, rdi
jmp 0x1400161da
mov rcx, qword [r15 + r14*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140016284
cmp qword [r8 + 0x18], 8
mov rcx, r8
jb 0x1400161f0
mov rcx, qword [r8]
mov rbp, qword [rax + 0x28]
lea r10, [rax + 0x10]
cmp rbp, 8
jb 0x140016202
mov r10, qword [rax + 0x10]
mov r9, qword [rax + 0x20]
cmp r9, rbx
jne 0x14001622d
test r9, r9
je 0x140016227
sub r10, rcx
movzx edx, word [rcx + r10]
cmp dx, word [rcx]
jne 0x140016232
add rcx, 2
sub r9, 1
jne 0x140016213
xor ecx, ecx
test ecx, ecx
je 0x14001623b
mov rax, qword [rax]
jmp 0x1400161c7
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140016229
lea rcx, [rax + 0x10]
cmp rbp, 8
jb 0x140016248
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140016252
mov r8, qword [r8]
test rbx, rbx
je 0x14001626e
sub r8, rcx
movzx edx, word [rcx + r8]
cmp dx, word [rcx]
jne 0x14001627b
add rcx, 2
sub rbx, 1
jne 0x14001625a
xor ecx, ecx
test ecx, ecx
cmovne rax, rdi
mov qword [rsi], rax
jmp 0x140016287
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140016270
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x18]
mov rax, rsi
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x1400163d0
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.140016660
mov esi, eax
test eax, eax
jns 0x140016412
mov ecx, eax
jmp 0x1400164dd
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]
nop dword [rax + rax]
test eax, eax
je 0x14001645b
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140016497
test rbx, rbx
jne 0x1400164a2
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001649b
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140016416
mov esi, 0x8007000e
mov ecx, esi
jmp 0x1400164dd
mov esi, 0x8000ffff
jmp 0x140016497
cmp dword [rsp + 0x58], 4
je 0x1400164b0
mov esi, 0x8007000d
jmp 0x140016497
xor ebp, ebp
cmp dword [rsp + 0x60], 4
je 0x1400164c9
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.14000bbd0
jmp 0x1400164ce
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, ebp
call fcn.14000bbf0
mov esi, ebp
test ebp, ebp
jns 0x1400164e2
mov ecx, ebp
call fcn.14000bbd0
mov ecx, esi
call fcn.14000bbf0
test rbx, rbx
je 0x14001650e
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
cmp qword [rsp + 0x50], 0
je 0x140016527
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x68]
mov eax, esi
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140016b9c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r14, rdx
mov r9, rcx
mov r13, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140016bd8
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r11, [r13*2]
xor ecx, ecx
test r11, r11
je 0x140016c0f
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r11
jb 0x140016bf1
mov r8, qword [r9 + 0x30]
and r8, rdx
mov r11, r8
add r11, r11
mov r12, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [r12 + r11*8]
je 0x140016cd6
mov rdi, qword [r12 + r11*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r12 + r11*8]
je 0x140016cd6
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
cmp qword [rdi + 0x28], 8
jb 0x140016c53
mov rax, qword [rdi + 0x10]
mov rdx, r10
cmp qword [r10 + 0x18], 8
jb 0x140016c60
mov rdx, qword [r10]
cmp r13, qword [rdi + 0x20]
jne 0x140016c36
mov r15, r13
test r13, r13
je 0x140016c88
sub rdx, rax
movzx ecx, word [rdx + rax]
cmp cx, word [rax]
jne 0x140016d2b
add rax, 2
sub r15, 1
jne 0x140016c71
xor eax, eax
test eax, eax
jne 0x140016c36
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x30]
call fcn.14000be20
lea rcx, [rbx + 0x10]
call fcn.14000be20
mov edx, 0x50
mov rcx, rbx
call fcn.1400301e8
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140016d7a
mov rax, qword [rbx]
cmp rdi, rax
je 0x140016d0b
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r11*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x140016d37
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140016d66
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x140016c8a
cmp rax, rdi
jne 0x140016d42
mov qword [rdx + r8*8], rbx
jmp 0x140016d66
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140016d66
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r11*8 + 8], rcx
mov rcx, r9
call fcn.140016d94
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140017108
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 r10, qword [rsi + 0x10]
jb 0x14001713b
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x14001716a
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x14001714c
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400171a2
cmp qword [rcx + rdx*8], rdi
jne 0x140017197
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14001719b
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400171af
cmp qword [rcx + rdx*8], rdi
jne 0x1400171af
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.14000be20
mov rcx, rsi
call fcn.14000be20
mov edx, 0x50
mov rcx, rdi
call fcn.1400301e8
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 0x140017294
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x10], rdx
push rsi
push rdi
push r15
sub rsp, 0x50
xor r15d, r15d
lea rax, [r11 + 0x10]
mov qword [r11 - 0x28], r15
lea rdx, str.SoftwareMicrosoftCloudManagedUpdateuhs_settings
mov qword [r11 - 0x30], rax
mov rbp, rcx
mov qword [r11 - 0x38], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [r11 - 0x48], r15d
mov qword [r11 + 0x10], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140017341
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
lea r8, str.SoftwareMicrosoftCloudManagedUpdateuhs_settings
or ecx, 0x80070000
lea rdx, str.Failed_to_create_open_settings_key__s
test eax, eax
cmovle ecx, eax
call fcn.14000b5ac
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 0x140017427
mov rax, qword [rbp + 0xf8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140017424
lea rsi, [rbx + 0x30]
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x140017365
mov rcx, qword [rsi]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140017369
add eax, eax
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140017382
mov rcx, qword [rsi]
lea rdi, [rbx + 0x10]
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x140017393
mov r8, qword [rdi]
xor edx, edx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
lea r9d, [rdx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x1400173ec
cmp qword [rdi + 0x18], 8
jb 0x1400173c1
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
mov r8, rdi
or ecx, 0x80070000
lea rdx, str.Failed_to_write__s
test eax, eax
cmovle ecx, eax
call fcn.14000b5ac
jmp 0x140017414
cmp qword [rsi + 0x18], 8
jb 0x1400173f6
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x140017400
mov rdi, qword [rdi]
mov r9, rsi
lea rdx, str.Wrote_value_Name:__s__Value:__s
mov r8, rdi
xor ecx, ecx
call fcn.14000b5ac
mov rbx, qword [rbx]
cmp rbx, qword [rbp + 0xf8]
jne 0x140017354
mov ebx, r15d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14001743d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret
Function at 0x1400183bc
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 0x1400183da
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 0x14001842b
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140018411
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 0x14001842b
lea edi, [rax + 1]
mov rcx, rbx
call fcn.14000be20
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x40
pop rdi
ret