Function at 0x14003fc5c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14008a3a8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r15d, r15d
mov rdi, rdx
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x50], r15
mov r14, rcx
mov word [rsp + 0x40], r15w
mov r8, rbx
lea r13d, [r15 + 7]
mov qword [rsp + 0x58], r13
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14003fcb2
lea rcx, [rsp + 0x40]
call fcn.14002163c
lea rcx, [rsp + 0x40]
call fcn.14003f168
mov rdx, qword [rsp + 0x58]
mov sil, al
cmp rdx, 8
jb 0x14003fd18
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fd13
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003fd13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b030
test sil, sil
je 0x14003fd24
mov al, 1
jmp 0x1400400ef
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x70], r15
mov rcx, r14
mov qword [rsp + 0x78], r13
mov word [rsp + 0x60], r15w
call fcn.14003e748
test al, al
jne 0x14003fd4d
mov bl, r15b
jmp 0x14003fff0
mov qword [rsp + 0x30], r15
mov r8, rbx
mov qword [rsp + 0x38], r13
mov word [rsp + 0x20], r15w
inc r8
cmp word [rdi + r8*2], r15w
jne 0x14003fd60
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14002163c
mov r9, qword [rsp + 0x38]
lea rax, [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
cmp r9, 8
mov rdx, qword [rsp + 0x30]
cmovae rax, rcx
cmp word [rax + rdx*2 - 2], 0x5c
jne 0x14003fe34
lea r8, [rdx - 1]
mov qword [rsp + 0x50], r15
cmp rdx, r8
mov qword [rsp + 0x58], r13
mov word [rsp + 0x40], r15w
cmovb r8, rdx
cmp r9, 8
lea rdx, [rsp + 0x20]
cmovae rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14002163c
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003fe16
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fe11
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003fe11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b030
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movups xmmword [rsp + 0x30], xmm1
mov r9, qword [rsp + 0x38]
cmp r9, 8
lea rdx, [rsp + 0x20]
cmovae rdx, rcx
cmp qword [rsp + 0x78], 8
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14003fe63
mov bl, 1
jmp 0x14003ff9f
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14003ef38
cmp qword [rsp + 0x30], 3
mov r9b, al
jb 0x14004003c
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov r8, qword [rsp + 0x20]
cmp rdx, 8
cmovae rcx, r8
cmp word [rcx + 2], 0x3a
jne 0x14004003c
cmp rdx, 8
lea rax, [rsp + 0x20]
cmovae rax, r8
cmp word [rax + 4], 0x5c
jne 0x14004003c
cmp rdx, 8
lea rax, [rsp + 0x20]
cmovae rax, r8
movzx ecx, word [rax]
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x14003fee2
sub cx, 0x61
cmp cx, 0x19
ja 0x14004003c
cmp qword [rsp + 0x38], 8
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], r15
lea rdx, [rbp - 0x70]
cmovae rax, qword [rsp + 0x20]
lea rcx, [rbp - 0x80]
mov edi, 0x104
mov r8d, edi
mov eax, dword [rax]
mov dword [rbp - 0x80], eax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x14003ff9c
cmp eax, edi
je 0x14003ff9c
lea rax, [rbp - 0x70]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14003ff23
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffffe
mov ebx, ebx
add rcx, rbx
cmp rcx, qword [rsp + 0x70]
jne 0x14003ff9c
cmp qword [rsp + 0x78], 8
lea rcx, [rsp + 0x60]
mov r8d, ebx
lea rdx, [rbp - 0x70]
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x14003ff9c
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
cmovae rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
add rdx, 4
lea rcx, [rax + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003fe5c
mov bl, r15b
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003ffe0
mov r8, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14003ffd8
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040035
mov rcx, r8
call fcn.14006b030
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r13
mov word [rsp + 0x20], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400400ed
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400400e8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400400e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r9b, r9b
je 0x14003ff9c
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x58], r13
mov word [rsp + 0x40], r15w
call fcn.14003ed00
test al, al
jne 0x14004006d
mov bl, r15b
jmp 0x14004009a
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003ff9f
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400400de
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400400de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b030
jmp 0x14003ff9f
call fcn.14006b030
mov al, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400722b0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret