Function at 0x1400461b0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x228]
sub rsp, 0x310
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402b9ae8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov word [rbp - 0x10], r14w
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1402c3cb4], eax
jle 0x140046256
lea rcx, [0x1402c3cb4]
call fcn.14018e550
cmp dword [0x1402c3cb4], 0xffffffff
jne 0x140046256
xor edx, edx
lea r8d, [r14 + 0x68]
lea rcx, [0x1402c3cc0]
call fcn.140190db0
call fcn.140045d00
lea rcx, [0x1401cca30]
call fcn.14018e91c
nop
lea rcx, [0x1402c3cb4]
call fcn.14018e4f0
mov r8, rsi
mov rdx, rdi
call fcn.140045f80
test al, al
jne 0x14004666e
lea rdx, [rbp - 0x10]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x140046428
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov word [rsp + 0x20], r14w
mov rdx, qword [rdi + 0x10]
inc rdx
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140007f00
nop
mov eax, dword [0x14028330c]
mov dword [rbp - 0x18], eax
movzx eax, word [0x140283310]
mov word [rbp - 0x14], ax
lea rbx, [rbp - 0x10]
movzx eax, word [rbp - 0x10]
nop word [rax + rax]
mov word [rbp - 0x18], ax
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x70]
sub r8, rdx
sar r8, 1
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400463d0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140003570
nop
mov r8d, 1
lea rdx, [0x1402772c8]
lea rcx, [rsp + 0x70]
call fcn.14000d5c0
mov r8, qword [rbp - 0x80]
mov rax, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x70]
cmp qword [rdi + 0x10], r8
jae 0x140046343
xor dl, dl
jmp 0x14004638a
lea rdx, [rsp + 0x70]
cmp rax, 8
cmovae rdx, rcx
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004635d
mov r9, qword [rdi]
test r9, r9
je 0x140046380
test rdx, rdx
je 0x140046380
mov rcx, r9
call fcn.14019e414
mov edx, eax
mov rax, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
jmp 0x140046385
mov edx, 0xffffffff
test edx, edx
sete dl
test dl, dl
jne 0x140046451
cmp rax, 8
jb 0x1400463d0
lea rdx, [rax*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400463c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046684
call fcn.14018e2f4
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x1400463d0
movzx eax, word [rbx]
test ax, ax
jne 0x1400462d0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140046428
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046423
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004667e
call fcn.14018e2f4
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14018e2d0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r9, 0xffffffffffffffff
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.14000f1e0
nop
movdqa xmm0, xmmword [0x140288fb0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x28]
call fcn.140003570
nop
movdqa xmm0, xmmword [0x140288fb0]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r14w
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x28]
call fcn.14001dcc0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e620
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400464fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400464f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004668a
call fcn.14018e2f4
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140004de0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14004654a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046544
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046690
call fcn.14018e2f4
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14004658d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046587
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046696
call fcn.14018e2f4
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400465cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400465c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004669c
call fcn.14018e2f4
movdqa xmm0, xmmword [0x140288fb0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140046620
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004661b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466a2
call fcn.14018e2f4
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14004666e
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046669
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046678
call fcn.14018e2f4
mov eax, 1
jmp 0x14004642a
call fcn.1401997dc
int3
call fcn.1401997dc
nop
call fcn.1401997dc
nop
call fcn.1401997dc
int3
call fcn.1401997dc
nop
call fcn.1401997dc
nop
call fcn.1401997dc
nop
call fcn.1401997dc
int3