Function at 0x140002e70
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14005a060]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rdx
mov qword [rbp - 0x51], rdx
mov r15, rcx
mov qword [rbp - 0x59], rcx
mov qword [rbp + 0x17], rcx
test rdx, rdx
je 0x140002ff2
mov r8d, 8
lea rdx, str.device_
mov rcx, r14
call fcn.14001f8e4
test eax, eax
jne 0x140002ff2
xor r13d, r13d
lea r12, [0x14005d7a0]
lea rdi, [r13 - 1]
cmp byte [0x14005d750], r13b
jne 0x140002fb5
movzx r14d, r13w
xor esi, esi
lea r15, [0x14005d7a0]
nop word [rax + rax]
mov eax, dword [0x14005176c]
mov dword [rbp + 0x17], eax
movzx eax, word [0x140051770]
mov word [rbp + 0x1b], ax
lea eax, [r14 + 0x41]
mov word [rbp + 0x17], ax
imul r12, r13, 0x208
lea rbx, [r12 + r15]
mov r8d, 0x104
mov rdx, rbx
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 3
jb 0x140002f5f
lea edx, [rax - 3]
add rdx, rsi
cmp word [r15 + rdx*2], 0x5c
je 0x140002f5f
add eax, 0xfffffffe
mov ecx, eax
add rcx, rsi
mov eax, 0x5c
mov word [r15 + rcx*2], ax
xor eax, eax
mov word [r12 + r15 + 0x204], ax
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140002f70
mov word [r12 + r15 + 0x206], ax
inc r14w
inc r13
add rsi, 0x104
cmp r14w, 0x1a
jb 0x140002f00
mov byte [0x14005d750], 1
mov r15, qword [rbp - 0x59]
mov r14, qword [rbp - 0x51]
lea r12, [0x14005d7a0]
xor r13d, r13d
movzx ebx, r13w
nop dword [rax]
movzx eax, bx
imul rdx, rax, 0x208
add rdx, r12
cmp word [rdx], 0
je 0x140002fe9
movzx esi, word [rdx + 0x206]
mov r8d, esi
mov rcx, r14
call fcn.14001f8e4
test eax, eax
je 0x140003021
inc bx
cmp bx, 0x1a
jb 0x140002fc0
mov byte [r15 + 0x20], 0
mov rax, r15
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140019030
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [0x14005176c]
mov dword [rbp + 0x17], eax
movzx eax, word [0x140051770]
mov word [rbp + 0x1b], ax
add bx, 0x41
mov word [rbp + 0x17], bx
lea rdx, [rsi - 1]
lea rdx, [r14 + rdx*2]
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140003060
lea rcx, [rbp - 0x29]
call fcn.140004be0
nop
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r13w
lea rax, [rbp + 0x17]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140003090
mov r8, rdi
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x49]
call fcn.140004be0
nop
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.140004710
movups xmm0, xmmword [rbp - 9]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [r15 + 0x10], xmm1
mov byte [r15 + 0x20], 1
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x14000310f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003109
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000315a
call fcn.14001907c
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140002ff7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000314a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003154
call fcn.14001907c
jmp 0x140002ff7
call fcn.14001f75c
nop
call fcn.14001f75c
int3