Function at 0x140054090
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x1400f2010]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov r8d, 2
cmp qword [rdx + 0x10], r8
cmovb r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400540fa
mov rdx, qword [rdx]
lea rcx, [rbp - 0x48]
call fcn.140006eb0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf0]
call fcn.14008b8d0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140054434
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov rax, qword [rdi + 0x10]
cmp rax, 3
jb 0x1400544d0
add rax, 0xfffffffffffffffd
mov rbx, 0xffffffffffffffff
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
cmp qword [rdi + 0x18], 8
jb 0x140054183
mov rdi, qword [rdi]
lea rdx, [rdi + 6]
lea rcx, [rbp - 0x68]
call fcn.140006eb0
nop
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x1400541f8
mov r8, qword [rbp - 0x50]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1400541d1
lea rcx, [rdx + 1]
mov qword [rbp - 0x58], rcx
lea rax, [rbp - 0x68]
cmp r8, 8
cmovae rax, qword [rbp - 0x68]
mov r8d, 0x5c
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r14w
jmp 0x1400541f8
lfence
mov qword [rsp + 0x20], 1
lea r9, [0x1400cd838]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rbp - 0x68]
call fcn.140007cd0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rax, [rbp + 0xf0]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140054220
mov r8, rbx
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.140006eb0
nop
mov r8d, 1
lea rdx, [0x1400cd838]
lea rcx, [rsp + 0x60]
call fcn.1400067e0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400067e0
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14005430d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054308
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400544d6
call fcn.140085050
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140054363
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005435e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400544dc
call fcn.140085050
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400543b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400543b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400544e2
call fcn.140085050
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140054404
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400543ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005442e
call fcn.140085050
mov rax, rsi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140085030
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14008fffc
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [rsp + 0x38], eax
lea rcx, [rbp - 0x20]
call fcn.140005a60
call fcn.140069780
mov rdx, rax
mov r8d, 3
lea rcx, [rbp - 0x20]
call fcn.140003ba0
cmp byte [rbp + 0xe8], 0
jne 0x1400544a6
lea rdx, str.Failed_to_convert_user_mode_path:
lea rcx, [rbp - 0x20]
call fcn.14002cb80
mov rdx, rdi
mov rcx, rax
call fcn.140009ff0
lea rdx, str._to_device_path._Error:
mov rcx, rax
call fcn.140049c10
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140012770
mov byte [rbp + 0xe8], 1
lea rcx, [rbp - 0x20]
call fcn.140003bf0
lea rdx, str.Failed_to_convert_user_mode_path
lea rcx, [rbp - 0x80]
call fcn.14000be60
lea rdx, [0x1400eff08]
lea rcx, [rbp - 0x80]
call fcn.14008b7f4
int3
call fcn.140007310
nop
call fcn.14008fffc
nop
call fcn.14008fffc
nop
call fcn.14008fffc
int3