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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a7db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x398
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
push 0
push 0
mov eax, dword [edi + 0x7bc]
push 0x1009
push eax
mov dword [esp + 0x40], edi
call ebx
mov ecx, dword [edi + 0x7bc]
push 0
push 0
push 0x101c
push ecx
call ebx
test eax, eax
je 0x40eebf
mov edx, dword [edi + 0x7bc]
push 0
push 0
push 0x101c
push edx
call ebx
test eax, eax
jne 0x40eea9
push 0xffffffffffffffff
push 0xc8
lea ebp, [edi + 0x7a0]
push 0
push 0x48752c
push 0
mov ecx, ebp
call fcn.0044d99a
push 0xffffffffffffffff
push 0x64
push 0
push 0x487124
push 1
mov ecx, ebp
call fcn.0044d99a
push 0xffffffffffffffff
push 0x64
push 0
push 0x487524
push 2
mov ecx, ebp
call fcn.0044d99a
push 0xffffffffffffffff
push 0x73
push 0
push 0x487518
push 3
mov ecx, ebp
call fcn.0044d99a
lea eax, [esp + 0x148]
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor eax, eax
lea esi, [esp + 0x148]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x148]
test al, al
je 0x40f11b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x44]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
xor edi, edi
push ecx
push edi
push edi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea edx, [esp + 0x44]
push edx
call ebx
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x2c]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x40efcd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, 0x14
call fcn.0043dbe0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov ecx, 0x14
call fcn.0043dbe0
mov dword [esp + 0x1c], eax
jmp 0x40efd5
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
push esi
call fcn.0040e8b0
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, ebp
push edi
push eax
push edi
push edi
push esi
push edx
push 3
call fcn.0044d9ed
push 1
push 0
push 0
push 0
push 0
mov edi, eax
push 4
push 0
push edi
mov ecx, ebp
call fcn.0044da6f
lea eax, [esp + 0x44]
push eax
call ebx
test eax, eax
jne 0x40f044
push 0x410
lea ecx, [esp + 0x24c]
push 0x160
push ecx
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edx, [esp + 0x358]
push edx
jmp 0x40f049
lea eax, [esp + 0x44]
push eax
push 1
push edi
mov ecx, ebp
call fcn.0044dae8
mov ecx, dword [0x48adb4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
fild qword [esp + 0x3c]
sub esp, 8
mov dword [esp + 0x3b8], eax
lea eax, [esp + 0x18]
fmul dword [0x470c34]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.0044cf5b
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 2
push edi
mov ecx, ebp
call fcn.0044dae8
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], edx
sub esp, 8
fild qword [esp + 0x3c]
lea eax, [esp + 0x18]
fmul dword [0x470c34]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.0044cf5b
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 3
push edi
mov ecx, ebp
call fcn.0044dae8
lea ecx, [esp + 0x10]
mov dword [esp + 0x3b0], 0xffffffff
call fcn.004540eb
mov edx, dword [esp + 0x14]
push esi
inc edx
mov dword [esp + 0x18], edx
call ebx
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x40ef5d
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x30]
lea esi, [edi + 0x668]
push 0x48f088
mov ecx, esi
call fcn.00454274
mov edx, dword [edi + 0x744]
push 0
push 0
push 0x14b
push edx
call ebx
mov eax, dword [esi]
push eax
push 0x4874f4
push edi
call fcn.00410920
mov ecx, dword [esp + 0x3b4]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret