joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048da8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r14d, r14d
mov rdi, r8
mov byte [r8], r14b
mov rbx, rdx
mov rsi, rcx
cmp dword [rdx], r14d
jl 0x14016b56a
cmp dword [rdx], 1
jg 0x140048e5d
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea r9d, [r14 + 0x10]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 4
mov r8, rcx
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearchFlightingOverride
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14016b55b
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
cmp dword [rdx], 2
jne 0x14016b56a
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], 0x208
mov qword [rsp + 0x30], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearchFlightingOverride
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
mov r8, rsi
mov rcx, 0xffffffff80000001
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 0x140048e36
jmp 0x14016b526
lea r8, [rbx + 8]
or rdx, 0xffffffffffffffff
lea rax, [rsp + 0x50]
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x14016b533
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateString]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14016b562
mov edx, 0x127
jmp 0x14016b574
mov eax, dword [rsp + 0x40]
mov dword [rbx + 4], eax
mov byte [rdi], 1
jmp 0x140048e36
mov ebx, 0x80070057
mov edx, 0x12e
mov rcx, qword [rsp + 0x288]
lea r8, str.onecoreuapinternal_shellincCortanaFeatureConfiguration.h
mov r9d, ebx
call fcn.14001eb0c
mov eax, ebx
jmp 0x140048e38
Function at 0x140055eec
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov al, byte [0x14037be05]
xor ebx, ebx
test al, al
je 0x140055f1a
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.1400988a4
mov ebx, eax
test eax, eax
js 0x140055f07
mov cl, byte [0x14037be05]
test cl, cl
jne 0x140055fef
lea rbp, str.LocalSessionImmersiveColorPreference
mov edx, 1
mov r8, rbp
mov ecx, 0xf001f
mov bl, 1
xor dil, dil
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_OpenFileMappingW]
nop dword [rax + rax]
test rax, rax
je 0x14016fba2
mov qword [0x14037be08], rax
mov byte [0x14037be04], bl
mov al, byte [0x14037be04]
mov rcx, qword [0x14037be08]
neg al
mov qword [rsp + 0x20], 8
sbb edx, edx
xor r9d, r9d
and edx, 0xf001b
xor r8d, r8d
add edx, 4
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
nop dword [rax + rax]
mov qword [0x14037be10], rax
mov rax, qword [0x14037be10]
test rax, rax
je 0x140055ff9
xor ebx, ebx
test dil, dil
jne 0x14016fbfd
call fcn.14009a1f8
mov rcx, qword [0x14037b700]
test eax, eax
cmovne rcx, qword [0x14037b6f8]
mov qword [0x14037b700], rcx
call fcn.14007b8e4
call fcn.140088b40
mov byte [0x14037be05], 1
call fcn.14009abc4
jmp 0x140055f07
mov ebx, 0x80004005
jmp 0x140055fef
mov edx, 1
mov r8, rbp
lea ecx, [rdx + 3]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_OpenFileMappingW]
nop dword [rax + rax]
xor bl, bl
test rax, rax
jne 0x140055f61
mov qword [rsp + 0x28], rbp
lea r8d, [rax + 4]
xor r9d, r9d
mov dword [rsp + 0x20], 8
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_CreateFileMappingW]
nop dword [rax + rax]
mov bl, 1
mov dil, bl
test rax, rax
je 0x140055ff9
jmp 0x140055f61
mov rcx, qword [0x14037be10]
call fcn.14007b970
call fcn.14025507c
test al, al
jne 0x140055fc1
lea rcx, [rsp + 0x48]
call fcn.1400211e0
test eax, eax
js 0x140055fc1
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
call qword [0x14039e2d0]
nop dword [rax + rax]
test eax, eax
je 0x14016fc5d
mov rcx, qword [rsp + 0x40]
call fcn.140255468
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
nop
jmp 0x140055fc1
Function at 0x140056008
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor eax, eax
mov dword [rbp - reloc.OLEAUT32.dll_SafeArrayGetDim], 0x10
mov rsi, rdx
mov qword [rbp - 0xc], rax
mov r14, rcx
mov dword [rbp - 4], eax
xor r9d, r9d
lea r8, [rbp - 0x10]
lea edx, [rax + 0x10]
lea ecx, [rax + 0x42]
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_SystemParametersInfoW]
nop dword [rax + rax]
mov ebx, 1
test eax, eax
je 0x140056059
mov eax, dword [rbp - 0xc]
and eax, ebx
jne 0x14016fc74
and dword [rbp + 0x30], 0
lea rax, [rbp + 0x38]
mov qword [rsp + 0x30], rax
lea r8, str.ColorPrevalence
lea rax, [rbp + 0x30]
mov dword [rbp + 0x38], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
and qword [rsp + 0x20], 0
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14016fcaf
js 0x1400560b7
cmp dword [rbp + 0x30], 0
jne 0x14016fcbe
mov dl, bl
lea rcx, [0x14037df40]
call fcn.14003c520
call qword [sym.imp.UxTheme.dll_GetThemeBackgroundContentRect]
nop dword [rax + rax]
test al, al
je 0x14016fcc8
mov edi, 2
cmp byte [0x14037c51a], 0
jne 0x140056166
xor edx, edx
lea rcx, [0x14037dec8]
call fcn.14001ca1c
lea rax, [rbp + 0x30]
mov dword [rbp + 0x30], 4
mov qword [rsp + 0x30], rax
lea r8, str.EnableTransparency
lea rax, [rbp + 0x40]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
and qword [rsp + 0x20], 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
jg 0x14016fccf
js 0x140056166
cmp dword [rbp + 0x40], 0
je 0x140056166
test r14, r14
je 0x140056153
mov dword [r14], edi
test rsi, rsi
je 0x14005615a
mov byte [rsi], bl
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor bl, bl
jmp 0x14005614b
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColor]
nop dword [rax + rax]
movzx ecx, ax
shr ecx, 8
lea edx, [rcx + rcx*4]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
add edx, ecx
movzx eax, al
lea ecx, [rdx + rax*2]
mov eax, 0x400
cmp eax, ecx
sbb edi, edi
add edi, 5
jmp 0x140056166
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x1400560ab
mov edi, 3
jmp 0x1400560de
mov edi, ebx
jmp 0x1400560e7
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x140056143
Function at 0x140056248
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
and dword [rsp + 0x78], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x28], rax
mov ebx, r8d
lea rax, [r11 + 0x20]
mov dword [rsp + 0x40], 4
mov rdi, rdx
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
mov r8, rdx
mov rsi, rcx
mov rdx, rcx
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x1400562bd
js 0x1400562c9
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x1400562a6
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x78]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, rsi
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]
mov ecx, eax
test eax, eax
jle 0x140056319
movzx ecx, ax
or ecx, 0x80070000
mov eax, dword [rsp + 0x78]
test ecx, ecx
cmovs eax, ebx
jmp 0x1400562ac
Function at 0x140059fc8
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov al, byte [rcx + 0xdc]
mov rbx, r8
mov r8, rdx
mov dword [rsp + 0x28], r9d
neg al
mov qword [rsp + 0x20], rbx
mov rsi, rcx
sbb edx, edx
xor r9d, r9d
not edx
xor ecx, ecx
and edx, 2
call qword [sym.imp.api_ms_win_core_datetime_l1_1_1.dll_GetTimeFormatEx]
nop dword [rax + rax]
xor ebp, ebp
cmp byte [rsp + 0x100], bpl
je 0x14005a0f5
xor edx, edx
lea r8d, [rbp + 0x5c]
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rsi + 0x30]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9d, [rbp + 1]
xor edx, edx
mov dword [rsp + 0x20], reloc.SHCORE.dll_Ordinal_210
lea r8d, [rbp + 5]
mov dil, bpl
call qword [sym.imp.UxTheme.dll_GetThemeFont]
nop dword [rax + rax]
test eax, eax
js 0x14005a08a
lea rdx, [0x140300578]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
sete dil
mov r9d, 6
lea r8, [rsp + 0x90]
xor ecx, ecx
lea edx, [r9 + 0x66]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
test eax, eax
jle 0x14005a0f5
lea rdx, str.Latn_
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
jne 0x14005a0f5
test dil, dil
je 0x14005a0f5
movzx eax, word [rbx]
test ax, ax
je 0x14005a0f5
mov rdx, rbp
mov rcx, rbx
cmp ax, 0x3a
je 0x14005a112
inc rdx
lea rcx, [rbx + rdx*2]
movzx eax, word [rcx]
test ax, ax
jne 0x14005a0e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0xb8
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x2236
mov word [rcx], ax
jmp 0x14005a0e6
Function at 0x14006210c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, qword [rsp + 0x78]
xor ebx, ebx
mov dword [r9], 2
mov rsi, r9
mov ebp, r8d
test rdi, rdi
je 0x14006213f
mov dword [rdi], ebx
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x30], rax
mov r8, rdx
lea rax, [rsp + 0x78]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1401737a6
mov eax, dword [rsp + 0x78]
cmp eax, ebp
ja 0x140062195
mov dword [rsi], ebx
test rdi, rdi
je 0x14006219c
mov dword [rdi], eax
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
cmp eax, 2
jne 0x1401737b6
mov dword [rsi], 1
jmp 0x14006219c
test eax, eax
jg 0x1401737c1
mov ebx, eax
jmp 0x14006219c
movzx ebx, ax
or ebx, 0xc0070000
jmp 0x14006219c

