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

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
xor bl, bl
mov qword [rsp + 0x40], 0
mov edx, 0x22
lea rcx, [rsp + 0x38]
call fcn.1401e9030
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 0x22
lea r8, str.SYSTEMCurrentControlSetServices_
mov rcx, qword [rsp + 0x38]
call fcn.14029b4d8
mov edx, 0x22
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
lea rdx, str.iaNvStor
lea rcx, [rsp + 0x38]
call fcn.1401e7680
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov edi, 1
mov r9d, edi
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401752dd
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401752d1
movzx ebx, bl
cmp dword [rsp + 0x60], 2
cmovbe ebx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x40], 0
jle 0x1401752ee
mov rcx, qword [rsp + 0x38]
call fcn.140298600
movzx eax, bl
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140175300
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
xor bl, bl
xor eax, eax
mov qword [rsp + 0x40], rax
lea edx, [rax + 0x22]
lea rcx, [rsp + 0x38]
call fcn.1401e9030
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 0x22
lea r8, str.SYSTEMCurrentControlSetServices_
mov rcx, qword [rsp + 0x38]
call fcn.14029b4d8
mov edx, 0x22
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
lea rdx, str.iaNvStor
lea rcx, [rsp + 0x38]
call fcn.1401e7680
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401753dd
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x40], 0
jle 0x1401753ee
mov rcx, qword [rsp + 0x38]
call fcn.140298600
movzx eax, bl
add rsp, 0x50
pop rbx
ret
Function at 0x14018eee0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
lea rdi, [rcx + 0x118]
xor r8d, r8d
lea rdx, str._RID_
mov rcx, rdi
call fcn.1401e8da0
test al, al
je 0x14018f025
xor ecx, ecx
call fcn.1400f3b20
mov rbx, rax
test rax, rax
je 0x14018f025
lea rdx, [0x140329fb8]
mov rcx, rax
call fcn.1400ec9b0
cmp eax, 4
jne 0x14018f025
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, [0x140329fb8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [rsp + 0x70]
test ebx, ebx
cmove edx, dword [rsp + 0x70]
test edx, edx
je 0x14018f025
lea rcx, [rsp + 0x48]
call fcn.14000b3d0
nop
mov qword [rsp + 0x40], 0
mov edx, 5
lea rcx, [rsp + 0x38]
call fcn.1401e9030
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 5
lea r8, str._RID_
mov rcx, qword [rsp + 0x38]
call fcn.14029b4d8
mov edx, 5
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1401ea8a0
nop
cmp dword [rsp + 0x40], 0
jle 0x14018f014
mov rcx, qword [rsp + 0x38]
call fcn.140298600
nop
cmp dword [rsp + 0x50], 0
jle 0x14018f025
mov rcx, qword [rsp + 0x48]
call fcn.140298600
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x1401934b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0xc8]
mov rcx, qword [rbx + 0xc0]
test al, al
mov rax, qword [rcx]
je 0x14019353d
call qword [rax + 0xc8]
test al, al
je 0x1401935ff
mov rax, qword [rbx + 0xa0]
mov rbx, qword [rbx + 0xc0]
cmp qword [rbx + 8], 0
mov rdi, qword [rax + 0x158]
je 0x140193522
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
and al, 1
mov byte [rbx + 0xb1], al
mov rax, qword [rdi]
movzx edx, byte [rbx + 0xb1]
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x60]
call qword [rax + 0xc8]
test al, al
je 0x1401935ff
mov eax, dword [0x1403fe608]
test al, 1
jne 0x140193583
or eax, 1
lea rcx, [0x1402de040]
mov qword [0x1403fe5e8], 0xffffffff80000002
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rdi, rax
test rax, rax
je 0x1401935ff
mov rcx, qword [rbx + 0xc0]
call fcn.1401f7550
mov rcx, qword [rdi + 8]
lea rdx, str.EULA37
test al, al
je 0x1401935e4
lea rax, [rsp + 0x40]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1401935f2
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1401a1a70
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x1401a1a80
mov rcx, qword [rcx + 8]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete al
add rsp, 0x38
ret

Function at 0x1401a1ab0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rbp, r8
mov r15, rcx
lea rax, [0x140323de0]
mov qword [r11 - 0x30], rax
xor r12d, r12d
mov dword [r11 - 0x28], r12d
mov edx, r12d
mov dword [rsp + 0x44], edx
mov r14d, r12d
cmp dword [r8 + 8], r12d
jle 0x1401a1b99
mov esi, r12d
test edx, edx
jle 0x1401a1b37
inc edx
lea rcx, [rsp + 0x38]
call fcn.1401e9030
movsxd rcx, dword [rsp + 0x44]
mov rax, qword [rsp + 0x38]
mov word [rax + rcx*2], r12w
mov edx, dword [rsp + 0x44]
inc edx
lea rcx, [rsp + 0x38]
call fcn.1401ea290
mov edx, dword [rsp + 0x44]
mov rdi, qword [rbp + 0x10]
mov ebx, dword [rdi + rsi + 0xc]
add ebx, edx
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401e9030
movsxd r9, dword [rdi + rsi + 0xc]
mov ecx, dword [rsp + 0x40]
movsxd rax, dword [rsp + 0x44]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x38]
lea rcx, [rax + rcx*2]
mov r8, qword [rdi + rsi]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401ea290
inc r14d
add rsi, 0x10
cmp r14d, dword [rbp + 8]
jge 0x1401a1b99
mov edx, dword [rsp + 0x44]
jmp 0x1401a1b04
mov r8d, 2
lea rdx, [0x140323e64]
lea rcx, [rsp + 0x38]
call fcn.1401e77a0
mov eax, dword [rsp + 0x44]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, [0x14033ae08]
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [rsp + 0x40], 0
jle 0x1401a1bf4
mov rcx, qword [rsp + 0x38]
call fcn.140298600
movzx eax, bl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1401a1c20
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rsi, rcx
lea rcx, [0x140323de0]
mov qword [rbp - 0x38], rcx
xor r14d, r14d
mov qword [rbp - 0x30], r14
lea rax, vtable.Core::Collection_class_Core::String_::Enumerator.0
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r8
mov rdi, qword [r8 + 0x10]
mov qword [rbp - 8], rdi
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], r14
test rdi, rdi
je 0x1401a1d2f
mov edx, dword [rdi + 0x1c]
lea rcx, [rbp - 0x28]
call fcn.1401e9030
movsxd r9, dword [rdi + 0x1c]
mov eax, dword [rbp - 0x20]
inc eax
movsxd rdx, eax
mov r8, qword [rdi + 0x10]
mov rcx, qword [rbp - 0x28]
call fcn.14029b4d8
mov edx, dword [rdi + 0x1c]
lea rcx, [rbp - 0x28]
call fcn.1401ea290
mov rdi, qword [rdi]
mov qword [rbp - 8], rdi
mov ecx, dword [rbp - 0x2c]
test ecx, ecx
jle 0x1401a1ce9
lea edx, [rcx + 1]
lea rcx, [rbp - 0x38]
call fcn.1401e9030
movsxd rcx, dword [rbp - 0x2c]
mov rax, qword [rbp - 0x38]
mov word [rax + rcx*2], r14w
mov edx, dword [rbp - 0x2c]
inc edx
lea rcx, [rbp - 0x38]
call fcn.1401ea290
mov ecx, dword [rbp - 0x2c]
mov ebx, dword [rbp - 0x1c]
add ebx, ecx
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401e9030
movsxd r9, dword [rbp - 0x1c]
mov ecx, dword [rbp - 0x30]
movsxd rax, dword [rbp - 0x2c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rbp - 0x38]
lea rcx, [rax + rcx*2]
mov r8, qword [rbp - 0x28]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401ea290
jmp 0x1401a1c77
mov r8d, 2
lea rdx, [0x140323e64]
lea rcx, [rbp - 0x38]
call fcn.1401e77a0
mov eax, dword [rbp - 0x2c]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, [0x14033af00]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [rbp - 0x20], 0
jle 0x1401a1d86
mov rcx, qword [rbp - 0x28]
call fcn.140298600
nop
cmp dword [rbp - 0x30], 0
jle 0x1401a1d95
mov rcx, qword [rbp - 0x38]
call fcn.140298600
movzx eax, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1401a2060
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x20
lea rsi, [rsp + 0x48]
mov rdx, rsi
call fcn.14029a588
mov rcx, 0xffffffffffffffff
inc eax
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140296f58
mov r8, qword [rsp + 0x40]
mov r9, rsi
mov rcx, rax
mov rdx, rbx
mov rdi, rax
call fcn.14029a7c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140323ca0]
mov rdx, rdi
call fcn.14029a88c
mov rcx, rdi
call fcn.1402983dc
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401a3910
Capabilities:
Enumerate process modules

Disassembly:
push rdi
push r12
push r15
mov eax, 0x1270
call fcn.1402a90d0
sub rsp, rax
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov r15, rcx
mov rcx, qword [rcx]
mov rdi, rdx
mov edx, 0x5c
call fcn.14029b070
test rax, rax
jne 0x1401a3952
or eax, 0xffffffff
jmp 0x1401a3958
sub rax, qword [r15]
sar rax, 1
test eax, eax
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
setns r12b
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x1401a3ac3
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x1401a3abf
mov qword [rsp + 0x1268], rbp
mov qword [rsp + 0x1260], rsi
mov qword [rsp + 0x1258], r13
mov qword [rsp + 0x1250], r14
mov ebp, eax
xor r13d, r13d
lea r14, [rsp + 0x30]
mov qword [rsp + 0x12a0], rbx
nop dword [rax]
mov r8d, dword [r14]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1401a3a8a
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov r8d, 8
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1401a3a81
mov rdx, qword [rsp + 0x28]
mov word [rsp + 0x1030], r13w
mov r9d, 0x104
lea r8, [rsp + 0x1030]
mov rcx, rsi
test r12b, r12b
je 0x1401a3a29
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
jmp 0x1401a3a2f
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov rdx, qword [r15]
lea rcx, [rsp + 0x1030]
call fcn.14029848c
test eax, eax
jne 0x1401a3a81
mov ebx, dword [r14]
lea ecx, [rax + 0x18]
call fcn.14029806c
mov rcx, rax
mov dword [rax + 0x10], ebx
cmp dword [rdi + 0x20], r13d
mov qword [rax], r13
jne 0x1401a3a6b
mov qword [rax + 8], r13
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
jmp 0x1401a3a7e
mov rax, qword [rdi + 0x18]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x18]
mov qword [rax], rcx
mov qword [rdi + 0x18], rcx
inc dword [rdi + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r14, 4
dec rbp
jne 0x1401a39c0
mov r14, qword [rsp + 0x1250]
mov r13, qword [rsp + 0x1258]
mov rsi, qword [rsp + 0x1260]
mov rbp, qword [rsp + 0x1268]
mov rbx, qword [rsp + 0x12a0]
mov al, 1
jmp 0x1401a3ac5
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x1270
pop r15
pop r12
pop rdi
ret
Function at 0x1401a3af0
Capabilities:
Create service

Disassembly:
sub rsp, 0x78
call fcn.1400ffe00
test al, al
jne 0x1401a3bce
mov qword [rsp + 0x70], rbx
call fcn.1400ffd80
xor edx, edx
lea r8d, [rdx + 2]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
jne 0x1401a3b41
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenSCManager___failed___d__r_n
mov edx, eax
call fcn.14029a88c
mov rbx, qword [rsp + 0x70]
xor al, al
add rsp, 0x78
ret
xor edx, edx
lea rcx, str.System_Reserved
mov r9d, 0x10030
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
lea rdx, str.hitmanpro37duringboot
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
je 0x1401a3bae
lea rcx, str.Deployed_driver_to_start_during_boot_r_n
call fcn.140298d38
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x78
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_deploy_driver_to_start_during_boot:_lx_r_n
mov edx, eax
call fcn.140298d38
mov rbx, qword [rsp + 0x70]
xor al, al
add rsp, 0x78
ret
xor al, al
add rsp, 0x78
ret

Function at 0x1401a3be0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
xor bl, bl
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
jne 0x1401a3c24
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401a2060
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1401a3c48
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SuspendThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401a2060
jmp 0x1401a3c4a
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1401a6e90
Capabilities:
Get common file path

Disassembly:
push rbp
push r14
sub rsp, 0x248
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, rcx
mov ebp, edx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1401a6f27
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], rsi
movzx esi, word [rsp + 0x20]
mov r8d, 8
movzx ecx, si
mov qword [rsp + 0x240], rdi
call fcn.140175400
mov rbx, rax
test rax, rax
je 0x1401a6f0d
cmp dword [rax + 8], 8
je 0x1401a6f42
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor eax, eax
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x248
pop r14
pop rbp
ret
mov ecx, 0x20
call fcn.14029806c
mov rdi, rax
test rax, rax
je 0x1401a6f0d
mov qword [rax + 8], 0
lea rax, vtable.HitmanPro35::FileSystemNtfs.0
mov r8d, ebp
mov rdx, rdi
mov rcx, r14
mov qword [rdi + 0x10], rbx
mov qword [rdi], rax
mov word [rdi + 0x18], si
call fcn.1401a6fa0
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
mov ebx, eax
call qword [r8]
mov eax, ebx
jmp 0x1401a6f0f
Function at 0x1401a76e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx + 8], rbx
lea edx, [rbx + 0x11]
call fcn.1401e9030
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 0x11]
lea r8, str.CurrentControlSet
mov rcx, qword [rdi]
call fcn.14029b4d8
lea edx, [rbx + 0x11]
mov rcx, rdi
call fcn.1401ea290
mov dword [rsp + 0x30], 1
mov eax, dword [0x1403fe608]
lea rbp, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401a7771
or eax, 1
mov dword [0x1403fe608], eax
mov qword [0x1403fe5e0], rbp
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMSelect
mov rcx, qword [0x1403fe5e8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401a787f
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rsi, rax
test rax, rax
je 0x1401a787f
mov rcx, qword [rsp + 0x38]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0xa0], 4
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, str.Current
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401a7872
mov r8d, dword [rsp + 0x98]
lea rdx, str.ControlSet_03d
lea rcx, [rsp + 0x48]
call fcn.1401e94c0
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.1401ea290
nop
cmp dword [rsp + 0x50], 0
jle 0x1401a7872
mov rcx, qword [rsp + 0x48]
call fcn.140298600
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rax, rdi
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401aa260
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1401aa298
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401a2060
mov al, 1
add rsp, 0x20
pop rbx
ret
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1401aa2cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401a2060
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret
lea rcx, str.___Success_r_n
call fcn.1401a2060
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1401aa5e0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
xor r15d, r15d
mov r14, rcx
mov ebx, 0xc800
lea r9d, [r15 + 4]
mov r8d, 0x1000
xor ecx, ecx
mov edx, ebx
mov ebp, r15d
mov dword [rsp + 0x88], r15d
mov edi, 0xc8
mov dword [rsp + 0x90], r15d
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x1401aa6ad
nop dword [rax + rax]
lea r9, [rsp + 0x90]
mov r8d, ebx
mov rdx, rsi
mov ecx, 5
call qword [0x1403fd7f0]
mov ebx, eax
test eax, eax
je 0x1401aa6b7
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp ebx, 0xc0000004
jne 0x1401aa6f0
xor ecx, ecx
add edi, edi
mov r8d, 0x1000
mov eax, edi
lea r9d, [rcx + 4]
mov dword [rsp + 0x90], r15d
shl eax, 8
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
mov qword [rsp + 0x98], rax
test rax, rax
jne 0x1401aa640
or ebp, 0xffffffff
mov dword [rsp + 0x88], ebp
test rsi, rsi
je 0x1401aa826
mov qword [rsp + 0x40], r12
mov r15, rsi
mov qword [rsp + 0x38], r13
nop dword [rax]
mov rdx, qword [r14]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401aa70c
mov r8, qword [r15 + 0x50]
cmp qword [rax + 0x20], r8
jae 0x1401aa700
mov rax, qword [rax + 0x10]
jmp 0x1401aa706
mov eax, r15d
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401aa6e4
cmp rcx, rdx
je 0x1401aa727
mov rax, qword [rcx + 0x20]
cmp qword [r15 + 0x50], rax
jb 0x1401aa727
mov qword [rsp + 0x20], rcx
lea rbx, [rsp + 0x20]
jmp 0x1401aa731
mov qword [rsp + 0x28], rdx
lea rbx, [rsp + 0x28]
mov rbx, qword [rbx]
cmp rbx, rdx
je 0x1401aa7f7
mov r12d, dword [r15 + 0x50]
xor edx, edx
mov ecx, 0x800
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x1401aa7e4
xor edi, edi
cmp dword [r15 + 4], edi
jbe 0x1401aa7d0
lea r14, [r15 + 0x130]
nop dword [rax]
mov ebp, dword [r14]
xor edx, edx
lea ecx, [rdx + 2]
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1401aa7b5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1401aa7ac
mov r8, qword [rbx + 0x28]
lea rcx, str.Failed_to_suspended_thread__u_in__s__pid__u__r_n
mov r9d, r12d
mov edx, ebp
call fcn.1401a2060
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add r14, 0x50
cmp edi, dword [r15 + 4]
jb 0x1401aa770
mov ebp, dword [rsp + 0x88]
mov r14, qword [rsp + 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
mov dword [rsp + 0x88], ebp
jmp 0x1401aa7f7
mov rdx, qword [rbx + 0x28]
lea rcx, str.Failed_to_suspended__s__pid__u__r_n
mov r8d, r12d
call fcn.1401a2060
mov eax, dword [r15]
test eax, eax
je 0x1401aa806
add r15, rax
jmp 0x1401aa6d0
mov rcx, qword [rsp + 0x98]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov eax, ebp
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret