Function at 0x4870a0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x50]
mov eax, dword [edi]
add eax, 0x48
push eax
call fcn.00403190
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test esi, esi
jne 0x4870f8
xor bl, bl
jmp 0x4872c9
push 0x4008
push 0x2b4
lea eax, [ebp - 0x364]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
call dword [sym.imp.SHELL32.dll_ILFree]
call fcn.0048a790
mov ecx, dword [ebp - 0x360]
cmp ecx, eax
jne 0x48713e
mov ecx, dword [edi]
push 4
push str.dir
add ecx, 0x6c
call fcn.00402e60
jmp 0x4872c7
test ecx, ecx
js 0x4872c7
mov eax, dword [edi]
add eax, 0x48
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401570
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push 0x57a10c
push eax
call fcn.00461820
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004088a0
add esp, 0x1c
cmp dword [ebp - 0x20], 0
jne 0x4872af
mov eax, dword [ebx + 0x294]
lea edx, [ebp - 4]
push edx
push 1
push dword [ebp - 0x360]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5b9fc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5b9a28]
cmp eax, dword [ecx + 8]
jg 0x48730a
push 0x5b9a1c
push 0x1000
mov ecx, 0x5b9a1c
call fcn.0046a000
mov eax, dword [0x5b9a1c]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 4]
call fcn.0046d150
mov dword [ebp - 8], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403400
add esp, 0x14
lea ecx, [ebp - 0x18]
push eax
call fcn.00483150
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x487220
mov ecx, esi
call fcn.004032f0
push 0x34
push esi
call fcn.00531d2c
add esp, 8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00408a10
add esp, 8
lea ecx, [ebp - 0x10]
mov esi, dword [eax]
call fcn.00407110
test esi, esi
je 0x48728c
lea ecx, [ebp - 0x98]
call fcn.00485e10
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x98]
call fcn.004072a0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x80]
call fcn.004324a0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x298]
call fcn.0046a7e0
mov ecx, eax
call fcn.0046a6f0
lea ecx, [ebp - 0x98]
call fcn.0046a620
mov eax, dword [ebp - 4]
test eax, eax
je 0x48729a
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [ebp - 0x18]
call fcn.00407110
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4872af
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x20]
call fcn.00407110
lea ecx, [ebp - 0x68]
call fcn.00403070
lea ecx, [ebp - 0x38]
call fcn.00403070
mov bl, 1
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x4872ff
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4872f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48735e
push edx
push ecx
call fcn.00531d2c
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5b9a28
call fcn.00532174
add esp, 4
cmp dword [0x5b9a28], 0xffffffff
jne 0x4871b9
push 0x578bf0
mov dword [0x5b9a1c], 0
mov dword [0x5b9a20], 0
mov dword [0x5b9a24], 0
call fcn.00531fa2
push 0x5b9a28
call fcn.0053212a
add esp, 8
jmp 0x4871b9
call fcn.0055e070
int3