Function at 0x1400623bc
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x80], rax
and dword [rsp + 0x20], 0
lea r8, [rsp + 0x28]
mov edx, 1
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateToken]
nop dword [rax + rax]
test eax, eax
je 0x140062447
xor edx, edx
mov dword [rsp + 0x24], 0x44
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x30]
lea ecx, [rdx + 0x1a]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CreateWellKnownSid]
nop dword [rax + rax]
test eax, eax
je 0x140062436
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x98
ret
Function at 0x140062598
Capabilities:
Persist via run registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
lea rdx, [rsp + 0x40]
xor ebx, ebx
call fcn.1400621bc
test eax, eax
js 0x140062680
lea esi, [rbx + 1]
cmp dword [rsp + 0x40], esi
ja 0x140062680
mov ecx, 0x40000048
call qword [sym.imp.SHELL32.dll_SHRestricted]
nop dword [rax + rax]
mov r8d, esi
mov edi, eax
call fcn.1400626a0
test eax, eax
jne 0x140062693
test edi, edi
jne 0x140062660
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
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 0x140062660
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x14006264b
cmp dword [rsp + 0x40], ebx
cmova ebx, esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x140062680
xor r8d, r8d
call fcn.1400626a0
test eax, eax
jne 0x140062693
test edi, edi
jne 0x140062680
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.1400624e4
test eax, eax
jne 0x140062693
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ebx, esi
jmp 0x140062680

Function at 0x1400626a0
Capabilities:
Persist via run registry key

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x60
lea rax, [rsp + 0x78]
xor ebx, ebx
neg r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
mov rcx, 0xffffffff80000002
sbb r9d, r9d
xor r8d, r8d
and r9d, 0xfffffe00
add r9d, 0x209
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1401738cc
mov eax, ebx
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x140173923
cmp dword [rsp + 0x80], ebx
setne bl
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x1400626ef
Function at 0x140062998
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov dword [rsp + 0x50], 4
mov ebx, r9d
mov rax, rdx
test rdx, rdx
jne 0x140173b46
mov eax, dword [rsp + 0x70]
cmp ebx, eax
cmovb eax, ebx
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, rax
and qword [rsp + 0x20], 0
lea r9d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400629b9
mov ebx, dword [rsp + 0x58]
jmp 0x1400629b9

Function at 0x140068620
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, edx
mov rsi, rcx
xor edi, edi
mov qword [rbp - 0x30], rdi
xor r9d, r9d
lea r8, str.PastIconsStream
lea rdx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_shcore_stream_l1_1_0.dll_SHOpenRegStream2W]
nop dword [rax + rax]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140035434
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140068705
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], eax
lea r8d, [rdi + 0x14]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_shcore_stream_l1_1_0.dll_IStream_Read]
nop dword [rax + rax]
test eax, eax
js 0x140068705
cmp dword [rbp - 0x20], 0x14
jne 0x140068705
mov ecx, dword [rbp - 0x1c]
lea eax, [rcx - 4]
test eax, 0xfffffffc
jne 0x140068705
cmp ecx, 6
je 0x140068705
cmp dword [rbp - 0x18], r14d
jne 0x140068705
cmp dword [rbp - 0x14], edi
jbe 0x140068705
mov dword [rbp - 0x24], edi
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x28], eax
mov rax, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x28]
mov rcx, rbx
mov rax, qword [rax + 0x28]
call qword [case.0x14006c37f.0]
test eax, eax
jne 0x140068705
mov rcx, rbx
call fcn.14006846c
mov qword [rsi + 0x18], rax
cmp qword [rsi + 0x18], rdi
setne dil
lea rcx, [rbp - 0x30]
call fcn.14000bb34
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400687e4
Capabilities:
Query or enumerate registry value

Disassembly:
test rdx, rdx
je 0x140068834
mov r11, rsp
mov qword [r11 + 0x18], r8
push rbx
sub rsp, 0x30
lea rcx, [r11 + 0x18]
mov dword [rsp + 0x50], 8
mov rax, rdx
mov qword [r11 - 0x10], rcx
mov rbx, r9
lea rdx, str.UserStartTime
mov rcx, rax
mov qword [r11 - 0x18], rbx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140068836
add rsp, 0x30
pop rbx
ret
and qword [rbx], 0
jmp 0x14006882f
Function at 0x140068844
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov esi, edx
mov rdi, rcx
mov rbx, 0xffffffff80000001
cmp edx, 1
jne 0x1400688a7
lea rax, [rcx + 0x30]
mov dword [rsp + 0x30], 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], SafeArrayDestroy
lea r9d, [rdx + 0x47]
lea r8, str.UserStartTime
lea rdx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify
mov rcx, rbx
call qword [sym.imp.SHCORE.dll_Ordinal_121]
nop dword [rax + rax]
and qword [rsp + 0x60], 0
mov r9d, esi
lea r8, str.IconStreams
lea rdx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify
mov rcx, rbx
call qword [sym.imp.api_ms_win_shcore_stream_l1_1_0.dll_SHOpenRegStream2W]
nop dword [rax + rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140035434
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140068919
mov rcx, rbx
call qword [sym.imp.api_ms_win_shcore_stream_l1_1_0.dll_IStream_Reset]
nop dword [rax + rax]
test eax, eax
js 0x140068919
mov r9, rbp
mov r8, r14
mov rdx, rbx
mov rcx, rdi
test esi, esi
jne 0x140068912
call fcn.140034d88
test eax, eax
jns 0x140068924
jmp 0x14006891d
call fcn.14009f630
jmp 0x140068924
test esi, esi
jne 0x140068924
mov dword [rdi + 0x38], 1
cmp dword [rdi + 0x38], 0
je 0x140068945
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14006893f
mov rcx, rdi
call fcn.1401bb12c
and dword [rdi + 0x38], 0
jmp 0x14006898d
xor r8d, r8d
mov dl, 1
lea rcx, [0x14037cdd0]
call fcn.1400ade80
test esi, esi
jne 0x14006898d
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14006898d
mov rcx, rdi
call fcn.1400adf10
mov rcx, qword [rsp + 0x58]
test eax, eax
jns 0x14006898d
mov r9d, eax
lea r8, str.pcshell_shellexplorer_trayreg.cpp
mov edx, 0xeb
call fcn.14009d7ec
nop
lea rcx, [rsp + 0x60]
call fcn.14000bb34
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14006b540
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0xc8]
xor edi, edi
and eax, 3
mov rbx, rcx
cmp al, 3
je 0x1401756fc
mov rcx, rbx
call fcn.14006b458
mov rcx, rbx
call fcn.14001faf4
mov rcx, qword [rbx + 0xd0]
test rcx, rcx
je 0x14006b581
call fcn.14006b4c4
xor edx, edx
mov qword [rbx + 0xd0], rdi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
call fcn.14006ee3c
lea rax, [rsp + 0x40]
mov r9d, 0x1000b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionOOBETelemetryCorrelation
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 0x140175764
mov rcx, qword [rsp + 0x40]
lea rdx, [0x140301290]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14006b5fc
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14006b5f0
call fcn.14006f920
test al, al
jne 0x14006b560
cmp byte [rbx + 0xdb], dil
jne 0x14006b560
test dword [rbx + 0xc8], 0x1208
jne 0x14006b560
lea r9, [rsp + 0x40]
mov rcx, 0xffffffff80000002
lea r8, str.FSIASleepTimeInMs
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
call fcn.14002cdc0
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovs ecx, edi
mov dword [rsp + 0x40], ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
nop
jmp 0x14006b560
mov rcx, qword [rsp + 0x38]
lea r8, str.internalShellinc_firstruntelemetryhelper.h
mov r9d, eax
mov edx, 0x26
call fcn.140188f6c
nop
jmp 0x14006b5e6

Function at 0x14006c2c0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea r8, [rsp + 0x38]
mov edx, 0x20000070
lea r9d, [rbx + 2]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
jle 0x14006c2ee
cmp dword [rsp + 0x38], 1
sete bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret