Function at 0x1800c32a0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x128], 0
je 0x1800c32ed
mov rcx, qword [rsp + 0x128]
call fcn.1800f9114
test rax, rax
jne 0x1800c32f4
xor eax, eax
jmp 0x1800c3589
lea rcx, [rsp + 0x74]
call fcn.180028750
nop
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
call fcn.1800c4800
nop
cmp dword [rsp + 0x40], 0
je 0x1800c34b2
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x40], 0
je 0x1800c34b2
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1800c3499
xor eax, eax
mov word [rsp + 0x88], ax
lea rax, [rsp + 0x8a]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_ntohl
rep stosb byte [rdi], al
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x78]
add eax, 0x41
mov word [rsp + 0x88], ax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xc8]
call fcn.1800e9110
nop
lea rdx, [0x1801c89e4]
lea rcx, [rsp + 0xc8]
call fcn.1800e59f0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x9c]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x1800c3479
cmp dword [rsp + 0x9c], 0
je 0x1800c3479
mov eax, dword [rsp + 0x9c]
and rax, 0xffff
movzx eax, ax
mov ecx, dword [rsp + 0x9c]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov r9d, eax
mov r8d, ecx
lea rdx, str._04X__04X
lea rcx, [rsp + 0xa0]
call fcn.180003a60
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.1800c4860
nop
lea rcx, [rsp + 0xc8]
call fcn.1800e56d0
mov eax, dword [rsp + 0x40]
shr eax, 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
jmp 0x1800c3327
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x60]
call fcn.1800bab40
nop
lea rcx, [rsp + 0x48]
call fcn.1800c4840
mov dword [rsp + 0x100], eax
lea rcx, [rsp + 0x48]
call fcn.1800c4850
mov ecx, dword [rsp + 0x100]
mov r9d, ecx
mov r8, rax
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800bd980
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x60]
call fcn.1800bb270
test eax, eax
je 0x1800c3557
lea rcx, [rsp + 0x48]
call fcn.1800c4850
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x48]
call fcn.1800c4840
cdqe
imul rax, rax, 0x38
mov dword [rsp + 0xd0], eax
mov r9d, dword [rsp + 0xd0]
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x128]
call fcn.1800d04f0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0x60]
call fcn.1800babf0
nop
lea rcx, [rsp + 0x48]
call fcn.1800c48a0
nop
lea rcx, [rsp + 0x74]
call fcn.1800287a0
mov eax, dword [rsp + 0xe0]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x110
pop rdi
ret