Function at 0x140059b50
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1401740a0]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, r8
mov r15, rdx
mov qword [rsp + 0x58], rdx
mov eax, dword [0x1401493e4]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401493e8]
mov word [rsp + 0x5c], ax
movups xmm0, xmmword [str.DeviceMup_]
movups xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [0x140149400]
movsd qword [rsp + 0x70], xmm1
movzx eax, word [0x140149408]
mov word [rsp + 0x78], ax
movups xmm0, xmmword [str.DeviceLanmanRedirector_]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x140149420]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x140149430]
movups xmmword [rbp - 0x60], xmm0
mov eax, dword [0x140149440]
mov dword [rbp - 0x50], eax
lea rax, [rsp + 0x60]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140059c00
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140108f40
test eax, eax
jne 0x140059cef
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea r8d, [rax + 2]
lea rdx, [0x1401492fc]
lea rcx, [rsp + 0x38]
call fcn.140043ce0
nop
lea rcx, [rsp + 0x60]
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140059c60
lea r9, [rdi + rax*2]
nop
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x140059c70
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140059cbf
lea rdi, [rsi + rcx]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1400f8070
mov word [rbx + rdi*2], r14w
jmp 0x140059cd7
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400431e0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r15 + 0x10], xmm1
jmp 0x140059e71
lea rax, [rbp - 0x80]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140059d00
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140108f40
test eax, eax
jne 0x140059def
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea r8d, [rax + 2]
lea rdx, [0x1401492fc]
lea rcx, [rsp + 0x38]
call fcn.140043ce0
nop
lea rcx, [rbp - 0x80]
mov rax, rsi
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140059d60
lea r9, [rdi + rax*2]
nop
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x140059d70
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140059dbf
lea rdi, [rsi + rcx]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1400f8070
mov word [rbx + rdi*2], r14w
jmp 0x140059dd7
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400431e0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r15 + 0x10], xmm1
jmp 0x140059e71
mov ebx, 0x41
nop dword [rax]
nop dword [rax + rax]
mov word [rsp + 0x58], bx
mov r8d, 0x200
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140059e40
lea rax, [rbp - 0x40]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x140059e25
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140108f40
test eax, eax
je 0x140059e9a
inc bx
cmp bx, 0x5a
jbe 0x140059e00
xor r14d, r14d
mov qword [r15], r14
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
xor r8d, r8d
lea rdx, [0x140148410]
mov rcx, r15
call fcn.140043ce0
mov rax, r15
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400f5be0
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea rax, [rsp + 0x58]
mov r8, rsi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140059ec0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140043ce0
nop
lea rcx, [rbp - 0x40]
mov rax, rsi
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140059ee2
lea r9, [rdi + rax*2]
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x140059ef1
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140059f40
lea rdi, [rsi + rcx]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1400f8070
mov word [rbx + rdi*2], r14w
jmp 0x140059f58
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400431e0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r15 + 0x10], xmm1
jmp 0x140059e71