Function at 0x180034e5c
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 [0x1800764c0]
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.18003c75c
cmp rax, r13
je 0x180034eb9
mov qword [rax], rsi
jmp 0x180034ebc
mov rax, r13
mov qword [rsi], rax
mov rcx, rsi
call fcn.180035c80
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 0x1800350e0
mov byte [rsp + 0x20], r13b
lea ebp, [rdi + 0x61]
lea rdx, [rsp + 0x20]
mov cl, bpl
call fcn.18003352c
cmp al, r13b
je 0x1800350db
cmp byte [rsp + 0x20], r13b
je 0x1800350d4
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.180033e40
cmp al, r13b
jne 0x180034fb4
inc ebx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 5
jl 0x180034f8e
jmp 0x180034ff8
mov r8d, dword [rsp + 0x40]
lea rdx, str._08x
lea rcx, [rsp + 0x60]
call fcn.18001bd74
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1800020ec
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180034ff8
mov rcx, qword [rsp + 0x68]
call fcn.18003c660
mov byte [rsp + 0xf8], bpl
mov byte [rsp + 0xfa], r13b
mov dl, bpl
lea rcx, [rsp + 0x60]
call fcn.180034c98
cmp qword [rax + 0x18], r13
setne bl
cmp qword [rsp + 0x80], 8
jb 0x180035031
mov rcx, qword [rsp + 0x68]
call fcn.18003c660
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.180035bc8
nop
cmp qword [rsp + 0x120], 8
jb 0x180035095
mov rcx, qword [rsp + 0x108]
call fcn.18003c660
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0xf0], 0x10
jb 0x1800350cd
mov rcx, qword [rsp + 0xd8]
call fcn.18003c660
mov eax, 1
jmp 0x1800350e0
mov eax, 1
jmp 0x1800350e0
mov eax, 1
jmp 0x1800350e0
mov eax, 1
add edi, eax
cmp edi, 0x1a
jb 0x180034f06
lea rcx, [rsp + 0x98]
call fcn.1800388dc
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 0x180035142
cmp rbx, qword [rsp + 0x98]
je 0x180035147
call fcn.18003c608
cmp rdi, rbp
je 0x1800352ea
cmp rbx, r13
jne 0x18003515f
call fcn.18003c608
mov r11, r13
jmp 0x180035162
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x18003516d
call fcn.18003c608
cmp qword [rdi + 0x30], r13
jne 0x180035195
cmp rbx, r13
jne 0x180035182
call fcn.18003c608
mov r11, r13
jmp 0x180035185
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x180035190
call fcn.18003c608
mov rdi, qword [rdi]
jmp 0x18003512b
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 0x1800351f1
call fcn.18003c608
mov r11, r13
jmp 0x1800351f4
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x1800351ff
call fcn.18003c608
mov al, byte [rdi + 0x10]
mov byte [rsp + 0xf8], al
mov eax, 1
mov byte [rsp + 0xfa], al
cmp rbx, r13
jne 0x180035224
call fcn.18003c608
mov r11, r13
jmp 0x180035227
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x28]
jne 0x180035232
call fcn.18003c608
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x60]
call fcn.1800197cc
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.180002260
nop
cmp qword [rsp + 0x80], 8
jb 0x18003526e
mov rcx, qword [rsp + 0x68]
call fcn.18003c660
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.180035bc8
nop
cmp qword [rsp + 0x120], 8
jb 0x1800352b8
mov rcx, qword [rsp + 0x108]
call fcn.18003c660
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0xf0], 0x10
jb 0x1800352ea
mov rcx, qword [rsp + 0xd8]
call fcn.18003c660
nop
lea rcx, [rsp + 0x98]
call fcn.1800133ac
nop
cmp qword [rsp + 0x150], 8
jb 0x180035310
mov rcx, qword [rsp + 0x138]
call fcn.18003c660
mov rax, rsi
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.18003c1a0
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