Function at 0x18022ed40
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 [0x1804e0010]
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 0x18022f130
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1802149a0
test al, al
je 0x18022f130
mov r13d, esi
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x18022f099
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 0x18022ee26
mov rbx, qword [rbx]
cmp rdi, 8
jae 0x18022ee42
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], 7
jmp 0x18022eec5
mov rsi, rdi
or rsi, 7
cmp rsi, rax
cmova rsi, rax
lea rax, [rsi + 1]
lea rdx, [rax + rax]
cmp rax, r9
jbe 0x18022ee62
mov rdx, r8
jmp 0x18022ee6b
cmp rdx, 0x1000
jb 0x18022ee95
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r8
call fcn.180393f74
mov rcx, rax
test rax, rax
je 0x18022f122
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18022eea6
test rdx, rdx
je 0x18022eea4
mov rcx, rdx
call fcn.180393f74
jmp 0x18022eea6
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 0x18022f023
lea rcx, [rbp - 0x70]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18022ef20
mov r8, r15
cmp qword [r15 + 0x18], 8
jb 0x18022ef37
mov r8, qword [r15]
mov rdx, qword [r15 + 0x10]
cmp rdx, rax
jne 0x18022f023
lea rcx, [rbp - 0x70]
test rdx, rdx
je 0x18022ef78
lea rax, [rbp - 0x70]
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18022f023
add rcx, 2
sub rdx, 1
jne 0x18022ef60
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 0x18022f1c0
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x18022efe7
mov rcx, rbx
call fcn.180005c50
add rbx, 0x20
cmp rbx, rdi
jne 0x18022efd1
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18022f1aa
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022f1aa
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 0x18022f065
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022f060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18022f129
call fcn.180393fb0
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 0x18022edef
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 0x18022f1c0
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x18022f0e6
nop dword [rax]
mov rcx, rbx
call fcn.180005c50
add rbx, 0x20
cmp rbx, rdi
jne 0x18022f0d0
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18022f1aa
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022f1aa
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 0x18022f1c0
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x18022f176
nop dword [rax]
mov rcx, rbx
call fcn.180005c50
add rbx, 0x20
cmp rbx, rdi
jne 0x18022f160
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18022f1aa
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022f1aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180393fb0
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.180393f50
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