joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0b50
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov rcx, qword [0x14037ca98]
mov rbx, r9
mov qword [r11 + 8], rcx
mov rsi, r8
mov rdi, rdx
test rdx, rdx
je 0x1400a0bb7
and qword [r11 - 0x18], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
xor r9d, r9d
and qword [r11 - 0x28], 0
xor r8d, r8d
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400a0c12
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x80]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
test rdi, rdi
je 0x1400a0bff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor eax, eax
jmp 0x1400a0c01
Function at 0x1400a0d6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rdi, rcx
xor ebx, ebx
mov ecx, 0x40000047
call qword [sym.imp.SHELL32.dll_SHRestricted]
nop dword [rax + rax]
test eax, eax
jne 0x1400a0eb6
lea ecx, [rbx + 0x43]
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
jne 0x1400a0eb6
lea rax, [rsp + 0x38]
xor r8d, r8d
lea esi, [rbx + 1]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400a0eb6
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14009ecc0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x1fe
lea r8, str.Load
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov dil, 0x40
test eax, eax
je 0x140185d46
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x1fe
lea r8, [0x140306138]
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140185dab
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.14003a0fc
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp dword [rsp + 0x34], esi
jne 0x1400a0e58
test byte [0x14037dc81], dil
je 0x140185d6c
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Load
lea rdx, [0x140300bd8]
call fcn.14004251c
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov edx, 7
call fcn.14029ae94
test eax, eax
cmovne ebx, esi
test byte [0x14037dc81], dil
je 0x1400a0e58
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Load
lea rdx, [0x140300bc8]
call fcn.14004251c
nop
jmp 0x1400a0e58
cmp dword [rsp + 0x34], esi
jne 0x1400a0e9b
test byte [0x14037dc81], dil
je 0x140185dd1
lea r8, [0x14033ae40]
lea rdx, [0x140300bd8]
call fcn.14004251c
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov edx, esi
call fcn.14029ae94
test eax, eax
cmovne ebx, esi
test byte [0x14037dc81], dil
je 0x1400a0e9b
lea r8, [0x14033ae40]
lea rdx, [0x140300bc8]
call fcn.14004251c
nop
jmp 0x1400a0e9b
Function at 0x1400a142c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor eax, eax
mov r14, rcx
mov qword [r8], rax
mov rdi, r8
mov dword [r8 + 8], eax
mov rbp, rdx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140185e78
cmp rcx, 1
je 0x1400a14b8
cmp rcx, 2
je 0x140185e92
lea rax, [r11 + 8]
mov dword [rsp + 0x60], SafeArrayDestroy
mov qword [r11 - 0x28], rax
mov r9d, 0x20000008
mov qword [r11 - 0x30], r8
mov r8, rdx
and qword [r11 - 0x38], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
je 0x140185ea0
test ebx, ebx
je 0x1400a14c8
cmp ebx, 2
je 0x1400a14c8
jmp 0x140185f1c
cmp dword [r14 + 8], 1
je 0x140185e89
mov ebx, 2
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov dword [r8], 2
mov ebx, SafeArrayUnaccessData
jmp 0x1400a14c8
mov dword [r8], 2
jmp 0x140185e99
mov dword [r8], 3
xor ebx, ebx
jmp 0x1400a14c8
mov edx, dword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140185f12
mov rcx, qword [r14]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov r9d, 0x20000008
mov qword [rsp + 0x28], rsi
mov r8, rbp
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140185efd
movsd xmm0, qword [rsi]
movsd qword [rdi], xmm0
mov eax, dword [rsi + 8]
mov dword [rdi + 8], eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
nop
jmp 0x1400a14aa
mov ebx, SafeArrayDestroy
jmp 0x1400a14aa
cmp ebx, 0x65e
je 0x1400a14c8
mov dword [rdi], 2
jmp 0x1400a14c8

