Function at 0x140136524
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rsp + 0x70], rax
and qword [rdx], 0
mov r14, rdx
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
and dword [rsp + 0x48], 0
mov rbp, rcx
call fcn.140091f50
lea r12, [0x140173048]
mov ebx, eax
mov r13d, 0x200
test eax, eax
js 0x1401366ea
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], 0x10
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
jne 0x14013669a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8, [rsp + 0x48]
mov dl, 1
mov rcx, rbp
mov edi, eax
call fcn.140134c60
test eax, eax
jns 0x14013663e
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x140136625
test byte [rcx + 0x1c], 1
je 0x140136625
cmp byte [rcx + 0x19], 3
jb 0x140136625
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x2d
mov dword [rsp + 0x20], eax
mov r9, rbp
call fcn.1400151b8
mov rcx, qword [0x140173048]
test edi, edi
jg 0x140136630
mov ebx, edi
jmp 0x1401366f1
movzx ebx, di
or ebx, 0x80070000
jmp 0x1401366f1
test dword [rsp + 0x48], 0x800
je 0x14013676a
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x14013667e
test dword [rcx + 0x1c], r13d
je 0x14013667e
cmp byte [rcx + 0x19], 4
jb 0x14013667e
mov r9, qword [rsp + 0x40]
lea r8, [0x1401626e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2e
call fcn.140015150
lea r8, str.NTFS
mov edx, 0x10
lea rcx, [rsp + 0x50]
call fcn.140006530
mov ebx, eax
test eax, eax
js 0x1401366ea
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r14
call fcn.140091bf0
mov ebx, eax
test eax, eax
js 0x1401366ea
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1401366f1
test dword [rcx + 0x1c], r13d
je 0x1401366f1
cmp byte [rcx + 0x19], 5
jb 0x1401366f1
mov rax, qword [r14]
lea r8, [0x1401626e8]
mov r9, qword [rsp + 0x40]
mov edx, 0x30
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140015238
mov rcx, qword [0x140173048]
cmp qword [rsp + 0x40], 0
je 0x140136711
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test ebx, ebx
jns 0x140136742
cmp rcx, r12
je 0x140136742
test dword [rcx + 0x1c], r13d
je 0x140136742
cmp byte [rcx + 0x19], 3
jb 0x140136742
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x31
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.1400151b8
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
cmp edi, 0x3ed
je 0x140136780
cmp edi, 1
je 0x140136780
cmp edi, 0x57
jne 0x14013661e
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1401366f1
test dword [rcx + 0x1c], r13d
je 0x1401366f1
cmp byte [rcx + 0x19], 4
jb 0x1401366f1
mov r9, qword [rsp + 0x40]
lea r8, [0x1401626e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2f
call fcn.140015150
jmp 0x1401366ea