Function at 0x4da4cc
Capabilities:
Get disk information

Disassembly:
push 0x54
mov eax, 0x699cdf
call fcn.0056e23b
mov edi, ecx
lea ecx, [ebp - 0x4c]
call fcn.004ca785
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004ca785
mov byte [ebp - 4], 3
xor ebx, ebx
add edi, 0xb8
push ebx
mov ecx, edi
call fcn.005796f7
test eax, eax
jle 0x4da54e
mov eax, dword [edi]
mov ecx, edi
push ebx
push 0
call dword [eax + 0xec]
mov esi, eax
test esi, esi
je 0x4da540
mov ecx, esi
call fcn.0052907d
test eax, eax
je 0x4da540
mov ecx, esi
call fcn.004041c0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x4c]
call fcn.00517a41
push 0
mov ecx, edi
inc ebx
call fcn.005796f7
cmp ebx, eax
jl 0x4da509
push 1
mov ecx, edi
xor esi, esi
call fcn.005796f7
test eax, eax
jle 0x4da5a2
mov eax, dword [edi]
mov ecx, edi
push esi
push 1
call dword [eax + 0xec]
mov ebx, eax
test ebx, ebx
je 0x4da594
mov ecx, ebx
call fcn.0052907d
test eax, eax
je 0x4da594
mov ecx, ebx
call fcn.004041c0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x44]
call fcn.00517a41
push 1
mov ecx, edi
inc esi
call fcn.005796f7
cmp esi, eax
jl 0x4da55d
push 0
push 0
mov ecx, edi
call fcn.00579049
push 0
push 1
mov ecx, edi
call fcn.00579049
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x2c]
call fcn.004173bc
mov byte [ebp - 4], 4
push 2
pop eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x18
add eax, 0x41
push eax
lea eax, [ebp - 0x2c]
push 0x6d68a0
push eax
call fcn.0041ccda
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x4da6e0
cmp eax, 1
je 0x4da6e0
cmp eax, 6
je 0x4da6e0
xor ecx, ecx
cmp eax, 3
push 0xc8
setne cl
mov dword [ebp - 0x3c], ecx
call fcn.0056def4
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4da652
mov ecx, eax
call fcn.004d794d
mov ebx, eax
jmp 0x4da654
xor ebx, ebx
mov byte [ebp - 4], 4
test ebx, ebx
je 0x4da6e0
cmp dword [ebp - 0x3c], 0
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
cmove ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x54], ecx
mov esi, dword [ecx]
push esi
push dword [esi]
push eax
call fcn.00517a72
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
cmp dword [ebp - 0x38], esi
je 0x4da6aa
push 1
call dword [eax + 0xc]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x60]
push eax
call fcn.0047a6da
jmp 0x4da6af
push 0
call dword [eax + 0xc]
push 0
mov ecx, ebx
call fcn.004ce81f
push dword [ebp - 0x58]
mov ecx, ebx
push dword [ebp - 0x34]
call fcn.004d7f69
test eax, eax
je 0x4da6d8
push 0
push ebx
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.00578a39
jmp 0x4da6e0
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov eax, dword [ebp - 0x34]
inc eax
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x34], eax
jne 0x4da5e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004cccb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004cccb2
call fcn.0056e1e5
ret