joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400131bc
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 [0x1400e7708]
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.1400133e0
mov ebx, eax
test eax, eax
jns 0x140013234
mov rcx, qword [rsp + 0xc8]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xf3
call fcn.140003b74
mov eax, ebx
jmp 0x1400133b7
cmp byte [rsp + 0x50], 0
je 0x140013361
mov edx, esi
mov rcx, r14
call fcn.140012844
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 0x1400132d3
mov rcx, qword [rsp + 0xc8]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xfd
call fcn.14000f2ec
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400132cc
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400133b7
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.140014898
cmp qword [rax + 0x18], 8
jb 0x1400132e9
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 0x14001334f
mov rcx, qword [rsp + 0xc8]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xfe
call fcn.14000f2ec
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001334b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400133b7
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400133ab
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x1400133ab
test edi, edi
je 0x14001337f
lea eax, [rdi - 1]
lea rbx, str.spatialPerception
lea rcx, str.Unknown
cmp eax, 1
cmova rbx, rcx
jmp 0x140013386
lea rbx, str.perceptionSystem
call fcn.14000df44
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400133ab
cmp dword [rcx], 0
jbe 0x1400133ab
call fcn.14000df44
mov r9d, esi
mov r8, rbx
xor edx, edx
call fcn.140014628
mov dword [r12], r15d
xor eax, eax
jmp 0x1400133b7
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a01e0
add rsp, 0x98
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140018490
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 0x1400184bc
mov rbx, qword [rbx]
mov dword [rsp + 0x78], 0xc
call fcn.14006ae9c
mov rcx, qword [0x1400e53f8]
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 0x14001856e
cmp byte [0x1400e8d94], cl
je 0x14001855f
mov rcx, qword [0x1400e53e8]
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 0x14001856e
movsd xmm0, qword [rsi + 0x1c]
movsd qword [rdi], xmm0
mov eax, dword [rsi + 0x24]
mov dword [rdi + 8], eax
test rbp, rbp
je 0x14001857c
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 0x140018590
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 0x1400185cf
mov rdx, qword [rdx]
mov rcx, qword [0x1400e53f8]
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 0x140018610
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 0x140042818
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.140054b54
test al, al
jne 0x140042938
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov esi, eax
call fcn.14000df44
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140042887
cmp dword [rcx], 0
jbe 0x140042887
call fcn.14000df44
mov r8d, esi
xor edx, edx
call fcn.14004cfc0
and dword [rbx + 0x340], 0
and dword [rbx + 0x218], 0
mov rcx, qword [rbx + 0x88]
call fcn.1400543d8
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 0x1400428c0
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 0x140042938
xor r9d, r9d
cmp qword [rbx + 0x60], r9
jne 0x14004292e
and qword [rsp + 0x28], r9
and dword [rsp + 0x20], r9d
mov r9, rbx
lea r8, [0x140082c10]
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 0x140042921
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 0x140042924
xor r9d, r9d
test r9d, r9d
js 0x14004292e
xor eax, eax
xchg byte [rbx + 0x50], al
mov rcx, qword [rsp + 0x48]
test r9d, r9d
js 0x140042956
test rdi, rdi
je 0x140042946
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.14001c3b8
int3
Function at 0x14004dfb8
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 [0x1400e7708]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
lea rcx, [rsp + 0x40]
call fcn.14001c410
nop
call fcn.1400120e0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001c3a0
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 [case.0x1400a0b76.0]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
call fcn.14000d460
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.14001c310
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004e164
mov dword [rsp + 0x4c], 0x104
lea rcx, [rsp + 0x58]
call fcn.140018984
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 0x14004e0b4
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
jmp 0x14004e0ca
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 0x14004e0fb
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14004e1c0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004e0fb
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004e164
lea rcx, [rsp + 0x58]
call fcn.140018984
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 0x14004e132
mov dword [rsp + 0x50], 1
jmp 0x14004e13a
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.14004e230
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14004e180
lea rcx, [rsp + 0x40]
call fcn.14004d81c
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.14001c34c
nop
lea rcx, [rsp + 0x40]
call fcn.14001c3ec
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400a01e0
add rsp, 0x4c8
ret
Function at 0x1400686d0
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 [0x1400e7708]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x140068711
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, [0x1400baa20]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
jns 0x140068767
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
lea edx, [r15 + 0x4a]
call fcn.140003b74
jmp 0x1400687f1
movdqa xmm0, xmmword [0x1400c09d0]
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, [0x1400aeb90]
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400687a9
mov r8b, 1
lea rcx, [rbp - 0x30]
call fcn.140078118
mov ebx, eax
jmp 0x1400687ac
mov ebx, r15d
test ebx, ebx
js 0x1400687ce
inc r14d
add rsi, 8
cmp r14d, 3
jb 0x140068791
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140069aa4
mov ebx, r15d
jmp 0x1400687e7
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 0x140068800
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.1400a01e0
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 0x140068830
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 0x140068856
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 0x140068892
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 0x140068894
xor ebx, ebx
test ebx, ebx
jns 0x14006889f
mov edx, 0x5a
jmp 0x1400688ec
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 0x140068902
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 0x140068902
mov edx, 0x5d
mov rcx, qword [rsp + 0x38]
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, ebx
call fcn.140003b74
jmp 0x140068904
xor ebx, ebx
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140068917
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 0x140068ba8
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 [0x1400e7708]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r14d, ecx
lea rax, [0x1400a93d8]
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 0x140068c19
lea rdx, [0x1400ba9c8]
jmp 0x140068cf4
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 0x140068c56
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 0x140068c59
mov ecx, r15d
test ecx, ecx
js 0x140068cc3
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 0x140068cc3
movdqa xmm0, xmmword [0x1400c09d0]
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.140069aa4
lea rcx, [rsp + 0x40]
call fcn.140004948
jmp 0x140068d23
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 0x140068cfe
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 0x140068d23
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140014898
mov rdx, rax
mov rcx, rsi
call fcn.140069aa4
lea rcx, [rsp + 0x40]
call fcn.140004948
mov edi, r15d
test rbx, rbx
je 0x140068d35
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140068d62
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a01e0
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.1400120bc
int3
Function at 0x14006b6e0
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.14006ae9c
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 [0x1400e53f8]
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 0x14006b776
mov edx, dword [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14006bdac
mov rcx, qword [0x1400e53f8]
jmp 0x14006b7dc
cmp byte [0x1400e8d94], sil
je 0x14006b879
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 [0x1400e53e8]
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 0x14006b879
mov edx, dword [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14006bdac
mov rcx, qword [0x1400e53e8]
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 0x14006b879
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 0x14006b8c8
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b8c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b8c3
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 0x14006b8c8
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b8c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b8c3
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a07d8
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 0x14006b8e8
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.14006ae9c
mov rcx, qword [0x1400e53f8]
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 0x14006b9ac
cmp byte [0x1400e8d94], 0
je 0x14006b9a4
mov rcx, qword [0x1400e53e8]
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 0x14006b9ac
mov eax, dword [rbx]
jmp 0x14006b9b0
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14006befc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400e7708]
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 0x14006bf76
mov word [rsp + 0x50], bp
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x14006bf95
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.1400a01e0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006bfc0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor r14d, r14d
mov esi, r9d
mov rbp, r8
mov rdi, rcx
mov ebx, r14d
test rdx, rdx
je 0x14006c01e
cmp word [rdx], r14w
je 0x14006c01e
mov qword [r11 - 0x28], r14
lea rax, [r11 + 0x10]
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov qword [r11 - 0x38], r14
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov dword [r11 - 0x48], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
jmp 0x14006c023
mov qword [rsp + 0x78], rcx
test ebx, ebx
jne 0x14006c060
mov eax, dword [rsp + 0x98]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x90]
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 + 0x78]
mov ebx, eax
cmp rcx, rdi
je 0x14006c060
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140078118
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
cmp word [rdx], di
je 0x1400781e8
mov rcx, qword [rcx + 0x10]
lea r8d, [rdi + 0x5c]
test rcx, rcx
je 0x14007816e
lea rdx, [rcx - 1]
cmp rcx, rdx
jbe 0x1400781ff
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140078167
mov rax, qword [rbx]
cmp word [rax + rdx*2], r8w
je 0x1400781a4
cmp word [rsi], r8w
je 0x1400781a4
mov rax, qword [rbx + 0x18]
sub rax, rcx
cmp rax, 1
jb 0x14007819c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140078196
mov rax, qword [rbx]
mov dword [rax + rcx*2], r8d
jmp 0x1400781a4
mov rcx, rbx
call fcn.140078454
mov rdx, rsi
mov rcx, rbx
call fcn.14000bb84
test bpl, bpl
je 0x1400781e8
cmp qword [rbx + 0x18], 8
jb 0x1400781be
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x1400781e8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
je 0x1400781e8
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.14000d3dc
int3