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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x98
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, r9
movsxd rdi, r8d
mov esi, edx
mov r14, rcx
mov r15d, 3
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, edi
call fcn.14000c96c
mov ebx, eax
test eax, eax
jns 0x14000c7c4
mov rcx, qword [rsp + 0xc8]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xf1
call fcn.140003734
mov eax, ebx
jmp 0x14000c947
cmp byte [rsp + 0x50], 0
je 0x14000c8f1
mov edx, esi
mov rcx, r14
call fcn.14000be1c
mov rbx, rax
mov r15d, 1
mov dword [rax + rdi*4 + 0xc], r15d
and qword [rsp + 0x58], 0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSpectrumCapabilities
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
je 0x14000c863
mov rcx, qword [rsp + 0xc8]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xfb
call fcn.140008c78
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c85c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000c947
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.14000dcf0
cmp qword [rax + 0x18], 8
jb 0x14000c879
mov rax, qword [rax]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.1400045b4
test ebx, ebx
je 0x14000c8df
mov rcx, qword [rsp + 0xc8]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xfc
call fcn.140008c78
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c8db
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000c947
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c93b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14000c93b
test edi, edi
je 0x14000c90f
lea eax, [rdi - 1]
lea rbx, str.spatialPerception
lea rcx, str.Unknown
cmp eax, 1
cmova rbx, rcx
jmp 0x14000c916
lea rbx, str.perceptionSystem
call fcn.140007fc8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000c93b
cmp dword [rcx], 0
jbe 0x14000c93b
call fcn.140007fc8
mov r9d, esi
mov r8, rbx
xor edx, edx
call fcn.14000daa0
mov dword [r12], r15d
xor eax, eax
jmp 0x14000c947
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140098120
add rsp, 0x98
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000ee70
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
lea rdi, [rcx + 0xf0]
movaps xmmword [rax - 0x18], xmm6
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov ebp, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov r9d, dword [rbx + 0x198]
mov eax, 0xcccccccd
inc r9d
mov dword [rsp + 0x20], ebp
mul r9d
mov qword [rsp + 0x28], rsi
movups xmm0, xmmword [rsp + 0x20]
shr edx, 3
lea eax, [rdx + rdx*4]
mov edx, 0xa
add eax, eax
sub r9d, eax
mov eax, dword [rbx + 0x19c]
inc eax
mov ecx, r9d
mov dword [rbx + 0x198], ecx
cmp eax, edx
cmova eax, edx
add rcx, rcx
mov dword [rbx + 0x19c], eax
movdqu xmmword [rbx + rcx*8 + 0xf8], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov qword [rbx + 0x1a0], rax
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400e2368]
mov rax, rsi
sub rax, qword [rsp + 0x50]
imul rax, rax, 0x3e8
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
call fcn.14001ade8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ef6a
cmp dword [rcx], 0
jbe 0x14000ef6a
call fcn.14001ade8
movaps xmm3, xmm6
mov r8, rsi
mov edx, ebp
call fcn.14003bce8
test rdi, rdi
je 0x14000ef78
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x140010b30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
lea rsi, [rcx + 8]
mov rbx, rcx
mov rcx, rsi
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
lea r8, [rbx + 0x28]
cmp qword [r8 + 0x18], 8
jb 0x140010b60
mov r8, qword [r8]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0xc
mov qword [rsp + 0x30], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSpectrum
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rdi
mov r9d, 0xffff
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
jns 0x140010bbe
mov eax, dword [rbx + 0x1c]
mov dword [rdi], eax
mov eax, dword [rbx + 0x20]
mov dword [rdi + 4], eax
mov eax, dword [rbx + 0x24]
mov dword [rdi + 8], eax
test rsi, rsi
je 0x140010bcc
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14003edf8
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rbx, rcx
lea rdi, [rcx + 0x110]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov qword [rsp + 0x50], rdi
mov rcx, qword [rbx + 0x70]
call fcn.1400513a8
test al, al
jne 0x14003ef05
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov esi, eax
call fcn.140007fc8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003ee64
cmp dword [rcx], 0
jbe 0x14003ee64
call fcn.140007fc8
mov r8d, esi
xor edx, edx
call fcn.1400492a0
and dword [rbx + 0x32c], 0
and dword [rbx + 0x200], 0
mov rcx, qword [rbx + 0x70]
call fcn.140050a9c
mov rbx, qword [rbx + 0x80]
test rbx, rbx
je 0x14003ef05
xor r9d, r9d
cmp qword [rbx + 0x60], r9
jne 0x14003eee9
and qword [rsp + 0x28], r9
and dword [rsp + 0x20], r9d
mov r9, rbx
lea r8, [0x14007be50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x14003eedc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov eax, 0x80004005
test r9d, r9d
cmovns r9d, eax
jmp 0x14003eedf
xor r9d, r9d
test r9d, r9d
js 0x14003eee9
xor eax, eax
xchg byte [rbx + 0x50], al
mov rcx, qword [rsp + 0x48]
test r9d, r9d
jns 0x14003ef05
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x388
call fcn.140014d18
nop
test rdi, rdi
je 0x14003ef13
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14004a3f4
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
lea rcx, [rsp + 0x40]
call fcn.140014d70
nop
call fcn.14000b6a0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140014d04
nop
mov rax, qword [rsp + 0x4d0]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x4d0]
mov rax, qword [rsp + 0x68]
call qword [0x1400aa8c0]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
call fcn.14000a7c0
mov qword [rsp + 0x70], rax
mov r8d, dword [rsp + 0x48]
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call fcn.140014c80
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004a5a0
mov dword [rsp + 0x4c], 0x104
lea rcx, [rsp + 0x58]
call fcn.140011488
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x4c]
mov rcx, rax
call sub.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackageFamilyName
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jg 0x14004a4f0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
jmp 0x14004a506
mov eax, dword [rsp + 0x30]
and eax, 0xffff
or eax, 0x70000
bts eax, 0x1f
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004a537
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14004a5f8
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004a537
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004a5a0
lea rcx, [rsp + 0x58]
call fcn.140011488
mov r8d, 0x104
lea rdx, [rsp + 0x2a0]
mov rcx, rax
call sub.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW
test eax, eax
jbe 0x14004a56e
mov dword [rsp + 0x50], 1
jmp 0x14004a576
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x2a0]
call sub.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW
mov qword [rsp + 0x78], rax
mov r8b, byte [rsp + 0x28]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140012260
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004a5bc
lea rcx, [rsp + 0x40]
call fcn.140049dbc
mov rcx, qword [rsp + 0x4d8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x58]
call fcn.140014cb8
nop
lea rcx, [rsp + 0x40]
call fcn.140014d48
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140098120
add rsp, 0x4c8
ret
Function at 0x140064a44
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x140064a8c
mov rax, qword [rcx]
mov word [rax], r15w
mov qword [rbp - 0x50], r15
or rax, 0xffffffffffffffff
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea r9, [rbp - 0x50]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400b1c90]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
jns 0x140064adc
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x45
call fcn.140003734
jmp 0x140064b8c
movdqa xmm0, xmmword [0x1400b7ce0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140004628
nop
mov r14d, r15d
lea rsi, [0x1400a6af0]
mov rdx, qword [rsi]
test rdx, rdx
je 0x140064b1e
mov r8b, 1
lea rcx, [rbp - 0x30]
call fcn.140072058
mov ebx, eax
jmp 0x140064b21
mov ebx, r15d
test ebx, ebx
js 0x140064b69
inc r14d
add rsi, 8
cmp r14d, 3
jb 0x140064b06
lea rax, [rbp - 0x30]
cmp rdi, rax
je 0x140064b64
mov rcx, rdi
call fcn.1400045b4
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1400b7ce0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
mov ebx, r15d
jmp 0x140064b82
mov rcx, qword [rbp + 0x18]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x4a
call fcn.140003734
nop
lea rcx, [rbp - 0x30]
call fcn.1400045b4
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140064b9b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140098120
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140064bc4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rax, r8
mov esi, edx
mov rbp, rcx
jb 0x140064bea
mov rax, qword [r8]
and qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_CreateFile2]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140064c26
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140064c28
xor ebx, ebx
test ebx, ebx
jns 0x140064c33
mov edx, 0x55
jmp 0x140064c80
mov r8d, 0x4004
mov rdx, rbp
cmp esi, r8d
mov rcx, rdi
cmovb r8d, esi
and qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
jne 0x140064c96
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
test ebx, ebx
jns 0x140064c96
mov edx, 0x58
mov rcx, qword [rsp + 0x38]
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, ebx
call fcn.140003734
jmp 0x140064c98
xor ebx, ebx
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140064cab
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140064f34
Capabilities:
Get process image filename

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rdx
mov r14d, ecx
lea rax, [0x1400a14f0]
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov esi, r15d
mov qword [rsp + 0x30], r15
mov edi, r15d
mov r12d, 0x80070000
test ecx, ecx
jne 0x140064fa5
lea rdx, [0x1400b1c38]
jmp 0x1400650b1
mov r8d, r14d
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140064fe2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
jmp 0x140064fe5
mov ecx, r15d
test ecx, ecx
js 0x140065080
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackageFamilyName]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140065080
movdqa xmm0, xmmword [0x1400b7ce0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140004628
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x140065071
mov rcx, rbx
call fcn.1400045b4
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1400b7ce0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x40]
call fcn.1400045b4
jmp 0x140065103
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x1400650bb
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
mov rdx, rax
mov rcx, rbx
call fcn.140004628
jmp 0x140065103
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.14000dcf0
mov rdi, rax
cmp rbx, rax
je 0x1400650f6
mov rcx, rbx
call fcn.1400045b4
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
lea rcx, [rsp + 0x40]
call fcn.1400045b4
mov edi, r15d
test rsi, rsi
je 0x14006512c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
jne 0x14006512c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
call fcn.14000b684
int3
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140098120
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140067cf8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov ebp, 0x4e
mov r8d, ebp
lea rcx, [r11 - 0x68]
xor edx, edx
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSpectrum
xor ebp, ebp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r8, rbx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x140067d80
mov word [rsp + 0x50], bp
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x140067da4
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
test eax, eax
jns 0x140067dab
movups xmm0, xmmword [rsi]
movdqu xmmword [rdi], xmm0
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140098120
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140067dd8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor esi, esi
mov qword [rbp - 8], rsi
lea rax, [rbp + 0x30]
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x50], rsi
mov qword [r11 - 0x58], rsi
lea r9d, [rsi + 2]
lea r8, str.AlrCurve
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSpectrum
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
je 0x140067f19
mov edx, dword [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.1400683a8
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 2]
lea r8, str.AlrCurve
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSpectrum
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
je 0x140067f19
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.140004628
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140067f7e
mov rax, qword [rbp - 8]
sub rax, rcx
sar rax, 1
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
ja 0x140067f12
add rax, rax
cmp rax, 0x1000
jb 0x140067f70
test cl, 0x1f
jne 0x140067f12
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140067f12
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x140067f6d
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rdi
mov rcx, rbx
call fcn.140005744
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140067f7e
mov rax, qword [rbp - 8]
sub rax, rcx
sar rax, 1
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
ja 0x140067f77
add rax, rax
cmp rax, 0x1000
jb 0x140067f70
test cl, 0x1f
jne 0x140067f77
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140067f77
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x140067f77
mov rcx, rax
call fcn.1400986c0
jmp 0x140067f7e
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140067f94
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov rbx, rcx
mov dword [rsp + 0x78], 4
lea rcx, [r11 + 0x20]
mov rax, r8
mov qword [r11 - 0x28], rcx
mov r8, rdx
lea rcx, [r11 - 0x18]
mov r9d, 0x10
mov qword [r11 - 0x30], rcx
mov rdx, rax
and qword [r11 - 0x38], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140067fee
mov eax, dword [rbx]
jmp 0x140067ff2
mov eax, dword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
Function at 0x140068508
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x50
xor r14d, r14d
mov esi, r9d
mov rbp, r8
mov ebx, r14d
test rdx, rdx
je 0x140068570
cmp word [rdx], r14w
je 0x140068570
mov qword [r11 - 0x18], r14
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], r14
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov rcx, 0xffffffff80000002
mov dword [r11 - 0x38], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
jmp 0x14006857c
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x60], rcx
test ebx, ebx
jne 0x1400685bd
mov eax, dword [rsp + 0x88]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x80]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
cmp rcx, 0xffffffff80000002
je 0x1400685bd
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret