joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402b5e04
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
xor ebp, ebp
mov rsi, rdx
mov dword [rsp + 0x54], ebp
mov r15, rcx
mov dword [rsp + 0x6c], ebp
mov rax, qword gs:[0x60]
lea edx, [rbp + 8]
lea r8d, [rbp + 0x40]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0xd0], rax
mov rbx, rax
test rax, rax
jne 0x1402b5e65
mov edi, 0xc0000017
jmp 0x1402b600f
lea r14, [rax + 8]
mov dword [rsp + 0x50], Ordinal_54
mov rax, qword [rsi]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
mov r12d, 2
mov dword [rsp + 0x28], 0x8000000
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov edx, 0xf0005
mov qword [rsp + 0x58], rbp
mov rcx, r14
mov dword [rsp + 0x68], ebp
mov qword [rsp + 0x60], rbp
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.ntdll.dll_ZwCreateSection]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x1402b5eec
lea r9, str.ZwCreateSection_failed___x_
mov r8d, 0x159
lea rdx, str.AslpFileLargeMapCreate
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.1400139b4
jmp 0x1402b5ffd
mov rax, qword [rsi + 0x10]
lea rcx, [rbx + 0x38]
mov dword [rsp + 0x48], r12d
lea r8, [rbx + 0x28]
mov dword [rsp + 0x40], 0x500000
sub rax, 0x1000
and rax, 0xffffffffffff0000
mov dword [rsp + 0x38], r12d
mov qword [rcx], rax
xor r9d, r9d
lea rax, [rbx + 0x30]
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rcx, qword [r14]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntdll.dll_ZwMapViewOfSection]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x1402b5f5a
lea r9, str.ZwMapViewOfSection_failed_to_map_the_end_of_the_file___x_
mov r8d, 0x175
jmp 0x1402b5ed2
lea rax, [rbx + 0x10]
mov ebp, 0x20000000
lea r12, [rbx + 0x18]
lea r13, [rbx + 0x20]
mov rbx, rax
mov eax, 2
mov qword [r12], rbp
and qword [r13], 0
xor r9d, r9d
mov rcx, qword [r14]
mov r8, rbx
mov dword [rsp + 0x48], eax
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], 0x500000
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
and qword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_ZwMapViewOfSection]
nop dword [rax + rax]
shr rbp, 1
mov edi, eax
cmp eax, 0xc0000017
jne 0x1402b5fca
cmp rbp, 0x100000
jae 0x1402b5f6e
mov rbx, qword [rsp + 0xd0]
xor ebp, ebp
test eax, eax
jns 0x1402b5fea
lea r9, str.ZwMapViewOfSection_failed_to_map_the_start_of_the_file___x_
mov r8d, 0x19f
jmp 0x1402b5ed2
mov qword [rbx], rsi
mov edi, ebp
mov qword [r15], rbx
mov rbx, rbp
mov qword [rsp + 0xd0], rbx
test rbx, rbx
je 0x1402b600f
lea rcx, [rsp + 0xd0]
call fcn.1402b6034
mov rbx, qword [rsp + 0xc0]
mov eax, edi
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402bb868
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1402bb8ab
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
je 0x1402bb8ab
cmp dword [rsp + 0x30], 0x103
jne 0x1402bb8ab
mov rcx, qword [rbx + 0x18]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
add rsp, 0x20
pop rbx
ret

Function at 0x1402bbc3c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
xor r9d, r9d
mov dword [rsp + 0x68], 4
lea rax, [r11 + 0x20]
mov dword [r11 + 0x18], r9d
mov qword [r11 - 0x18], rax
test r8b, r8b
lea rax, [r11 + 0x18]
mov r8, rdx
mov qword [r11 - 0x20], rax
mov rdx, rcx
mov qword [r11 - 0x28], r9
mov rcx, 0xffffffff80000001
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
jne 0x1402bbc85
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov eax, dword [rsp + 0x60]
add rsp, 0x48
ret
Function at 0x1402c6d58
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.LockScreenImage
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsPersonalization
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x1402c6dc9
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1402c6de4
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1402c6dd4
test rax, rax
je 0x1402c6de4
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x270
pop rbx
ret

Function at 0x1402c6e90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.LockScreenImagePath
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPersonalizationCSP
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1402c6f2a
cmp dword [rsp + 0x40], ebx
je 0x1402c6f2a
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1402c6f18
test rax, rax
je 0x1402c6f2a
mov bl, 1
jmp 0x1402c6f6f
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
lea rdx, str.EnforceLockScreenAndLogonImage
lea rcx, str.DeviceLock
call qword [0x1403ad3d0]
nop dword [rax + rax]
test eax, eax
js 0x1402c6f6f
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402c6f63
cmp word [rcx], bx
je 0x1402c6f63
mov bl, 1
call qword [0x1403ad3d8]
nop dword [rax + rax]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x270
pop rbx
ret
Function at 0x1402c92d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
and dword [rdx], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
lea rcx, [rbp - 0x18]
call fcn.1400813e4
or rax, 0xffffffffffffffff
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rsi
call fcn.14006e4ac
mov ebx, eax
test eax, eax
js 0x1402c9454
mov rdx, qword [rbp - 0x18]
mov rcx, 0xfffffffffffffffa
call qword [0x1403ad1c8]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1402c935a
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402c9454
and qword [rbp - 0x28], 0
lea r9, [rbp - 0x28]
mov rcx, rdi
call fcn.1402c9474
mov ebx, eax
test eax, eax
js 0x1402c9429
and qword [rbp - 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
mov esi, 0x80070000
test eax, eax
jle 0x1402c93af
movzx ebx, ax
or ebx, esi
test ebx, ebx
js 0x1402c940e
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
lea rdx, str.Orientation
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
jle 0x1402c93f5
movzx ebx, ax
or ebx, esi
test ebx, ebx
js 0x1402c940e
cmp dword [rbp + 0x40], 4
jne 0x1402c9409
xor ebx, ebx
mov eax, dword [rbp + 0x48]
mov dword [r14], eax
jmp 0x1402c940e
mov ebx, 0x80004005
mov rcx, qword [rbp - 0x30]
and qword [rbp - 0x30], 0
test rcx, rcx
je 0x1402c9429
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rcx, rdi
call qword [0x1403ad1e0]
nop dword [rax + rax]
nop
mov rcx, qword [rbp - 0x28]
and qword [rbp - 0x28], 0
test rcx, rcx
je 0x1402c9454
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x18]
call fcn.1400813e4
mov eax, ebx
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1402c9900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
xor r8d, r8d
lea r9, [rsp + 0x68]
mov rcx, rax
lea esi, [r8 + 8]
mov edx, esi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x1402c998a
call fcn.140020b4c
mov ebx, eax
cmp eax, 0x800703f0
jne 0x1402c9982
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r8, [rsp + 0x68]
mov edx, esi
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
jne 0x1402c998a
call fcn.140020b4c
mov ebx, eax
test ebx, ebx
js 0x1402c9a9e
mov rcx, qword [rsp + 0x68]
mov rdx, rdi
call qword [0x1403ad1c8]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x1402c99b5
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402c9a8d
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], r14d
xor edx, edx
mov rcx, rbp
call qword [0x1403ad1d0]
nop dword [rax + rax]
test eax, eax
jne 0x1402c9a79
call fcn.140020b4c
cmp eax, 0x8007007a
jne 0x1402c9a79
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
call fcn.140031f80
mov ebx, eax
test eax, eax
js 0x1402c9a7e
mov rdi, qword [rsp + 0x78]
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, rbp
call qword [0x1403ad1d0]
nop dword [rax + rax]
test eax, eax
jne 0x1402c9a30
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402c9a68
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1402c9a51
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402c9a62
and sil, 0x10
neg sil
sbb ebx, ebx
not ebx
and ebx, 0x8000ffff
test ebx, ebx
cmovns rdi, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x1402c9a7e
mov ebx, 0x8000ffff
mov rcx, rbp
call qword [0x1403ad1e0]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402cb4fc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edi, r8d
lea rax, [0x14030f710]
mov qword [rsp + 0x20], rax
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPushNotificationsApplications
lea r8, [0x14030e4a0]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14002d868
mov ebx, eax
test eax, eax
jns 0x1402cb582
mov rcx, qword [rbp + 0x198]
mov r9d, eax
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov edx, 0x18d
call fcn.14001e09c
jmp 0x1402cb706
and qword [rsp + 0x50], 0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1402cb5d7
mov edx, Ordinal_413
jmp 0x1402cb6cd
lea r9, str.windows.immersivecontrolpanel_cw5n1h2txyewy
lea r8, str.PackageMoniker
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1401b39a8
mov ebx, eax
test eax, eax
jns 0x1402cb617
mov rcx, qword [rbp + 0x198]
mov r9d, eax
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov edx, 0x19e
call fcn.14001e09c
jmp 0x1402cb6e9
mov dword [rsp + 0x58], edi
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.Capabilities
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x1402cb656
mov edx, 0x1a7
jmp 0x1402cb6cd
mov dword [rsp + 0x5c], 0x10000000
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.ApplicationType
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x1402cb694
mov edx, 0x1b0
jmp 0x1402cb6cd
and dword [rsp + 0x60], 0
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.RegistrationType
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x1402cb6e7
mov edx, 0x1bc
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x198]
call fcn.1401b3520
mov ebx, eax
jmp 0x1402cb6e9
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test rcx, rcx
je 0x1402cb706
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1402cb734
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rax, [0x14030f710]
mov edx, 0x104
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPushNotificationsApplications
mov qword [rsp + 0x20], rax
lea r8, [0x14030e4a0]
lea rcx, [rsp + 0x30]
call fcn.14002d868
mov ebx, eax
test eax, eax
jns 0x1402cb79e
mov edx, 0x179
mov rcx, qword [rsp + 0x258]
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov r9d, ebx
call fcn.14001e09c
mov eax, ebx
jmp 0x1402cb7d8
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1402cb7cb
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1402cb7d6
mov edx, 0x17a
jmp 0x1402cb783
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x250
pop rbx
ret

Function at 0x1402cb7f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 8], cl
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x28], 0
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140032750
lea r8, [rbp + 0x28]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionOOBEOOBECompletedForOOBEHealth
lea rcx, str.OOBECompletedForOOBEHealth
call fcn.14027f484
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x1402cb84c
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009cb2c
jmp 0x1402cb8e3
and dword [rbp + 0x18], 0
mov dword [rbp + 0x20], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20000010
lea r8, str.AnyoneReadOOBECompleted
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rbp + 0x18], 0
jne 0x1402cb8e3
mov byte [rbp + 0x10], 1
lea r8, [rbp + 0x10]
lea rdx, [0x14038aa51]
lea rcx, [0x14038aa40]
call fcn.140277488
mov eax, dword [0x14038aab8]
inc eax
mov dword [rbp + 0x10], eax
lea r8, [rbp + 0x10]
lea rdx, [0x14038aab8]
lea rcx, [0x14038aa40]
call fcn.1402773f8
lea rcx, [0x14038aa40]
call fcn.14027d8ac
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1402cb8f8
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
add rsp, 0x40
pop rbp
ret
Function at 0x1402cb914
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
and qword [rsp + 0x68], 0
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140032750
lea r8, [rsp + 0x68]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionOOBEOOBECompletedForOOBEHealth
lea rcx, str.OOBECompletedForOOBEHealth
call fcn.14027f484
mov rcx, qword [rsp + 0x48]
test eax, eax
jns 0x1402cb965
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009cb2c
jmp 0x1402cb9c0
and dword [rsp + 0x58], 0
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20000010
lea r8, str.AnyoneReadOOBECompleted
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rsp + 0x58], 0
jne 0x1402cb9c0
mov edx, ebx
call fcn.1402cbcdc
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1402cb9d6
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
add rsp, 0x40
pop rbx
ret

Function at 0x1402cb9f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
and qword [rbp - 8], 0
xor edx, edx
lea rcx, [rbp - 8]
call fcn.140032750
lea r8, [rbp - 8]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionOOBEOOBECompletedForOOBEHealth
lea rcx, str.OOBECompletedForOOBEHealth
call fcn.14027f484
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x1402cba47
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009cb2c
jmp 0x1402cbaf9
and dword [rbp + 0x20], 0
mov dword [rbp + 0x28], 4
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20000010
lea r8, str.AnyoneReadOOBECompleted
mov rdx, qword [rbp - 8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rbp + 0x20], 0
jne 0x1402cbaf9
mov dword [rbp - 0x10], ebx
mov eax, ebx
shr eax, 0x1f
mov byte [rbp + 0x18], al
lea r8, [rbp + 0x18]
lea rdx, [0x14038aa50]
lea rcx, [0x14038aa40]
call fcn.140277488
test ebx, ebx
jns 0x1402cbaec
mov eax, dword [0x14038aaac]
inc eax
mov dword [rbp + 0x18], eax
lea r8, [rbp + 0x18]
lea rdx, [0x14038aaac]
lea rcx, [0x14038aa40]
call fcn.1402773f8
lea r8, [rbp - 0x10]
lea rdx, [0x14038aaa8]
call fcn.1402cbda4
lea rcx, [0x14038aa40]
call fcn.14027d8ac
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1402cbb0e
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x1402ccb2c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x30
xor ebx, ebx
lea rcx, [rbp + 0x38]
and qword [rbp + 0x38], rbx
xor edx, edx
call fcn.14006e14c
lea rax, [rbp + 0x38]
xor r8d, r8d
lea esi, [rbx + 1]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSetupOOBE
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 0x1402ccbc6
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
and dword [rbp + 0x20], ebx
lea r9, [rbp + 0x20]
and dword [rbp + 0x28], ebx
lea rdx, str.InstallType
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov dword [rbp + 0x30], 4
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
jne 0x1402ccbc6
cmp dword [rbp + 0x20], 4
jne 0x1402ccbc6
cmp dword [rbp + 0x28], 0x11
cmove ebx, esi
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1402ccbdb
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 rsi
pop rbx
pop rbp
ret
Function at 0x1402ccd24
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
and qword [rbp + 0x28], 0
lea rbx, str.ms_cxh:__FRX_INCLUSIVE
mov qword [rbp + 0x30], rbx
mov dword [rbp + 0x18], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20010010
lea r8, [0x14030efa0]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRetailDemoOobeWrite
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rbp + 0x20], 0
je 0x1402ccda1
mov dl, 1
lea rcx, [0x14038bc00]
call fcn.1402cd224
lea rax, str.ms_cxh:__FRXRDXINCLUSIVE
jmp 0x1402cce14
call fcn.14006ec30
test al, al
je 0x1402ccdb3
lea rax, str.ms_cxh:__FRX_TEAMEDITION
jmp 0x1402cce14
call fcn.1402ccb2c
test eax, eax
je 0x1402ccdcc
mov dl, 1
lea rcx, [0x14038bbf0]
call fcn.1402cd190
jmp 0x1402cce18
call fcn.1402cc8a0
test eax, eax
je 0x1402ccdde
lea rax, str.ms_cxh:__FRX_INCLUSIVE_startOobeProvisioningStatus
jmp 0x1402cce14
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r8, str.TestBlockMsaWebApp
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionOOBETestHooks
mov rcx, 0xffffffff80000002
call fcn.14007b130
test eax, eax
js 0x1402cce18
lea rax, str.ms_cxh:__FRX_AAD
cmp dword [rbp + 0x18], 0
cmove rax, rbx
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1402cce33
and qword [rbp + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x28]
call fcn.1402cbb2c
mov ebx, eax
test eax, eax
jns 0x1402cce4d
mov edx, 0x148
jmp 0x1402cce61
mov rcx, qword [rbp + 0x28]
call fcn.1402cd6d8
mov ebx, eax
test eax, eax
jns 0x1402cce76
mov edx, 0x149
lea r8, str.shelllibcloudexperiencehostappmanager_appmanager.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x10]
call fcn.14001e09c
jmp 0x1402cce78
xor ebx, ebx
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1402cce93
and qword [rbp + 0x28], 0
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14006b68f.0]
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
ret