joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017de10
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0x10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14017dea8
lea rax, vtable.Core::Text::ASCIIEncoding.0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140204740
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1402043c0
nop
jmp 0x14017deb7
mov rdx, qword [0x14041a158]
mov rcx, rbx
call fcn.1401fd200
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x90
pop rbx
ret
Function at 0x14017f960
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, qword [0x14042bb58]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14017f9ae
xor eax, eax
jmp 0x14017fa68
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14017f9c0
mov qword [rsp + 0x38], 0
test ebx, ebx
jne 0x14017f9e5
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
jmp 0x14017fa0c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400f9c50
mov rcx, rax
mov dword [rsp + 0x20], 0
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call fcn.1402d8fb8
mov rbx, rax
cmp dword [rsp + 0x38], 0
jle 0x14017fa5a
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
test rbx, rbx
je 0x14017f9a7
call fcn.14018c730
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140180320
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rsi, r8
mov rbx, rdx
mov r14, rcx
lea rax, [0x140348ca0]
mov qword [rcx + 8], rax
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x28], r12
lea r15, vtable.Core::EventWaitHandle.0
mov qword [rcx + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x28], rax
lea rbp, vtable.Core::ManualResetEvent.0
mov qword [r14 + 0x20], rbp
lea rax, vtable.Core::Mutex.0
mov qword [r14 + 0x38], rax
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rax, vtable.Core::Queue_class_HitmanPro35::File____ptr64_.0
mov qword [r14 + 0x68], rax
mov dword [r14 + 0x70], r12d
mov qword [r14 + 0x78], r12
mov qword [r14 + 0x80], r12
mov qword [r14 + 0x90], r12
mov qword [r14 + 0x88], r15
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x90], rax
mov qword [r14 + 0x88], rbp
mov qword [r14], rbx
mov edx, dword [rsi + 0xc]
lea rcx, [r14 + 8]
call fcn.1401ff260
movsxd r9, dword [rsi + 0xc]
mov eax, dword [r14 + 0x10]
inc eax
movsxd rdx, eax
mov r8, qword [rsi]
mov rcx, qword [r14 + 8]
call fcn.1402bd21c
mov edx, dword [rsi + 0xc]
lea rcx, [r14 + 8]
call fcn.140200570
mov dword [r14 + 0x18], 0x2710
mov dword [r14 + 0x1c], 0xea60
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, r14
lea r8, [0x1401805a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 0x30], rax
mov rax, r14
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140186010
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.1401ff260
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 0x22
lea r8, str.SYSTEMCurrentControlSetServices_
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, 0x22
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
lea rdx, str.iaNvStor
lea rcx, [rsp + 0x38]
call fcn.1401fd8b0
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 0x1401860fd
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 0x1401860f1
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 0x14018610e
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
movzx eax, bl
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140186120
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.1401ff260
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 0x22
lea r8, str.SYSTEMCurrentControlSetServices_
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, 0x22
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
lea rdx, str.iaNvStor
lea rcx, [rsp + 0x38]
call fcn.1401fd8b0
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 0x1401861fd
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 0x14018620e
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
movzx eax, bl
add rsp, 0x50
pop rbx
ret
Function at 0x14019fe50
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.1401fefd0
test al, al
je 0x14019ff95
xor ecx, ecx
call fcn.1400f2f90
mov rbx, rax
test rax, rax
je 0x14019ff95
lea rdx, [0x14034f1b0]
mov rcx, rax
call fcn.1400ebdd0
cmp eax, 4
jne 0x14019ff95
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, [0x14034f1b0]
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 0x14019ff95
lea rcx, [rsp + 0x48]
call fcn.14000b500
nop
mov qword [rsp + 0x40], 0
mov edx, 5
lea rcx, [rsp + 0x38]
call fcn.1401ff260
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 5
lea r8, str._RID_
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, 5
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140200b80
nop
cmp dword [rsp + 0x40], 0
jle 0x14019ff84
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x50], 0
jle 0x14019ff95
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x1401a4770
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx]
call qword [rax + 0xc8]
test al, al
jne 0x1401a4823
mov eax, dword [0x14042c9e0]
mov qword [rsp + 0x30], rbx
test al, 1
jne 0x1401a47c2
or eax, 1
lea rcx, [0x1403017d0]
mov qword [0x14042c9f0], 0xffffffff80000002
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rbx, rax
test rax, rax
je 0x1401a481e
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x40]
lea rdx, str.EULA37
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x1401b2f00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x1401b2f10
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 0x1401b2f40
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, [0x140348ca0]
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 0x1401b3029
mov esi, r12d
test edx, edx
jle 0x1401b2fc7
inc edx
lea rcx, [rsp + 0x38]
call fcn.1401ff260
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.140200570
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.1401ff260
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.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140200570
inc r14d
add rsi, 0x10
cmp r14d, dword [rbp + 8]
jge 0x1401b3029
mov edx, dword [rsp + 0x44]
jmp 0x1401b2f94
mov r8d, 2
lea rdx, [0x1403490ec]
lea rcx, [rsp + 0x38]
call fcn.1401fd9d0
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, [0x140361808]
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [rsp + 0x40], 0
jle 0x1401b3084
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
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 0x1401b30b0
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, [0x140348ca0]
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 0x1401b31bf
mov edx, dword [rdi + 0x1c]
lea rcx, [rbp - 0x28]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0x1c]
lea rcx, [rbp - 0x28]
call fcn.140200570
mov rdi, qword [rdi]
mov qword [rbp - 8], rdi
mov ecx, dword [rbp - 0x2c]
test ecx, ecx
jle 0x1401b3179
lea edx, [rcx + 1]
lea rcx, [rbp - 0x38]
call fcn.1401ff260
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.140200570
mov ecx, dword [rbp - 0x2c]
mov ebx, dword [rbp - 0x1c]
add ebx, ecx
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401ff260
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.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140200570
jmp 0x1401b3107
mov r8d, 2
lea rdx, [0x1403490ec]
lea rcx, [rbp - 0x38]
call fcn.1401fd9d0
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, [0x1403618a8]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [rbp - 0x20], 0
jle 0x1401b3216
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x30], 0
jle 0x1401b3225
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
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 0x1401b34f0
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.1402bbc60
mov rcx, 0xffffffffffffffff
inc eax
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1402b4964
mov r8, qword [rsp + 0x40]
mov r9, rsi
mov rcx, rax
mov rdx, rbx
mov rdi, rax
call fcn.1402bbea0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140348b5c]
mov rdx, rdi
call fcn.1402bbf64
mov rcx, rdi
call fcn.1402b99fc
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401b4d70
Capabilities:
Enumerate process modules

Disassembly:
push rdi
push r12
push r15
mov eax, 0x1270
call fcn.1402cb740
sub rsp, rax
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov r15, rcx
mov rcx, qword [rcx]
mov rdi, rdx
mov edx, 0x5c
call fcn.1402bcdb4
test rax, rax
jne 0x1401b4db2
or eax, 0xffffffff
jmp 0x1401b4db8
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 0x1401b4f23
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x1401b4f1f
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 0x1401b4eea
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 0x1401b4ee1
mov rdx, qword [rsp + 0x28]
mov word [rsp + 0x1030], r13w
mov r9d, 0x104
lea r8, [rsp + 0x1030]
mov rcx, rsi
test r12b, r12b
je 0x1401b4e89
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
jmp 0x1401b4e8f
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov rdx, qword [r15]
lea rcx, [rsp + 0x1030]
call fcn.1402b9aac
test eax, eax
jne 0x1401b4ee1
mov ebx, dword [r14]
lea ecx, [rax + 0x18]
call fcn.1402b968c
mov rcx, rax
mov dword [rax + 0x10], ebx
cmp dword [rdi + 0x20], r13d
mov qword [rax], r13
jne 0x1401b4ecb
mov qword [rax + 8], r13
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
jmp 0x1401b4ede
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 0x1401b4e20
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 0x1401b4f25
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x1270
pop r15
pop r12
pop rdi
ret
Function at 0x1401b4f50
Capabilities:
Create service

Disassembly:
sub rsp, 0x78
call fcn.1400ff6d0
test al, al
jne 0x1401b502e
mov qword [rsp + 0x70], rbx
call fcn.1400ff650
xor edx, edx
lea r8d, [rdx + 2]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
jne 0x1401b4fa1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenSCManager___failed___d__r_n
mov edx, eax
call fcn.1402bbf64
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 0x1401b500e
lea rcx, str.Deployed_driver_to_start_during_boot_r_n
call fcn.1402ba358
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.1402ba358
mov rbx, qword [rsp + 0x70]
xor al, al
add rsp, 0x78
ret
xor al, al
add rsp, 0x78
ret

Function at 0x1401b5040
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 0x1401b5084
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401b34f0
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 0x1401b50a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SuspendThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401b34f0
jmp 0x1401b50aa
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 0x1401b8260
Capabilities:
Get common file path

Disassembly:
push rbp
push r14
sub rsp, 0x248
mov rax, qword [0x140418a10]
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 0x1401b82f7
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.140186220
mov rbx, rax
test rax, rax
je 0x1401b82dd
cmp dword [rax + 8], 8
je 0x1401b8312
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.1402b9610
add rsp, 0x248
pop r14
pop rbp
ret
mov ecx, 0x20
call fcn.1402b968c
mov rdi, rax
test rax, rax
je 0x1401b82dd
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.1401b8370
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
mov ebx, eax
call qword [r8]
mov eax, ebx
jmp 0x1401b82df
Function at 0x1401b8ab0
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.1401ff260
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 0x11]
lea r8, str.CurrentControlSet
mov rcx, qword [rdi]
call fcn.1402bd21c
lea edx, [rbx + 0x11]
mov rcx, rdi
call fcn.140200570
mov dword [rsp + 0x30], 1
mov eax, dword [0x14042c9e0]
lea rbp, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401b8b41
or eax, 1
mov dword [0x14042c9e0], eax
mov qword [0x14042c9e8], rbp
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
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 [0x14042c9f0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401b8c4f
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rsi, rax
test rax, rax
je 0x1401b8c4f
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 0x1401b8c42
mov r8d, dword [rsp + 0x98]
lea rdx, str.ControlSet_03d
lea rcx, [rsp + 0x48]
call fcn.1401ff700
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.140200570
nop
cmp dword [rsp + 0x50], 0
jle 0x1401b8c42
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
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 0x1401bb630
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 0x1401bb668
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401b34f0
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 0x1401bb69d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401b34f0
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.1401b34f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret