joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014b78
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 0x140014ba9
mov r9, r8
not r9
mov rdx, r9
mov rcx, r8
call fcn.1400148a0
test eax, eax
je 0x140014daa
mov edx, 0x40
call fcn.1400148a0
test eax, eax
je 0x140014daa
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140014daa
movsxd rax, dword [0x14000003c]
cmp rax, r9
jae 0x140014daa
lea rcx, [rax + r8]
mov edx, 0x108
call fcn.1400148a0
test eax, eax
je 0x140014daa
cmp dword [rcx], 0x4550
jne 0x140014daa
movzx eax, word [rcx + 0x14]
cmp rax, r9
jae 0x140014daa
add rcx, 0x18
mov edx, 0x10b
cmp word [rcx], dx
jne 0x140014c52
cmp rax, 0x60
jb 0x140014daa
mov edx, 0xe0
call fcn.1400148a0
test eax, eax
je 0x140014daa
mov eax, dword [rcx + 0x5c]
add rcx, 0x70
jmp 0x140014c83
mov edx, 0x20b
cmp word [rcx], dx
jne 0x140014daa
cmp rax, 0x70
jb 0x140014daa
mov edx, pe_nt_image_headers64
call fcn.1400148a0
test eax, eax
je 0x140014daa
mov eax, dword [rcx + 0x6c]
sub rcx, 0xffffffffffffff80
cmp eax, 2
jbe 0x140014daa
mov eax, dword [rcx]
mov edx, dword [rcx + 4]
test rax, rax
je 0x140014daa
test rdx, rdx
je 0x140014daa
lea rdi, [rax + r8]
test rdi, rdi
je 0x140014daa
mov rcx, rdi
call fcn.1400148a0
test eax, eax
je 0x140014daa
mov ebp, 0x10
cmp rdx, rbp
jb 0x140014daa
movzx ebx, word [rdi + 0xe]
test rbx, rbx
je 0x140014daa
movzx ecx, word [rdi + 0xc]
lea r14d, [rbp - 8]
add rcx, 2
mov rsi, r11
lea rcx, [rdi + rcx*8]
test rbx, rbx
je 0x140014d19
mov rdx, r14
call fcn.1400148a0
test eax, eax
je 0x140014daa
cmp word [rcx], bp
je 0x140014d19
add rcx, r14
inc rsi
cmp rsi, rbx
jb 0x140014cf3
je 0x140014daa
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140014d92
mov esi, 0x7fffffff
mov rdx, rbp
and rbx, rsi
add rbx, rdi
mov rcx, rbx
call fcn.1400148a0
test eax, eax
je 0x140014daa
cmp word [rbx + 0xe], r11w
jne 0x140014d48
cmp word [rbx + 0xc], r11w
je 0x140014daa
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.1400148a0
test eax, eax
je 0x140014daa
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140014d92
and rbx, rsi
mov rdx, rbp
add rbx, rdi
mov rcx, rbx
call fcn.1400148a0
test eax, eax
je 0x140014daa
cmp word [rbx + 0xe], r11w
jne 0x140014d82
cmp word [rbx + 0xc], r11w
je 0x140014daa
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.1400148a0
test eax, eax
je 0x140014daa
mov ecx, dword [rcx + 4]
mov rdx, rbp
add rcx, rdi
call fcn.1400148a0
test eax, eax
je 0x140014daa
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 0x140015570
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 [0x14005b8e0]
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.140014014
lea rcx, [rdi + 0x10]
lea rdx, str.CloudManagedUpdate
call fcn.140014014
lea rcx, [rdi + 0x18]
lea rdx, str.UpdateHealthTools
call fcn.140014014
mov rdx, rbx
lea rcx, [rdi + 0x20]
call fcn.140014014
mov rcx, rdi
mov qword [rdi + 0x78], 0xffffffff80000002
call fcn.1400161fc
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x140015692
mov rcx, rdi
call fcn.140016124
mov ebx, eax
test eax, eax
js 0x140015692
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 0x140015683
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14001566f
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x14001568a
lea rdx, str.settings_win.data.microsoft.com
mov rcx, rdi
call fcn.140014014
mov byte [rdi + 0xa8], 1
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140034af0
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 0x140015d8c
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 0x140015dd6
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140015e36
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, eax
je 0x140015e09
cmp eax, 2
je 0x140015e05
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140015e36
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 0x140015e36
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140015e4c
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 0x140017084
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 rsi
push rdi
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.140017410
mov edi, eax
test eax, eax
jns 0x1400170c6
mov ecx, eax
jmp 0x140017193
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
jne 0x140017183
test rbx, rbx
jne 0x140017146
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001713f
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 0x1400170ca
mov edi, 0x8007000e
jmp 0x140017191
mov edi, 0x8000ffff
jmp 0x140017191
cmp dword [rsp + 0x58], 4
je 0x140017154
mov edi, 0x8007000d
jmp 0x140017191
xor esi, esi
cmp dword [rsp + 0x60], 4
je 0x14001716d
mov edi, 0x8007000d
mov ecx, edi
mov esi, edi
call fcn.14000c4dc
jmp 0x140017172
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, esi
call fcn.14000c400
mov edi, esi
test esi, esi
jns 0x140017198
mov ecx, esi
jmp 0x140017193
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14000c4dc
mov ecx, edi
call fcn.14000c400
test rbx, rbx
je 0x1400171c4
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 0x1400171dd
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, edi
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140017790
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 0x1400177b1
mov r10, qword [r8]
xor edx, edx
movabs r9, 0xcbf29ce484222325
add rcx, rcx
je 0x1400177e0
movzx eax, byte [rdx + r10]
movabs r11, 0x100000001b3
xor r9, rax
inc rdx
imul r9, r11
cmp rdx, rcx
jb 0x1400177c2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400182b4
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400177fa
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 0x140017a08
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 0x140017a46
mov rdx, qword [rsi]
movabs r14, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x140017a78
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x140017a5b
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.1400182b4
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140017aa1
mov qword [rbx], rax
mov byte [rbx + 8], r13b
jmp 0x140017bd9
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x140017bfb
lea r12, [rbp + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov ecx, 0x50
call fcn.140034de4
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.14000c744
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 0x140017b09
cvtsi2ss xmm0, rcx
jmp 0x140017b1e
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 0x140017b31
cvtsi2ss xmm1, rcx
jmp 0x140017b46
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 0x140017b7e
mov rcx, rbp
call fcn.140017c4c
mov r9, r14
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.1400182b4
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 0x140017bbb
mov qword [rcx + rax*8], rdi
jmp 0x140017bcd
cmp r9, rdx
jne 0x140017bc6
mov qword [rcx + rax*8], rdi
jmp 0x140017bd2
cmp qword [rcx + rax*8 + 8], r8
jne 0x140017bd2
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.140010a34
int3
Function at 0x1400180dc
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 0x140018283
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 0x14001812c
mov rcx, qword [rcx]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
add r10, r10
je 0x14001815c
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r11
cmp r8, r10
jb 0x140018148
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.140018340
mov edx, 0x50
mov rcx, rbx
call fcn.14000f8e8
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x1400181c7
cmp rsi, rbp
jne 0x14001817c
cmp qword [rsp + 0x78], r15
jne 0x14001827c
mov qword [r12 + r13*8], rsi
jmp 0x14001827c
cmp qword [rsp + 0x78], r15
jne 0x1400181df
mov rdx, qword [rsp + 0x80]
mov qword [r12 + r13*8], rdx
mov rax, rdx
jmp 0x1400181e2
mov rax, r14
mov qword [r12 + r13*8 + 8], rax
cmp rsi, rbp
je 0x14001827c
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 8
mov r10, qword [rcx + 0x10]
jb 0x140018202
mov rcx, qword [rcx]
xor r9d, r9d
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x140018237
movabs r8, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc r9
xor rdx, rax
imul rdx, r8
cmp r9, r10
jb 0x14001821e
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.140018340
mov edx, 0x50
mov rcx, rbx
call fcn.14000f8e8
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, r13
je 0x140018298
cmp rsi, rbp
jne 0x140018246
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 0x1400181e7
Function at 0x1400183b8
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 0x1400183f1
mov rdx, qword [rsi]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
add r8, r8
je 0x14001841f
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x140018402
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.1400182b4
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140018448
mov qword [rbx], rax
mov byte [rbx + 8], 0
jmp 0x140018589
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x1400185a6
lea r12, [rbp + 8]
mov qword [rsp + 0x38], r12
and qword [rsp + 0x40], 0
mov ecx, 0x50
call fcn.140034de4
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.14000c744
nop
lea rcx, [r15 + 0x20]
lea rdx, [rsi + 0x20]
call fcn.14000c744
nop
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400184ba
cvtsi2ss xmm0, rcx
jmp 0x1400184cf
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 0x1400184e2
cvtsi2ss xmm1, rcx
jmp 0x1400184f7
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 0x14001852e
mov rcx, rbp
call fcn.140017c4c
mov r9, r14
mov r8, r15
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.1400182b4
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 0x14001856b
mov qword [rcx + rax*8], rdi
jmp 0x14001857d
cmp r9, rdx
jne 0x140018576
mov qword [rcx + rax*8], rdi
jmp 0x140018582
cmp qword [rcx + rax*8 + 8], r8
jne 0x140018582
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.140010a34
int3
Function at 0x1400185bc
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 0x140018673
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.14000bb5c
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 0x14001875a
mov rax, qword [rsi + 0xf8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140018757
lea rax, [rbx + 0x30]
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140018697
mov rdx, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14001869b
add ecx, ecx
cmp qword [rax + 0x18], 8
jb 0x1400186b1
mov rax, qword [rax]
lea rdi, [rbx + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400186c2
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 0x14001871b
cmp qword [rdi + 0x18], 8
jb 0x1400186f0
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.14000bb5c
jmp 0x140018744
lea r9, [rdi + 0x20]
cmp qword [r9 + 0x18], 8
jb 0x140018729
mov r9, qword [r9]
cmp qword [rdi + 0x18], 8
jb 0x140018733
mov rdi, qword [rdi]
mov r8, rdi
lea rdx, str.Wrote_value_Name:__s__Value:__s
xor ecx, ecx
call fcn.14000bb5c
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rsi + 0xf8]
jne 0x140018686
mov ebx, r14d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140018771
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 0x140019c1c
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 0x140019c3a
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 0x140019ca9
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140019c71
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 0x140019ca9
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140019ca2
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
call fcn.14000f8e8
mov eax, 1
jmp 0x140019cc5
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140019cc3
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
call fcn.14000f8e8
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 0x14001a370
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
xor r12d, r12d
mov rdi, rdx
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x30], r12
mov r14b, r12b
mov rdx, rcx
jb 0x14001a39e
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]
test eax, eax
jne 0x14001a4b3
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x14001a3d9
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14001a41e
cmp qword [rdi + 0x18], 8
mov r14b, 1
mov r9, rdi
jb 0x14001a3fe
mov r9, qword [rdi]
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x14001a40b
mov r8, qword [rbx]
lea rdx, str._s_s_registry_value_deleted_successfully.
xor ecx, ecx
call fcn.14000bb5c
jmp 0x14001a523
mov rbp, rdi
cmp eax, 2
jne 0x14001a46e
cmp qword [rdi + 0x18], 8
jb 0x14001a430
mov rbp, qword [rdi]
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x14001a43d
mov rsi, qword [rbx]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r9, rbp
or ecx, 0x80070000
lea rdx, str._s_s_registry_value_does_not_exist
test eax, eax
mov r8, rsi
cmovle ecx, eax
call fcn.14000bb5c
jmp 0x14001a523
cmp qword [rdi + 0x18], 8
jb 0x14001a478
mov rbp, qword [rdi]
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x14001a485
mov rsi, qword [rbx]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r9, rbp
or ecx, 0x80070000
lea rdx, str._s_s_registry_value_delete_failed.
test eax, eax
mov r8, rsi
cmovle ecx, eax
call fcn.14000b9e0
jmp 0x14001a523
mov rsi, rbx
cmp eax, 2
jne 0x14001a4f0
cmp qword [rbx + 0x18], 8
jb 0x14001a4c5
mov rsi, qword [rbx]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r8, rsi
or ecx, 0x80070000
lea rdx, str._s_registry_key_does_not_exist
test eax, eax
cmovle ecx, eax
call fcn.14000bb5c
jmp 0x14001a523
cmp qword [rbx + 0x18], 8
jb 0x14001a4fa
mov rsi, qword [rbx]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r8, rsi
or ecx, 0x80070000
lea rdx, str._s_registry_key_open_failed.
test eax, eax
cmovle ecx, eax
call fcn.14000b9e0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001a539
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 0x14001a553
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
call fcn.14000f8e8
mov esi, 7
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rsi
mov word [rbx], r12w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001a57e
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
call fcn.14000f8e8
mov rbx, qword [rsp + 0x80]
mov al, r14b
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rsi
mov word [rdi], r12w
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret