Function at 0x4185b0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43811e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x334]
mov ecx, 0xca
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x60]
call sub.MFC42D.DLL_Ordinal_2598
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 0x100
test edx, edx
jne 0x4186f2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041a410
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42D.DLL_Ordinal_899
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e4]
call sub.MFC42D.DLL_Ordinal_684
mov esi, esp
push 0x200
push 0x160
lea edx, [ebp - 0x178]
push edx
push 0
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffff0003
mov eax, dword [ebp + 0xc]
push eax
push 3
push 2
lea ecx, [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x60]
call sub.MFC42D.DLL_Ordinal_3297
mov dword [ebp - 0x17c], eax
cmp dword [ebp + 0x10], 0
je 0x4186e1
mov eax, dword [ebp - 0x14]
and eax, 0x20
test eax, eax
je 0x4186e1
mov ecx, dword [ebp - 0x17c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2e8], esp
lea edx, [ebp - 0x18]
push edx
call sub.MFC42D.DLL_Ordinal_485
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x10]
call fcn.00415f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
jmp 0x4187ad
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x60]
call sub.MFC42D.DLL_Ordinal_3398
test eax, eax
je 0x418723
mov edx, dword [ebp - 0x14]
and edx, 0x20
test edx, edx
jne 0x418723
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_684
jmp 0x4187bc
mov esi, esp
push 0x210
push 0x160
lea eax, [ebp - 0x2dc]
push eax
push 0x80
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffff0003
mov ecx, dword [ebp + 0xc]
push ecx
push 3
push 2
lea edx, [ebp - 0x2d0]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x60]
call sub.MFC42D.DLL_Ordinal_3297
mov dword [ebp - 0x2e0], eax
push 0x100
mov ecx, dword [ebp - 0x2e0]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x60]
call sub.MFC42D.DLL_Ordinal_4706
mov eax, dword [ebp - 0x14]
and eax, 0x20
test eax, eax
jne 0x4187ad
mov ecx, dword [ebp - 0x14]
or ecx, 0x20
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x60]
call sub.MFC42D.DLL_Ordinal_4706
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_684
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x334
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 0xc