Function at 0x140184560
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, r9d
mov ebx, r8d
movzx r12d, dx
mov rsi, rcx
mov qword [rbp - 0x28], rcx
lea rax, vtable.HitmanPro35::Ntfs.0
mov qword [rcx], rax
mov rax, qword [rbp + 0x90]
mov qword [rcx + 0x10], rax
or r14, 0xffffffffffffffff
mov qword [rcx + 0x18], r14
lea r15, vtable.Core::Mutex.0
mov qword [rcx + 0x20], r15
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov word [rsi + 0x50], r12w
mov dword [rsi + 0x654], ebx
mov byte [rsi + 0x658], 0
xor r13d, r13d
mov qword [rsi + 0x660], r13
mov qword [rsi + 0x668], r13
mov dword [rsi + 0x670], r13d
mov rax, qword [rbp + 0x78]
mov qword [rsi + 0x678], rax
mov rax, qword [rbp + 0x80]
mov qword [rsi + 0x680], rax
mov eax, dword [rbp + 0x88]
mov dword [rsi + 0x688], eax
mov eax, dword [rbp + 0x68]
mov dword [rsi + 0x68c], eax
mov eax, dword [rbp + 0x70]
mov dword [rsi + 0x690], eax
mov eax, dword [rbp + 0x60]
mov dword [rsi + 0x694], eax
mov dword [rsi + 0x698], edi
lea rax, vtable.Core::Collections::Generic::LinkedList_struct_HitmanPro35::AttributeDataEntry____ptr64_.0
mov qword [rsi + 0x6a0], rax
lea rax, vtable.Core::Collections::Generic::LinkedList_struct_HitmanPro35::AttributeDataEntry____ptr64_.1.0
mov qword [rsi + 0x6a8], rax
mov qword [rsi + 0x6b0], r13
mov qword [rsi + 0x6b8], r13
mov dword [rsi + 0x6c0], r13d
lea rdi, [rsi + 0x6d0]
mov qword [rbp - 0x20], rdi
lea rax, vtable.HitmanPro35::NtfsRecordCache.0
mov qword [rdi], rax
mov qword [rdi + 8], r15
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [rdi + 0x38], r13
mov qword [rdi + 0x40], r13
call fcn.14000a340
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x48], r13
mov qword [rdi + 0x50], r13
call fcn.14000a380
mov qword [rdi + 0x48], rax
lea rax, vtable.HitmanPro35::NtfsIndexCache.0
mov qword [rsi + 0x728], rax
mov qword [rsi + 0x730], r13
mov qword [rsi + 0x738], r13
call fcn.14000a380
mov qword [rsi + 0x730], rax
mov qword [rsi + 0x740], r15
lea rcx, [rsi + 0x748]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov eax, dword [0x14034d5f4]
mov dword [rbp - 0x18], eax
movzx eax, word [0x14034d5f8]
mov word [rbp - 0x14], ax
mov word [rbp - 0x18], r12w
xor edx, edx
mov eax, dword [rsi + 0x694]
div dword [rsi + 0x698]
mov dword [rsi + 0x69c], eax
mov ecx, dword [rsi + 0x68c]
call fcn.1402b7390
mov qword [rsi + 0x660], rax
movzx r9d, word [rsi + 0x50]
lea r8, str.._c:
mov edx, 0x100
lea rcx, [rsi + 0x52]
call fcn.1402ba928
lea rcx, [rsi + 0x452]
mov r9d, dword [rsi + 0x654]
lea r8, str.DosDevicesPhysicalDrive_d
mov edx, 0x100
call fcn.1402ba928
lea rdx, [rsi + 0x252]
mov r8d, 0x100
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
movzx edx, r12w
mov rcx, rsi
call fcn.1401842b0
mov dword [rsi + 8], r13d
mov ecx, dword [rbp + 0x98]
test ecx, ecx
je 0x1401847ac
test ecx, eax
je 0x1401847ac
mov dword [rsi + 8], ecx
mov ebx, 1
cmp dword [rsi + 8], 0
jne 0x1401847e3
test al, 8
je 0x1401847c4
mov dword [rsi + 8], 8
jmp 0x1401847e3
test bl, al
je 0x1401847cd
mov dword [rsi + 8], ebx
jmp 0x1401847e3
test al, 2
je 0x1401847da
mov dword [rsi + 8], 2
jmp 0x1401847e3
movzx eax, al
and eax, 4
mov dword [rsi + 8], eax
cmp dword [rsi + 8], ebx
jne 0x14018481e
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x100003
lea r8d, [r9 + 3]
lea rcx, [rsi + 0x52]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x14018481e
mov dword [rsi + 8], r13d
mov ecx, dword [rsi + 8]
test ecx, ecx
je 0x140184864
dec ecx
je 0x14018485b
dec ecx
je 0x140184852
sub ecx, 2
je 0x140184849
cmp ecx, 4
je 0x140184840
lea r8, str.Unknown
jmp 0x14018486b
lea r8, [0x14034ccb0]
jmp 0x14018486b
lea r8, str.FsdHigh
jmp 0x14018486b
lea r8, str.FsdLow
jmp 0x14018486b
lea r8, str.SPTI
jmp 0x14018486b
lea r8, str.Default
movzx edx, word [rsi + 0x50]
lea rcx, str._c:_____ws_r_n
call fcn.1402b7a88
cmp dword [rsi + 8], 0
jne 0x140184892
lea rcx, str.Failed_to_read__MFT____Nasty_Rootkit__r_n
call fcn.1402b9694
jmp 0x1401849b6
mov byte [rsp + 0x28], bl
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x660]
mov r8d, dword [rsi + 0x68c]
mov rdx, qword [rsi + 0x680]
mov rcx, rsi
call fcn.1401857b0
test al, al
je 0x1401849b6
mov r8, qword [rsi + 0x660]
movzx r9d, word [r8 + 4]
add r9, r8
cmp bx, word [r8 + 6]
jae 0x1401848fd
lea rdx, [r8 + 0x1fe]
mov eax, ebx
movzx ecx, word [r9 + rax*2]
mov word [rdx], cx
lea rdx, [rdx + 0x200]
inc ebx
movzx eax, word [r8 + 6]
cmp ebx, eax
jb 0x1401848e1
mov rcx, rsi
call fcn.1401861a0
mov rcx, rsi
call fcn.140185f80
mov eax, dword [0x14035a794]
mov dword [rbp - 0x20], eax
movzx eax, word [0x14035a798]
mov word [rbp - 0x1c], ax
mov word [rbp - 0x20], r12w
lea rax, [rbp - 0x20]
nop word [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x140184930
mov qword [rbp - 0x38], r13
test r14d, r14d
jne 0x140184951
lea rax, [0x140346ce0]
mov qword [rbp - 0x40], rax
jmp 0x140184975
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.1401fcb40
movsxd r9, r14d
mov eax, dword [rbp - 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x20]
mov rcx, qword [rbp - 0x40]
call fcn.1402ba94c
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.1401fde50
nop
mov r8d, 5
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140183b70
nop
cmp dword [rbp - 0x38], 0
jle 0x1401849a4
mov rcx, qword [rbp - 0x40]
call fcn.1402b7350
lea r8, [rbp - 0x40]
mov edx, 5
mov rcx, rsi
call fcn.1401884d0
nop
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret