Function at 0x18003a62c
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x160
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov rsi, rcx
mov qword [r11 - 0xf8], rcx
xor r13d, r13d
mov dword [rsp + 0x44], r13d
lea ecx, [r13 + 8]
call fcn.18004316c
cmp rax, r13
je 0x18003a689
mov qword [rax], rsi
jmp 0x18003a68c
mov rax, r13
mov qword [rsi], rax
mov rcx, rsi
call fcn.18003b410
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], r13
mov dword [rsp + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r12d, eax
mov r15d, 7
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x148], r13
mov word [rsp + 0x138], r13w
mov edi, r13d
lea eax, [r15 - 6]
bt r12d, edi
jae 0x18003a8b0
mov byte [rsp + 0x20], r13b
lea ebp, [rdi + 0x61]
lea rdx, [rsp + 0x20]
mov cl, bpl
call fcn.1800397c0
cmp al, r13b
je 0x18003a8ab
cmp byte [rsp + 0x20], r13b
je 0x18003a8a4
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0xf0], 0xf
mov qword [rsp + 0xe8], r13
mov byte [rsp + 0xd8], r13b
mov byte [rsp + 0xf8], r13b
mov byte [rsp + 0xf9], r13b
mov byte [rsp + 0xfa], r13b
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
mov ebx, r13d
lea rdx, [rsp + 0x40]
mov cl, bpl
call fcn.18003a110
cmp al, r13b
jne 0x18003a784
inc ebx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 5
jl 0x18003a75e
jmp 0x18003a7c8
mov r8d, dword [rsp + 0x40]
lea rdx, str._08x
lea rcx, [rsp + 0x60]
call fcn.1800213d4
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.180002398
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18003a7c8
mov rcx, qword [rsp + 0x68]
call fcn.180043070
mov byte [rsp + 0xf8], bpl
mov byte [rsp + 0xfa], r13b
mov dl, bpl
lea rcx, [rsp + 0x60]
call fcn.18003a2ec
cmp qword [rax + 0x18], r13
setne bl
cmp qword [rsp + 0x80], 8
jb 0x18003a801
mov rcx, qword [rsp + 0x68]
call fcn.180043070
movzx eax, byte [rsp + 0xf9]
cmp bl, r13b
mov ecx, 1
cmovne eax, ecx
mov byte [rsp + 0xf9], al
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.18003b358
nop
cmp qword [rsp + 0x120], 8
jb 0x18003a865
mov rcx, qword [rsp + 0x108]
call fcn.180043070
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0xf0], 0x10
jb 0x18003a89d
mov rcx, qword [rsp + 0xd8]
call fcn.180043070
mov eax, 1
jmp 0x18003a8b0
mov eax, 1
jmp 0x18003a8b0
mov eax, 1
jmp 0x18003a8b0
mov eax, 1
add edi, eax
cmp edi, 0x1a
jb 0x18003a6d6
lea rcx, [rsp + 0x98]
call fcn.18003e870
nop
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0xc0]
cmp rbx, r13
je 0x18003a912
cmp rbx, qword [rsp + 0x98]
je 0x18003a917
call fcn.180043018
cmp rdi, rbp
je 0x18003aaba
cmp rbx, r13
jne 0x18003a92f
call fcn.180043018
mov r11, r13
jmp 0x18003a932
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x18003a93d
call fcn.180043018
cmp qword [rdi + 0x30], r13
jne 0x18003a965
cmp rbx, r13
jne 0x18003a952
call fcn.180043018
mov r11, r13
jmp 0x18003a955
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x18003a960
call fcn.180043018
mov rdi, qword [rdi]
jmp 0x18003a8fb
mov qword [rsp + 0xf0], 0xf
mov qword [rsp + 0xe8], r13
mov byte [rsp + 0xd8], r13b
mov byte [rsp + 0xf8], r13b
mov byte [rsp + 0xf9], r13b
mov byte [rsp + 0xfa], r13b
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp rbx, r13
jne 0x18003a9c1
call fcn.180043018
mov r11, r13
jmp 0x18003a9c4
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x18003a9cf
call fcn.180043018
mov al, byte [rdi + 0x10]
mov byte [rsp + 0xf8], al
mov eax, 1
mov byte [rsp + 0xfa], al
cmp rbx, r13
jne 0x18003a9f4
call fcn.180043018
mov r11, r13
jmp 0x18003a9f7
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x18003aa02
call fcn.180043018
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x60]
call fcn.180010478
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.18000250c
nop
cmp qword [rsp + 0x80], 8
jb 0x18003aa3e
mov rcx, qword [rsp + 0x68]
call fcn.180043070
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.18003b358
nop
cmp qword [rsp + 0x120], 8
jb 0x18003aa88
mov rcx, qword [rsp + 0x108]
call fcn.180043070
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0xf0], 0x10
jb 0x18003aaba
mov rcx, qword [rsp + 0xd8]
call fcn.180043070
nop
lea rcx, [rsp + 0x98]
call fcn.180017930
nop
cmp qword [rsp + 0x150], 8
jb 0x18003aae0
mov rcx, qword [rsp + 0x138]
call fcn.180043070
mov rax, rsi
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret