Function at 0x140018810
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx + 0x30]
test rax, rax
jne 0x1400188cc
lea ecx, [rax + 0x20]
call fcn.14003763c
mov rdx, rax
test rax, rax
je 0x1400188c1
lea rax, [0x14005a710]
mov qword [rdx + 8], rax
lea rax, vtable.file_object.0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], r12
lea rax, vtable.i_dir::iterator.0
mov qword [rdx], rax
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.i_dir::iterator.1.0
mov qword [rcx + rdx + 8], rax
lea rax, vtable.windows_dir::root_iterator.0
mov qword [rdx], rax
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.windows_dir::root_iterator.1.0
mov qword [rcx + rdx + 8], rax
jmp 0x1400188c4
mov rdx, r12
mov rax, rdx
jmp 0x140018eaf
or rdi, 0xffffffffffffffff
cmp rax, 3
jne 0x140018909
mov rax, qword [rcx]
call qword [rax + 0x138]
mov rsi, rax
test rax, rax
je 0x140018d65
lea rax, [r14 + 0x20]
cmp qword [rax + 0x18], 8
jb 0x1400188f9
mov rax, qword [rax]
movzx edx, word [rax]
mov rcx, rsi
call fcn.14000d390
jmp 0x140018d65
add rcx, 0x20
call fcn.14001bc70
test al, al
jne 0x140018b5c
lea rcx, [r14 + 0x20]
call fcn.14001baf0
test al, al
jne 0x140018b5c
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r12
mov word [rbp - 0x50], r12w
mov r9, rdi
xor r8d, r8d
lea rdx, [r14 + 0x20]
lea rcx, [rbp - 0x50]
call fcn.1400044c0
nop
xor r9d, r9d
lea r8, [0x140059760]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1400181b0
test al, al
jne 0x140018a24
movabs rax, 0xf35f747b3b21f9bd
mov qword [rbp - 0x30], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rbp - 0x28], rax
lea rax, str.winnt_dir::GetSelfIterator
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x2b4
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x40], xmm1
lea rcx, [0x140056994]
call fcn.140005930
mov r9, rax
mov r8d, 0x40007
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140033ba0
nop
mov rcx, qword [r14 + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [r14 + 0x10]
add rcx, rdx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140018a09
lock dec dword [rcx]
jne 0x140018a09
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x1400189f2
cmp qword [rbp - 0x38], 8
jb 0x140018c17
mov rcx, qword [rbp - 0x50]
call fcn.1400376e4
xor eax, eax
jmp 0x140018eaf
mov r9d, 8
cmp qword [rbp - 0x40], r9
cmovb r9, qword [rbp - 0x40]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov r8d, 8
cmp r9, r8
cmovb r8, r9
test r8, r8
je 0x140018a86
lea rdx, [0x14005aad0]
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140018a77
add rcx, 2
add rdx, 2
dec r8
jne 0x140018a60
jmp 0x140018a86
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, edi
jmp 0x140018a89
mov r8d, r12d
movsxd rax, r8d
test r8d, r8d
jne 0x140018aa5
cmp r9, 8
jae 0x140018a9b
mov eax, edi
jmp 0x140018aa5
mov eax, r12d
cmp r9, 8
setne al
test eax, eax
jne 0x140018b05
lea edx, [rax + 0x5c]
lea r8d, [rax + 8]
lea rcx, [rbp - 0x50]
call fcn.14001ef00
cmp rax, 0xffffffffffffffff
je 0x140018b05
lea r8, [rax + 1]
mov edx, 0x5c
lea rcx, [rbp - 0x50]
call fcn.14001ef00
cmp rax, 0xffffffffffffffff
jne 0x140018b05
lea ecx, [rax + 0x41]
call fcn.14003763c
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140018b00
mov r8d, 1
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140013a20
mov rsi, rax
jmp 0x140018b03
mov rsi, r12
jmp 0x140018b36
mov ecx, 0x2110
call fcn.14003763c
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140018b33
mov r9d, 1
lea r8, [rbp - 0x50]
mov rdx, r14
mov rcx, rax
call fcn.140013490
mov rsi, rax
jmp 0x140018b36
mov rsi, r12
cmp qword [rbp - 0x38], 8
jb 0x140018b46
mov rcx, qword [rbp - 0x50]
call fcn.1400376e4
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r12
mov word [rbp - 0x50], r12w
jmp 0x140018d65
cmp qword [r14 + 0x38], 8
jb 0x140018b69
mov rcx, qword [r14 + 0x20]
jmp 0x140018b6d
lea rcx, [r14 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov r15d, eax
cmp eax, 1
jne 0x140018c1e
movabs rax, 0xf35f747b3b21f9b2
mov qword [rbp - 0x50], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rbp - 0x48], rax
lea rax, str.winnt_dir::GetSelfIterator
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], 0x2a9
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x60], xmm1
lea rcx, [0x140056984]
call fcn.140005930
mov r9, rax
mov r8d, 0x40011
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.140033ba0
nop
mov rcx, qword [r14 + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [r14 + 0x10]
add rcx, rdx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140018c17
lock dec dword [rcx]
jne 0x140018c17
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140018c00
xor eax, eax
jmp 0x140018eaf
lea rcx, [r14 + 0x20]
call fcn.14001bc70
lea rdx, [r14 + 0x20]
test al, al
je 0x140018c42
lea rcx, [rbp + 0x10]
call fcn.140015c70
mov rbx, rax
mov esi, 1
jmp 0x140018c53
lea rcx, [rbp - 0x10]
call fcn.140015c30
mov rbx, rax
mov esi, 2
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp qword [rbx + 0x18], 8
jae 0x140018c89
mov r8, qword [rbx + 0x10]
inc r8
je 0x140018c93
add r8, r8
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140037ce0
jmp 0x140018c93
mov rax, qword [rbx]
mov qword [rbp - 0x30], rax
mov qword [rbx], r12
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x20], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 0x18], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
test sil, 2
je 0x140018ce1
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
cmp qword [rbp + 8], 8
jb 0x140018cd0
mov rcx, qword [rbp - 0x10]
call fcn.1400376e4
mov qword [rbp + 8], 7
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
test sil, 1
je 0x140018d08
cmp qword [rbp + 0x28], 8
jb 0x140018cf7
mov rcx, qword [rbp + 0x10]
call fcn.1400376e4
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r12
mov word [rbp + 0x10], r12w
mov ecx, 0x48
call fcn.14003763c
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140018d41
mov ecx, r15d
call fcn.14000c500
mov r8d, eax
mov r9d, 1
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140013b30
mov rsi, rax
jmp 0x140018d44
mov rsi, r12
cmp qword [rbp - 0x18], 8
jb 0x140018d54
mov rcx, qword [rbp - 0x30]
call fcn.1400376e4
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
test rsi, rsi
jne 0x140018e22
movabs rax, 0xf35f747b3b21f9c7
mov qword [rsp + 0x30], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x38], rax
lea rax, str.winnt_dir::GetSelfIterator
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x2be
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm1
lea rcx, [0x140056998]
call fcn.140005930
mov r9, rax
mov r8d, 0x40006
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140033ba0
nop
mov rcx, qword [r14 + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [r14 + 0x10]
add rcx, rdx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140018c17
nop dword [rax + rax]
lock dec dword [rcx]
jne 0x140018c17
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140018e00
xor eax, eax
jmp 0x140018eaf
mov rax, qword [rsi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
lea rdx, [rsp + 0x28]
call fcn.14000d650
nop
mov rcx, qword [r14 + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [r14 + 0x10]
add rcx, rdx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140018e77
nop
lock dec dword [rcx]
jne 0x140018e77
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140018e60
mov rax, qword [r14 + 8]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + r14 + 0x10]
test rax, rax
je 0x140018eac
cmp dword [rax + 4], 0
je 0x140018eac
mov rax, qword [rsi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xor eax, eax
jmp 0x140018eaf
mov rax, rsi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140038d80
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret