Function at 0x452c70
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb18
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4c8], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452f52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax], 0
push 0
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x452070]
call fcn.00406528
add esp, 4
lea eax, [ebp - 0x221]
push eax
push 0x201
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x452f2c
cmp dword [ebp - 0xc], 0x201
ja 0x452f2c
lea eax, [ebp - 0x221]
mov dword [ebp - 0x10], eax
jmp 0x452f20
mov eax, dword [ebp - 4]
inc byte [eax]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x452070]
call fcn.00406528
add esp, 4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.0040523c
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx]
mov byte [edx + eax*8 - 0x50], cl
push 0x4501
push 0x160
lea eax, [ebp - 0x384]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405504
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, 0x452f60
lea edi, [ebp - 0x3a2]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0x14]
call fcn.00405504
push eax
call sub.kernel32.dll_GetDriveTypeA
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
add edx, edx
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov byte [ecx + edx*8 - 0x4f], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp byte [edx + eax*8 - 0x4f], 3
jne 0x452ddb
push 0x104
lea eax, [ebp - 0x3c0]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1e
lea eax, [ebp - 0x3a2]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405504
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp byte [edx + eax*8 - 0x4f], 3
jne 0x452e3c
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
sub al, 0x40
call fcn.0040aabc
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx]
add ecx, ecx
lea ecx, [ecx + ecx*4]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
mov dword [ebx + ecx*8 - 8], eax
mov dword [ebx + ecx*8 - 4], edx
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
sub al, 0x40
call fcn.0040aaf0
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx]
add ecx, ecx
lea ecx, [ecx + ecx*4]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
mov dword [ebx + ecx*8 - 0x10], eax
mov dword [ebx + ecx*8 - 0xc], edx
jmp 0x452e7c
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov dword [edx + eax*8 - 8], 0
mov dword [edx + eax*8 - 4], 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov dword [edx + eax*8 - 0x10], 0
mov dword [edx + eax*8 - 0xc], 0
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4c8]
lea edx, [ebp - 0x274]
mov ecx, 0x50
call fcn.004052b4
mov eax, dword [ebp - 0x4c8]
mov ecx, 0x1e
mov edx, 1
call fcn.00405564
mov edx, dword [ebp - 0x4c4]
lea eax, [ebp - 0x4c0]
mov ecx, 0xff
call fcn.004052e0
lea edx, [ebp - 0x4c0]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax*8 - 0x4e]
mov cl, 0x1e
call fcn.00403564
lea eax, [ebp - 0x4e8]
lea edx, [ebp - 0x3a2]
mov ecx, 0x1e
call fcn.00403ce4
lea edx, [ebp - 0x4e8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax*8 - 0x2f]
mov cl, 0x1e
call fcn.00403564
add dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x452cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f59
lea eax, [ebp - 0x4c8]
mov edx, 2
call fcn.00405068
lea eax, [ebp - 0x14]
call fcn.00405044
ret