Function at 0x140034dd0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14006dfb8]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r13, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x50]
call fcn.1400344d4
nop
xor esi, esi
mov byte [rsp + 0x20], sil
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14001a684
nop
mov byte [rsp + 0x20], sil
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14001a684
nop
lea rcx, [rbp - 0x80]
call fcn.1400321c8
nop
lea rcx, [rsp + 0x50]
call fcn.140034a5c
lea rcx, [rbp + 0x70]
call fcn.140034d04
nop
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea r14d, [rsi + 1]
mov r15, qword [rsp + 0x50]
cmp r15, rax
je 0x1400351e6
add r15, 0x48
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
movzx ecx, byte [r15 - 8]
sub ecx, 4
je 0x1400350b2
sub ecx, 2
je 0x1400350b2
cmp ecx, 1
je 0x140034f07
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.14000dffc
mov rsi, rax
lea r12, [r15 - 0x48]
lea r8, [r15 - 0x28]
mov rdx, r12
lea rcx, [rbp + 0x30]
call fcn.140014358
nop
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call qword [case.0x140030f52.0]
nop
lea rcx, [rbp + 0x30]
call fcn.140013230
jmp 0x1400351ac
lea rdx, [0x140053064]
lea rcx, [rbp - 0x10]
call fcn.140017b3c
nop
mov rax, qword [r15 - 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [r15 - 0x48]
lea rcx, [rbp + 0x30]
call fcn.14001866c
nop
lea rdx, [0x14005306c]
lea rcx, [rbp + 0x30]
call fcn.14000d998
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
movzx r13d, si
mov r12, qword [rsp + 0x28]
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
lea edx, [r13 + 0x41]
mov word [rcx], dx
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rax, qword [rbp + 0x30]
mov word [rax + r12*2], dx
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rbp + 0x90]
call fcn.14000dffc
mov rsi, rax
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xd0]
call fcn.140014358
nop
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call qword [case.0x140030f52.0]
nop
lea rcx, [rbp + 0xd0]
call fcn.140013230
mov cl, r13b
mov r14d, 1
mov eax, r14d
shl eax, cl
test dword [rsp + 0x30], eax
je 0x140035087
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor esi, esi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.14000e3d4
test eax, eax
js 0x14003507e
cmp qword [rbp - 0x20], rsi
jbe 0x14003507e
mov rax, qword [rdi]
mov r14, qword [rax]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rbp + 0xd0]
call fcn.14000dffc
mov rsi, rax
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x90]
call fcn.140014358
nop
mov r8, rsi
mov rdx, rax
mov rcx, rdi
mov rax, r14
call qword [case.0x140030f52.0]
nop
lea rcx, [rbp + 0x90]
call fcn.140013230
mov r14d, 1
lea rcx, [rbp - 0x30]
call fcn.1400183f8
add r13w, r14w
cmp r13w, 0x19
jbe 0x140034f58
lea rcx, [rbp + 0x30]
call fcn.1400183f8
nop
lea rcx, [rbp - 0x10]
call fcn.1400183f8
lea r12, [r15 - 0x48]
jmp 0x1400351b2
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rsi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], si
xor ecx, ecx
lea r8, [rbp - 0x10]
lea rdx, [0x14006edb8]
call fcn.140013760
test eax, eax
js 0x14003513e
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rbp + 0xd0]
call fcn.14000dffc
mov rsi, rax
lea r12, [r15 - 0x48]
lea r8, [rbp - 0x10]
mov rdx, r12
lea rcx, [rbp + 0x90]
call fcn.140014358
nop
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call qword [case.0x140030f52.0]
nop
lea rcx, [rbp + 0x90]
call fcn.140013230
xor esi, esi
jmp 0x140035142
lea r12, [r15 - 0x48]
cmp qword [rbp + 0x80], rsi
jbe 0x1400351a3
mov rax, qword [rdi]
mov r14, qword [rax]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rbp + 0xd0]
call fcn.14000dffc
mov rsi, rax
lea r8, [rbp + 0x70]
mov rdx, r12
lea rcx, [rbp + 0x90]
call fcn.140014358
nop
mov r8, rsi
mov rdx, rax
mov rcx, rdi
mov rax, r14
call qword [case.0x140030f52.0]
nop
lea rcx, [rbp + 0x90]
call fcn.140013230
nop
lea rcx, [rbp - 0x10]
call fcn.1400183f8
mov r14d, 1
mov r9, r12
lea r8, [r15 - 8]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.140034314
add r15, 0x88
lea rax, [r15 - 0x48]
cmp rax, qword [rsp + 0x68]
mov esi, 0
jne 0x140034e97
mov r13, qword [rsp + 0x48]
lea rbx, [r13 + 0x138]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x48], rbx
lea rcx, [r13 + 0x140]
lea rdx, [rsp + 0x40]
call fcn.140019f9c
lea rcx, [r13 + 0x148]
lea rdx, [rsp + 0x38]
call fcn.140019f9c
lea rcx, [r13 + 0xe0]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x140035258
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
sub r8, rdx
sar r8, 3
movabs rax, 0xf0f0f0f0f0f0f0f1
imul r8, rax
call fcn.140033d70
lea rbx, [r13 + 0xf8]
lea rax, [rbp - 0x80]
cmp rbx, rax
je 0x1400352a8
mov qword [rsp + 0x30], rbx
mov eax, dword [rbp - 0x80]
mov dword [rbx], eax
lea rcx, [rbx + 8]
mov r8, qword [rbp - 0x78]
mov rdx, qword [r8]
call fcn.140033c70
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.1400356d0
mov rdx, rax
mov rcx, rbx
call fcn.140035774
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140034768
mov byte [r13 + 0xd8], r14b
lea rcx, [rsp + 0x48]
call fcn.14001a174
nop
lea rcx, [rbp + 0x70]
call fcn.1400183f8
nop
lea rcx, [rbp - 0x80]
call fcn.1400323c8
nop
lea rcx, [rsp + 0x38]
call fcn.14001a90c
nop
lea rcx, [rsp + 0x40]
call fcn.14001a90c
nop
lea rcx, [rsp + 0x50]
call fcn.1400338a0
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14001ae20
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret