joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14025a274
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14025a418
cmp ecx, 0x7c
je 0x14025a421
cmp ecx, 0x29
jne 0x14025a2b3
cmp dword [rbx + 0x1c], 0
jne 0x14025a421
test dword [rbx + 0x80], 0x10000000
je 0x14025a386
cmp ecx, 0x2e
jne 0x14025a2d3
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14025cb04
mov rcx, rbx
call fcn.14025cb5c
jmp 0x14025a40b
cmp ecx, 0x5c
jne 0x14025a337
mov rcx, rbx
call fcn.14025cb5c
test byte [rbx + 0x80], 0x80
je 0x14025a32a
cmp word [rbx + 0x78], 0x62
jne 0x14025a30b
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14025cb04
mov rcx, rbx
call fcn.14025cb5c
jmp 0x14025a413
cmp word [rbx + 0x78], 0x42
jne 0x14025a32a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14025cb04
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14025a2fe
mov rcx, rbx
call fcn.14025a458
jmp 0x14025a40b
cmp ecx, 0x5b
jne 0x14025a368
mov rcx, rbx
call fcn.14025cb5c
mov rcx, rbx
call fcn.14025aba0
cmp dword [rbx + 0x7c], 0x5d
je 0x14025a2c6
mov ecx, 4
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x28
jne 0x14025a398
mov rcx, rbx
call fcn.14025cb5c
mov rcx, rbx
call fcn.14025d020
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x14025a3fe
mov ecx, 5
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x5e
jne 0x14025a3a5
lea edx, [rcx - 0x5c]
jmp 0x14025a2f5
cmp ecx, 0x24
jne 0x14025a3b2
lea edx, [rcx - 0x21]
jmp 0x14025a2f5
cmp ecx, 0x3f
je 0x14025a43f
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14025a43f
cmp ecx, 0x7b
je 0x14025a43f
cmp ecx, 0x7d
jne 0x14025a3d9
test dword [rbx + 0x80], 0x10000000
je 0x14025a42d
cmp ecx, 0x5d
jne 0x14025a3ee
test dword [rbx + 0x80], 0x10000000
je 0x14025a356
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1402599e4
mov dil, 1
mov rcx, rbx
call fcn.14025cb5c
test dil, dil
je 0x14025a413
mov rcx, rbx
call fcn.14025cb9c
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14025a28b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 6
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 0xa
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
Function at 0x14025e8e0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp byte [0x14038c638], 0
jne 0x14025e9b4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x104
mov rcx, rax
lea r8, [rsp + 0x250]
xor edx, edx
mov rbx, rax
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14025e94a
call fcn.140020b4c
test eax, eax
js 0x14025e9ad
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, str._SystemRoot_System32RuntimeBroker.exe
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x14025e9ad
or edx, 0xffffffff
mov dword [rsp + 0x20], 1
mov r9d, edx
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, 2
jne 0x14025e9ad
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetProcessId]
nop dword [rax + rax]
mov dword [0x140388ba0], eax
mov byte [0x14038c638], 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x470
pop rbx
ret

Function at 0x14025ed2c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r9
mov rsi, rcx
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 0x36]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
xor ebx, ebx
test rax, rax
je 0x14025ede6
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x14025ede6
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
mov rdx, rax
test rax, rax
je 0x14025eddf
lea eax, [rbx + 9]
movzx ecx, word [rdx]
lea rdx, [rdx + rcx*2]
add rdx, 2
sub rax, 1
jne 0x14025ed94
test rdi, rdi
je 0x14025edcd
movzx r8d, word [rdx]
add rdx, 2
movzx eax, r8w
neg ax
mov rax, qword [rsp + 0x50]
sbb rcx, rcx
and rcx, rdx
mov qword [rdi], rcx
mov word [rax], r8w
jmp 0x14025eded
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14025eded
movzx eax, word [rdx]
mov word [rcx], ax
jmp 0x14025eded
mov ebx, 0x80004005
jmp 0x14025eded
call fcn.140202bd8
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140260318
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [0x140313b90]
xor edx, edx
mov rbx, rcx
movdqu xmmword [rcx], xmm0
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x4e]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], OpenRegStream
mov qword [rsp + 0x30], rax
lea r8, str.DefaultProviderGUID
lea rax, [rsp + 0x50]
mov r9d, 0xffff
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSettingSync
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x1402603a8
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1402603be
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0xb0
pop rbx
ret

Function at 0x140261884
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [r11 - 0x28]
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [r11 - 0x38], rax
mov rdi, rdx
lea rax, [r11 - 0x20]
mov r8, rcx
mov qword [r11 - 0x40], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsPersonalization
and qword [r11 - 0x48], 0
mov r9d, 2
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1402618f1
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14026193d
cmp word [rsp + 0x48], 0x23
jne 0x140261938
xor edx, edx
lea rcx, [rsp + 0x4a]
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcstol]
nop dword [rax + rax]
mov ecx, eax
sar eax, 8
movzx edx, al
movzx eax, cl
or eax, 0xffffff00
shl edx, 8
shl eax, 0x10
sar ecx, 0x10
or edx, eax
movzx eax, cl
or edx, eax
mov dword [rdi], edx
jmp 0x14026193d
mov ebx, 0x80070057
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140261964
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
movzx eax, cl
lea rsi, str.SystemUsesLightTheme
xor edi, edi
mov dword [rbp + 0x20], eax
test cl, cl
mov dword [rbp + 0x28], 4
lea rbx, str.AppsUseLightTheme
mov edx, 0x20019
lea rcx, [rbp - 0x10]
cmove rbx, rsi
call fcn.14007ae40
mov rax, qword [0x14038c658]
lea r9d, [rdi + 0x10]
mov rcx, qword [rbp - 0x10]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
test rax, rax
mov r8, rbx
cmovne rcx, rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140261a52
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
nop dword [rax + rax]
mov eax, dword [rbp + 0x30]
add eax, 0xfffffff2
test eax, 0xfffffffd
jne 0x140261a52
lea rax, [rbp + 0x28]
mov r8, rsi
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 0x10]
lea rax, [rbp + 0x20]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, dword [rbp + 0x20]
test eax, eax
cmovne ecx, edi
mov dword [rbp + 0x20], ecx
jmp 0x140261a55
mov ecx, dword [rbp + 0x20]
cmp ecx, 1
mov rcx, qword [rbp - 0x10]
sete bl
test rcx, rcx
je 0x140261a70
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140261a8c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp - 8], rax
lea r8, [rbp - 0x20]
mov dword [rbp - 0x18], 0x101
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x14], 0x5000000
xor ecx, ecx
mov dword [rbp - 0x10], SafeArrayUnaccessData
mov bl, 1
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x140261ade
cmp dword [rbp - 0x20], 0
jne 0x140261ae0
xor bl, bl
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x140262104
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
xor ebx, ebx
mov rdi, rcx
cmp dword [0x14038b2e8], ebx
jne 0x14026223a
mov edx, 0x2001f
lea rcx, [rsp + 0x50]
call fcn.14007ae40
mov rax, qword [0x14038c658]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAccent
mov rcx, qword [rsp + 0x50]
test rax, rax
cmovne rcx, rax
and qword [rsp + 0x40], rbx
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140262189
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140262224
mov rcx, qword [rsp + 0x78]
lea rdx, str.StartColorMenu
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], 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
jle 0x1402621ce
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140262213
mov rcx, qword [rsp + 0x78]
lea rax, [rdi + 4]
mov dword [rsp + 0x28], 4
lea rdx, str.AccentColorMenu
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140262213
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14026223a
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 + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1402629d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movsxd rbx, ecx
mov rdi, rdx
test ecx, ecx
jns 0x140262a17
mov edx, Ordinal_548
mov rcx, qword [rsp + 0x58]
lea r8, [0x14031c128]
mov ebx, 0x80070057
mov r9d, ebx
call fcn.14001e09c
mov eax, ebx
jmp 0x140262b3b
cmp ebx, 7
jle 0x140262a23
mov edx, Ordinal_548
jmp 0x1402629f7
and qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
mov r8b, 1
xor edx, edx
call fcn.14007ae7c
mov eax, dword [rsp + 0x74]
lea rcx, [rsp + 0x40]
cmp eax, dword [0x140387a98]
mov edx, 1
mov dword [0x140387a98], eax
sete byte [0x140389e66]
call fcn.14007ae40
cmp byte [0x140389e66], 0
lea r14, [0x14038a3a0]
jne 0x140262b1d
mov rax, qword [0x14038c658]
lea r8, str.AccentPalette
mov rcx, qword [rsp + 0x40]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAccent
test rax, rax
mov dword [rsp + 0x60], 0x20
mov r9d, 8
cmovne rcx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x140262ad0
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x140262ad9
cmp dword [rsp + 0x60], 0x20
je 0x140262b16
mov rax, qword [0x14038c658]
mov ecx, 0xd77800
mov rdx, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
xor r8d, r8d
call fcn.140263a18
test eax, eax
jns 0x140262b16
mov rcx, qword [rsp + 0x58]
lea r8, [0x14031c128]
mov r9d, eax
mov edx, 0x23c
call fcn.14009cb2c
mov byte [0x140389e66], 1
mov rcx, qword [rsp + 0x40]
mov eax, dword [r14 + rbx*4]
mov dword [rdi], eax
test rcx, rcx
je 0x140262b39
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140263a18
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov dil, r8b
mov rsi, rdx
call fcn.1402636d4
mov ebx, eax
test eax, eax
jns 0x140263a56
mov rcx, qword [rsp + 0x58]
lea r8, [0x14031c128]
mov r9d, eax
mov edx, Ordinal_635
call fcn.14001e09c
jmp 0x140263b4c
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
xor edx, edx
call fcn.14006e14c
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAccent
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, rsi
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 0x140263ae6
mov rcx, qword [rsp + 0x78]
lea rax, [0x14038a3a0]
mov dword [rsp + 0x28], 0x20
lea r9d, [rbx + 3]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AccentPalette
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 0x140263b0c
test dil, dil
je 0x140263b0c
test ebx, ebx
je 0x140263b0c
mov rcx, qword [rsp + 0x58]
lea r8, [0x14031c128]
mov r9d, ebx
mov edx, 0x28c
call fcn.1401b3520
mov ebx, eax
jmp 0x140263b36
mov ecx, dword [0x14038a3ac]
call fcn.140263b68
test ebx, ebx
je 0x140263b34
mov rcx, qword [rsp + 0x58]
lea r8, [0x14031c128]
mov r9d, ebx
mov edx, 0x295
call fcn.140195f4c
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140263b4c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1402652d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x48
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 8
mov qword [r11 - 0x18], rax
lea r8, [0x1403453d8]
lea rax, [r11 + 0x10]
mov r9d, 8
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWatermark
and qword [r11 - 0x28], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140265362
cmp dword [rsp + 0x50], 8
jne 0x140265362
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jbe 0x140265362
sub rax, qword [rsp + 0x58]
movabs rcx, 0xc92a69c000
cmp rax, rcx
setae al
jmp 0x140265364
mov al, 1
add rsp, 0x48
ret
Function at 0x140265370
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
xor esi, esi
mov rbx, rcx
mov edi, esi
lea eax, [rsi + 0x64]
cmp ax, dx
jne 0x140265520
shr rdx, 0x10
cmp si, dx
jne 0x140265520
mov rcx, qword [rcx + 0x120]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
cmp dword [0x1403866b8], 5
jbe 0x14026541d
movabs rdx, 0x200000000000
lea rcx, [0x1403866b8]
call fcn.14004c478
test al, al
je 0x14026541d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
sub eax, dword [rbx + 0x138]
xor r8d, r8d
mov dword [rbp + 0x6f], eax
lea rdx, [0x140330acb]
mov eax, dword [rbx + 0x74]
lea rcx, [0x1403866b8]
mov dword [rbp + 0x77], eax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
call fcn.1401a3758
cmp byte [rbx + 0x100], sil
je 0x140265520
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
mov dword [rsp + 0x30], DllRegisterServer
xor r8d, r8d
mov dword [rsp + 0x28], esi
xor edx, edx
mov dword [rsp + 0x20], esi
call qword [0x1403ad790]
nop dword [rax + rax]
test eax, eax
je 0x140265520
mov rcx, rbx
mov byte [rbx + 0x101], sil
call fcn.14026513c
lea rax, [rbp + 0x6f]
mov byte [rbx + 0x100], sil
lea r9, [0x14030c810]
mov qword [rsp + 0x20], rax
lea r8, [0x14030f710]
mov qword [rbp + 0x6f], rsi
xor edx, edx
lea rcx, [0x140313d60]
call qword [sym.imp.SHELL32.dll_SHCreateItemInKnownFolder]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x140265517
mov rcx, qword [rbp + 0x6f]
lea rdx, [rbp + 0x77]
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHGetIDListFromObject]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x140265517
mov ebx, Ordinal_113
lea rcx, [rbp - 0x29]
mov r8d, ebx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp + 0x77]
lea rcx, [rbp - 0x29]
mov qword [rbp + 0x17], rax
lea rax, str.pageSettingsPageActivate
mov qword [rbp - 9], rax
mov dword [rbp - 0x29], ebx
mov dword [rbp - 0x25], SafeArrayDestroy
mov dword [rbp + 7], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_ILFree]
nop dword [rax + rax]
lea rcx, [rbp + 0x6f]
call fcn.140081b44
mov rbx, qword [rsp + 0xd0]
mov eax, edi
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140269358
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x80], rax
and qword [r11 - 0x58], 0
lea rax, [r11 - 0x48]
and qword [r11 - 0x48], 0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWatermark
mov qword [r11 - 0x60], rax
xor r9d, r9d
and qword [r11 - 0x68], 0
xor r8d, r8d
mov dword [rsp + 0x28], 6
mov rcx, 0xffffffff80000001
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 0x14026944e
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 8
lea r8, [0x1403453d8]
mov r9d, 3
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14026944e
cmp dword [0x1403866b8], 5
jbe 0x14026944e
movabs rdx, 0x200000000000
lea rcx, [0x1403866b8]
call fcn.14004c478
test al, al
je 0x14026944e
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x140330a63]
xor r8d, r8d
mov dword [rsp + 0x20], 2
call fcn.140088728
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test rcx, rcx
je 0x14026946a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x98
ret
Function at 0x14027630c
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 0x140276360
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009cb2c
jmp 0x1402763f7
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 0x1402763f7
mov byte [rbp + 0x10], 1
lea r8, [rbp + 0x10]
lea rdx, [0x14038a8f6]
lea rcx, [0x14038a8e0]
call fcn.140277488
mov eax, dword [0x14038a954]
inc eax
mov dword [rbp + 0x10], eax
lea r8, [rbp + 0x10]
lea rdx, [0x14038a954]
lea rcx, [0x14038a8e0]
call fcn.1402773f8
lea rcx, [0x14038a8e0]
call fcn.14027d8ac
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14027640c
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 0x140276428
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 0x140276479
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009cb2c
jmp 0x1402764ee
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 0x1402764ee
mov byte [rbp + 0x10], 1
lea r8, [rbp + 0x10]
lea rdx, [0x14038a8f8]
lea rcx, [0x14038a8e0]
call fcn.140277488
lea rcx, [0x14038a8e0]
call fcn.14027d8ac
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140276503
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
add rsp, 0x40
pop rbp
ret