Function at 0x14003c950
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x280
mov rax, qword [0x14024e280]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 2
lea rdx, [0x140223390]
lea rcx, [rsp + 0x30]
call fcn.140009260
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140013e80
mov rdi, qword [rbx + 0x10]
cmp rdi, rax
cmovb rax, rdi
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003c9d1
mov rcx, qword [rbx]
sub rdi, rax
lea rdx, [rcx + rax*2]
lea r8, [rdi*2 + 2]
call fcn.1401791d0
mov qword [rbx + 0x10], rdi
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14003ca2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ca26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cc01
call fcn.14013c1c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea r8d, [r13 + 1]
lea rdx, [0x14021c6e8]
lea rcx, [rsp + 0x30]
call fcn.140009260
nop
lea r9, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
cmp rbp, 7
cmova r9, rsi
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003ca7a
mov rcx, qword [rbx]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov rdx, qword [rbx + 0x10]
call fcn.140014310
lea rcx, [rax + 1]
cmp qword [rbx + 0x10], rcx
jb 0x14003cc0d
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003cab2
mov rax, qword [rbx]
mov qword [rbx + 0x10], rcx
mov word [rax + rcx*2], r13w
cmp rbp, 7
jbe 0x14003caf6
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003caee
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cc01
mov rcx, rsi
call fcn.14013c1c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140179950
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003cb15
mov rcx, qword [rbx]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x14003cb6d
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14003cb69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003cb64
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003cc07
mov rcx, r8
call fcn.14013c1c0
xor al, al
jmp 0x14003cbca
lea rax, [rsp + 0x60]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14003cb72
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140009480
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14003cbc8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003cbc3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003cc07
mov rcx, r8
call fcn.14013c1c0
mov al, 1
mov word [rbx], r13w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14013c1a0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14014b94c
nop
call fcn.14014b94c
nop
call fcn.140006590
int3