Function at 0x18022e0b0
Capabilities:
Get disk information
Get file system object information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7b8]
sub rsp, 0x890
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea rdx, [rbp - 0x80]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x18022e4a0
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.180213ed0
test al, al
je 0x18022e4a0
mov r13d, esi
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x18022e409
mov r12d, esi
mov r8, 0xffffffffffffffff
movabs r9, 0x7fffffffffffffff
movabs rax, 0x7ffffffffffffffe
lea rbx, [r12 + rcx]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov rdi, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x18022e196
mov rbx, qword [rbx]
cmp rdi, 8
jae 0x18022e1b2
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], 7
jmp 0x18022e235
mov rsi, rdi
or rsi, 7
cmp rsi, rax
cmova rsi, rax
lea rax, [rsi + 1]
lea rdx, [rax + rax]
cmp rax, r9
jbe 0x18022e1d2
mov rdx, r8
jmp 0x18022e1db
cmp rdx, 0x1000
jb 0x18022e205
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r8
call fcn.180385c34
mov rcx, rax
test rax, rax
je 0x18022e492
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18022e216
test rdx, rdx
je 0x18022e214
mov rcx, rdx
call fcn.180385c34
jmp 0x18022e216
xor eax, eax
mov qword [rsp + 0x60], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], rsi
xor esi, esi
mov qword [rsp + 0x70], rdi
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], 0x210
mov r9d, 0x2b8
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x18022e393
lea rcx, [rbp - 0x70]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18022e290
mov r8, r15
cmp qword [r15 + 0x18], 8
jb 0x18022e2a7
mov r8, qword [r15]
mov rdx, qword [r15 + 0x10]
cmp rdx, rax
jne 0x18022e393
lea rcx, [rbp - 0x70]
test rdx, rdx
je 0x18022e2e8
lea rax, [rbp - 0x70]
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18022e393
add rcx, 2
sub rdx, 1
jne 0x18022e2d0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x18022e530
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x18022e357
mov rcx, rbx
call fcn.180004df0
add rbx, 0x20
cmp rbx, rdi
jne 0x18022e341
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18022e51a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022e51a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18022e3d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022e3d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18022e499
call fcn.180385c70
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
inc r13
add r12, 0x20
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rax, rcx
sar rax, 5
cmp r13, rax
jb 0x18022e15f
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov dword [rsp + 0x48], 1
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x18022e530
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x18022e456
nop dword [rax]
mov rcx, rbx
call fcn.180004df0
add rbx, 0x20
cmp rbx, rdi
jne 0x18022e440
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18022e51a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022e51a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov dword [rsp + 0x48], 1
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x18022e530
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x18022e4e6
nop dword [rax]
mov rcx, rbx
call fcn.180004df0
add rbx, 0x20
cmp rbx, rdi
jne 0x18022e4d0
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18022e51a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022e51a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov rax, r14
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret