Function at 0x14003c9dc
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 [0x1400893e8]
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 0x14003ca32
lea rcx, [rsp + 0x40]
call fcn.14001e290
lea rcx, [rsp + 0x40]
call fcn.14003bee8
mov rdx, qword [rsp + 0x58]
mov sil, al
cmp rdx, 8
jb 0x14003ca98
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ca93
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ca93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140064280
test sil, sil
je 0x14003caa4
mov al, 1
jmp 0x14003ce6f
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x70], r15
mov rcx, r14
mov qword [rsp + 0x78], r13
mov word [rsp + 0x60], r15w
call fcn.14003b48c
test al, al
jne 0x14003cacd
mov bl, r15b
jmp 0x14003cd70
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 0x14003cae0
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14001e290
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 0x14003cbb4
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.14001e290
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003cb96
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003cb91
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003cb91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140064280
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 0x14003cbe3
mov bl, 1
jmp 0x14003cd1f
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14003bcb0
cmp qword [rsp + 0x30], 3
mov r9b, al
jb 0x14003cdbc
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 0x14003cdbc
cmp rdx, 8
lea rax, [rsp + 0x20]
cmovae rax, r8
cmp word [rax + 4], 0x5c
jne 0x14003cdbc
cmp rdx, 8
lea rax, [rsp + 0x20]
cmovae rax, r8
movzx ecx, word [rax]
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x14003cc62
sub cx, 0x61
cmp cx, 0x19
ja 0x14003cdbc
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 0x14003cd1c
cmp eax, edi
je 0x14003cd1c
lea rax, [rbp - 0x70]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14003cca3
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffffe
mov ebx, ebx
add rcx, rbx
cmp rcx, qword [rsp + 0x70]
jne 0x14003cd1c
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 0x14003cd1c
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 0x14003cbdc
mov bl, r15b
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003cd60
mov r8, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14003cd58
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cdb5
mov rcx, r8
call fcn.140064280
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r13
mov word [rsp + 0x20], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14003ce6d
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ce68
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ce68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r9b, r9b
je 0x14003cd1c
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.14003ba70
test al, al
jne 0x14003cded
mov bl, r15b
jmp 0x14003ce1a
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 0x14003cd1f
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ce5e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ce5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140064280
jmp 0x14003cd1f
call fcn.140064280
mov al, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400707e0
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