joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004a890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea rdx, [0x140046fe0]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x14004aa1f
lea rdi, [rsp + 0x38]
mov rcx, qword [rdi]
lea r8, [0x1401c61a8]
mov edx, 0x86
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov qword [rdi], 0
lea rdx, [0x140046fe0]
mov ecx, 6
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x14004aa22
lea rdi, [rsp + 0x38]
mov rcx, qword [rdi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov qword [rdi], 0
lea rdx, [0x140046fe0]
mov ecx, 6
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x14004aa25
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [0x1401c0dc8]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 1
mov ecx, eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rcx
test r14, r14
jne 0x14004a992
test eax, eax
jne 0x14004aa54
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14008b910
movzx eax, byte [rsp + 0x4f]
test al, al
js 0x14004a9ad
and eax, 0x7f
jmp 0x14004a9b7
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14004aa28
test rdi, rdi
jne 0x14004a9d4
test rax, rax
jne 0x14004aa54
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov rcx, rsi
mov r9d, 1
call fcn.1400809c0
cmp byte [rsp + 0x4f], 0
jns 0x14004aa05
mov rcx, qword [rsp + 0x38]
call fcn.14012733c
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
int3
int3
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140163bd0
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140163bd0
int3
Function at 0x14004ad80
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
movaps xmmword [rsp + 0x150], xmm6
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x148], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x140], 0
movabs rax, 0x4000000070
mov qword [rsp + 0xd8], rax
lea rax, str.runas
mov qword [rsp + 0xe8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], r15
movaps xmm6, xmmword [0x1401bc9e0]
movaps xmmword [rsp + 0xc0], xmm6
lea r14, [rsp + 0x60]
mov rcx, r8
mov rdx, r14
call fcn.140098030
cmp byte [r14 + 0x17], 0
js 0x14004ae81
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xc0], xmm0
lea rcx, [rsp + 0x60]
call fcn.1400ed100
cmp byte [rsp + 0xd7], 0
js 0x14004ae9a
lea rax, [rsp + 0xc0]
jmp 0x14004aea2
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0xc0]
call fcn.1400798b0
jmp 0x14004ae63
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xf0], rax
lea r14, [rsp + 0xa0]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
mov rcx, rbx
mov rdx, r14
call fcn.1400994c0
cmp byte [r14 + 0x17], 0
jns 0x14004aed4
mov r14, qword [rsp + 0xa0]
lea rbx, [rsp + 0xd8]
mov qword [rbx + 0x20], r14
mov dword [rbx + 0x30], 5
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.RunElevatedProcess
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x17d
call fcn.1400ec540
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400df840
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14004afcf
mov rdx, qword [rsp + 0x140]
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.140081510
mov rax, qword [rdi]
mov rax, qword [rax + 0xc0]
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call qword [0x14021d008]
lea rcx, [rsp + 0x60]
call fcn.1400df8c0
cmp byte [rsp + 0xb7], 0
jns 0x14004af8e
mov rcx, qword [rsp + 0xa0]
call fcn.14012733c
cmp byte [rsp + 0xd7], 0
jns 0x14004afa5
mov rcx, qword [rsp + 0xc0]
call fcn.14012733c
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rbx, [rsp + 0x20]
mov rcx, rbx
xor edx, edx
jmp 0x14004af4f
Function at 0x14004b040
Capabilities:
Check mutex on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov ecx, SafeArrayCopy
call fcn.140127300
mov rdi, rax
lea rax, fcn.14004c2a0
mov qword [rdi], rax
mov byte [rdi + 0x10], 0
movaps xmm6, xmmword [0x1401bc9e0]
movaps xmmword [rsp + 0x90], xmm6
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0x90], SafeArrayCopy
mov qword [rsp + 0x98], 0
movzx eax, bpl
mov dword [rsp + 0xa0], eax
cmp byte [rbx + 0x17], 0
jns 0x14004b0db
mov rbx, qword [rbx]
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 8], rax
test rax, rax
je 0x14004b200
mov rbx, rax
mov r14, qword [rsp + 0x120]
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x80], r15
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
xor eax, eax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x80], al
test r14, r14
je 0x14004b1bc
lea rdx, str.NamedMutexImpl
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea rcx, [rsp + 0x20]
mov r9d, 0xd7
call fcn.1400ec540
cmp byte [rsp + 0x80], 0
je 0x14004b172
lea r15, [rsp + 0x40]
mov rcx, r15
call fcn.1400df8c0
mov byte [r15 + 0x40], 0
movabs r12, 0x7fffffffffffffff
lea r15, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, r15
xor r8d, r8d
call fcn.1400df840
mov byte [r15 + 0x40], 1
mov edx, 0xffffffff
cmp r14, r12
je 0x14004b1da
lea rax, [r12 + r14]
add rax, 2
cmp rax, 2
jae 0x14004b1bc
lea rdx, [r12 + 1]
test r14, r14
cmovns rdx, r12
jmp 0x14004b1da
movabs rcx, 0x20c49ba5e353f7cf
mov rax, r14
imul rcx
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
sete byte [rdi + 0x10]
cmp byte [rsp + 0x80], 0
je 0x14004b200
lea rcx, [rsp + 0x40]
call fcn.1400df8c0
mov qword [rsi], rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14004b7f0
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x14007d3e0
mov rdx, qword [rdx]
jmp 0x14007d3e0
sub rsp, 0x38
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x14004bae0
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea r14, [rsp + 0x64]
mov dword [r14], 0x104
lea rbx, [rcx + 0x30]
mov edx, 0x104
mov rcx, rbx
call fcn.14007ff20
mov edx, dword [rdi + 0x78]
mov rcx, qword [rdi + 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rax
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [rdi + 0x78]
test eax, eax
je 0x14004bb81
add rdi, 0x60
mov rcx, rdi
call fcn.1401802a0
mov qword [rsi], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, [rdi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [r14], xmm0
lea r8, [0x1401c63b2]
mov rcx, r14
call fcn.140026ab0
movzx eax, byte [r14 + 0x17]
mov rcx, r14
test al, al
jns 0x14004bbc8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov word [rcx + rax*2], 0
movzx r8d, byte [rdi + 0x47]
test r8b, r8b
js 0x14004bbde
and r8d, 0x7f
jmp 0x14004bbe6
mov r8, qword [rdi + 0x38]
mov rbx, qword [rdi + 0x30]
mov rcx, r14
mov rdx, rbx
call fcn.140079ca0
cmp byte [rsp + 0x57], 0
jns 0x14004bbfd
mov r14, qword [rsp + 0x40]
mov ecx, 0x50
call fcn.140127300
mov rbx, rax
mov ebp, dword [rdi + 0x28]
lea r15, [rsp + 0x68]
mov rcx, r15
mov rdx, r14
call fcn.140162920
mov rdi, qword [rdi + 8]
lea rax, fcn.14004b730
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], ebp
lea r14, [rbx + 0x18]
mov rcx, r14
call fcn.14007d210
mov rcx, rbx
add rcx, 0x30
cmp byte [r15 + 0x17], 0
js 0x14004bc9f
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rcx], xmm0
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, ebp
call fcn.14007d310
mov dword [rbx + 0x48], eax
cmp byte [rsp + 0x7f], 0
jns 0x14004bc82
mov rcx, qword [rsp + 0x68]
call fcn.14012733c
mov qword [rsi], rbx
cmp byte [rsp + 0x57], 0
jns 0x14004bb5e
mov rcx, qword [rsp + 0x40]
call fcn.14012733c
jmp 0x14004bb5e
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
call fcn.1400798b0
cmp byte [rsp + 0x7f], 0
js 0x14004bcbc
lea r15, [rsp + 0x68]
jmp 0x14004bc5d
mov r15, qword [rsp + 0x68]
jmp 0x14004bc5d
Function at 0x140061b90
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rax, [0x1401bf058]
mov qword [rcx], rax
cmp byte [rcx + 0x38], 0
je 0x140061c33
lea rcx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
mov edx, VarR8FromUI1
call fcn.1400ec2f0
test eax, eax
jg 0x140061cf7
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.140083ef0
test al, al
jne 0x140061bf2
mov rcx, rdi
call fcn.140182d40
cmp byte [rsi + 0x3a], 0
je 0x140061ca3
lea rcx, [rsi + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400ed3d0
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x140061c8d
cmp qword [rsi + 0x40], 0
je 0x140061ca3
lea rdi, [rsi + 0x40]
mov rcx, qword [0x1401fe978]
test rcx, rcx
jne 0x140061c59
call fcn.1400449c0
mov rcx, rax
mov qword [0x1401fe978], rax
mov rdx, rdi
call fcn.140045980
jmp 0x140061ca3
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140061c99
mov rcx, rdi
mov rdx, rbx
call fcn.1400ed3d0
mov rcx, rdi
mov rdx, rbx
call fcn.140093f80
mov rcx, rbx
call fcn.1400ed100
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140061c68
jmp 0x140061c63
lea rcx, [rsp + 0x40]
call fcn.1400ed100
mov rdi, qword [rsi + 0x40]
mov qword [rsi + 0x40], 0
test rdi, rdi
je 0x140061cc4
mov rcx, rdi
call fcn.1400469e0
mov rcx, rdi
call fcn.14012733c
lea rcx, [rsi + 0x20]
call fcn.1400ed100
add rsi, 8
mov rcx, rsi
call fcn.1400ed100
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140127eb0
nop
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x25
mov r9d, 0xffffffff
call fcn.140091c10
lea rcx, [rsp + 0x50]
lea rdx, str.Actual_removal_of
mov r8d, shutdown
call fcn.140162cb0
lea rdx, [rsi + 0x20]
mov rcx, rax
call fcn.14008b9c0
mov rcx, rdi
call fcn.140092260
jmp 0x140061bda
Function at 0x140064400
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x1401bf098]
mov qword [rcx], rax
cmp byte [rcx + 0x40], 0
je 0x1400644a2
lea rcx, [rsi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [rdi], xmm0
mov rdx, rdi
call fcn.1400ed3d0
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rbx, [rsp + 0x28]
jmp 0x14006448c
mov rcx, qword [rsp + 0x40]
call r14
test eax, eax
je 0x140064498
mov rcx, rdi
mov rdx, rbx
call fcn.1400ed3d0
mov rcx, rdi
mov rdx, rbx
call fcn.140093f80
mov rcx, rbx
call fcn.1400ed100
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140064467
jmp 0x140064462
lea rcx, [rsp + 0x40]
call fcn.1400ed100
lea rcx, [rsi + 0x28]
call fcn.1400ed100
lea rcx, [rsi + 0x10]
call fcn.1400ed100
mov rcx, qword [rsi + 8]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1401ed748]
jne 0x1400644d3
call fcn.1400f1030
mov qword [rsi + 8], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140127eb0
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007b680
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402005d8]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007b6e0
lea rsi, [0x1402005d0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402005d8]
call fcn.140127460
cmp dword [0x1402005d8], 0xffffffff
jne 0x14007b6bc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14012ae40
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140127300
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140200620]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007b7a0
lea r8, [0x1402005f0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14007b8a0
mov qword [0x1402005d0], rsi
lea rcx, [0x1402005d8]
call fcn.1401274f8
jmp 0x14007b6bc
lea rcx, [0x140200620]
call fcn.140127460
cmp dword [0x140200620], 0xffffffff
jne 0x14007b771
xorps xmm0, xmm0
movups xmmword [0x140200610], xmm0
movups xmmword [0x140200600], xmm0
movups xmmword [0x1402005f0], xmm0
lea rcx, [0x1402005f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140200620]
call fcn.1401274f8
jmp 0x14007b771

Function at 0x14007b7f0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140200620]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007b82b
movzx eax, word [0x1402005f0]
cmp eax, 9
jne 0x14007b873
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140200620]
call fcn.140127460
cmp dword [0x140200620], 0xffffffff
jne 0x14007b815
xorps xmm0, xmm0
movups xmmword [0x140200610], xmm0
movups xmmword [0x140200600], xmm0
movups xmmword [0x1402005f0], xmm0
lea rcx, [0x1402005f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140200620]
call fcn.1401274f8
jmp 0x14007b815
test eax, eax
je 0x14007b826
cmp eax, 6
jne 0x14007b883
mov eax, 2
jmp 0x14007b826
cmp eax, 0xc
jne 0x14007b88f
mov eax, 3
jmp 0x14007b826
mov eax, 4
jmp 0x14007b826
Function at 0x14007d0a0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 8]
lea rax, [r14 + 1]
cmp rax, 1
ja 0x14007d126
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
cmp qword [rdi + 8], rax
je 0x14007d126
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x14007d1c2
mov rax, r14
inc rax
cmp rax, 2
jb 0x14007d11a
mov qword [rdi + 8], r14
call fcn.1400ec560
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14007d200
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov edx, 1
mov r8d, 0x1000000f
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x14007d1dd
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.1400ecdb0
lea rbx, [rdi + 0x10]
lea rdx, str.StartWatching
lea r8, [0x1401d3450]
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x66
call fcn.1400ec540
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov r8, rdi
mov r9, r14
call fcn.1400d73d0
mov edi, eax
mov rcx, rsi
call fcn.1400ece20
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140127eb0
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.1400ec560
mov rcx, qword [rdi + 8]
call fcn.1400d72e0
mov qword [rdi + 8], 0
jmp 0x14007d105
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jb 0x14007d200
call fcn.1400ec560
mov rcx, qword [rdi + 8]
call fcn.1400d72e0
mov qword [rdi + 8], 0
xor edi, edi
jmp 0x14007d1a0

Function at 0x14007d3e0
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x14007d3e0
mov rdx, qword [rdx]
jmp 0x14007d3e0
sub rsp, 0x38
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x14007d410
Capabilities:
Delete registry key

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x14007d4de
mov r14d, r8d
mov rdi, rdx
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], r15
xor eax, eax
mov qword [rsp + 0x38], rax
mov r12d, dword [rsi + 8]
mov r9d, r12d
or r9d, 0x10001
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007d4be
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rbx
and r12d, 0x300
mov dword [rsp + 0x30], r12d
test r14b, r14b
je 0x14007d4e5
test rbx, rbx
je 0x14007d4af
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.14007d540
mov ebp, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140127eb0
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebp, 6
jmp 0x14007d4c0
lea rdi, [rsp + 0x40]
mov qword [rdi], r15
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.14007d6e0
cmp byte [rdi + 4], 0
je 0x14007d50b
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x14007d4c0
jmp 0x14007d526
mov r8d, dword [rsi + 8]
lea rdx, [0x1401c5494]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
jmp 0x14007d504
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14007d4c0
Function at 0x14007d540
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov esi, r8d
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r14
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov r9d, r8d
or r9d, 0x10009
lea rax, [rsp + 0x60]
mov qword [rax], rbx
mov qword [rsp + 0x20], rax
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007d61e
lea rbx, [rsp + 0x60]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x48]
mov qword [rcx], rdi
mov eax, esi
and eax, 0x300
mov dword [rcx + 8], eax
mov qword [rbx], r14
mov rdx, rbx
call fcn.14007d6e0
cmp byte [rbx + 4], 0
jne 0x14007d6ca
lea rdx, [0x1401c5494]
xor ebx, ebx
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x14007d626
test rdi, rdi
je 0x14007d5fb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140127eb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp eax, 2
cmovne ebx, eax
jmp 0x14007d5fb
mov ecx, 0x200
call fcn.14012737c
mov r14, rax
mov r8d, 0x200
mov rcx, rax
xor edx, edx
call fcn.14012ae40
xorps xmm6, xmm6
lea rbx, [rsp + 0x60]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x60], 0x100
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov rcx, rdi
xor edx, edx
mov r8, r14
mov r9, rbx
call r15
test eax, eax
jne 0x14007d69c
mov eax, dword [rsp + 0x60]
cmp rax, 0x100
jae 0x14007d6d3
cmp word [r14 + rax*2], 0
jne 0x14007d6d6
mov rcx, rdi
mov rdx, r14
mov r8d, esi
call fcn.14007d540
test eax, eax
je 0x14007d652
lea rdx, [0x1401c5494]
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test r14, r14
je 0x14007d5ed
mov rcx, r14
call fcn.140127384
jmp 0x14007d5ed
mov ebx, dword [rsp + 0x60]
jmp 0x14007d5ed
int3
int3
Function at 0x14007d6e0
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x3c]
mov dword [r9], 0
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SymbolicLinkValue
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x14007d746
mov byte [rsi], 0
xor eax, eax
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
test eax, eax
jne 0x14007d794
cmp dword [rsp + 0x3c], 6
jne 0x14007d727
mov rcx, qword [rdi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x14007d79a
mov edi, eax
mov eax, dword [0x140200638]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007d7a9
mov rax, qword [0x140200630]
test rax, rax
je 0x14007d7a2
mov ecx, edi
call qword [0x14021d008]
mov dword [rsi], eax
mov al, 1
jmp 0x14007d72c
mov dword [rsi], 0
jmp 0x14007d796
mov eax, 5
jmp 0x14007d794
lea rcx, [0x140200638]
call fcn.140127460
cmp dword [0x140200638], 0xffffffff
jne 0x14007d780
lea rcx, [0x1401d34a6]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140200630], rax
lea rcx, [0x140200638]
call fcn.1401274f8
jmp 0x14007d780

Function at 0x14007d800
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007d888
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14007d872
cmp dword [rsp + 0x38], 4
jne 0x14007d872
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140127eb0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14007d872