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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
mov edi, r8d
mov rbx, rdx
mov byte [r9], 0
mov rax, qword [rsp + 0x70]
mov byte [rax], 1
and qword [r11 + 0x28], 0
xor edx, edx
lea rcx, [r11 + 0x28]
call fcn.140033400
lea r8, [rsp + 0x70]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionOOBEHealth
lea rcx, str.OOBEHealth
call fcn.140272a44
mov rcx, qword [rsp + 0x48]
test eax, eax
jns 0x14028be11
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x418
call fcn.14009d7ec
jmp 0x14028be66
lea eax, [rdi + 4]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x20], 0
mov r9d, 8
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14028be60
cmp dword [rsp + 0x50], 4
jbe 0x14028be60
cmp byte [rbx], 0xe
je 0x14028be66
and dword [rbx], 0
mov byte [rbx], SafeArrayDestroy
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14028be7c
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14028be9c
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x48], 0
mov rsi, rdx
and qword [rsp + 0x50], 0
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x48]
mov r9d, 0x2001f
call fcn.14028b518
jmp 0x14028befe
lea rdx, [rsp + 0x70]
call fcn.14028be9c
mov ebx, eax
test eax, eax
jne 0x14028bf60
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x70]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x14028bef4
call fcn.140270320
mov rdx, rsi
mov rcx, rdi
call fcn.14027090c
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.140270320
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x14028bf98
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
sub rsp, 0x48
and qword [r9], 0
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
lea r8, str.Timestamp
mov ecx, 8
mov qword [r11 - 0x20], r9
and qword [r11 - 0x28], 0
mov r9d, ecx
mov dword [rsp + 0x60], ecx
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 0x14028bfea
movzx eax, ax
or eax, 0x80070000
add rsp, 0x48
ret
Function at 0x14028c330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x480
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14028c39f
call fcn.14026ffd0
mov ebx, eax
jmp 0x14028c4d7
xor r9d, r9d
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14028c3c9
call fcn.14026ffd0
jmp 0x14028c4c5
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14028c3bf
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x14028c426
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x14028c41c
lea rcx, [rsp + 0x60]
call fcn.1402713f0
mov ebx, 0x8007000e
jmp 0x14028c4ee
mov ecx, eax
mov edx, 2
call fcn.140269748
cmp rax, 0x400
jbe 0x14028c44e
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14026fb00
mov rax, qword [rsp + 0x60]
jmp 0x14028c458
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14028c46f
test rax, rax
jne 0x14028c47b
mov ebx, 0x8007000e
jmp 0x14028c4c7
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
nop dword [rax + rax]
test eax, eax
je 0x14028c3bf
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4c0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14028bff8
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x14028c4ee
lea rcx, [rsp + 0x60]
call fcn.1402713f0
nop
lea rcx, [rsp + 0x48]
call fcn.14026e0fc
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x480
pop r14
pop rdi
pop rsi
ret
Function at 0x14028df18
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x70
xorps xmm0, xmm0
lea r9, [rax - 0x28]
xorps xmm1, xmm1
mov rsi, r8
movdqu xmmword [rax - 0x28], xmm0
mov rdi, rcx
movdqu xmmword [rax - 0x18], xmm1
call fcn.140021414
test eax, eax
jns 0x14028df55
mov ebx, 8
jmp 0x14028dfe5
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rdx, str.UserChoice
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x60000
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, rdi
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 0x14028dfe5
lea rcx, [rsp + 0x50]
call fcn.140290830
mov eax, dword [rsp + 0xa8]
lea r9d, [rbx + 1]
mov dword [rsp + 0x28], eax
lea rdx, str.UserChoice
mov rax, qword [rsp + 0xa0]
mov r8, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
mov ebx, eax
call fcn.14028998c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14028dffb
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14028e324
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r10, rdx
mov r11, rcx
test r8, r8
jne 0x14028e342
mov ecx, 0x80004005
call fcn.140241700
int3
mov r9d, ebx
mov rdx, r8
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x14028e34c
inc ecx
lea rdx, [rdx + rcx*2]
lea r9d, [r9 + rcx*2]
cmp ecx, 1
jne 0x14028e348
mov dword [rsp + 0x28], r9d
mov rdx, r10
mov qword [rsp + 0x20], r8
lea r9d, [rcx + 6]
mov rcx, qword [r11]
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
add rsp, 0x30
pop rbx
ret
Function at 0x140291c14
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x190], rax
movsxd rdi, r9d
movzx r14d, r8b
mov rsi, rdx
mov rbx, rcx
mov r8, rdx
lea rdx, [rsp + 0x40]
call fcn.1402918d0
cmp byte [rsp + 0x40], 0
je 0x140291def
cmp byte [rsp + 0x42], r14b
jne 0x140291def
cmp qword [r8 + 0x10], 0
je 0x140291def
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov r15d, eax
lea rax, [0x140378178]
mov r12d, SafeArrayDestroy
mov rcx, qword [0x140378178]
cmp rcx, rax
je 0x140291cc2
test byte [rcx + 0x1c], 8
je 0x140291cc2
mov edx, r12d
mov dword [rsp + 0x30], r14d
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9d, r15d
mov rcx, qword [rcx + 0x10]
call fcn.1402970bc
lea rbp, [rbx + 0x180]
mov r8d, r12d
mov edx, edi
mov rcx, rbp
call fcn.14004220c
test edi, edi
js 0x140291cf2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
lea rdx, [rdi + rdi*2]
mov rcx, qword [rbp + 0x30]
mov dword [rcx + rdx*8 + 0x10], eax
lea rcx, [rsp + 0x50]
call fcn.1400421dc
nop
cmp byte [rbx + 0xdc], 0
je 0x140291d33
cmp r14b, 6
je 0x140291d1d
lea rdx, [rbx + 0x1c0]
lea rcx, [rsp + 0x50]
call fcn.14026ab08
mov r8d, 1
mov r9d, r8d
mov rdx, qword [rsi]
lea rcx, [rsp + 0x50]
call fcn.14028e458
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov rax, qword [rsi + 0x10]
call qword [case.0x14006c37f.0]
mov r12d, eax
test byte [0x14037dc84], 2
je 0x140291d67
mov r9, qword [rsi]
mov r8d, dword [rbx + 0xc8]
lea rdx, [0x1402ffe08]
call fcn.140042450
mov rcx, qword [0x140378178]
lea rax, [0x140378178]
cmp rcx, rax
je 0x140291da3
test byte [rcx + 0x1c], 8
je 0x140291da3
mov edx, SafeArrayDestroy
mov dword [rsp + 0x30], r14d
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9d, r15d
mov rcx, qword [rcx + 0x10]
call fcn.1402970bc
cmp byte [rbx + 0xdc], 0
je 0x140291db9
mov edx, r12d
lea rcx, [rsp + 0x50]
call fcn.1400963d8
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edx, edi
mov rcx, rbp
call fcn.14004220c
test edi, edi
js 0x140291de5
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
lea rdx, [rdi + rdi*2]
mov rcx, qword [rbp + 0x30]
mov dword [rcx + rdx*8 + 0x14], eax
lea rcx, [rsp + 0x50]
call fcn.1400421b0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140292560
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
call fcn.14027e544
xor ebx, ebx
test eax, eax
je 0x140292578
mov bl, 1
jmp 0x140292625
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x30], rax
lea r8, str.LockedStartLayout
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsExplorer
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rbx
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 0x1402925ce
cmp dword [rsp + 0x50], ebx
jne 0x140292571
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x30], rax
lea r8, str.LockedStartLayout
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsExplorer
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140292625
cmp dword [rsp + 0x50], ebx
setne bl
mov al, bl
add rsp, 0x40
pop rbx
ret

Function at 0x140292634
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
call fcn.14027e544
mov ebx, 1
test eax, eax
jne 0x1402926cc
lea rdx, str.NoPinningToTaskbar
mov dword [rsp + 0x20], ebx
mov r9, rdx
lea r8, str.SoftwarePoliciesMicrosoftWindowsExplorer
lea rcx, str.Start
call fcn.1402895e4
mov bl, al
test al, al
jne 0x1402926cc
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea r8, str.TaskbarNoPinnedList
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsExplorer
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
jne 0x1402926cc
cmp dword [rsp + 0x50], eax
setne bl
mov al, bl
add rsp, 0x40
pop rbx
ret
Function at 0x140292ab8
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
lea rax, str.Microsoft.Windows.Documents
mov qword [rbp - 0x40], rax
lea rax, str.Microsoft.Windows.Pictures
mov qword [rbp - 0x38], rax
mov r8d, SHRestricted
lea rdx, [0x140306bb0]
lea rcx, [rbp - 0x30]
call fcn.14026dc6c
nop
and qword [rbp - 0x48], 0
lea rcx, [rbp - 0x48]
call fcn.14000bb34
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.140289d74
test al, al
je 0x140292c38
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
lea r8, [rbp + 0x28]
mov edx, 0x10000
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
test eax, eax
js 0x140292af6
test dword [rbp + 0x28], 0x10000
je 0x140292af6
and qword [rbp + 0x40], 0
mov rax, qword [rbx]
lea r8, [rbp + 0x30]
lea rdx, [0x140306de8]
mov rcx, rbx
mov rax, qword [rax + 0x90]
call qword [case.0x14006c37f.0]
test eax, eax
js 0x140292c1a
cmp dword [rbp + 0x30], 1
jne 0x140292c1a
mov rax, qword [rbx]
mov rdi, qword [rax + 0x88]
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140033400
lea r8, [rbp + 0x40]
lea rdx, [0x14030e168]
mov rcx, rbx
mov rax, rdi
call qword [case.0x14006c37f.0]
test eax, eax
js 0x140292c1a
lea rsi, [rbp - 0x40]
mov rdx, qword [rsi]
mov rcx, qword [rbp + 0x40]
call fcn.14000e5e0
test eax, eax
je 0x140292c0d
and qword [rbp + 0x38], 0
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
xor edx, edx
lea rcx, [rbp + 0x38]
call fcn.140033400
lea r8, [rbp + 0x38]
mov edx, 0x80058000
mov rcx, rbx
mov rax, rdi
call qword [case.0x14006c37f.0]
test eax, eax
js 0x140292bf8
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140292c0d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
add rsi, 8
lea rax, [rbp - 0x30]
cmp rsi, rax
jne 0x140292ba7
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140292af6
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x140292af6
lea rcx, [rbp - 0x48]
call fcn.14000bb34
nop
mov rcx, qword [rbp - 0x20]
and qword [rbp - 0x20], 0
test rcx, rcx
je 0x140292c5d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
lea rcx, [rbp - 0x28]
call fcn.14003a0fc
nop
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140298c18
Capabilities:
Lock the desktop

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ecx, eax
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ProcessIdToSessionId]
nop dword [rax + rax]
test eax, eax
je 0x140298cf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x140298cc0
mov ecx, dword [rsp + 0x30]
mov rdx, rax
call fcn.140299350
call fcn.14029949c
call qword [sym.imp.USER32.dll_LockWorkStation]
nop dword [rax + rax]
test eax, eax
jne 0x140298d48
mov rcx, qword [0x140378178]
lea rax, [0x140378178]
cmp rcx, rax
je 0x140298d48
test byte [rcx + 0x1c], 2
je 0x140298d48
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140298cb9
movzx eax, ax
or eax, 0x80070000
mov edx, SafeArrayDestroy
jmp 0x140298d2e
mov rcx, qword [0x140378178]
lea rax, [0x140378178]
cmp rcx, rax
je 0x140298d48
test byte [rcx + 0x1c], 2
je 0x140298d48
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140298cf1
movzx eax, ax
or eax, 0x80070000
mov edx, SafeArrayDestroy
jmp 0x140298d2e
mov rcx, qword [0x140378178]
lea rax, [0x140378178]
cmp rcx, rax
je 0x140298d48
test byte [rcx + 0x1c], 2
je 0x140298d48
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140298d29
movzx eax, ax
or eax, 0x80070000
mov edx, SafeArrayDestroy
mov rcx, qword [0x140378178]
lea r8, [0x14033aca8]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.1401ae454
xor eax, eax
add rsp, 0x28
ret
Function at 0x140299350
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
xor edi, edi
cmp qword [0x14037e5d0], rdi
jne 0x140299487
mov dword [0x14037e5c4], ecx
lea rcx, [rsp + 0x50]
call fcn.140298eb8
lea rcx, [rsp + 0x58]
xor ebx, ebx
cmp rcx, rax
je 0x140299393
mov rbx, qword [rax]
and qword [rax], rdi
mov rdi, rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1402993b0
and qword [rsp + 0x50], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
test rdi, rdi
jne 0x1402993bf
mov edi, 0x8007000e
jmp 0x140299487
and qword [rsp + 0x28], 0
lea r9, [rsp + 0x48]
and dword [rsp + 0x20], 0
lea r8, [0x140298ff0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [0x14037e5d0], rax
test rax, rax
je 0x140299422
xor edi, edi
mov rcx, qword [0x140378178]
lea rax, [0x140378178]
cmp rcx, rax
je 0x140299477
test byte [rcx + 0x1c], 8
je 0x140299477
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xa]
lea r8, [0x14033acf0]
call fcn.140297090
jmp 0x140299477
mov edi, 0x80004005
mov rcx, qword [0x140378178]
lea rax, [0x140378178]
cmp rcx, rax
je 0x140299477
test byte [rcx + 0x1c], 2
je 0x140299477
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140299458
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [0x140378178]
lea r8, [0x14033acf0]
mov edx, SafeArrayDestroy
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.1401ae454
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x10]
mov rcx, rbx
call qword [case.0x14006c37f.0]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14029ae94
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12d, edx
mov rbx, rcx
xor r13d, r13d
lea rcx, [rsp + 0x50]
mov edx, 0x104
mov r14d, r13d
mov r15, r8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14029b062
lea ecx, [r13 + 0x43]
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
jne 0x14029b062
movzx ecx, word [rbx]
mov rdi, rbx
test cx, cx
je 0x14029af35
movzx eax, cx
movzx ecx, ax
cmp ax, 0x20
je 0x14029af30
cmp ax, 0x2c
je 0x14029af30
add rdi, 2
movzx ecx, word [rdi]
movzx eax, cx
test cx, cx
jne 0x14029af12
test cx, cx
jne 0x14029af3c
mov ebp, 1
jmp 0x14029af40
mov word [rdi], r13w
cmp word [rbx], r13w
je 0x14029b056
test byte [0x14037dc81], 0x40
je 0x14029af6a
mov rcx, rbx
call fcn.14009dbcc
mov r8, rax
lea rdx, [0x140300b88]
call fcn.14004251c
lea rax, [rsp + 0x40]
mov r9d, r12d
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x30], r15
mov rcx, rbx
call fcn.14009df34
test eax, eax
jns 0x14029affb
lea rcx, str.explorer.exe
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleA]
nop dword [rax + rax]
test byte [0x14037dc81], 0x40
mov rsi, rax
je 0x14029afc8
mov rcx, rbx
call fcn.14009dbcc
mov r9, rax
lea rdx, [0x140300b78]
xor r8d, r8d
call fcn.140042450
test rsi, rsi
je 0x14029b056
mov r9d, 0x20c
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], 0x1030
mov rcx, rsi
lea r8d, [r9 - 9]
call qword [sym.imp.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_ShellMessageBoxW]
nop dword [rax + rax]
jmp 0x14029b056
mov rdx, qword [rsp + 0x40]
mov rcx, r15
call fcn.14009e64c
test byte [0x14037dc81], 0x40
je 0x14029b03f
mov rcx, rbx
call fcn.14009dbcc
mov rcx, qword [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetProcessId]
nop dword [rax + rax]
mov r9, rbx
lea rdx, [0x140300b78]
mov r8d, eax
call fcn.140042450
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov r14d, 1
lea rbx, [rdi + 2]
test ebp, ebp
je 0x14029af04
mov eax, r14d
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14029d384
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, str.Local__DDrawExclMode__
xor edx, edx
mov ecx, 0x100000
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenMutexW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14029d3e5
xor edx, edx
mov rcx, rax
call sub.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject
test eax, eax
je 0x14029d3d5
cmp eax, 0x80
je 0x14029d3d5
cmp eax, 0x102
jne 0x14029d3dd
mov ebx, 1
jmp 0x14029d3dd
mov rcx, rdi
call sub.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex
mov rcx, rdi
call sub.api_ms_win_core_handle_l1_1_0.dll_CloseHandle
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14029d6ec
Capabilities:
Query or enumerate registry value

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 r15
sub rsp, 0x470
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor ebp, ebp
lea r15, str.SystemNotification
mov esi, ebp
mov edi, ebp
lea rax, [0x140312ab8]
mov qword [rsp + 0x20], r15
test edi, edi
lea r9, str..Default
lea r8, str.AppEventsSchemesApps_s_s.current
mov edx, 0x104
cmove r9, rax
lea rcx, [rsp + 0x40]
call fcn.14002e4b8
mov ebx, eax
test eax, eax
js 0x14029d7d0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
lea rax, [rsp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call sub.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW
test eax, eax
jne 0x14029d7d0
cmp dword [rsp + 0x30], ebp
je 0x14029d7d0
cmp word [rsp + 0x250], bp
je 0x14029d7d0
mov r8d, edi
xor edx, edx
xor r8d, 1
mov rcx, r15
shl r8d, 0x16
or r8d, 0x292013
call qword [0x14039e160]
nop dword [rax + rax]
test eax, eax
jne 0x14029d7e4
lea ebx, [rax + 1]
test ebx, ebx
je 0x14029d7e6
test esi, esi
jne 0x14029d7e6
mov esi, 1
xor edi, esi
jmp 0x14029d727
mov ebx, ebp
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret

Function at 0x14029ebb4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov rcx, rdi
mov edx, 0x104
call sub.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW
mov ecx, eax
xor eax, eax
test ecx, ecx
jne 0x14029ebe0
call fcn.14002154c
jmp 0x14029ec04
cmp ecx, 0x104
jbe 0x14029ebef
mov eax, 0x8007007a
jmp 0x14029ec04
test rbx, rbx
je 0x14029ec04
mov r8, rbx
mov edx, 0x104
mov rcx, rdi
call sub.api_ms_win_core_path_l1_1_0.dll_PathCchAppend
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret