Function at 0x140174b30
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 [0x1403eaa10]
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.14000a210
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x48], r13
mov qword [rdi + 0x50], r13
call fcn.14000a250
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.14000a250
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 [0x14032a3c4]
mov dword [rbp - 0x18], eax
movzx eax, word [0x14032a3c8]
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.140298640
mov qword [rsi + 0x660], rax
movzx r9d, word [rsi + 0x50]
lea r8, str.._c:
mov edx, 0x100
lea rcx, [rsi + 0x52]
call fcn.14029b4b4
lea rcx, [rsi + 0x452]
mov r9d, dword [rsi + 0x654]
lea r8, str.DosDevicesPhysicalDrive_d
mov edx, 0x100
call fcn.14029b4b4
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.1401748a0
mov dword [rsi + 8], r13d
mov ecx, dword [rbp + 0x98]
test ecx, ecx
je 0x140174d7c
test ecx, eax
je 0x140174d7c
mov dword [rsi + 8], ecx
mov ebx, 1
cmp dword [rsi + 8], 0
jne 0x140174db3
test al, 8
je 0x140174d94
mov dword [rsi + 8], 8
jmp 0x140174db3
test bl, al
je 0x140174d9d
mov dword [rsi + 8], ebx
jmp 0x140174db3
test al, 2
je 0x140174daa
mov dword [rsi + 8], 2
jmp 0x140174db3
movzx eax, al
and eax, 4
mov dword [rsi + 8], eax
cmp dword [rsi + 8], ebx
jne 0x140174dee
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 0x140174dee
mov dword [rsi + 8], r13d
mov ecx, dword [rsi + 8]
test ecx, ecx
je 0x140174e34
dec ecx
je 0x140174e2b
dec ecx
je 0x140174e22
sub ecx, 2
je 0x140174e19
cmp ecx, 4
je 0x140174e10
lea r8, str.Unknown
jmp 0x140174e3b
lea r8, [0x140329ae0]
jmp 0x140174e3b
lea r8, str.FsdHigh
jmp 0x140174e3b
lea r8, str.FsdLow
jmp 0x140174e3b
lea r8, str.SPTI
jmp 0x140174e3b
lea r8, str.Default
movzx edx, word [rsi + 0x50]
lea rcx, str._c:_____ws_r_n
call fcn.140298d38
cmp dword [rsi + 8], 0
jne 0x140174e62
lea rcx, str.Failed_to_read__MFT____Nasty_Rootkit__r_n
call fcn.14029a88c
jmp 0x140174f86
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.140175d80
test al, al
je 0x140174f86
mov r8, qword [rsi + 0x660]
movzx r9d, word [r8 + 4]
add r9, r8
cmp bx, word [r8 + 6]
jae 0x140174ecd
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 0x140174eb1
mov rcx, rsi
call fcn.140176770
mov rcx, rsi
call fcn.140176550
mov eax, dword [0x1403360fc]
mov dword [rbp - 0x20], eax
movzx eax, word [0x140336100]
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 0x140174f00
mov qword [rbp - 0x38], r13
test r14d, r14d
jne 0x140174f21
lea rax, [0x140323de0]
mov qword [rbp - 0x40], rax
jmp 0x140174f45
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.1401e9030
movsxd r9, r14d
mov eax, dword [rbp - 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x20]
mov rcx, qword [rbp - 0x40]
call fcn.14029b4d8
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.1401ea290
nop
mov r8d, 5
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140174160
nop
cmp dword [rbp - 0x38], 0
jle 0x140174f74
mov rcx, qword [rbp - 0x40]
call fcn.140298600
lea r8, [rbp - 0x40]
mov edx, 5
mov rcx, rsi
call fcn.140178aa0
nop
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret