Function at 0x18003c380
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x800
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1800fca30]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
mov r12, rdx
mov rbp, rcx
mov qword [r11 - 0x798], 7
xor r13d, r13d
mov qword [r11 - 0x7a0], r13
mov word [rsp + 0x78], r13w
mov qword [r11 - 0x770], 7
mov qword [r11 - 0x778], r13
mov word [r11 - 0x788], r13w
mov qword [r11 - 0x748], 7
mov qword [r11 - 0x750], r13
mov word [r11 - 0x760], r13w
mov dword [r11 - 0x740], r13d
mov qword [r11 - 0x738], r13
mov qword [r11 - 0x730], r13
mov byte [r11 - 0x728], r13b
mov qword [r11 - 0x718], r13
xor edx, edx
mov r8d, 0x2b0
lea rcx, [r11 - 0x710]
call fcn.1800a3870
cmp qword [rbp + 0x20], 8
jb 0x18003c451
lea rbx, [rbp + 8]
mov rcx, qword [rbx]
jmp 0x18003c458
lea rbx, [rbp + 8]
mov rcx, rbx
mov dword [rsp + 0x20], 0x610
mov r9d, 0x2b8
lea r8, [rsp + 0x110]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x18003c507
cmp qword [rsp + 0xe0], 8
jb 0x18003c497
mov rcx, qword [rsp + 0xc8]
call fcn.1800a2030
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r13
mov word [rsp + 0xc8], 0
cmp qword [rsp + 0xb8], 8
jb 0x18003c4cd
mov rcx, qword [rsp + 0xa0]
call fcn.1800a2030
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], r13
mov word [rsp + 0xa0], 0
cmp qword [rsp + 0x90], 8
jb 0x18003c500
mov rcx, qword [rsp + 0x78]
call fcn.1800a2030
xor al, al
jmp 0x18003cb81
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x120]
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsp + 0x78]
mov rdi, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
cmp rdx, 8
cmovae rax, rdi
lea rcx, [rsp + 0x120]
movabs r14, 0x7ffffffffffffffe
mov r8, qword [rsp + 0x88]
cmp rcx, rax
jb 0x18003c5a8
lea rax, [rsp + 0x78]
cmp rdx, 8
cmovae rax, rdi
lea rax, [rax + r8*2]
lea rcx, [rsp + 0x120]
cmp rax, rcx
jbe 0x18003c5a8
lea rax, [rsp + 0x78]
cmp rdx, 8
cmovae rax, rdi
lea r8, [rsp + 0x120]
sub r8, rax
sar r8, 1
mov r9, rsi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1800030a0
jmp 0x18003c652
cmp rsi, r14
jbe 0x18003c5c7
call fcn.1800a09f0
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x78]
cmp rdx, rsi
jae 0x18003c5e8
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180003710
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x78]
jmp 0x18003c607
test rsi, rsi
jne 0x18003c607
mov qword [rsp + 0x88], r13
lea rax, [rsp + 0x78]
cmp rdx, 8
cmovae rax, rdi
mov word [rax], si
jmp 0x18003c652
test rsi, rsi
je 0x18003c652
lea rcx, [rsp + 0x78]
cmp rdx, 8
cmovae rcx, rdi
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0x120]
call fcn.1800a1c40
mov qword [rsp + 0x88], rsi
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rax, qword [rsp + 0x78]
mov word [rax + rdi], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x328]
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsp + 0xa0]
mov rdi, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xb8]
cmp rdx, 8
cmovae rax, rdi
lea rcx, [rsp + 0x328]
mov r8, qword [rsp + 0xb0]
cmp rcx, rax
jb 0x18003c6fb
lea rax, [rsp + 0xa0]
cmp rdx, 8
cmovae rax, rdi
lea rax, [rax + r8*2]
lea rcx, [rsp + 0x328]
cmp rax, rcx
jbe 0x18003c6fb
lea rax, [rsp + 0xa0]
cmp rdx, 8
cmovae rax, rdi
lea r8, [rsp + 0x328]
sub r8, rax
sar r8, 1
mov r9, rsi
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.1800030a0
jmp 0x18003c7ba
cmp rsi, r14
jbe 0x18003c71d
call fcn.1800a09f0
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
cmp rdx, rsi
jae 0x18003c744
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.180003710
mov rdx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xa0]
jmp 0x18003c766
test rsi, rsi
jne 0x18003c766
mov qword [rsp + 0xb0], r13
lea rax, [rsp + 0xa0]
cmp rdx, 8
cmovae rax, rdi
mov word [rax], si
jmp 0x18003c7ba
test rsi, rsi
je 0x18003c7ba
lea rcx, [rsp + 0xa0]
cmp rdx, 8
cmovae rcx, rdi
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0x328]
call fcn.1800a1c40
mov qword [rsp + 0xb0], rsi
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rax, qword [rsp + 0xa0]
mov word [rax + rdi], 0
mov word [rsp + 0x5e0], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x5e2]
call fcn.1800a3870
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x58], r13d
mov word [rsp + 0x3d0], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x3d2]
call fcn.1800a3870
cmp qword [rbp + 0x20], 8
jb 0x18003c813
mov rcx, qword [rbx]
jmp 0x18003c816
mov rcx, rbx
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov r8d, 0x104
lea rdx, [rsp + 0x5e0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x18003ca5c
mov word [rsp + 0x5d8], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3d0]
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsp + 0xc8]
mov rdi, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xe0]
cmp rdx, 8
cmovae rax, rdi
lea rcx, [rsp + 0x3d0]
mov r8, qword [rsp + 0xd8]
cmp rcx, rax
jb 0x18003c913
lea rax, [rsp + 0xc8]
cmp rdx, 8
cmovae rax, rdi
lea rax, [rax + r8*2]
lea rcx, [rsp + 0x3d0]
cmp rax, rcx
jbe 0x18003c913
lea rax, [rsp + 0xc8]
cmp rdx, 8
cmovae rax, rdi
lea r8, [rsp + 0x3d0]
sub r8, rax
sar r8, 1
mov r9, rsi
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.1800030a0
jmp 0x18003c9d2
cmp rsi, r14
jbe 0x18003c935
call fcn.1800a09f0
mov rdx, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xc8]
cmp rdx, rsi
jae 0x18003c95c
mov rdx, rsi
lea rcx, [rsp + 0xc0]
call fcn.180003710
mov rdx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xc8]
jmp 0x18003c97e
test rsi, rsi
jne 0x18003c97e
mov qword [rsp + 0xd8], r13
lea rax, [rsp + 0xc8]
cmp rdx, 8
cmovae rax, rdi
mov word [rax], si
jmp 0x18003c9d2
test rsi, rsi
je 0x18003c9d2
lea rcx, [rsp + 0xc8]
cmp rdx, 8
cmovae rcx, rdi
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0x3d0]
call fcn.1800a1c40
mov qword [rsp + 0xd8], rsi
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rax, qword [rsp + 0xc8]
mov word [rax + rdi], 0
mov byte [rsp + 0x100], 1
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x4c], r13d
mov dword [rsp + 0x44], r13d
cmp qword [rbp + 0x20], 8
jb 0x18003c9f8
mov rbx, qword [rbx]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x18003ca7c
mov edx, dword [rsp + 0x48]
mov eax, edx
mov ecx, dword [rsp + 0x40]
imul eax, ecx
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x44]
imul rax, rcx
imul rax, rdx
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x4c]
imul rax, rcx
imul rax, rdx
mov qword [rsp + 0xf8], rax
jmp 0x18003ca7c
mov dword [rsp + 0xe8], r13d
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xf8], r13
mov byte [rsp + 0x100], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1800030a0
lea rcx, [r12 + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x98]
call fcn.1800030a0
lea rcx, [r12 + 0x50]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xc0]
call fcn.1800030a0
mov edx, dword [rsp + 0xe8]
mov dword [r12 + 0x78], edx
mov rax, qword [rsp + 0xf0]
mov qword [r12 + 0x80], rax
mov rax, qword [rsp + 0xf8]
mov qword [r12 + 0x88], rax
movzx eax, byte [rsp + 0x100]
mov byte [r12 + 0x90], al
cmp qword [rsp + 0xe0], 8
jb 0x18003cb16
mov rcx, qword [rsp + 0xc8]
call fcn.1800a2030
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r13
mov word [rsp + 0xc8], 0
cmp qword [rsp + 0xb8], 8
jb 0x18003cb4c
mov rcx, qword [rsp + 0xa0]
call fcn.1800a2030
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], r13
mov word [rsp + 0xa0], 0
cmp qword [rsp + 0x90], 8
jb 0x18003cb7f
mov rcx, qword [rsp + 0x78]
call fcn.1800a2030
mov al, 1
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.1800a3210
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret