Function at 0x4cc890
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d33a2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xb94
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb18], 0
lea ecx, [ebp - 0xa5c]
call fcn.00409640
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
call fcn.00416470
movzx eax, al
test eax, eax
je 0x4cc912
push str.empty_drive_name
lea ecx, [ebp - 0xb84]
call fcn.00416440
push 0x638098
lea ecx, [ebp - 0xb84]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
xor edx, edx
mov word [ebp - 0xa1c], dx
push 0x7fe
push 0
lea eax, [ebp - 0xa1a]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb74], 0x3ff
lea ecx, [ebp - 0xa1c]
push ecx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xb14], eax
cmp dword [ebp - 0xb14], 0
jbe 0x4ccc31
cmp dword [ebp - 0xb14], 0x3ff
ja 0x4ccc31
mov edx, dword [ebp - 0xb14]
push edx
lea eax, [ebp - 0xa1c]
push eax
lea ecx, [ebp - 0xa44]
call fcn.004095d0
mov dword [ebp - 0xb70], eax
mov byte [ebp - 4], 2
xor ecx, ecx
mov word [ebp - 0xb10], cx
lea edx, [ebp - 0xb6c]
push edx
lea ecx, [ebp - 0xa44]
call fcn.00416280
mov eax, dword [eax]
mov dword [ebp - 0xb20], eax
lea ecx, [ebp - 0xb10]
push ecx
lea edx, [ebp - 0xb68]
push edx
lea ecx, [ebp - 0xa44]
call fcn.00416280
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb78]
push ecx
lea ecx, [ebp - 0xa44]
call fcn.004080e0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xb44]
push eax
call fcn.004cbc00
add esp, 0x10
mov dword [ebp - 0xb1c], eax
mov ecx, dword [ebp - 0xb1c]
mov edx, dword [ecx]
mov dword [ebp - 0xb24], edx
mov eax, dword [ebp - 0xb20]
push eax
mov ecx, dword [ebp - 0xb24]
push ecx
lea edx, [ebp - 0xb48]
push edx
lea ecx, [ebp - 0xa44]
call fcn.004860a0
sub esp, 0x14
mov eax, esp
mov dword [ebp - 0xb4c], esp
push 0x5ec554
push eax
call fcn.004c5930
add esp, 8
mov dword [ebp - 0xb50], eax
lea ecx, [ebp - 0xa44]
push ecx
call fcn.004a3340
add esp, 0x18
push 0xc
lea ecx, [ebp - 0xa2c]
call fcn.004029d0
lea ecx, [ebp - 0xa2c]
call fcn.00402ce0
mov byte [ebp - 4], 3
push 1
sub esp, 0x14
mov edx, esp
mov dword [ebp - 0xb54], esp
push 0x5ec558
push edx
call fcn.004c5930
add esp, 8
mov dword [ebp - 0xb58], eax
lea eax, [ebp - 0xa44]
push eax
lea ecx, [ebp - 0xa2c]
push ecx
call fcn.004cbc40
add esp, 0x20
push 0x5ec55c
lea ecx, [ebp - 0xa74]
call fcn.0040b2a0
mov dword [ebp - 0xb5c], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xa74]
call fcn.0040a250
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 4
lea ecx, [ebp - 0xa20]
call fcn.004029d0
lea ecx, [ebp - 0xa20]
call fcn.00406a90
lea edx, [ebp - 0xb60]
push edx
lea ecx, [ebp - 0xa2c]
call fcn.0043d700
mov eax, dword [eax]
mov dword [ebp - 0xa20], eax
jmp 0x4ccb32
lea ecx, [ebp - 0xa20]
call fcn.0046b610
lea ecx, [ebp - 0xb64]
push ecx
lea ecx, [ebp - 0xa2c]
call fcn.0043ea80
push eax
lea ecx, [ebp - 0xa20]
call fcn.0040f610
mov byte [ebp - 0xb0d], al
movzx edx, byte [ebp - 0xb0d]
test edx, edx
je 0x4ccc04
lea ecx, [ebp - 0xa20]
call fcn.004e01b0
mov dword [ebp - 0xb28], eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0xb28]
call fcn.0040bfe0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4ccbff
lea ecx, [ebp - 0xa74]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0xb8c]
push eax
call fcn.004cb830
add esp, 0xc
mov dword [ebp - 0xb2c], eax
mov ecx, dword [ebp - 0xb2c]
call fcn.004cc170
mov dword [ebp - 0xb30], eax
cmp dword [ebp - 0xb30], 0xffffffff
je 0x4ccbff
lea ecx, [ebp - 0xa20]
call fcn.004e01b0
mov dword [ebp - 0xb34], eax
mov ecx, dword [ebp - 0xb34]
call fcn.0040bfe0
push eax
lea ecx, [ebp - 0xa5c]
call fcn.00414b50
jmp 0x4ccc04
jmp 0x4ccb27
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa74]
call fcn.0040a7f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa2c]
call fcn.00468230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa44]
call fcn.0040a7f0
jmp 0x4ccd13
mov dword [ebp - 4], 0
jmp 0x4ccd23
lea ecx, [ebp - 0xa5c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004097b0
mov edx, dword [ebp - 0xb18]
or edx, 1
mov dword [ebp - 0xb18], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa5c]
call fcn.0040a7f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret