Function at 0x140087e9c
Capabilities:
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r13
push r15
sub rsp, 0x40
xor ebx, ebx
mov r12, r8
mov r13b, dl
mov rbp, rcx
test rcx, rcx
jne 0x140087edd
lea r8, str.wszName___NULL
mov edx, 0xe9
lea rcx, str.base_stor_blbutil_networkutils.cpp
call fcn.140087b08
mov rcx, rbp
mov byte [r12], bl
mov qword [rsp + 0x60], rbx
call fcn.14008f2e8
lea rdx, [rsp + 0x60]
mov rcx, rbp
mov r15b, al
call fcn.1400887a0
mov esi, eax
test eax, eax
js 0x1400881b4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 4
jne 0x140088054
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x140087f5e
test byte [rcx + 0x1c], 1
je 0x140087f5e
cmp byte [rcx + 0x19], 5
jb 0x140087f5e
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 6]
mov r9, rbp
lea r8, [0x1401598b0]
call fcn.140005cd0
mov rcx, qword [0x14017b048]
xor r8d, r8d
test r15b, r15b
jne 0x140087f70
mov esi, 0x8078011a
jmp 0x1400881b4
test r13b, r13b
je 0x140087fd5
mov rcx, qword [rsp + 0x60]
call fcn.140087d28
xor r8d, r8d
mov esi, eax
test eax, eax
jns 0x140087fce
mov rcx, qword [0x14017b048]
cmp rcx, rbx
je 0x1400881b4
test byte [rcx + 0x1c], 1
je 0x1400881b4
cmp byte [rcx + 0x19], 4
jb 0x1400881b4
mov r9, qword [rsp + 0x60]
lea edx, [r8 + 0xf]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401598b0]
mov dword [rsp + 0x20], eax
call fcn.140005d40
jmp 0x1400881b4
mov rcx, qword [0x14017b048]
or rax, 0xffffffffffffffff
mov rdx, rax
inc rdx
cmp word [rbp + rdx*2], r8w
jne 0x140087fdc
cmp edx, 0x6e
jbe 0x14008804a
mov esi, 0x80780078
cmp rcx, rbx
je 0x1400881b4
test byte [rcx + 0x1c], 1
je 0x1400881b4
cmp byte [rcx + 0x19], 2
jb 0x1400881b4
inc rax
cmp word [rbp + rax*2], r8w
jne 0x14008800e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401598b0]
mov dword [rsp + 0x30], 0x80780078
mov edx, 0x10
mov dword [rsp + 0x28], 0x6e
mov r9, rbp
mov dword [rsp + 0x20], eax
call fcn.140087c80
jmp 0x1400881b4
mov byte [r12], 1
jmp 0x1400881b4
cmp eax, 1
jne 0x140088179
test r15b, r15b
jne 0x140088098
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x1400881b4
test byte [rcx + 0x1c], al
je 0x1400881b4
cmp byte [rcx + 0x19], 5
jb 0x1400881b4
lea edx, [rax + 0xa]
mov dword [rsp + 0x20], eax
jmp 0x1400881a1
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x140088139
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 5
je 0x140088132
cmp eax, 0x52e
je 0x140088132
cmp eax, 0x43
je 0x140088128
cmp eax, 0x35
je 0x140088128
cmp eax, 3
je 0x140088128
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x1400881b4
test byte [rcx + 0x1c], 1
je 0x1400881b4
cmp byte [rcx + 0x19], 4
jb 0x1400881b4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401598b0]
mov edx, 0xc
mov r9d, eax
call fcn.140004c3c
jmp 0x1400881b4
mov esi, 0x80780071
jmp 0x1400881b4
mov esi, 0x8078006f
jmp 0x1400881b4
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x140088172
test byte [rcx + 0x1c], 1
je 0x140088172
cmp byte [rcx + 0x19], 2
jb 0x140088172
mov r9, qword [rsp + 0x60]
lea r8, [0x1401598b0]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.140005cd0
mov esi, 0x8000ffff
jmp 0x1400881b4
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x1400881b4
test byte [rcx + 0x1c], 1
je 0x1400881b4
cmp byte [rcx + 0x19], 5
jb 0x1400881b4
mov edx, 0xe
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401598b0]
mov r9, rbp
call fcn.140005d40
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x68]
mov eax, esi
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r13
pop r12
ret