Function at 0x1402547ac
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov rax, qword [0x1404e4768]
mov rcx, qword [0x1404e4770]
cmp rax, rcx
je 0x14025485b
sub rcx, rax
movabs rax, 0x7878787878787879
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140255818
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov rdx, qword [0x1404e4770]
mov rcx, qword [0x1404e4768]
call fcn.140252604
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x20], r14b
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14010c844
nop
mov byte [rsp + 0x20], r14b
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14010c844
nop
lea rcx, [rsp + 0x60]
call fcn.140252a94
nop
lea rcx, [rsp + 0x40]
call fcn.14025360c
lea rcx, [rbp + 0x50]
call fcn.14010a558
nop
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov edi, 1
mov rsi, qword [rsp + 0x40]
cmp rsi, r12
je 0x140254bc2
add rsi, 0x48
mov rbx, qword [rsp + 0x58]
lea r15, [rsi - 8]
movzx ecx, byte [r15]
sub ecx, 4
je 0x140254aad
sub ecx, 2
je 0x140254aad
cmp ecx, 1
je 0x140254930
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.1400b0db4
mov rdi, rax
lea r8, [rsi - 0x28]
lea rdx, [rsi - 0x48]
lea rcx, [rbp + 0x10]
call fcn.1400a6280
nop
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.1400d1190
nop
lea rcx, [rbp + 0x10]
call fcn.1400b70d0
jmp 0x140254b76
lea rdx, [0x1403e5a1c]
lea rcx, [rbp - 0x30]
call fcn.14008c350
nop
mov r13, qword [rsi - 0x38]
lea rdx, [rsi - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140099980
nop
lea rdx, [0x1403e5a14]
lea rcx, [rbp - 0x50]
call fcn.140077830
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov r15d, eax
xor r12d, r12d
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
lea edx, [r14 + 0x41]
mov word [rcx], dx
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov word [rax + r13*2], dx
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.1400b0db4
mov rdi, rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xb0]
call fcn.1400a6280
nop
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.1400d1190
nop
lea rcx, [rbp + 0xb0]
call fcn.1400b70d0
mov cl, r14b
mov edi, 1
mov eax, edi
shl eax, cl
test r15d, eax
je 0x140254a7a
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r12w
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.14008e66c
test eax, eax
js 0x140254a71
cmp qword [rbp + 0x20], r12
jbe 0x140254a71
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.1400b0db4
mov rdi, rax
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x70]
call fcn.1400a6280
nop
mov r8, rdi
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.1400d1190
nop
lea rcx, [rbp + 0x70]
call fcn.1400b70d0
mov edi, 1
lea rcx, [rbp + 0x10]
call fcn.14007a7c0
add r14w, di
cmp r14w, 0x19
jbe 0x140254975
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
lea r15, [rsi - 8]
mov r12, qword [rsp + 0x38]
xor r14d, r14d
jmp 0x140254b7b
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
xor ecx, ecx
lea r8, [rbp - 0x30]
lea rdx, [0x1404fa240]
call fcn.1400f26b0
test eax, eax
js 0x140254b1c
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.1400b0db4
mov rdi, rax
lea rdx, [rsi - 0x48]
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x70]
call fcn.1400a6280
nop
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.1400d1190
nop
lea rcx, [rbp + 0x70]
call fcn.1400b70d0
cmp qword [rbp + 0x60], r14
jbe 0x140254b6d
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.1400b0db4
mov rdi, rax
lea rdx, [rsi - 0x48]
lea r8, [rbp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.1400a6280
nop
mov r8, rdi
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.1400d1190
nop
lea rcx, [rbp + 0x70]
call fcn.1400b70d0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
mov edi, 1
mov rdx, qword [rsp + 0x68]
lea r9, [rsi - 0x48]
mov r8, r15
mov rdx, qword [rdx]
lea rcx, [rsp + 0x68]
call fcn.1402517f8
mov r9, qword [rsp + 0x68]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140251f04
add rsi, 0x88
lea rax, [rsi - 0x48]
cmp rax, r12
jne 0x1402548ca
lea rbx, [0x1404fa170]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x58]
lea rcx, [0x1404fa178]
call fcn.14010f784
lea rdx, [rsp + 0x30]
lea rcx, [0x1404fa180]
call fcn.14010f784
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x1404fa118]
call fcn.140251248
lea rdx, [rsp + 0x60]
lea rcx, [0x1404fa130]
call fcn.140255b30
mov byte [0x1404fa110], dil
lea rcx, [rsp + 0x38]
call fcn.1400ccc30
nop
lea rcx, [rbp + 0x50]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x60]
call fcn.140167920
nop
lea rcx, [rsp + 0x30]
call fcn.14011024c
nop
lea rcx, [rsp + 0x58]
call fcn.14011024c
nop
lea rcx, [rsp + 0x40]
call fcn.14010f2e8
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140112420
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret