joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400238a8
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
sub rsp, 0x40
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jae 0x14004bc8e
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x14002390d
movzx eax, byte [rcx + rdx]
xor rbp, rax
movabs r9, 0x100000001b3
imul rbp, r9
inc rcx
cmp rcx, r8
jb 0x1400238f0
mov r9, rbp
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001e314
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14004bc96
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
je 0x14004bca2
lea rdx, [rsi + 8]
mov r9, r14
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.140023a94
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400239d5
cvtsi2ss xmm0, rcx
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400239ef
cvtsi2ss xmm1, rcx
divss xmm0, xmm1
comiss xmm0, dword [rsi]
ja 0x14004bcb6
mov rbx, qword [rsp + 0x28]
and qword [rsp + 0x28], 0
mov r9, rbx
mov r8, qword [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
call fcn.140023a4c
mov qword [rdi], rax
mov byte [rdi + 8], 1
lea rcx, [rsp + 0x20]
call fcn.140023a10
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140023969
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x14002397a
mov rdx, qword [rbx]
jmp 0x1400238df
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x1400239b6
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
nop
mov rcx, rsi
call fcn.140070868
mov rbx, qword [rsp + 0x28]
lea r8, [rbx + 0x10]
mov r9, rbp
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001e314
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
jmp 0x14002398c

Function at 0x1400253b4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, qword [rsp + 0x2b8]
mov rbp, r8
mov rbx, qword [rsp + 0x2c0]
mov r8, rdx
mov r14d, r9d
mov rsi, rdx
mov rdx, 0xffffffff80000002
lea r9, [rsp + 0x40]
call fcn.140025578
test al, al
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
cmove rdx, rsi
mov r9d, r14d
and qword [rsp + 0x20], 0
mov r8, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027ad4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov eax, dword [0x1400adaa8]
mov dword [rsp + 0x5c], eax
movzx eax, word [0x1400adaac]
mov word [rsp + 0x60], ax
mov word [rsp + 0x5c], dx
mov rdx, qword [rcx + 8]
xor edi, edi
mov qword [r11 - 0x28], rdi
mov rax, qword [rcx]
mov qword [r11 - 0x38], rdx
lea rcx, [r11 - 0x28]
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x48], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [r11 - 0x1c]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140027be9
mov dword [rsp + 0x58], 3
lea r9d, [rdi + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.DriveType
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400aa090]
mov rcx, qword [rcx]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140027be9
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140027baf
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.VolumeLabel
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140027e58
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140027c18
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x480
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r8d, 0x105
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], r8d
lea rdx, [rsp + 0x260]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
je 0x140027d1d
cmp byte [rbx + 0x35], 0
lea rdi, [rsp + 0x260]
jne 0x140027cf3
lea rdx, [0x1400aa090]
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
setne al
mov byte [rbx + 0x34], al
call qword [sym.imp.ntdll.dll_RtlIsStateSeparationEnabled]
nop dword [rax + rax]
test al, al
jne 0x14004381e
mov r9b, byte [rbx + 0x35]
lea rdx, [rsp + 0x50]
mov ecx, dword [rbx + 0x30]
mov r8, rdi
call fcn.140027d3c
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret
mov rcx, qword [rbx + 0x18]
call fcn.1400277b8
test al, al
je 0x140027d30
lea rdx, [0x1400aa090]
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140027d30
mov al, 1
mov rdi, qword [rbx + 0x18]
jmp 0x140027ca6
call fcn.14001d618
test eax, eax
jns 0x140027c82
mov byte [rbx + 0x34], 0
jmp 0x140027cd1
xor al, al
jmp 0x140027d17
test dword [rsp + 0x40], 0x80000
je 0x140027cbd
mov byte [rbx + 0x34], 0
jmp 0x140027cbd
Function at 0x140027d3c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov dil, r9b
mov ebx, ecx
xor esi, esi
mov qword [rbp + 0x17], rsi
lea rax, [rbp + 7]
mov qword [r11 - 0x60], rax
lea rax, [rbp + 0x17]
mov qword [r11 - 0x68], rax
mov dword [rsp + 0x30], 0x2001f
mov dword [rsp + 0x28], esi
lea r8, str.SOFTWAREMicrosoftWindows_SearchVolumeInfoCache
mov rdx, 0xffffffff80000002
call fcn.140025068
test eax, eax
jne 0x140027dcd
test dil, dil
jne 0x140027df8
lea rax, [rbp + 0x17]
mov qword [rbp + 0x1f], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x6f]
mov qword [rbp + 0x2f], rax
lea rax, [rbp + 0x77]
mov qword [rbp + 0x37], rax
mov edi, esi
test ebx, ebx
je 0x140027dcd
test bl, 1
jne 0x140027dea
inc edi
shr ebx, 1
jne 0x140027dc2
lea rcx, [rbp + 0x17]
call fcn.140027e58
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
lea edx, [rdi + 0x41]
lea rcx, [rbp + 0x1f]
call fcn.140027ad4
jmp 0x140027dc7
mov qword [rbp + 0xf], rsi
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140043836
lea rcx, [rbp + 0xf]
call fcn.140027e58
jmp 0x140027d9c
mov dword [rbp + 0xb], 3
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0xb]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.DriveType
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
lea rdx, [0x1400aa090]
mov rcx, qword [rbp + 0x6f]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140027e41
mov rcx, qword [rbp + 0x77]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14004388b
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.VolumeLabel
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
lea rcx, [rbp + 0xf]
call fcn.140027e58
nop
jmp 0x140027dcd
Function at 0x14002b3c0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and qword [rdx], 0
mov rsi, rdx
mov rbp, rcx
lea rdx, [0x1400aa420]
mov ecx, 0x208
call fcn.14003726c
lea r9, [rsp + 0x48]
mov r8d, 0x104
mov rdx, rax
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
mov r14d, 2
test eax, eax
je 0x14004d49c
xor edi, edi
mov rax, rbx
xor ebx, ebx
mov qword [rsi], rax
mov rdx, r14
mov rcx, rbx
call fcn.140037228
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
call fcn.14001d618
mov edi, eax
cmp eax, 0x800700ea
jne 0x14004d519
mov ecx, dword [rsp + 0x48]
mov rax, r14
mul rcx
mov rcx, 0xffffffffffffffff
lea rdx, [0x1400aa420]
cmovo rax, rcx
mov rcx, rax
call fcn.14003726c
mov rdx, r14
mov rcx, rbx
mov rdi, rax
call fcn.140037228
mov rbx, rdi
test rdi, rdi
jne 0x14004d4ee
mov edi, 0x8007000e
jmp 0x14002b425
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14002b41b
call fcn.14001d618
mov edi, eax
test edi, edi
js 0x14002b425
jmp 0x14002b41d
Function at 0x14002bae4
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov dword [rcx], 3
mov dword [rdx], 0x65
mov byte [rbp + 0x30], 0
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
call fcn.140024fd4
mov ebx, eax
test eax, eax
jg 0x14004d6c8
mov rcx, qword [rbp + 0x20]
test ebx, ebx
js 0x14004d6d6
mov dword [rbp - 0x18], 4
mov dword [rbp + 0x40], 4
and dword [rbp + 0x38], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
lea r8, [0x1400ab020]
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14004d6f0
js 0x14002bc23
cmp dword [rbp + 0x38], 1
jne 0x14002bc23
and dword [rsi], 0
and dword [rdi], 0
mov byte [rbp + 0x28], 0
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x30]
call fcn.14002b694
test eax, eax
js 0x14002bc0c
cmp byte [rbp + 0x28], 0
je 0x14004d744
mov dword [rbp + 0x40], 4
and dword [rbp + 0x38], 0
mov dword [rbp - 0x18], 4
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
lea r8, str.RebuildIndex
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14004d6ff
mov rcx, qword [rbp - 0x10]
call fcn.14002bc48
test al, al
jne 0x14004d755
cmp byte [rbp + 0x30], 0
jne 0x14002bc38
lea rcx, [rbp - 0x10]
call fcn.140027e58
mov eax, ebx
add rsp, 0x48
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140069ae0
nop
jmp 0x14002bc23
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14002bb39
mov r9d, ebx
lea r8, [0x1400abd20]
mov edx, 0xb9
call fcn.14002889c
nop
jmp 0x14002bc23
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x14002bb8e
cmp dword [rbp + 0x40], 4
jne 0x14004d727
mov edx, dword [rbp + 0x38]
test edx, edx
je 0x14004d727
mov dword [rsi], 1
lea eax, [rdx - 1]
mov ecx, 0x68
cmp eax, 0xa
cmovbe ecx, edx
mov dword [rdi], ecx
jmp 0x14002bc0c
lea rdx, str.RebuildIndex
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
nop
jmp 0x14002bc0c
mov dword [rsi], 1
mov dword [rdi], 0x64
jmp 0x14002bc0c
mov dword [rsi], 1
mov dword [rdi], 0x69
mov byte [rbp + 0x28], 0
lea rcx, [rbp + 0x28]
call fcn.1400554d8
nop
jmp 0x14002bc1d
Function at 0x14002bc48
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
call fcn.14002bcd0
neg al
lea r9, [rsp + 0x78]
lea r8, str.DatabaseSchemaVersion
mov rcx, rbx
sbb esi, esi
xor edi, edi
and esi, 2
mov dword [rsp + 0x68], edi
xor edx, edx
mov dword [rsp + 0x30], esi
lea eax, [rdi + 4]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14004d776
cmovns edi, dword [rsp + 0x68]
mov dword [rsp + 0x68], edi
cmp edi, esi
jne 0x14004d785
xor al, al
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x14002bcad
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14005544c
mov al, 1
jmp 0x14002bcc0

Function at 0x14002cd28
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
lea rax, [rbp - 0x10]
mov rdi, r8
mov qword [rbp - 0x10], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMSetup
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002cdc8
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Upgrade
mov dword [rbp + 0x38], 4
mov dword [rbp + 0x28], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14004d9d6
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
cmp dword [rbp + 0x28], 4
jne 0x14002cdb8
test rdi, rdi
je 0x14004d9ea
mov eax, dword [rbp + 0x20]
mov dword [rdi], eax
mov ebx, 1
jmp 0x14002cdb8
Function at 0x14002cddc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
cmp byte [0x1400d22ad], 0
jne 0x14002ced8
cmp byte [0x1400d22ac], 0
jne 0x14002ced8
and qword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov bl, 1
mov dword [rsp + 0x20], 0x20019
mov rdx, 0xffffffff80000002
mov byte [0x1400d22ad], bl
call fcn.140024fd4
test eax, eax
jne 0x14002ced8
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x18], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ETWLogging
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14004d9f4
xor bl, bl
cmp dword [0x1400d2988], 0
mov byte [0x1400d22ac], bl
mov dword [rbp + 0x18], 4
ja 0x14002cec8
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x30]
xor r8d, r8d
lea rdx, str.ETWBufferSize
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14004da0d
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x48
pop rbx
pop rbp
ret
cmp dword [rbp + 0x20], 4
jne 0x14002ce78
cmp dword [rbp + 0x28], 0
ja 0x14002ce7a
jmp 0x14002ce78
cmp dword [rbp + 0x20], 4
jne 0x14002cec8
mov edx, dword [rbp + 0x30]
test edx, edx
je 0x14002cec8
call fcn.1400739bc
nop
jmp 0x14002cec8
Function at 0x14002cee8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x350
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rsi, rcx
xor ebx, ebx
mov byte [rsp + 0x30], bl
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x130]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
sete al
mov rcx, qword [rsp + 0x358]
test al, al
jne 0x14004da2e
mov edx, edi
lea rax, [rsp + 0x130]
cmp word [rax], bx
je 0x14002cf5e
add rax, 2
sub rdx, 1
jne 0x14002cf4f
mov rax, rdx
mov rcx, rdi
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
mov rax, rdx
neg rax
sbb r9d, r9d
not r9d
and r9d, 0x80070057
test rdx, rdx
je 0x14002cfe7
sub rdi, r8
lea rcx, [rsp + 0x130]
lea rcx, [rcx + r8*2]
je 0x14002cfc9
mov eax, 0x7ffffffe
lea rdx, str.propsys.dll
sub rdx, rcx
test rax, rax
je 0x14002cfc9
movzx r8d, word [rdx + rcx]
test r8w, r8w
je 0x14002cfc9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdi, 1
jne 0x14002cfa8
lea rax, [rcx - 2]
test rdi, rdi
cmovne rax, rcx
mov word [rax], bx
neg rdi
sbb r9d, r9d
not r9d
and r9d, 0x8007007a
mov rcx, qword [rsp + 0x358]
test r9d, r9d
js 0x14004da3f
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x130]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x358]
test eax, eax
je 0x14004da50
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.14002eb50
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 8
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, str.SchemaCacheTimestamp
lea rcx, [rsp + 0x70]
call fcn.140035b80
test eax, eax
je 0x14004da61
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CompareFileTime]
nop dword [rax + rax]
test eax, eax
jne 0x14004da61
mov byte [rsp + 0x30], bl
lea rcx, [rsp + 0x70]
call fcn.140014d5c
nop
mov al, bl
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.140036b80
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea r8, [0x1400ad6a0]
mov edx, 0xd9
call fcn.140063d80
lea r8, [0x1400ad6a0]
mov edx, 0xda
call fcn.140068a64
lea r8, [0x1400ad6a0]
mov edx, 0xdd
call fcn.140063d80
mov eax, dword [rsp + 0x5c]
mov dword [rsi], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 4], eax
mov bl, 1
jmp 0x14002d099
Function at 0x14002d0dc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x38
lea rax, [rbp + 0x30]
mov ebx, 1
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], ebx
call fcn.140024fd4
test eax, eax
jg 0x14004da78
js 0x14002d17a
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
and dword [rbp + 0x28], 0
lea r9, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r8, str.EnableDefaultScope
lea rax, [rbp + 0x28]
mov dword [rbp + 0x20], 4
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x18], 4
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x14002d164
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x14004da87
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
add rsp, 0x38
pop rbx
pop rbp
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x14002d113
cmp dword [rbp + 0x18], 4
je 0x14004da92
call fcn.14009fbec
cmp dword [rbp + 0x20], 4
je 0x14004da9d
call fcn.14009fbec
mov eax, dword [rbp + 0x28]
neg eax
sbb cl, cl
and bl, cl
jmp 0x14002d16a

Function at 0x14002d18c
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x38
lea rax, [rsp + 0x68]
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov dword [rsp + 0x20], 0xf003f
call fcn.140024fd4
xor edi, edi
mov ebx, eax
test eax, eax
jg 0x14004daac
test ebx, ebx
js 0x14002d266
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov eax, 4
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x60], eax
lea r8, [0x1400ab020]
mov dword [rsp + 0x58], eax
xor edx, edx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jg 0x14004daba
test ebx, ebx
js 0x14002d255
cmp dword [rsp + 0x50], 1
jne 0x14002d255
mov rcx, qword [rsp + 0x68]
lea rdx, str.PreviousSettings
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteKeyW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14002d24c
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x80070002
cmove ebx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14002d1c4
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14002d21a