joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400099bc
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor edx, edx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
xor r14d, r14d
test eax, eax
jne 0x140009b65
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 3
jne 0x140009b3f
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchSkipRoot]
test eax, eax
js 0x140009b1a
mov rax, qword [rsp + 0x58]
cmp word [rax], r14w
je 0x140009b1a
or r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rdi + rax*2], r14w
jne 0x140009a25
lea rbx, [rax + rax]
test rax, rax
je 0x140009a43
cmp word [rbx + rdi - 2], 0x5c
jne 0x140009a43
dec rax
mov ecx, 1
lea r9, [0x1400b578c]
mov dword [rsp + 0x28], ecx
mov r8d, eax
mov dword [rsp + 0x20], ecx
mov rdx, rdi
mov ecx, 0x800000
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindStringOrdinal]
cmp eax, r15d
jne 0x140009a73
lea rsi, [rbx + rdi]
jmp 0x140009a7d
movsxd rsi, eax
inc rsi
lea rsi, [rdi + rsi*2]
sub rsi, rdi
sar rsi, 1
je 0x140009b1a
lea rbp, [rsi + 1]
mov eax, 2
mul rbp
lea rdx, [0x1400e9848]
cmovo rax, r15
mov rcx, rax
call fcn.1400a0e3c
mov rbx, rax
test rax, rax
jne 0x140009ace
mov rcx, qword [rsp + 0x48]
lea r8, str.internal_sdkincwilopensourcewil_filesystem.h
mov esi, 0x8007000e
lea edx, [rax + 0x70]
mov r9d, esi
call fcn.140003b74
jmp 0x140009b06
mov r9, rsi
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.14000f348
mov esi, eax
test eax, eax
jns 0x140009b0a
mov rcx, qword [rsp + 0x48]
lea r8, str.internal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x71
call fcn.140003b74
mov rcx, rbx
call fcn.1400a0df8
mov eax, esi
jmp 0x140009b67
mov rcx, rbx
call fcn.1400099bc
mov rcx, rbx
call fcn.1400a0df8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x140009b65
mov rcx, qword [rsp + 0x48]
lea r8, str.internal_sdkincwilopensourcewil_filesystem.h
lea edx, [rax + 0x74]
call fcn.140003ba8
jmp 0x140009b67
cmp eax, 0xb7
je 0x140009b65
test eax, eax
je 0x140009b65
mov rcx, qword [rsp + 0x48]
lea r8, str.internal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x78
call fcn.14000f31c
jmp 0x140009b67
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400131ec
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 [0x1400e8708]
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.140013410
mov ebx, eax
test eax, eax
jns 0x140013264
mov rcx, qword [rsp + 0xc8]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xf3
call fcn.140003b74
mov eax, ebx
jmp 0x1400133e7
cmp byte [rsp + 0x50], 0
je 0x140013391
mov edx, esi
mov rcx, r14
call fcn.140012874
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
mov dword [rsp + 0x20], r15d
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 0x140013303
mov rcx, qword [rsp + 0xc8]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xfd
call fcn.14000f31c
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400132fc
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400133e7
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.1400148c8
cmp qword [rax + 0x18], 8
jb 0x140013319
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.140004948
test ebx, ebx
je 0x14001337f
mov rcx, qword [rsp + 0xc8]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xfe
call fcn.14000f31c
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001337b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400133e7
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400133db
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x1400133db
test edi, edi
je 0x1400133af
lea eax, [rdi - 1]
lea rbx, str.spatialPerception
lea rcx, str.Unknown
cmp eax, 1
cmova rbx, rcx
jmp 0x1400133b6
lea rbx, str.perceptionSystem
call fcn.14000df74
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400133db
cmp dword [rcx], 0
jbe 0x1400133db
call fcn.14000df74
mov r9d, esi
mov r8, rbx
xor edx, edx
call fcn.140014658
mov dword [r12], r15d
xor eax, eax
jmp 0x1400133e7
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a0800
add rsp, 0x98
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400184c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
lea rbp, [rcx + 8]
mov rsi, rcx
mov rcx, rbp
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
lea rbx, [rsi + 0x28]
cmp qword [rbx + 0x18], 8
jb 0x1400184ec
mov rbx, qword [rbx]
mov dword [rsp + 0x78], 0xc
call fcn.14006b15c
mov rcx, qword [0x1400e63f8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov r9d, 0xffff
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
mov r14d, 0x80070000
mov ecx, r14d
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
jne 0x14001859e
cmp byte [0x1400e9d98], cl
je 0x14001858f
mov rcx, qword [0x1400e63e8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov r9d, 0xffff
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
cmovle r14d, eax
shr r14d, 0x1f
xor r14b, 1
jne 0x14001859e
movsd xmm0, qword [rsi + 0x1c]
movsd qword [rdi], xmm0
mov eax, dword [rsi + 0x24]
mov dword [rdi + 8], eax
test rbp, rbp
je 0x1400185ac
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400185c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 8]
mov rbx, rcx
mov rcx, rdi
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
movsd xmm0, qword [rsi]
lea rdx, [rbx + 0x28]
movsd qword [rbx + 0x1c], xmm0
mov eax, dword [rsi + 8]
mov dword [rbx + 0x24], eax
cmp qword [rdx + 0x18], 8
jb 0x1400185ff
mov rdx, qword [rdx]
mov rcx, qword [0x1400e63f8]
mov r9d, 3
mov dword [rsp + 0x28], 0xc
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
mov ebx, 0x80070000
cmovle ebx, eax
shr ebx, 0x1f
xor bl, 1
test rdi, rdi
je 0x140018640
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400429c8
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 + 0x120]
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 + 0x88]
call fcn.140054d54
test al, al
jne 0x140042ae8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov esi, eax
call fcn.14000df74
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140042a37
cmp dword [rcx], 0
jbe 0x140042a37
call fcn.14000df74
mov r8d, esi
xor edx, edx
call fcn.14004d1d0
and dword [rbx + 0x340], 0
and dword [rbx + 0x218], 0
mov rcx, qword [rbx + 0x88]
call fcn.1400545d8
lea rsi, [rbx + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov byte [rbx + 0x28], 1
test rsi, rsi
je 0x140042a70
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rbx + 0xb8]
test rbx, rbx
je 0x140042ae8
xor r9d, r9d
cmp qword [rbx + 0x60], r9
jne 0x140042ade
and qword [rsp + 0x28], r9
and dword [rsp + 0x20], r9d
mov r9, rbx
lea r8, [0x140082ed0]
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 0x140042ad1
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 0x140042ad4
xor r9d, r9d
test r9d, r9d
js 0x140042ade
xor eax, eax
xchg byte [rbx + 0x50], al
mov rcx, qword [rsp + 0x48]
test r9d, r9d
js 0x140042b06
test rdi, rdi
je 0x140042af6
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
lea r8, str.analoginput_spectrumcomponentsheadtrackerhandler.cpp
mov edx, 0x38b
call fcn.14001c524
int3
Function at 0x14004e1c0
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 [0x1400e8708]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
lea rcx, [rsp + 0x40]
call fcn.14001c580
nop
call fcn.140012110
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001c50c
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 [str.___n_]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
call fcn.14000d490
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.14001c47c
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004e36c
mov dword [rsp + 0x4c], 0x104
lea rcx, [rsp + 0x58]
call fcn.1400189b4
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 0x14004e2bc
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
jmp 0x14004e2d2
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 0x14004e303
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14004e3c8
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004e303
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004e36c
lea rcx, [rsp + 0x58]
call fcn.1400189b4
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 0x14004e33a
mov dword [rsp + 0x50], 1
jmp 0x14004e342
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.14004e438
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004e388
lea rcx, [rsp + 0x40]
call fcn.14004da2c
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.14001c4b8
nop
lea rcx, [rsp + 0x40]
call fcn.14001c558
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400a0800
add rsp, 0x4c8
ret
Function at 0x140068990
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 [0x1400e8708]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400689d1
mov rax, qword [rcx]
xor r15d, r15d
mov qword [rcx + 0x10], r15
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, [0x1400bba90]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
jns 0x140068a27
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
lea edx, [r15 + 0x4a]
call fcn.140003b74
jmp 0x140068ab1
movdqa xmm0, xmmword [0x1400c1a70]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140004b78
nop
mov r14d, r15d
lea rsi, [0x1400afb90]
mov rdx, qword [rsi]
test rdx, rdx
je 0x140068a69
mov r8b, 1
lea rcx, [rbp - 0x30]
call fcn.1400783d8
mov ebx, eax
jmp 0x140068a6c
mov ebx, r15d
test ebx, ebx
js 0x140068a8e
inc r14d
add rsi, 8
cmp r14d, 3
jb 0x140068a51
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140069d64
mov ebx, r15d
jmp 0x140068aa7
mov rcx, qword [rbp + 0x18]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x4f
call fcn.140003b74
nop
lea rcx, [rbp - 0x30]
call fcn.140004948
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140068ac0
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.1400a0800
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 0x140068af0
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 0x140068b16
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 0x140068b52
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 0x140068b54
xor ebx, ebx
test ebx, ebx
jns 0x140068b5f
mov edx, 0x5a
jmp 0x140068bac
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 0x140068bc2
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 0x140068bc2
mov edx, 0x5d
mov rcx, qword [rsp + 0x38]
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, ebx
call fcn.140003b74
jmp 0x140068bc4
xor ebx, ebx
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140068bd7
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 0x140068e68
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 [0x1400e8708]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r14d, ecx
lea rax, [0x1400aa3d8]
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x30], rbx
mov edi, r15d
mov r12d, 0x80070000
test ecx, ecx
jne 0x140068ed9
lea rdx, [0x1400bba38]
jmp 0x140068fb4
mov r8d, r14d
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140068f16
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 0x140068f19
mov ecx, r15d
test ecx, ecx
js 0x140068f83
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rbx
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 0x140068f83
movdqa xmm0, xmmword [0x1400c1a70]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140004b78
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140069d64
lea rcx, [rsp + 0x40]
call fcn.140004948
jmp 0x140068fe3
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
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 0x140068fbe
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
mov rdx, rax
mov rcx, rsi
call fcn.140004b78
jmp 0x140068fe3
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.1400148c8
mov rdx, rax
mov rcx, rsi
call fcn.140069d64
lea rcx, [rsp + 0x40]
call fcn.140004948
mov edi, r15d
test rbx, rbx
je 0x140068ff5
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140069022
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a0800
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
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.1400120ec
int3
Function at 0x14006b9a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rdi
push r13
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor esi, esi
mov qword [rbp - 8], rsi
call fcn.14006b15c
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 2]
lea r8, str.AlrCurve
xor edx, edx
mov rcx, qword [0x1400e63f8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx ecx, ax
mov r13d, 0x80070000
or ecx, r13d
test eax, eax
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
je 0x14006ba36
mov edx, dword [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14006c06c
mov rcx, qword [0x1400e63f8]
jmp 0x14006ba9c
cmp byte [0x1400e9d98], sil
je 0x14006bb39
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, str.AlrCurve
xor edx, edx
mov rcx, qword [0x1400e63e8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx ecx, ax
or ecx, r13d
test eax, eax
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
je 0x14006bb39
mov edx, dword [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14006c06c
mov rcx, qword [0x1400e63e8]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, str.AlrCurve
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx ecx, ax
or ecx, r13d
test eax, eax
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
je 0x14006bb39
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.140004b78
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14006bb88
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bb83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006bb83
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.140005d6c
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14006bb88
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bb83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006bb83
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0df8
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret
Function at 0x14006bba8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.14006b15c
mov rcx, qword [0x1400e63f8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x78]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
mov r8, rsi
and qword [rsp + 0x20], 0
mov rdx, rdi
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 0x14006bc6c
cmp byte [0x1400e9d98], 0
je 0x14006bc64
mov rcx, qword [0x1400e63e8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x78]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
mov r8, rsi
and qword [rsp + 0x20], 0
mov rdx, rdi
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 0x14006bc6c
mov eax, dword [rbx]
jmp 0x14006bc70
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14006c1bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400e8708]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rcx
mov ebp, 0x4e
lea rcx, [rsp + 0x50]
mov r8d, ebp
xor edx, edx
mov rsi, r9
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor ebp, ebp
lea rax, [rsp + 0x50]
mov r8, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ecx, eax
test eax, eax
je 0x14006c236
mov word [rsp + 0x50], bp
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x14006c255
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a0800
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret