Function at 0x1400ac7ec
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14016d608]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov r14, r9
mov dword [rsp + 0x40], ebx
mov rbp, r8
mov rsi, rcx
mov rcx, qword [0x14016d090]
lea r12, [0x14016d090]
lea r13, [0x14014e198]
mov r15b, 4
cmp rcx, r12
je 0x1400ac85c
test byte [rcx + 0x1c], r15b
je 0x1400ac85c
cmp byte [rcx + 0x19], r15b
jb 0x1400ac85c
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x1d]
mov r8, r13
call fcn.140004968
mov dword [r14], ebx
test rsi, rsi
jne 0x1400ac87c
lea r8, str.wszDeviceName
mov edx, 0x1d6
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.140081b60
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.msvcrt.dll_memset
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rsi + rcx*2], bx
jne 0x1400ac895
test rcx, rcx
jne 0x1400ac8b4
mov dword [r14], 0x57
mov ebx, 0x16
jmp 0x1400ac9f7
inc rax
cmp word [rsi + rax*2], bx
jne 0x1400ac8b4
cmp word [rsi + rax*2 - 2], 0x5c
lea rcx, [rsp + 0x50]
mov r9, rsi
lea r8, [0x14014ddc8]
mov edx, 0x104
jne 0x1400ac8e0
lea r8, [0x14014ddd8]
call fcn.14000f4f8
test eax, eax
js 0x1400ac8a3
mov dword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x1400ac9c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x40]
mov rcx, rsi
mov edi, eax
call fcn.1400ac550
test eax, eax
je 0x1400ac971
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400ac964
test byte [rcx + 0x1c], r15b
je 0x1400ac964
cmp byte [rcx + 0x19], 2
jb 0x1400ac964
mov rcx, qword [rcx + 0x10]
mov edx, 0x1e
mov r9, rsi
mov dword [rsp + 0x20], eax
mov r8, r13
call fcn.1400058c8
mov ebx, 0x16
mov dword [r14], edi
jmp 0x1400ac9f7
mov eax, dword [rsp + 0x40]
shr eax, 0xb
test al, 1
je 0x1400aca4d
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400ac9ae
test byte [rcx + 0x1c], r15b
je 0x1400ac9ae
cmp byte [rcx + 0x19], r15b
jb 0x1400ac9ae
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x1f
mov r8, r13
call fcn.140005868
lea r8, str.NTFS
mov edx, 0x10
mov rcx, rbp
call fcn.140039a84
test eax, eax
js 0x1400ac9f7
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400aca20
test byte [rcx + 0x1c], r15b
je 0x1400ac9fe
cmp byte [rcx + 0x19], r15b
jb 0x1400ac9fe
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, r13
call fcn.14000593c
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400aca20
test byte [rcx + 0x1c], r15b
je 0x1400aca20
cmp byte [rcx + 0x19], r15b
jb 0x1400aca20
mov rcx, qword [rcx + 0x10]
mov edx, 0x23
mov r8, r13
call fcn.140004968
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14013cc00
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp edi, 0x3ed
je 0x1400acaa5
cmp edi, 1
je 0x1400acaa5
cmp edi, 0x57
je 0x1400acaa5
mov dword [r14], edi
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400aca9b
test byte [rcx + 0x1c], r15b
je 0x1400aca9b
cmp byte [rcx + 0x19], 2
jb 0x1400aca9b
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x21
mov dword [rsp + 0x20], edi
mov r8, r13
call fcn.1400058c8
mov rcx, qword [0x14016d090]
mov ebx, 0x16
jmp 0x1400ac9fe
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400acad3
test byte [rcx + 0x1c], r15b
je 0x1400acad3
cmp byte [rcx + 0x19], r15b
jb 0x1400acad3
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x20
mov r8, r13
call fcn.140005868
lea r8, [0x140147168]
jmp 0x1400ac9b5