Function at 0x1400a2288
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14037b190], eax
call fcn.1400a2e30
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14037b190], 0
jne 0x1400a22cb
mov ecx, 1
call fcn.1400a2e30
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x1400aa458
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
and dword [rdx], 0
lea rcx, [rax + 0x10]
and qword [rax + 0x10], 0
mov rdi, rdx
xor edx, edx
mov dword [rax + 8], 4
call fcn.14006ee3c
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400aa4eb
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.IsFeedsAvailable
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400aa4f8
jle 0x1400aa4fa
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400aa4fa
xor ebx, ebx
lea rcx, [rsp + 0x48]
call fcn.14009ade4
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400acc88
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x50
and qword [rsp + 0x68], 0
lea rcx, [rsp + 0x68]
xor edx, edx
call fcn.14006ee3c
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearchSettings
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400acd20
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.IsDynamicSearchBoxEnabled
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400acd2d
jle 0x1400acd2f
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400acd2f
xor ebx, ebx
lea rcx, [rsp + 0x68]
call fcn.14009ade4
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x1400ace7c
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r15, rcx
mov esi, edx
lea rcx, [0x14037cae8]
call fcn.1400aa704
test al, al
je 0x1400ad0cd
lea r14d, [rsi - 0x271]
cmp r14d, 2
setbe r12b
xor ebx, ebx
and dword [rbp + 0x40], ebx
xor edi, edi
cmp r14d, 2
ja 0x1400acf7a
and dword [rbp + 0x48], ebx
lea rdi, str.ShellFeedsTaskbarViewMode
mov rcx, rdi
lea rdx, [rbp + 0x48]
call fcn.140108244
lea rcx, [0x14037cb08]
mov ebx, r14d
call fcn.1400ad43c
test al, al
je 0x1400acf00
cmp ebx, dword [rbp + 0x48]
je 0x1400ad0cd
mov r8d, 3
mov dword [rbp + 0x40], ebx
lea rdx, str.IconAndText
mov ecx, ebx
call fcn.140108228
mov ecx, dword [rbp + 0x48]
mov qword [rbp - 0x10], rax
call fcn.140108228
lea r8, [rbp - 0x10]
mov qword [rbp - 8], rax
lea rdx, [rbp - 8]
call fcn.1400aaac0
lea rcx, [0x14037caf8]
call fcn.1400ad47c
test al, al
je 0x1400ad06f
cmp esi, 0x273
jne 0x1400ad06f
lea r8, str.PartnerCode
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
nop dword [rax + rax]
jmp 0x1400ad06f
cmp esi, 0x274
jne 0x1400acfe6
and dword [rbp + 0x48], ebx
lea rdi, str.ShellFeedsTaskbarContentUpdateMode
mov rcx, rdi
lea rdx, [rbp + 0x48]
call fcn.140108244
mov r9d, dword [rbp + 0x48]
test eax, eax
js 0x1400acfa5
test r9d, r9d
jne 0x1400acfaa
mov ebx, 1
lea eax, [rbx + 3]
mov r8d, 2
lea rdx, str.unchecked
mov dword [rbp + 0x40], eax
mov ecx, ebx
call fcn.140108228
mov ecx, r9d
mov qword [rbp - 8], rax
call fcn.140108228
lea r8, [rbp - 8]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
call fcn.1400aaa18
jmp 0x1400ad06f
lea rcx, [0x14037cb28]
call fcn.1400ad330
test al, al
je 0x1400ad06f
lea rcx, [0x14037cae8]
call fcn.1400ad220
xor ecx, ecx
lea rdi, str.ShellFeedsTaskbarOpenOnHover
cmp al, 4
lea rdx, [rbp + 0x48]
mov bl, al
setne cl
mov dword [rbp + 0x48], ecx
mov rcx, rdi
call fcn.140108244
mov r9d, dword [rbp + 0x48]
test eax, eax
js 0x1400ad0e5
test r9d, r9d
je 0x1400ad0ee
xor ebx, ebx
lea eax, [rbx + 0x10]
mov r8d, 2
lea rdx, str.unchecked
mov dword [rbp + 0x40], eax
mov ecx, ebx
call fcn.140108228
mov ecx, r9d
mov qword [rbp - 8], rax
call fcn.140108228
lea r8, [rbp - 8]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
call fcn.1400aa970
mov r9d, ebx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
mov r8, rdi
mov rcx, 0xffffffff80000001
call fcn.14018f138
xor r8d, r8d
lea r9, str.TraySettings
mov ecx, 0xffff
lea edx, [r8 + 0x1a]
call qword [0x14039e760]
nop dword [rax + rax]
mov rcx, qword [r15 + 0x320]
mov r8d, ebx
mov dl, r12b
mov rax, qword [rcx]
mov rax, qword [rax + 0x200]
call qword [case.0x14006c37f.0]
lea rcx, [rbp + 0x40]
call fcn.1400aab68
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
cmp bl, 4
jne 0x1400ad036
mov ebx, 1
jmp 0x1400ad038
Function at 0x1400ad100
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
lea rcx, [0x14037d470]
call fcn.1400ad3f8
test al, al
je 0x1400ad1c1
lea rcx, [0x14037d470]
call fcn.1400ad3b4
test al, al
lea rcx, [0x14037d470]
mov r8b, 1
setne dl
call fcn.1400ac454
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], 6
call fcn.1400aacb8
xor edx, edx
lea rcx, [rbp - 0x19]
lea r8d, [rdx + 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
and qword [rbp - 0x11], 0
lea rax, [0x1403092b8]
mov qword [rbp - 9], rax
lea rcx, [rbp - 0x19]
lea rax, str.ms_settings:about
mov dword [rbp - 0x19], Ordinal_113
mov qword [rbp - 1], rax
mov dword [rbp - 0x15], 0x500
mov dword [rbp + 0x17], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400ad1c6
call fcn.14002154c
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], eax
call fcn.1400aad28
call fcn.14002154c
jmp 0x1400ad1c8
call fcn.1401a697c
xor eax, eax
add rsp, 0x90
pop rbp
ret
Function at 0x1400ae82c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x48
mov eax, dword [0x14037b654]
test eax, eax
jne 0x1400ae888
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x28]
xor ecx, ecx
call qword [0x14039e8b0]
nop dword [rax + rax]
nop
test eax, eax
jne 0x1400ae876
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400ae871
call qword [0x14039e858]
nop dword [rax + rax]
nop
mov ecx, dword [rbp + 0x18]
jmp 0x1400ae878
xor ecx, ecx
xor eax, eax
cmp ecx, 3
setne al
inc eax
mov dword [0x14037b654], eax
cmp eax, 1
je 0x1400ae9dd
and dword [rbp + 0x20], 0
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [0x14039e260]
nop dword [rax + rax]
nop
test eax, eax
jns 0x1400ae8bb
mov rcx, qword [rbp + 0x10]
mov r9d, eax
call fcn.1400aecd8
nop
jmp 0x1400ae8c5
cmp dword [rbp + 0x20], 5
je 0x1400ae9dd
mov dword [rbp + 0x18], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20010010
lea r8, [0x140301ee0]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRetailDemoOobeWrite
mov rdi, 0xffffffff80000002
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
nop
cmp dword [rbp + 0x28], 0
jne 0x1400ae9dd
call fcn.1401f0060
nop
test eax, eax
jne 0x1400ae9dd
call fcn.1401f0000
nop
test eax, eax
jne 0x1400ae9dd
lea rcx, [rbp + 0x30]
call qword [sym.imp.USERENV.dll_GetProfileType]
nop dword [rax + rax]
nop
test eax, eax
jne 0x1400ae96f
call fcn.14002154c
nop
test eax, eax
jns 0x1400ae96f
mov rcx, qword [rbp + 0x10]
mov r9d, eax
lea r8, str.internal_shellcommondesktopbaseincMeetNowHelpers.h
mov edx, 0x74
call fcn.14009d7ec
nop
jmp 0x1400ae975
test byte [rbp + 0x30], 1
jne 0x1400ae9dd
mov ecx, reloc.SHELL32.dll_Shell_MergeMenus
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
nop dword [rax + rax]
nop
test eax, eax
jne 0x1400ae9dd
lea r8, str.AuditBoot
lea rdx, str.SystemSetupStatus
mov rcx, rdi
call fcn.14006fbdc
nop
cmp eax, 1
jne 0x1400ae9bb
lea rdx, str.SystemSetupStatus
mov rcx, rdi
call fcn.1401f0c1c
nop
test eax, eax
jne 0x1400ae9dd
xor r8d, r8d
lea rdx, str.SystemSetupStatusAuditBootVolatile
mov rcx, rdi
call fcn.14006fbdc
nop
cmp eax, 1
je 0x1400ae9dd
call fcn.14006fb34
nop
test al, al
je 0x1400ae9df
mov al, 1
add rsp, 0x48
pop rdi
pop rbp
ret
Function at 0x1400aea7c
Capabilities:
Check os version

Disassembly:
sub rsp, 0x178
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r8d, r8d
lea rdx, [rsp + 0x34]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
nop dword [rax + rax]
cmp dword [rsp + 0x34], 3
jne 0x1400aeb3d
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x11c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
je 0x1400aeb3d
mov edx, dword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov ecx, dword [rsp + 0x44]
xor r9d, r9d
and dword [rsp + 0x30], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetProductInfo]
nop dword [rax + rax]
test eax, eax
je 0x1400aeb3d
mov eax, dword [rsp + 0x30]
cmp eax, 0x7a
ja 0x1400aeb58
cmp eax, 0x79
jae 0x1400aeb3d
cmp eax, 4
je 0x1400aeb3d
add eax, 0xffffffe5
cmp eax, 0x39
ja 0x1400aeb90
movabs rcx, 0x200280000000001
bt rcx, rax
jae 0x1400aeb90
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x178
ret
cmp eax, 0x8d
ja 0x1400aeb78
cmp eax, 0x8b
jae 0x1400aeb3d
add eax, 0xffffff83
cmp eax, 5
ja 0x1400aeb90
mov ecx, Ordinal_54
bt ecx, eax
jmp 0x1400aeb3b
cmp eax, 0xa4
jb 0x1400aeb90
cmp eax, 0xa5
jbe 0x1400aeb3d
add eax, 0xffffff55
cmp eax, 1
jbe 0x1400aeb3d
xor al, al
jmp 0x1400aeb3f

Function at 0x1400afc0c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
and dword [rdx], 0
lea rcx, [rax + 0x10]
and qword [rax + 0x10], 0
mov rdi, rdx
xor edx, edx
mov dword [rax + 8], 4
call fcn.14006ee3c
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeedsDSB
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400afc9f
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.IsDynamicContentAvailable
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400afcac
jle 0x1400afcae
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400afcae
xor ebx, ebx
lea rcx, [rsp + 0x48]
call fcn.14009ade4
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ec7e4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov rdi, rcx
and qword [rbp + 0x30], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov rax, qword [rcx]
lea r9, str.Configs
mov r8, qword [rax + 8]
lea rdx, [0x1403013e0]
lea rcx, [rbp - 0x18]
call fcn.14002c6b8
mov ebx, eax
test eax, eax
js 0x1400ec8b9
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.14006ee3c
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400ec8a3
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x28]
xor r8d, r8d
lea rdx, str.GlobalProfileId
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400ec8b0
jle 0x1400ec8b9
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400ec8b9
mov rax, qword [rdi + 8]
mov byte [rax], 1
xor ebx, ebx
lea rcx, [rbp - 0x18]
call fcn.140082024
lea rcx, [rbp + 0x30]
call fcn.14009ade4
mov eax, ebx
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret

Function at 0x1400eeb64
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14006ee3c
lea rax, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400eebd1
mov rcx, qword [rsp + 0x40]
lea rdx, str.HeadlinesShownTemporaryForProtocolLaunch
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400eebde
jle 0x1400eebe0
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400eebe0
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.14009ade4
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400f1fd8
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
lea r8, str.HeadlinesShownTemporaryForProtocolLaunch
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
call fcn.14007bd70
test eax, eax
js 0x1400f2071
cmp dword [rsp + 0x50], 0
je 0x1400f2071
xor r8d, r8d
mov byte [rbx + 0x121], 1
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.1400f4f60
mov byte [rbx + 0x121], 0
call fcn.1400eeb64
lea rcx, [rsp + 0x48]
call fcn.1400ece24
lea rcx, [0x14037caf8]
call fcn.1400ad47c
test al, al
je 0x1400f2071
lea r8, str.PartnerCode
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
nop dword [rax + rax]
add rsp, 0x30
pop rbx
ret
Function at 0x1400f45fc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x50
and qword [rax + 0x20], 0
mov rdi, rcx
lea rcx, [rax + 0x20]
xor edx, edx
call fcn.14006ee3c
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400f4697
mov rcx, qword [rsp + 0x78]
lea r9d, [rax + 4]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400f46a4
jle 0x1400f46a6
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400f46a6
xor ebx, ebx
lea rcx, [rsp + 0x78]
call fcn.14009ade4
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400f47b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x90
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
mov dword [rsp + 0x58], PathIsExe
mov dword [rsp + 0x5c], 1
lea rax, [r11 - 0x40]
mov qword [r11 - 0x68], rax
lea rax, [r11 - 0x38]
mov qword [r11 - 0x70], rax
lea rax, [r11 - 0x3c]
mov qword [r11 - 0x78], rax
mov r9d, 2
lea r8, str.LastUserInteractedDate
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x1400f4831
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1400f48af
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, str._02hu__02hu__4huT_02hu__02hu__02hu
lea rcx, [rsp + 0x60]
call fcn.1400a3680
movzx ecx, word [rsp + 0x40]
mov word [rbx], cx
movzx ecx, word [rsp + 0x44]
mov word [rbx + 2], cx
movzx ecx, word [rsp + 0x48]
mov word [rbx + 6], cx
movzx ecx, word [rsp + 0x4c]
mov word [rbx + 8], cx
movzx ecx, word [rsp + 0x50]
mov word [rbx + 0xa], cx
movzx ecx, word [rsp + 0x54]
mov word [rbx + 0xc], cx
mov al, 1
jmp 0x1400f48b1
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x90
pop rbx
ret