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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, qword [rsp + 0x2b8]
mov rbp, r8
mov rbx, qword [rsp + 0x2c0]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov r14d, r9d
mov rsi, rdx
call fcn.14000c630
test al, al
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
cmove rdx, rsi
mov r9d, r14d
and qword [rsp + 0x20], 0
mov r8, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002c960
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000b790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
movzx ebx, dl
mov dword [rsp + 0x30], 0
lea rdx, [r8 + 0x10]
mov rdi, r8
movzx r11d, cl
mov r8d, 8
lea rcx, [rsp + 0x30]
call fcn.14000b854
mov r8d, dword [rsp + 0x30]
add r11b, 2
cmp r11b, bl
jae 0x14000b82f
mov qword [rsp + 0x38], rsi
movzx esi, r11b
shl rsi, 4
add rsi, rdi
sub bl, r11b
movzx r11d, bl
nop word [rax + rax]
mov r9d, dword [rsi + 8]
xor eax, eax
mov r10, qword [rsi]
test r9, r9
je 0x14000b820
nop
movzx ecx, byte [rax + r10]
inc rax
add ecx, r8d
imul edx, ecx, 0x401
mov r8d, edx
shr r8d, 6
xor r8d, edx
cmp rax, r9
jb 0x14000b800
add rsi, 0x10
sub r11, 1
jne 0x14000b7f0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
add rsp, 0x20
pop rdi
ret

Function at 0x14000b854
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x14000b87d
movzx eax, byte [r10 + rdx]
inc r10
add eax, dword [rcx]
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor eax, r9d
mov dword [rcx], eax
cmp r10, r8
jb 0x14000b85c
ret
Function at 0x14000d214
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rdi, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rcx, qword [rbx + 0xb0]
mov dword [rsp + 0x50], 4
test rcx, rcx
je 0x14000d29f
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x30]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d293
cmp dword [rsp + 0x68], 4
jne 0x14000d293
mov eax, dword [rsp + 0x30]
mov dword [rdi], eax
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x14000d283
mov ecx, 6
jmp 0x14000d295
Function at 0x140012698
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rcx
mov eax, dword [rcx + 0x1d8]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x1dc]
mov dword [rsp + 0x2c], eax
mov rax, qword [rcx + 0x1e0]
mov qword [rsp + 0x30], rax
mov eax, dword [rcx + 0x1c8]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x1cc]
mov dword [rsp + 0x3c], eax
mov rax, qword [rcx + 0x1d0]
mov qword [rsp + 0x40], rax
mov ebx, 0x7c
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1400128ec
cmp eax, 0xffffffff
jne 0x1400128dd
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.1400128ec
cmp eax, 0xffffffff
jne 0x1400128dd
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x10]
call fcn.14000c8a0
nop
lea ecx, [rbx - 0x14]
mov rax, qword [0x14008d248]
call qword [case.0x140002c98.0]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14003846a
mov qword [rsp + 0x28], rax
mov rdx, qword [rbp - 8]
mov rcx, rax
call fcn.140012a10
nop
mov eax, dword [rbx + 4]
lea rcx, [rbx + 0x30]
and qword [rcx + 8], 0
and dword [rcx + 0x10], 0
and dword [rcx + 0x14], 0
add rax, 0x20
shr rax, 5
mov dword [rcx], eax
call fcn.140012950
nop
mov eax, dword [rbx + 4]
mov dword [rbx + 0x4c], eax
and qword [rbx + 0x50], 0
and qword [rbx + 0x58], 0
mov dword [rbx + 0x60], 0xbb8
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x64], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbx + 0x64], eax
mov rcx, rbx
call fcn.140012db0
nop
mov qword [rdi], rbx
mov edx, 0x2a
lea rcx, [rsp + 0x38]
call fcn.1400128ec
cmp eax, 0xffffffff
je 0x140038471
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000c8a0
nop
mov edx, 0x5c
lea r8d, [rdx - 0x2d]
lea rcx, [rsp + 0x50]
call fcn.140014730
mov ecx, 0x68
mov rax, qword [0x14008d248]
call qword [case.0x140002c98.0]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400128e1
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.140012a10
nop
mov eax, dword [rbx + 4]
lea rcx, [rbx + 0x30]
and qword [rcx + 8], 0
and dword [rcx + 0x10], 0
and dword [rcx + 0x14], 0
add rax, 0x20
shr rax, 5
mov dword [rcx], eax
call fcn.140012950
nop
mov eax, dword [rbx + 4]
mov dword [rbx + 0x4c], eax
and qword [rbx + 0x50], 0
and qword [rbx + 0x58], 0
mov dword [rbx + 0x60], 0xbb8
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x64], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbx + 0x64], eax
mov rcx, rbx
call fcn.140012db0
nop
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0x50]
call fcn.14001221c
nop
lea rcx, [rbp - 0x10]
call fcn.14001221c
mov eax, 1
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14002c960
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
xor eax, eax
jmp 0x1400128b9
xor ebx, ebx
jmp 0x14001289c
xor ebx, ebx
jmp 0x1400127d4
mov edx, 0x3f
lea rcx, [rsp + 0x38]
call fcn.1400128ec
cmp eax, 0xffffffff
je 0x1400128ab
jmp 0x1400127ef
Function at 0x140019ba8
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rbp, rcx
and qword [rdx], 0
lea rdx, [0x140095c74]
mov ecx, 0x208
call fcn.14002ce0c
mov rbx, rax
lea r9, [rsp + 0x48]
mov r8d, 0x104
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x14003ad82
xor edi, edi
mov rax, rbx
xor ebx, ebx
mov qword [rsi], rax
mov rcx, rbx
mov rax, qword [0x14008d258]
call qword [case.0x140002c98.0]
nop
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140019904
mov edi, eax
cmp eax, 0x800700ea
jne 0x14003ae01
mov ecx, dword [rsp + 0x48]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x140095c74]
mov rcx, rax
call fcn.14002ce0c
mov rdi, rax
mov rcx, rbx
mov rax, qword [0x14008d258]
call qword [case.0x140002c98.0]
nop
mov rbx, rdi
test rdi, rdi
jne 0x14003addc
mov edi, 0x8007000e
jmp 0x140019c0b
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x140019c01
call fcn.140019904
mov edi, eax
test edi, edi
js 0x140019c0b
jmp 0x140019c03
Function at 0x14001a2e8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
mov r14, r8
mov qword [r8], r15
mov ebx, 0x104
mov r8, rcx
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001705c
mov ecx, ebx
lea rax, [rsp + 0x30]
cmp word [rax], r15w
je 0x14001a34f
add rax, 2
sub rcx, 1
jne 0x14001a33f
test rcx, rcx
je 0x14003b052
mov rax, rbx
sub rax, rcx
test rcx, rcx
je 0x14001a3b8
mov rdx, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x14001a3a9
lea r8, [rax + 0x7ffffefa]
add r8, rdx
lea rax, [0x140094898]
sub rax, rcx
test r8, r8
je 0x14001a3a9
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x14001a3a9
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x14001a388
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
je 0x14003b05a
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rax
mov dword [rsp + 0x20], r15d
call fcn.14001a508
mov esi, eax
test eax, eax
js 0x14003b08f
mov rcx, rbx
lea rax, [rsp + 0x30]
cmp word [rax], r15w
je 0x14001a40f
add rax, 2
sub rcx, 1
jne 0x14001a3ff
test rcx, rcx
je 0x14003b0b0
mov rax, rbx
sub rax, rcx
test rcx, rcx
je 0x14001a473
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rax*2]
sub rbx, rax
je 0x14001a464
lea rcx, [rax + 0x7ffffefa]
add rcx, rbx
lea r8, [0x140094890]
sub r8, rdx
test rcx, rcx
je 0x14001a464
movzx eax, word [r8 + rdx]
test ax, ax
je 0x14001a464
mov word [rdx], ax
dec rcx
add rdx, 2
sub rbx, 1
jne 0x14001a445
test rbx, rbx
lea rax, [rdx - 2]
cmovne rax, rdx
mov word [rax], r15w
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
je 0x14003b070
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14001a508
mov esi, eax
test eax, eax
js 0x14003b0b8
mov rcx, rbx
call fcn.140025ffc
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rax, rcx
mov qword [r14], rax
mov esi, r15d
test rdi, rdi
je 0x14001a4d4
mov rcx, rdi
call fcn.140025ffc
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14002c960
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, r15
jmp 0x14001a35e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x14001a4c4
mov edx, 0xc0
jmp 0x14003b075
mov edx, 0xcc
mov rcx, qword [rbp + 0x168]
lea r8, [0x140096e30]
call fcn.1400432d4
mov esi, eax
jmp 0x14001a4c7
mov rcx, qword [rbp + 0x168]
lea r8, [0x140096e30]
mov r9d, eax
mov edx, 0xc6
call fcn.1400432f4
nop
jmp 0x14001a4c7
mov rax, r15
jmp 0x14001a41e
mov rcx, qword [rbp + 0x168]
lea r8, [0x140096e30]
mov r9d, eax
mov edx, 0xce
call fcn.1400432f4
mov rcx, rbx
call fcn.140025ffc
nop
jmp 0x14001a4c7
Function at 0x14001c9c4
Capabilities:
Create directory

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x250
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x40], rdx
xor r15d, r15d
test r8, r8
je 0x14001ca04
mov byte [r8], r15b
mov edx, 2
mov rcx, qword [rcx + 8]
call fcn.14001fafc
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14001e21c
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.14001cf44
nop
mov ebx, r15d
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x108]
call fcn.14001caa0
test al, al
je 0x14003bbdc
mov rcx, qword [rsp + 0x108]
call fcn.14001caa0
test al, al
je 0x14003bcca
lea rcx, [rsp + 0x100]
call fcn.14001221c
nop
mov rcx, r14
call fcn.14001221c
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002c960
add rsp, 0x250
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathSkipRootW]
mov rdi, rax
mov r9, rdi
sub r9, qword [rsp + 0x108]
sar r9, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.14000b978
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1a0]
call fcn.14000c8a0
mov rcx, qword [rsp + 0x1a8]
call fcn.14001caa0
test al, al
jne 0x14003bc99
xor edx, edx
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x14003bc99
test ebx, ebx
js 0x14003bc99
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14003bc60
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x278]
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x28], rax
lea rax, str.PathComponent:__ls
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_searchcommonpkmutillindexmove.cxx
mov edx, 0x187
call fcn.14004a784
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindNextComponentW]
mov rdi, rax
lea rcx, [rsp + 0x1a0]
call fcn.14001221c
test rdi, rdi
je 0x14001ca4c
cmp word [rdi], r15w
jne 0x14003bbed
jmp 0x14001ca4c
test rsi, rsi
je 0x14003bcd2
mov byte [rsi], 1
mov rcx, qword [rsp + 0x108]
call fcn.14005507c
nop
jmp 0x14001ca61

Function at 0x14001caa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathIsUNCServerW]
test eax, eax
jne 0x14001cae1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathIsUNCServerShareW]
test eax, eax
jne 0x14001cae1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001cae1
test al, 0x10
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ccb8
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x778]
sub rsp, 0x870
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rdi, rcx
xor esi, esi
test rcx, rcx
je 0x14001cde7
cmp word [rcx], si
je 0x14001cde7
xor r8d, r8d
xor edx, edx
lea rcx, str.PATH
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdi + rcx*2], si
jne 0x14001cd1d
lea ebx, [rcx + rax]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x401
mov word [rsp + 0x58], si
lea rax, [0x14008b5d8]
mov qword [rsp + 0x40], rax
lea edx, [rbx + 0x104]
lea rcx, [rsp + 0x40]
call fcn.14000a6f8
mov rdx, rax
lea r8d, [rbx + 0x104]
lea rcx, str.PATH
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x40]
call fcn.14000a6c0
mov rax, qword [rsp + 0x40]
or ebx, 0xffffffff
mov r9d, ebx
mov r8d, dword [rsp + 0x54]
lea rdx, [0x140094ac4]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
mov rax, qword [rsp + 0x40]
mov r9d, ebx
mov r8d, dword [rsp + 0x54]
mov rdx, rdi
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
mov rdx, qword [rsp + 0x48]
lea rcx, str.PATH
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetEnvironmentVariableW]
test eax, eax
je 0x14003bd3c
lea rcx, [rsp + 0x40]
call fcn.14001e648
xor eax, eax
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14002c960
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rbp + 0x778]
mov r9d, 0x8000ffff
lea r8, str.onecoreuap_base_appmodel_search_searchcommonpkmutill_ssfsutil.cxx
mov edx, 0x8f
call fcn.140043bb0
int3
Function at 0x14001e020
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x4f8]
sub rsp, 0x5e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
and dword [rsp + 0x30], 0
call fcn.14001e21c
mov dword [rsp + 0x30], 1
mov rdx, qword [rdi + 8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathCanonicalizeW]
or esi, 0xffffffff
test eax, eax
je 0x14001e0c3
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.14001e294
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
nop
lea rcx, [rsp + 0x70]
call fcn.14001221c
mov r8d, 0x104
lea rdx, [rbp + 0x2c0]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14001e0fb
mov rax, qword [rbx]
mov r9d, esi
xor r8d, r8d
lea rdx, [rbp + 0x2c0]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14001e21c
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14001dfb4
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
nop
lea rcx, [rbp + 0x10]
call fcn.14001221c
mov eax, dword [rbx + 0x14]
mov r8d, SafeArrayGetDim
cmp eax, r8d
jb 0x14001e16a
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001e264
lea rdx, str.SearchData
mov rcx, rax
call fcn.140011cb0
test eax, eax
je 0x14001e1c6
mov eax, dword [rbx + 0x14]
mov r8d, 6
cmp eax, r8d
jb 0x14001e199
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001e264
lea rdx, [0x140094840]
mov rcx, rax
call fcn.140011cb0
test eax, eax
je 0x14003c3a6
mov rcx, rdi
call fcn.14001221c
mov rax, rbx
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x610]
add rsp, 0x5e0
pop rdi
pop rsi
pop rbp
ret
mov edx, dword [rbx + 0x14]
add edx, 0xfffffff5
mov rcx, rbx
call fcn.14000d1e4
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14001e21c
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001dfb4
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
nop
lea rcx, [rsp + 0x70]
call fcn.14001221c
jmp 0x14001e199
mov edx, dword [rbx + 0x14]
add edx, 0xfffffffa
mov rcx, rbx
call fcn.14000d1e4
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14001e21c
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001dfb4
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
nop
jmp 0x14001e209
Function at 0x14001e68c
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
cmp dword [0x1400c7810], 0
mov esi, r9d
movzx ebp, r8w
mov edi, edx
mov rbx, rcx
jne 0x14001e70b
call fcn.14001e794
test al, al
jne 0x14001e70b
mov rcx, rbx
call fcn.14001e730
test eax, eax
je 0x14001e725
call fcn.14002ec88
test al, al
je 0x14001e70b
and qword [rsp + 0x40], 0
mov r9d, edi
mov rax, qword [rsp + 0x80]
movzx edx, bp
movzx r8d, word [rbx + 0x68]
mov rcx, qword [rbx + 0x60]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov word [rsp + 0x28], si
and qword [rsp + 0x20], 0
call qword [sym.imp.ext_ms_win_advapi32_eventlog_l1_1_0.dll_ReportEventW]
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor eax, eax
jmp 0x14001e710

Function at 0x14001e968
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r9d, dword [rcx + 0x14]
lea r8, str._08x
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x38]
lea edx, [rbx + 0x10]
call fcn.14001ee04
test eax, eax
js 0x14001ea03
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 2]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindows_SearchTracingEventThrottleState
call fcn.14000b3e8
test eax, eax
jne 0x14001ea03
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 3]
mov dword [rsp + 0x28], SafeArrayPutElement
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov edx, 1
test eax, eax
movzx ebx, bl
cmove ebx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14001eccc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r9d, dword [rcx + 0x14]
lea r8, str._08x
mov rdi, rdx
lea rcx, [rsp + 0x38]
xor ebx, ebx
lea edx, [rbx + 0x10]
call fcn.14001ee04
test eax, eax
js 0x14001ed4f
lea rax, [rsp + 0x30]
mov rdx, rdi
lea r9d, [rbx + 2]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call fcn.14000b3e8
test eax, eax
jne 0x14001ed4f
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
mov edx, 1
test eax, eax
movzx ebx, bl
cmove ebx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x14001f100
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x14001f12d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
je 0x14003ca8e
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
add rsp, 0x28
ret
mov ecx, 6
jmp 0x14001f120
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, 1
jmp 0x14001f128