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

Disassembly:
push 0xffffffffffffffff
push 0x497816
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x4c7838]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7838]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov esi, ecx
push 0x4a0084
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00408b30
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
lea eax, [esi + 0xf44]
push 0x10
push eax
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.0040a760
call fcn.00421bcc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ddfc
push 0x80004005
call fcn.004013f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1ac], 1
test ebx, ebx
je 0x40e0a0
lea edi, [esi + 0x8a8]
test bl, 1
je 0x40e08e
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401fa0
mov eax, dword [esp + 0x14]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jle 0x40e1a1
cmp dword [eax - 4], 1
jle 0x40de5e
mov edx, ebx
push edx
lea ecx, [esp + 0x18]
call fcn.004016b0
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x20]
add cl, 0x41
mov byte [eax], cl
test ebx, ebx
jl 0x40e1a1
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax - 8]
jg 0x40e1a1
mov dword [eax - 0xc], ebx
mov edx, dword [esp + 0x14]
mov byte [ebx + edx], 0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [esp + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add ebp, 0xfffffff0
mov ebx, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], esp
call eax
cmp dword [ebp + 0xc], 0
lea edx, [ebp + 0xc]
jl 0x40dec7
cmp eax, dword [ebp]
jne 0x40dec7
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40df01
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov dword [esp + 0x30], eax
test eax, eax
je 0x40e1ab
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 4]
inc ecx
push ecx
add ebp, 0x10
push ebp
push ecx
add eax, 0x10
push eax
call fcn.0046a51e
mov ebp, dword [esp + 0x40]
add esp, 0x10
mov edx, dword [esp + 0x1c]
add ebp, 0x10
mov ecx, esi
mov dword [edx], ebp
call fcn.0040b160
mov ecx, dword [esp + 0x14]
push 0x301
push 0x160
lea eax, [esp + 0x48]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push ebx
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00408b30
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040aec0
push ebx
mov ecx, esi
call fcn.0040a100
inc dword [esi + 0xf50]
lea eax, [esi + 0xf3c]
test eax, eax
je 0x40df66
mov eax, dword [eax + 4]
mov ecx, dword [edi - 0x670]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x1109
push ecx
call ebp
push eax
call fcn.0041f095
lea ecx, [edi - 0x690]
push 0
call fcn.0041c47b
lea eax, [esi + 0xf44]
test eax, eax
je 0x40df9d
mov eax, dword [eax + 4]
mov edx, dword [edi + 0x20]
push eax
push 1
push 0x1003
push edx
call ebp
push eax
call fcn.0041f095
push 0
mov ecx, edi
call fcn.0041c47b
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.File_Name
push 0
mov ecx, edi
call fcn.0041e5d4
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push str.Size
push 1
mov ecx, edi
call fcn.0041e5d4
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.Date
push 2
mov ecx, edi
call fcn.0041e5d4
mov ebp, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x20], esp
mov dword [esp + 0x20], esp
call edx
cmp dword [ebp + 0xc], 0
lea edx, [ebp + 0xc]
jl 0x40e02c
cmp eax, dword [ebp]
jne 0x40e02c
mov ebx, ebp
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40e060
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40e1ab
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 4]
inc eax
push eax
add ebp, 0x10
push ebp
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0046a51e
add esp, 0x10
mov edx, dword [esp + 0x20]
push edi
lea eax, [edi - 0x690]
add ebx, 0x10
push eax
mov ecx, esi
mov dword [edx], ebx
call fcn.0040dc70
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
add edi, 0x54
mov dword [esi + 0xf38], eax
inc dword [esp + 0x20]
shr ebx, 1
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x40de22
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
cdq
idiv dword [esp + 0x1c]
mov edx, dword [esi + 0x1d8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x1331
push edx
call edi
push 5
lea ecx, [esi + 0x26c]
call fcn.0041c47b
push 5
lea ecx, [esi + 0x8fc]
call fcn.0041c47b
mov eax, dword [esi + 0x1d8]
push 0
push 1
push 0x130c
push eax
mov dword [esi + 0xf4c], 1
call edi
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 4]
push 0x408
push 1
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esi + 0xf54], 0xcb
mov byte [esp + 0x1ac], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e14e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e179
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.00469d23
add esp, 0x19c
ret
push 0x80070057
call fcn.004013f0
call fcn.004016a0
int3