Function at 0x40d8c7
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41f950
call fcn.0041d870
sub esp, 0x1f8
push ebx
mov dword [ebp - 0x34], ecx
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.00401b7a
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x40d934
push dword [esi + 0xc]
lea ecx, [ebp - 0x24]
push dword [esi + 8]
call fcn.0040d717
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040d7b7
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00401c42
push dword [ebp - 0x44]
call fcn.00402dbe
push dword [ebp - 0x24]
and byte [ebp - 4], 0
call fcn.00402dbe
pop ecx
pop ecx
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x18]
test eax, eax
je 0x40d95a
mov ecx, dword [edi]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x5c
je 0x40d952
cmp eax, ecx
je 0x40d95a
dec eax
dec eax
jmp 0x40d944
sub eax, ecx
sar eax, 1
mov ebx, eax
jmp 0x40d95d
or ebx, 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401b7a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401b7a
test ebx, ebx
mov byte [ebp - 4], 4
jl 0x40d9c8
inc ebx
lea eax, [ebp - 0x24]
push ebx
push eax
mov ecx, edi
call fcn.00401ca1
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00401c42
push dword [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00402dbe
pop ecx
lea eax, [ebp - 0x24]
push ebx
push eax
mov ecx, edi
call fcn.00401c80
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00401c42
push dword [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00402dbe
pop ecx
jmp 0x40d9d1
push edi
lea ecx, [ebp - 0x30]
call fcn.00401c42
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
call fcn.0040d7fd
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0040d7fd
push 0xa
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x24]
call fcn.00404559
lea ecx, [ebp - 0x30]
mov edx, eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00404508
push dword [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00402dbe
pop ecx
push 0xa
lea ecx, [ebp - 0x18]
call fcn.00402375
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040389e
push 0xa
lea ecx, [ebp - 0x18]
call fcn.00402375
cmp byte [esi + 1], 0
je 0x40dab9
lea eax, [ebp - 0x38]
add esi, 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x40da63
lea eax, [ebp + 0x10]
push 0x422248
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
mov edx, 0x3f4
lea ecx, [ebp - 0x44]
call fcn.004054f5
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0040389e
push dword [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.00402dbe
lea ecx, [ebp - 0x18]
mov dword [esp], 0x427564
call fcn.00403df5
push 1
push 1
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x38]
call fcn.00405311
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403df5
push dword [ebp + 8]
and dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push ebx
call fcn.0040db60
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x58]
call fcn.00405993
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.004058c1
mov eax, dword [eax]
push 0x110
lea ecx, [ebp - 0x204]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x44]
mov esi, eax
call fcn.00402dbe
test esi, esi
pop ecx
je 0x40db2c
push dword [ebp + 0xc]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp - 0x204]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x18]
call fcn.00402dbe
push dword [ebp - 0x30]
call fcn.00402dbe
push dword [ebp - 0x50]
call fcn.00402dbe
push dword [ebp - 0x64]
call fcn.00402dbe
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc