joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024a0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x140005360]
test rcx, rcx
je 0x1400024c7
mov r8d, 0xc
lea rdx, [0x140005354]
call fcn.1400024f0
lea rcx, [0x140005010]
call qword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
lea rcx, [0x1400035a0]
add rsp, 0x20
pop rbx
jmp sub.ntoskrnl.exe_DbgPrint

Function at 0x1400024f0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x18], 0
mov rsi, r8
mov rbp, rdx
xor r9d, r9d
mov edx, esi
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rbx, rax
test rax, rax
je 0x140002596
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
xor r9d, r9d
mov dword [rsp + 0x28], 0x10
and dword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov edx, 4
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_MmProtectMdlSystemAddress]
test eax, eax
jne 0x140002596
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140002cc0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
xor eax, eax
jmp 0x1400025a5
lea rcx, [0x140002f70]
call sub.ntoskrnl.exe_DbgPrint
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400075a0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r15, rdx
mov r8, rcx
mov edx, 0x104
lea rcx, [rsp + 0x30]
xor r14d, r14d
call fcn.1400042c0
lea r8, [0x1400ab198]
lea rcx, [rsp + 0x30]
call fcn.14000434c
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
lea r13, [0x1400ab0bc]
mov rbx, rax
test rax, rax
jne 0x140007658
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140007758
mov rcx, qword [rbp + 0x178]
mov r8, r13
mov edx, 0xc9
call fcn.140005db8
mov esi, eax
jmp 0x140007739
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.1400062ec
mov esi, eax
test eax, eax
jns 0x140007699
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xcf
call fcn.140005d80
mov rcx, rbx
call fcn.140006008
jmp 0x140007739
lea r8, [0x1400ab1a0]
lea rcx, [rsp + 0x30]
call fcn.14000434c
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400076df
mov rcx, qword [rbp + 0x178]
mov r8, r13
mov edx, 0xd5
call fcn.140005db8
mov esi, eax
jmp 0x14000768c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400062ec
mov esi, eax
test eax, eax
jns 0x140007716
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xd7
call fcn.140005d80
mov rcx, rdi
call fcn.140006008
jmp 0x14000768c
mov rcx, rdi
call fcn.140006008
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140006008
xor esi, esi
test esi, esi
jns 0x140007758
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov r8, r13
mov edx, 0x62
call fcn.140005d80
mov eax, esi
jmp 0x14000775d
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140098550
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14000c228
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]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x14000c3ef
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 3
jne 0x14000c3c9
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchSkipRoot]
nop dword [rax + rax]
test eax, eax
js 0x14000c39e
mov rax, qword [rsp + 0x58]
cmp word [rax], r14w
je 0x14000c39e
or r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rdi + rax*2], r14w
jne 0x14000c2a3
lea rbx, [rax + rax]
test rax, rax
je 0x14000c2c1
cmp word [rbx + rdi - 2], 0x5c
jne 0x14000c2c1
dec rax
mov ecx, 1
lea r9, [0x1400aaf0c]
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]
nop dword [rax + rax]
cmp eax, r15d
jne 0x14000c2f7
lea rsi, [rbx + rdi]
jmp 0x14000c301
movsxd rsi, eax
inc rsi
lea rsi, [rdi + rsi*2]
sub rsi, rdi
sar rsi, 1
je 0x14000c39e
lea rbp, [rsi + 1]
mov eax, 2
mul rbp
lea rdx, [0x1400cf278]
cmovo rax, r15
mov rcx, rax
call fcn.140098b5c
mov rbx, rax
test rax, rax
jne 0x14000c352
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov esi, 0x8007000e
lea edx, [rax + 0x79]
mov r9d, esi
call fcn.140005d80
jmp 0x14000c38a
mov r9, rsi
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.140011948
mov esi, eax
test eax, eax
jns 0x14000c38e
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x7a
call fcn.140005d80
mov rcx, rbx
call fcn.140098b1c
mov eax, esi
jmp 0x14000c3f1
mov rcx, rbx
call fcn.14000c228
mov rcx, rbx
call fcn.140098b1c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c3ef
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
lea edx, [rax + 0x7d]
call fcn.140005db8
jmp 0x14000c3f1
cmp eax, 0xb7
je 0x14000c3ef
test eax, eax
je 0x14000c3ef
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x81
call fcn.14001191c
jmp 0x14000c3f1
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 0x14001c100
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]
nop dword [rax + rax]
lea rbx, [rsi + 0x28]
cmp qword [rbx + 0x18], 8
jb 0x14001c132
mov rbx, qword [rbx]
mov dword [rsp + 0x78], 0xc
call fcn.1400672ac
mov rcx, qword [0x1400cc3a8]
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]
nop dword [rax + rax]
test eax, eax
mov r14d, 0x80070000
mov ecx, r14d
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
jne 0x14001c1f0
cmp byte [0x1400cf3d4], cl
je 0x14001c1e1
mov rcx, qword [0x1400cc398]
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]
nop dword [rax + rax]
test eax, eax
cmovle r14d, eax
shr r14d, 0x1f
xor r14b, 1
jne 0x14001c1f0
movsd xmm0, qword [rsi + 0x1c]
movsd qword [rdi], xmm0
mov eax, dword [rsi + 0x24]
mov dword [rdi + 8], eax
test rbp, rbp
je 0x14001c204
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001c21c
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]
nop dword [rax + rax]
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 0x14001c261
mov rdx, qword [rdx]
mov rcx, qword [0x1400cc3a8]
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]
nop dword [rax + rax]
test eax, eax
mov ebx, 0x80070000
cmovle ebx, eax
shr ebx, 0x1f
xor bl, 1
test rdi, rdi
je 0x14001c2ae
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400647e8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x140064821
mov rax, qword [rcx]
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov word [rax], r15w
mov qword [rbp - 0x40], r15
or rax, 0xffffffffffffffff
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400b0fa0]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14006487d
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
lea edx, [r15 + 0x4a]
call fcn.140005d80
jmp 0x140064907
movdqa xmm0, xmmword [0x1400b6a80]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140006f08
nop
mov r14d, r15d
lea rsi, [0x1400a56e8]
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400648bf
mov r8b, 1
lea rcx, [rbp - 0x28]
call fcn.140074598
mov ebx, eax
jmp 0x1400648c2
mov ebx, r15d
test ebx, ebx
js 0x1400648e4
inc r14d
add rsi, 8
cmp r14d, 3
jb 0x1400648a7
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.140065bf4
mov ebx, r15d
jmp 0x1400648fd
mov rcx, qword [rbp + 0x18]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x4f
call fcn.140005d80
nop
lea rcx, [rbp - 0x28]
call fcn.140006ca4
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14006491c
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140098550
lea r11, [rsp + 0x60]
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 0x14006494c
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 0x140064972
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]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400649ba
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400649bc
xor ebx, ebx
test ebx, ebx
jns 0x1400649c7
mov edx, 0x5a
jmp 0x140064a20
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]
nop dword [rax + rax]
test eax, eax
jne 0x140064a36
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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 0x140064a36
mov edx, 0x5d
mov rcx, qword [rsp + 0x38]
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, ebx
call fcn.140005d80
jmp 0x140064a38
xor ebx, ebx
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140064a51
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
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 0x140064d00
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r14d, ecx
lea rax, [0x1400a02b8]
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 0x140064d68
lea rdx, [0x1400b0f88]
jmp 0x140064e61
mov r8d, r14d
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140064db1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
jmp 0x140064db4
mov ecx, r15d
test ecx, ecx
js 0x140064e24
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]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140064e24
movdqa xmm0, xmmword [0x1400b6a80]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140006f08
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140065bf4
lea rcx, [rsp + 0x38]
call fcn.140006ca4
jmp 0x140064e90
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140064e6b
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
nop dword [rax + rax]
mov rdx, rax
mov rcx, rsi
call fcn.140006f08
jmp 0x140064e90
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.140017bf0
mov rdx, rax
mov rcx, rsi
call fcn.140065bf4
lea rcx, [rsp + 0x38]
call fcn.140006ca4
mov edi, r15d
test rbx, rbx
je 0x140064ea8
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x140064ed6
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140098550
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]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
call fcn.1400145e8
int3
Function at 0x140067bd0
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.1400672ac
mov rcx, qword [0x1400cc3a8]
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]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140067ca0
cmp byte [0x1400cf3d4], 0
je 0x140067c98
mov rcx, qword [0x1400cc398]
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]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140067ca0
mov eax, dword [rbx]
jmp 0x140067ca4
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140068078
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400ce2e8]
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]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
je 0x1400680f8
mov word [rsp + 0x50], bp
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x14006811d
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140098550
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140068148
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 0x1400681ac
cmp word [rdx], r14w
je 0x1400681ac
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]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
jmp 0x1400681b1
mov qword [rsp + 0x78], rcx
test ebx, ebx
jne 0x1400681fa
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]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
cmp rcx, rdi
je 0x1400681fa
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
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 0x14006bd60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword gs:[0x58]
mov r14, rcx
mov ecx, 4
mov edi, edx
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1400cf6f0], eax
jg 0x14006bf47
test edi, edi
mov ebp, 0x3e8
sete bl
test edi, edi
je 0x14006be18
lea rsi, [r14 + 0x5d8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov ebx, dword [r14 + 0x5ac]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x90]
sub rax, qword [r14 + 0x5e0]
cmp rax, qword [0x1400cf6e8]
jle 0x14006be02
sub ebx, dword [r14 + 0x5e8]
cmp ebx, ebp
jbe 0x14006be02
mov bl, 1
jmp 0x14006be04
xor bl, bl
test rsi, rsi
je 0x14006be18
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test bl, bl
je 0x14006bf2d
lea r15, [r14 + 0x5d8]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov r12d, dword [r14 + 0x5ac]
mov rax, qword [rsp + 0xa0]
test edi, edi
je 0x14006be86
mov rcx, rax
sub rcx, qword [r14 + 0x5e0]
cmp rcx, qword [0x1400cf6e8]
jle 0x14006bf19
mov ecx, r12d
sub ecx, dword [r14 + 0x5e8]
cmp ecx, ebp
jbe 0x14006bf19
mov qword [r14 + 0x5e0], rax
mov dword [r14 + 0x5e8], r12d
call fcn.140010b8c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006bf19
cmp dword [rcx], 0
jbe 0x14006bf19
call fcn.140010b8c
mov ebp, dword [r14 + 0x5d0]
mov ecx, dword [r14 + 0x5cc]
mov esi, dword [r14 + 0x5c8]
mov edi, dword [r14 + 0x5c4]
mov ebx, dword [r14 + 0x5c0]
mov r11d, dword [r14 + 0x5bc]
mov r10d, dword [r14 + 0x5b8]
mov eax, dword [r14 + 0x5b4]
mov r9d, dword [r14 + 0x5b0]
mov dword [rsp + 0x58], ebp
lea rdx, [r14 + 0x38]
mov dword [rsp + 0x50], ecx
mov r8d, r12d
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], eax
call fcn.140070bcc
test r15, r15
je 0x14006bf2d
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x1400cf6f0]
call fcn.140098da0
cmp dword [0x1400cf6f0], 0xffffffff
jne 0x14006bd9c
xorps xmm0, xmm0
lea rcx, [0x1400cf6f0]
cvtsi2sd xmm0, qword [0x1400cf300]
mulsd xmm0, qword [0x1400b69e0]
cvttsd2si rax, xmm0
mov qword [0x1400cf6e8], rax
call fcn.140098d38
jmp 0x14006bd9c
Function at 0x14006c730
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword gs:[0x58]
mov rbx, rcx
mov ecx, 4
mov ebp, r8d
mov r14, rdx
mov r9, qword [rax]
mov eax, dword [rcx + r9]
cmp dword [0x1400cf700], eax
jg 0x14006c8ad
test ebp, ebp
sete dil
test ebp, ebp
je 0x14006c7e2
lea rsi, [rbx + 0x348]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov edi, dword [rbx + 0x338]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
sub rax, qword [rbx + 0x350]
cmp rax, qword [0x1400cf6f8]
jle 0x14006c7cb
sub edi, dword [rbx + 0x358]
cmp edi, 0x7d0
jbe 0x14006c7cb
mov dil, 1
jmp 0x14006c7ce
xor dil, dil
test rsi, rsi
je 0x14006c7e2
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test dil, dil
je 0x14006c899
lea rdi, [rbx + 0x348]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov esi, dword [rbx + 0x338]
mov rax, qword [rsp + 0x68]
test ebp, ebp
je 0x14006c844
mov rcx, rax
sub rcx, qword [rbx + 0x350]
cmp rcx, qword [0x1400cf6f8]
jle 0x14006c885
mov ecx, esi
sub ecx, dword [rbx + 0x358]
cmp ecx, 0x7d0
jbe 0x14006c885
mov qword [rbx + 0x350], rax
mov dword [rbx + 0x358], esi
call fcn.140010b8c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006c885
cmp dword [rcx], 0
jbe 0x14006c885
call fcn.140010b8c
mov eax, dword [rbx + 0x340]
mov r9d, dword [rbx + 0x33c]
mov r8d, esi
mov dword [rsp + 0x20], eax
mov rdx, r14
call fcn.1400709a4
test rdi, rdi
je 0x14006c899
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x1400cf700]
call fcn.140098da0
cmp dword [0x1400cf700], 0xffffffff
jne 0x14006c76c
xorps xmm0, xmm0
lea rcx, [0x1400cf700]
cvtsi2sd xmm0, qword [0x1400cf300]
mulsd xmm0, qword [0x1400b69e0]
cvttsd2si rax, xmm0
mov qword [0x1400cf6f8], rax
call fcn.140098d38
jmp 0x14006c76c