Function at 0x140185930
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 [0x140418a10]
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 [0x14034f624]
mov dword [rbp - 0x18], eax
movzx eax, word [0x14034f628]
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.1402b9c60
mov qword [rsi + 0x660], rax
movzx r9d, word [rsi + 0x50]
lea r8, str.._c:
mov edx, 0x100
lea rcx, [rsi + 0x52]
call fcn.1402bd1f8
lea rcx, [rsi + 0x452]
mov r9d, dword [rsi + 0x654]
lea r8, str.DosDevicesPhysicalDrive_d
mov edx, 0x100
call fcn.1402bd1f8
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.140185680
mov dword [rsi + 8], r13d
mov ecx, dword [rbp + 0x98]
test ecx, ecx
je 0x140185b7c
test ecx, eax
je 0x140185b7c
mov dword [rsi + 8], ecx
mov ebx, 1
cmp dword [rsi + 8], 0
jne 0x140185bcd
test al, 8
je 0x140185b94
mov dword [rsi + 8], 8
jmp 0x140185bcd
test bl, al
je 0x140185b9d
mov dword [rsi + 8], ebx
jmp 0x140185bcd
test al, 2
je 0x140185baa
mov dword [rsi + 8], 2
jmp 0x140185bcd
test al, 4
je 0x140185bb7
mov dword [rsi + 8], 4
jmp 0x140185bcd
mov dword [rsi + 8], r13d
mov rax, qword [0x14042bb58]
test rax, rax
je 0x140185bcd
mov dword [rax + 0x14], ebx
mov byte [rax + 0x18], bl
cmp dword [rsi + 8], ebx
jne 0x140185c08
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 0x140185c08
mov dword [rsi + 8], r13d
mov ecx, dword [rsi + 8]
test ecx, ecx
je 0x140185c4e
dec ecx
je 0x140185c45
dec ecx
je 0x140185c3c
sub ecx, 2
je 0x140185c33
cmp ecx, 4
je 0x140185c2a
lea r8, str.Unknown
jmp 0x140185c55
lea r8, [0x14034ece8]
jmp 0x140185c55
lea r8, str.FsdHigh
jmp 0x140185c55
lea r8, str.FsdLow
jmp 0x140185c55
lea r8, str.SPTI
jmp 0x140185c55
lea r8, str.Default
movzx edx, word [rsi + 0x50]
lea rcx, str._c:_____ws_r_n
call fcn.1402ba358
cmp dword [rsi + 8], 0
jne 0x140185c7c
lea rcx, str.Failed_to_read__MFT____Nasty_Rootkit__r_n
call fcn.1402bbf64
jmp 0x140185da6
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.140186ba0
test al, al
je 0x140185da6
mov r8, qword [rsi + 0x660]
movzx r9d, word [r8 + 4]
add r9, r8
cmp bx, word [r8 + 6]
jae 0x140185cec
lea rdx, [r8 + 0x1fe]
nop dword [rax + rax]
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 0x140185cd0
mov rcx, rsi
call fcn.140187590
mov rcx, rsi
call fcn.140187370
mov eax, dword [0x14035c7f4]
mov dword [rbp - 0x20], eax
movzx eax, word [0x14035c7f8]
mov word [rbp - 0x1c], ax
mov word [rbp - 0x20], r12w
lea rax, [rbp - 0x20]
nop dword [rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x140185d20
mov qword [rbp - 0x38], r13
test r14d, r14d
jne 0x140185d41
lea rax, [0x140348ca0]
mov qword [rbp - 0x40], rax
jmp 0x140185d65
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.1401ff260
movsxd r9, r14d
mov eax, dword [rbp - 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x20]
mov rcx, qword [rbp - 0x40]
call fcn.1402bd21c
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.140200570
nop
mov r8d, 5
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140184f40
nop
cmp dword [rbp - 0x38], 0
jle 0x140185d94
mov rcx, qword [rbp - 0x40]
call fcn.1402b9c20
lea r8, [rbp - 0x40]
mov edx, 5
mov rcx, rsi
call fcn.1401898c0
nop
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret