joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b1a70
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, [0x140346ce0]
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 0x1401b1b7f
mov edx, dword [rdi + 0x1c]
lea rcx, [rbp - 0x28]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rdi + 0x1c]
lea rcx, [rbp - 0x28]
call fcn.1401fde50
mov rdi, qword [rdi]
mov qword [rbp - 8], rdi
mov ecx, dword [rbp - 0x2c]
test ecx, ecx
jle 0x1401b1b39
lea edx, [rcx + 1]
lea rcx, [rbp - 0x38]
call fcn.1401fcb40
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.1401fde50
mov ecx, dword [rbp - 0x2c]
mov ebx, dword [rbp - 0x1c]
add ebx, ecx
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401fde50
jmp 0x1401b1ac7
mov r8d, 2
lea rdx, [0x14034712c]
lea rcx, [rbp - 0x38]
call fcn.1401fb2b0
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, [0x14035f610]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [rbp - 0x20], 0
jle 0x1401b1bd6
mov rcx, qword [rbp - 0x28]
call fcn.1402b7350
nop
cmp dword [rbp - 0x30], 0
jle 0x1401b1be5
mov rcx, qword [rbp - 0x38]
call fcn.1402b7350
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 0x1401b1eb0
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.1402b9390
mov rcx, 0xffffffffffffffff
inc eax
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1402b2274
mov r8, qword [rsp + 0x40]
mov r9, rsi
mov rcx, rax
mov rdx, rbx
mov rdi, rax
call fcn.1402b95d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140346b9c]
mov rdx, rdi
call fcn.1402b9694
mov rcx, rdi
call fcn.1402b712c
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401b3760
Capabilities:
Enumerate process modules

Disassembly:
push rdi
push r12
push r15
mov eax, 0x1270
call fcn.1402c8f60
sub rsp, rax
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov r15, rcx
mov rcx, qword [rcx]
mov rdi, rdx
mov edx, 0x5c
call fcn.1402ba4e4
test rax, rax
jne 0x1401b37a2
or eax, 0xffffffff
jmp 0x1401b37a8
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 0x1401b3913
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x1401b390f
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 0x1401b38da
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 0x1401b38d1
mov rdx, qword [rsp + 0x28]
mov word [rsp + 0x1030], r13w
mov r9d, 0x104
lea r8, [rsp + 0x1030]
mov rcx, rsi
test r12b, r12b
je 0x1401b3879
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
jmp 0x1401b387f
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov rdx, qword [r15]
lea rcx, [rsp + 0x1030]
call fcn.1402b71dc
test eax, eax
jne 0x1401b38d1
mov ebx, dword [r14]
lea ecx, [rax + 0x18]
call fcn.1402b6dbc
mov rcx, rax
mov dword [rax + 0x10], ebx
cmp dword [rdi + 0x20], r13d
mov qword [rax], r13
jne 0x1401b38bb
mov qword [rax + 8], r13
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
jmp 0x1401b38ce
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 0x1401b3810
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 0x1401b3915
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0x1270
pop r15
pop r12
pop rdi
ret
Function at 0x1401b3940
Capabilities:
Create service

Disassembly:
sub rsp, 0x78
call fcn.1400fe590
test al, al
jne 0x1401b3a1e
mov qword [rsp + 0x70], rbx
call fcn.1400fe510
xor edx, edx
lea r8d, [rdx + 2]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
jne 0x1401b3991
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenSCManager___failed___d__r_n
mov edx, eax
call fcn.1402b9694
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 0x1401b39fe
lea rcx, str.Deployed_driver_to_start_during_boot_r_n
call fcn.1402b7a88
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.1402b7a88
mov rbx, qword [rsp + 0x70]
xor al, al
add rsp, 0x78
ret
xor al, al
add rsp, 0x78
ret

Function at 0x1401b3a30
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 0x1401b3a74
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401b1eb0
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 0x1401b3a98
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SuspendThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401b1eb0
jmp 0x1401b3a9a
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 0x1401b6c50
Capabilities:
Get common file path

Disassembly:
push rbp
push r14
sub rsp, 0x248
mov rax, qword [0x140415a10]
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 0x1401b6ce7
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.140184e30
mov rbx, rax
test rax, rax
je 0x1401b6ccd
cmp dword [rax + 8], 8
je 0x1401b6d02
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.1402b6d40
add rsp, 0x248
pop r14
pop rbp
ret
mov ecx, 0x20
call fcn.1402b6dbc
mov rdi, rax
test rax, rax
je 0x1401b6ccd
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.1401b6d60
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
mov ebx, eax
call qword [r8]
mov eax, ebx
jmp 0x1401b6ccf
Function at 0x1401b74a0
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.1401fcb40
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 0x11]
lea r8, str.CurrentControlSet
mov rcx, qword [rdi]
call fcn.1402ba94c
lea edx, [rbx + 0x11]
mov rcx, rdi
call fcn.1401fde50
mov dword [rsp + 0x30], 1
mov eax, dword [0x140429a18]
lea rbp, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401b7531
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rbp
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
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 [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401b763f
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
mov rsi, rax
test rax, rax
je 0x1401b763f
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 0x1401b7632
mov r8d, dword [rsp + 0x98]
lea rdx, str.ControlSet_03d
lea rcx, [rsp + 0x48]
call fcn.1401fcfe0
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.1401fde50
nop
cmp dword [rsp + 0x50], 0
jle 0x1401b7632
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
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 0x1401ba010
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 0x1401ba048
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401b1eb0
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 0x1401ba07d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401b1eb0
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.1401b1eb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1401ba330
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 0x1401ba3fd
nop dword [rax + rax]
lea r9, [rsp + 0x90]
mov r8d, ebx
mov rdx, rsi
mov ecx, 5
call qword [0x140428c10]
mov ebx, eax
test eax, eax
je 0x1401ba407
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp ebx, 0xc0000004
jne 0x1401ba440
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 0x1401ba390
or ebp, 0xffffffff
mov dword [rsp + 0x88], ebp
test rsi, rsi
je 0x1401ba576
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 0x1401ba45c
mov r8, qword [r15 + 0x50]
cmp qword [rax + 0x20], r8
jae 0x1401ba450
mov rax, qword [rax + 0x10]
jmp 0x1401ba456
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 0x1401ba434
cmp rcx, rdx
je 0x1401ba477
mov rax, qword [rcx + 0x20]
cmp qword [r15 + 0x50], rax
jb 0x1401ba477
mov qword [rsp + 0x20], rcx
lea rbx, [rsp + 0x20]
jmp 0x1401ba481
mov qword [rsp + 0x28], rdx
lea rbx, [rsp + 0x28]
mov rbx, qword [rbx]
cmp rbx, rdx
je 0x1401ba547
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 0x1401ba534
xor edi, edi
cmp dword [r15 + 4], edi
jbe 0x1401ba520
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 0x1401ba505
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1401ba4fc
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.1401b1eb0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add r14, 0x50
cmp edi, dword [r15 + 4]
jb 0x1401ba4c0
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 0x1401ba547
mov rdx, qword [rbx + 0x28]
lea rcx, str.Failed_to_suspended__s__pid__u__r_n
mov r8d, r12d
call fcn.1401b1eb0
mov eax, dword [r15]
test eax, eax
je 0x1401ba556
add r15, rax
jmp 0x1401ba420
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
Function at 0x1401ba770
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov rdx, qword [rcx]
mov rsi, rcx
mov r8d, 0xf01ff
mov rcx, rbp
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x1401ba885
mov rdx, qword [rsi]
lea rcx, str.Stopping:__s
call fcn.1401b1eb0
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1401ba826
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, 0xa
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1401ba826
nop
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x1401ba82a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140345c60]
call fcn.1401b1eb0
dec ebx
je 0x1401ba826
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1401ba7f0
mov eax, dword [rsp + 0x24]
lea rcx, [0x140360de0]
cmp eax, 1
je 0x1401ba83d
lea rcx, str.FAIL_n
call fcn.1401b1eb0
mov rdx, qword [rsi]
lea rcx, str.Deleting:__s
call fcn.1401b1eb0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1401ba86e
lea rcx, [0x140360de0]
call fcn.1401b1eb0
mov bl, 1
jmp 0x1401ba87c
lea rcx, str.FAIL_n
call fcn.1401b1eb0
xor bl, bl
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401ba8b0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rdx
mov rbx, rcx
xor sil, sil
cmp qword [rcx + 0x20], 0
jne 0x1401ba8f7
call fcn.1400fe750
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x1401ba917
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.__OpenDriver___failed__error__d__r_n
call fcn.1401b1eb0
jmp 0x1401baa5d
cmp dword [rdi + 0xc], 1
jg 0x1401ba985
lea rcx, [rsp + 0x40]
call fcn.1401fa810
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x40], rax
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rsp + 0x48]
call fcn.1402ba94c
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1401fde50
nop
lea rdx, [0x14040da50]
lea rcx, [rsp + 0x40]
call fcn.1402bece8
int3
mov rax, qword [rdi]
cmp word [rax + 2], 0x3a
jne 0x1401baa5d
xor edx, edx
mov rcx, rdi
call fcn.1401fb010
movzx ecx, ax
call fcn.1402ba4dc
movabs rcx, 0x5c003a003f
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x60], ax
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x1401baa0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, str.GetVolumeInformation_on__s_failed_with__d_r_n
call fcn.1401b1eb0
jmp 0x1401baa5d
lea rcx, [rsp + 0x70]
lea rdx, [0x1403541d0]
nop word [rax + rax]
movzx eax, word [rcx + rbx*2]
inc rbx
cmp ax, word [rdx + rbx*2 - 2]
jne 0x1401baa5d
cmp rbx, 5
jne 0x1401baa20
xor r8d, r8d
lea rdx, str..sys
mov rcx, rdi
call fcn.1401fc9f0
test al, al
je 0x1401baa52
mov rcx, rdi
call fcn.1401baa90
mov rcx, rdi
call fcn.140185150
movzx esi, al
movzx eax, sil
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1401bb3c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x590
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x580], rax
lea rcx, str.ProtectMBR___A_n
xor bl, bl
call fcn.1401b1eb0
call fcn.1400fe750
mov rdi, rax
test rax, rax
je 0x1401bb573
mov eax, dword [0x140345f88]
movsd xmm0, qword [0x140345f80]
lea rcx, [rsp + 0x370]
mov dword [rsp + 0x268], eax
movzx eax, word [0x140345f8c]
mov edx, 0x104
movsd qword [rsp + 0x260], xmm0
mov qword [rsp + 0x5a0], rbp
mov qword [rsp + 0x5a8], rsi
mov word [rsp + 0x26c], ax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [rsp + 0x370]
xor ebp, ebp
mov qword [rsp + 0x30], rbp
lea r8d, [rbp + 3]
lea rcx, [rsp + 0x260]
xor r9d, r9d
mov edx, 0x100081
mov dword [rsp + 0x28], ebp
mov word [rsp + 0x268], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401bb55a
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x44]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x270]
xor r8d, r8d
mov edx, 0x560000
mov rcx, rsi
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401bb551
cmp dword [rsp + 0x44], 0x20
jb 0x1401bb551
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x202
call fcn.1402bfa30
mov r9d, dword [rsp + 0x278]
lea r8, str.DosDevicesPhysicalDrive_d
lea rcx, [rsp + 0x50]
mov edx, 0x100
call fcn.1402ba928
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x202
mov edx, 0x22e140
mov rcx, rdi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401bb551
cmp byte [rsp + 0x40], bpl
setne bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x5a8]
mov rbp, qword [rsp + 0x5a0]
movzx eax, bl
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x590
pop rdi
ret
Function at 0x1401bb660
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x270
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x38], 0x105
movabs rax, 0x5c003a003f
movzx edi, cx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov word [rsp + 0x48], cx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x1401bb6ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x48]
lea rcx, str.GetVolumeInformation_on__s_failed_with__d_r_n
mov r8d, eax
call fcn.1401b1eb0
xor eax, eax
jmp 0x1401bb7be
xor ecx, ecx
lea rdx, [rsp + 0x50]
lea r8, [0x1403541d0]
mov qword [rsp + 0x288], rbx
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1401bb763
cmp rcx, 5
jne 0x1401bb710
xor r8d, r8d
movzx ecx, di
call fcn.140184e30
mov rbx, rax
test rax, rax
je 0x1401bb795
mov ecx, 0x20
call fcn.1402b6dbc
test rax, rax
je 0x1401bb790
lea rcx, vtable.HitmanPro35::FileSystemNtfs.0
mov qword [rax + 8], 0
mov qword [rax + 0x10], rbx
mov qword [rax], rcx
mov word [rax + 0x18], di
jmp 0x1401bb790
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8, [0x140354208]
movzx eax, word [rcx + rdx*2]
inc rdx
cmp ax, word [r8 + rdx*2 - 2]
jne 0x1401bb795
cmp rdx, 4
jne 0x1401bb771
xor edx, edx
movzx ecx, di
call fcn.1401f4820
test rax, rax
jne 0x1401bb7b6
mov ecx, 0x10
call fcn.1402b6dbc
test rax, rax
je 0x1401bb7b6
lea rcx, vtable.HitmanPro35::FileSystemBase.0
mov qword [rax + 8], 0
mov qword [rax], rcx
mov rbx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0x270
pop rdi
ret