Function at 0x1802f4e50
Capabilities:
Get storage device properties

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
movaps xmmword [rsp + 0x150], xmm6
mov rax, qword [0x1803b6038]
xor rax, rsp
mov qword [rsp + 0x148], rax
call fcn.1800fd130
mov bl, 1
cmp eax, 5
jl 0x1802f5191
call fcn.180177ea0
test al, al
je 0x1802f4eea
mov eax, dword [0x1803d5fd8]
mov ecx, dword [0x1803c8448]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1802f51e6
mov rax, qword [0x1803d5fd0]
test rax, rax
je 0x1802f5191
call qword [0x1803f5008]
test al, al
je 0x1802f5191
movabs rax, 0x100000000
mov qword [0x1803c7a3c], rax
jmp 0x1802f5191
movaps xmm6, xmmword [0x1803467d0]
lea rdi, [rsp + 0xf0]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.operator__
lea r8, str....._base_system_sys_info_win.cc
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r9d, 0x1a8
call fcn.18010a970
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.180101470
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0xd0]
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1800f3690
mov ecx, 3
mov rdx, rdi
call fcn.1800feb20
mov rcx, rdi
mov rdx, rsi
call fcn.18010ae80
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rax
xorps xmm0, xmm0
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
lea rcx, [rsp + 0x130]
mov qword [rcx], rsi
call fcn.1800d36ac
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
cmp rbx, rdi
je 0x1802f51ba
lea rdx, str.._
lea rsi, [rsp + 0x58]
mov rcx, rsi
mov r8, rdi
call fcn.180142677
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1802f4fef
and r8d, 0x7f
jmp 0x1802f4ff9
mov r8, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov rdx, rsi
call fcn.1800d2a50
lea rsi, [rsp + 0x130]
mov rcx, rsi
mov rdx, rdi
call fcn.18010abf0
lea rcx, [rsp + 0x80]
mov rdx, rsi
mov r8d, 1
call fcn.180183600
mov rcx, rsi
call fcn.18010ad40
cmp byte [rsp + 0x6f], 0
jns 0x1802f504b
mov rcx, qword [rsp + 0x58]
call fcn.1801e4f44
lea rcx, [rsp + 0x80]
call fcn.180175aa0
mov ebx, eax
test al, al
je 0x1802f514f
xor edi, edi
lea rsi, [rsp + 0x130]
mov qword [rsi + 4], rdi
mov dword [rsi], 7
lea r14, [rsp + 0x54]
mov dword [r14], 0xaaaaaaaa
lea r15, [rsp + 0x58]
mov qword [r15], rdi
mov dword [r15 + 8], 0
lea rcx, [rsp + 0x80]
call fcn.180175ab0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 0xc
mov rcx, rax
mov edx, 0x2d1400
mov r8, rsi
mov r9d, 0xc
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1802f50e1
xor eax, eax
cmp byte [rsp + 0x60], 0
setne al
mov dword [0x1803c7a3c], eax
lea rsi, [rsp + 0x130]
mov qword [rsi], 8
mov dword [rsp + 0x54], edi
lea r15, [rsp + 0x48]
mov dword [r15 + 8], edi
mov qword [r15], rdi
lea rcx, [rsp + 0x80]
call fcn.180175ab0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 0xc
mov rcx, rax
mov edx, 0x2d1400
mov r8, rsi
mov r9d, 0xc
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1802f514f
xor eax, eax
cmp byte [rsp + 0x50], 0
setne al
mov dword [0x1803c7a40], eax
lea rsi, [rsp + 0x80]
mov rcx, rsi
call fcn.18010d020
lea rax, [rsp + 0xb8]
mov qword [rsi], rax
lea rcx, [rsp + 0x80]
call fcn.1800d36ac
lea rcx, [rsp + 0xd0]
call fcn.18010ad40
lea rcx, [rsp + 0xf0]
call fcn.1801014d0
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1801e6610
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, [0x18034f130]
lea r9, str.__n___size__
mov r8d, 0x601
call fcn.18027be54
lea rcx, [0x1803d5fd8]
call fcn.1801e5060
cmp dword [0x1803d5fd8], 0xffffffff
jne 0x1802f4eb6
lea rcx, str.microsoft_shell_integration.dll
lea rdx, str.XboxIsBrowserOnFastStorage
call fcn.1802cbf70
mov qword [0x1803d5fd0], rax
lea rcx, [0x1803d5fd8]
call fcn.1801e50f8
jmp 0x1802f4eb6