joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b6dd0
Capabilities:
Enumerate process modules

Disassembly:
push rdi
push r12
push r15
mov eax, 0x1270
call fcn.1402cec90
sub rsp, rax
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov r15, rcx
mov rcx, qword [rcx]
mov rdi, rdx
mov edx, 0x5c
call fcn.1402c0274
test rax, rax
jne 0x1401b6e12
or eax, 0xffffffff
jmp 0x1401b6e18
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 0x1401b6f83
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x1401b6f7f
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 0x1401b6f4a
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 0x1401b6f41
mov rdx, qword [rsp + 0x28]
mov word [rsp + 0x1030], r13w
mov r9d, 0x104
lea r8, [rsp + 0x1030]
mov rcx, rsi
test r12b, r12b
je 0x1401b6ee9
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
jmp 0x1401b6eef
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov rdx, qword [r15]
lea rcx, [rsp + 0x1030]
call fcn.1402bcf6c
test eax, eax
jne 0x1401b6f41
mov ebx, dword [r14]
lea ecx, [rax + 0x18]
call fcn.1402bcb4c
mov rcx, rax
mov dword [rax + 0x10], ebx
cmp dword [rdi + 0x20], r13d
mov qword [rax], r13
jne 0x1401b6f2b
mov qword [rax + 8], r13
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
jmp 0x1401b6f3e
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 0x1401b6e80
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 0x1401b6f85
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x1270
pop r15
pop r12
pop rdi
ret
Function at 0x1401b6fb0
Capabilities:
Create service

Disassembly:
sub rsp, 0x78
call fcn.140100cb0
test al, al
jne 0x1401b708e
mov qword [rsp + 0x70], rbx
call fcn.140100c30
xor edx, edx
lea r8d, [rdx + 2]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
jne 0x1401b7001
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenSCManager___failed___d__r_n
mov edx, eax
call fcn.1402bf424
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 0x1401b706e
lea rcx, str.Deployed_driver_to_start_during_boot_r_n
call fcn.1402bd818
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.1402bd818
mov rbx, qword [rsp + 0x70]
xor al, al
add rsp, 0x78
ret
xor al, al
add rsp, 0x78
ret

Function at 0x1401b70a0
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 0x1401b70e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401b5550
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 0x1401b7108
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SuspendThread___failed_with_error__d_r_n
mov edx, eax
call fcn.1401b5550
jmp 0x1401b710a
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 0x1401ba460
Capabilities:
Get common file path

Disassembly:
push rbp
push r14
sub rsp, 0x248
mov rax, qword [0x14041da10]
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 0x1401ba4f7
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.140187e60
mov rbx, rax
test rax, rax
je 0x1401ba4dd
cmp dword [rax + 8], 8
je 0x1401ba512
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.1402bcad0
add rsp, 0x248
pop r14
pop rbp
ret
mov ecx, 0x20
call fcn.1402bcb4c
mov rdi, rax
test rax, rax
je 0x1401ba4dd
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.1401ba570
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
mov ebx, eax
call qword [r8]
mov eax, ebx
jmp 0x1401ba4df
Function at 0x1401bacb0
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.1402028a0
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 0x11]
lea r8, str.CurrentControlSet
mov rcx, qword [rdi]
call fcn.1402c06dc
lea edx, [rbx + 0x11]
mov rcx, rdi
call fcn.140203bb0
mov dword [rsp + 0x30], 1
mov eax, dword [0x140431ac0]
lea rbp, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401bad41
or eax, 1
mov dword [0x140431ac0], eax
mov qword [0x140431ac8], rbp
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
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 [0x140431ad0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401bae4f
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rsi, rax
test rax, rax
je 0x1401bae4f
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 0x1401bae42
mov r8d, dword [rsp + 0x98]
lea rdx, str.ControlSet_03d
lea rcx, [rsp + 0x48]
call fcn.140202d40
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.140203bb0
nop
cmp dword [rsp + 0x50], 0
jle 0x1401bae42
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
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 0x1401bd830
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 0x1401bd868
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401b5550
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 0x1401bd89d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Failed_to_terminate_process__error:_d__r_n
mov edx, eax
call fcn.1401b5550
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.1401b5550
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1401bdb50
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 0x1401bdc1d
nop dword [rax + rax]
lea r9, [rsp + 0x90]
mov r8d, ebx
mov rdx, rsi
mov ecx, 5
call qword [0x140430cb8]
mov ebx, eax
test eax, eax
je 0x1401bdc27
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp ebx, 0xc0000004
jne 0x1401bdc60
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 0x1401bdbb0
or ebp, 0xffffffff
mov dword [rsp + 0x88], ebp
test rsi, rsi
je 0x1401bdd96
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 0x1401bdc7c
mov r8, qword [r15 + 0x50]
cmp qword [rax + 0x20], r8
jae 0x1401bdc70
mov rax, qword [rax + 0x10]
jmp 0x1401bdc76
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 0x1401bdc54
cmp rcx, rdx
je 0x1401bdc97
mov rax, qword [rcx + 0x20]
cmp qword [r15 + 0x50], rax
jb 0x1401bdc97
mov qword [rsp + 0x20], rcx
lea rbx, [rsp + 0x20]
jmp 0x1401bdca1
mov qword [rsp + 0x28], rdx
lea rbx, [rsp + 0x28]
mov rbx, qword [rbx]
cmp rbx, rdx
je 0x1401bdd67
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 0x1401bdd54
xor edi, edi
cmp dword [r15 + 4], edi
jbe 0x1401bdd40
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 0x1401bdd25
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1401bdd1c
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.1401b5550
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add r14, 0x50
cmp edi, dword [r15 + 4]
jb 0x1401bdce0
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 0x1401bdd67
mov rdx, qword [rbx + 0x28]
lea rcx, str.Failed_to_suspended__s__pid__u__r_n
mov r8d, r12d
call fcn.1401b5550
mov eax, dword [r15]
test eax, eax
je 0x1401bdd76
add r15, rax
jmp 0x1401bdc40
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 0x1401bdf90
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 [0x14041da10]
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 0x1401be0a5
mov rdx, qword [rsi]
lea rcx, str.Stopping:__s
call fcn.1401b5550
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1401be046
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, 0xa
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1401be046
nop
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x1401be04a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14034bd50]
call fcn.1401b5550
dec ebx
je 0x1401be046
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1401be010
mov eax, dword [rsp + 0x24]
lea rcx, [0x1403677a0]
cmp eax, 1
je 0x1401be05d
lea rcx, str.FAIL_n
call fcn.1401b5550
mov rdx, qword [rsi]
lea rcx, str.Deleting:__s
call fcn.1401b5550
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1401be08e
lea rcx, [0x1403677a0]
call fcn.1401b5550
mov bl, 1
jmp 0x1401be09c
lea rcx, str.FAIL_n
call fcn.1401b5550
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.1402bcad0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401be0d0
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 [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rdx
mov rbx, rcx
xor sil, sil
cmp qword [rcx + 0x20], 0
jne 0x1401be117
call fcn.140100e80
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x1401be137
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.__OpenDriver___failed__error__d__r_n
call fcn.1401b5550
jmp 0x1401be27d
cmp dword [rdi + 0xc], 1
jg 0x1401be1a5
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x40], rax
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.140203bb0
nop
lea rdx, [0x140415de0]
lea rcx, [rsp + 0x40]
call fcn.1402c4a18
int3
mov rax, qword [rdi]
cmp word [rax + 2], 0x3a
jne 0x1401be27d
xor edx, edx
mov rcx, rdi
call fcn.140200d70
movzx ecx, ax
call fcn.1402c026c
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 0x1401be22a
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.1401b5550
jmp 0x1401be27d
lea rcx, [rsp + 0x70]
lea rdx, [0x14035a910]
nop word [rax + rax]
movzx eax, word [rcx + rbx*2]
inc rbx
cmp ax, word [rdx + rbx*2 - 2]
jne 0x1401be27d
cmp rbx, 5
jne 0x1401be240
xor r8d, r8d
lea rdx, str..sys
mov rcx, rdi
call fcn.140202750
test al, al
je 0x1401be272
mov rcx, rdi
call fcn.1401be2b0
mov rcx, rdi
call fcn.140188180
movzx esi, al
movzx eax, sil
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1401bebe0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x590
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x580], rax
lea rcx, str.ProtectMBR___A_n
xor bl, bl
call fcn.1401b5550
call fcn.140100e80
mov rdi, rax
test rax, rax
je 0x1401bed93
mov eax, dword [0x14034c078]
movsd xmm0, qword [0x14034c070]
lea rcx, [rsp + 0x370]
mov dword [rsp + 0x268], eax
movzx eax, word [0x14034c07c]
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 0x1401bed7a
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 0x1401bed71
cmp dword [rsp + 0x44], 0x20
jb 0x1401bed71
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x202
call fcn.1402c5760
mov r9d, dword [rsp + 0x278]
lea r8, str.DosDevicesPhysicalDrive_d
lea rcx, [rsp + 0x50]
mov edx, 0x100
call fcn.1402c06b8
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 0x1401bed71
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.1402bcad0
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x590
pop rdi
ret
Function at 0x1401bee80
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x270
mov rax, qword [0x14041da10]
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 0x1401bef0f
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.1401b5550
xor eax, eax
jmp 0x1401befde
xor ecx, ecx
lea rdx, [rsp + 0x50]
lea r8, [0x14035a910]
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 0x1401bef83
cmp rcx, 5
jne 0x1401bef30
xor r8d, r8d
movzx ecx, di
call fcn.140187e60
mov rbx, rax
test rax, rax
je 0x1401befb5
mov ecx, 0x20
call fcn.1402bcb4c
test rax, rax
je 0x1401befb0
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 0x1401befb0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8, [0x14035a948]
movzx eax, word [rcx + rdx*2]
inc rdx
cmp ax, word [r8 + rdx*2 - 2]
jne 0x1401befb5
cmp rdx, 4
jne 0x1401bef91
xor edx, edx
movzx ecx, di
call fcn.1401fa580
test rax, rax
jne 0x1401befd6
mov ecx, 0x10
call fcn.1402bcb4c
test rax, rax
je 0x1401befd6
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.1402bcad0
add rsp, 0x270
pop rdi
ret
Function at 0x1401c0cf0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rbp, r8
mov r15, rdx
mov rdi, rcx
lea rax, [rcx + 0x60]
mov qword [r11 + 8], rax
lea r14, [rax + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x1401c0d51
lea rcx, [rsp + 0x48]
call fcn.1400eec30
lea rdx, [0x1404159c8]
lea rcx, [rsp + 0x48]
call fcn.1402c4a18
int3
cmp byte [rdi + 0xf0], 0
jne 0x1401c0d6d
lea rdx, [rdi + 0x110]
lea rcx, [rdi + 0xf0]
call fcn.1401c0680
lea rax, [rdi + 0x110]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x2710
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov edx, 0x40000003
mov r9d, 0xff
mov r8d, 6
mov rcx, qword [rdi + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rdi + 0xa0], rax
mov rax, qword [rdi + 0xa0]
cmp rax, 0xffffffffffffffff
jne 0x1401c0e00
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14034d1a0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], eax
lea rax, vtable.Core::NamedPipeException.0
mov qword [rsp + 0x60], rax
lea rdx, [0x140415a58]
lea rcx, [rsp + 0x60]
call fcn.1402c4a18
int3
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lock inc dword [rdi + 0x10]
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x50
call fcn.1402bcb4c
test rax, rax
je 0x1401c0e47
mov r9, rbp
mov r8, r15
mov rdx, rdi
mov rcx, rax
call fcn.1401c0a50
mov rbx, rax
jmp 0x1401c0e49
xor ebx, ebx
lea rdx, [rbx + 8]
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1401c0ed1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x217
jne 0x1401c0e79
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1401c0ed1
cmp eax, 0x3e5
je 0x1401c0ed1
mov rdx, rbx
mov rcx, rdi
call fcn.1400efb30
lea rcx, [0x14034d1a0]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x98], ebp
lea rax, vtable.Core::NamedPipeException.0
mov qword [rsp + 0x80], rax
lea rdx, [0x140415a58]
lea rcx, [rsp + 0x80]
call fcn.1402c4a18
int3
mov qword [rdi + 0x58], rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret