Function at 0x490410
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x844], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x844]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x28]
sub eax, 0x51c
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x500]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x844]
mov ecx, dword [eax + 8]
call fcn.004dfdf0
cmp eax, dword [ebp - 0xc]
jne 0x490517
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
and edx, 1
je 0x4904a4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x30
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
and eax, 2
jne 0x4904b8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
and edx, 0x20
je 0x490510
mov dword [ebp - 0x2d0], 0
push 0x2b0
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.0053c870
add esp, 0xc
push 0xc001
push 0x2b4
lea ecx, [ebp - 0x2d0]
push ecx
push 0
mov edx, dword [ebp - 4]
add edx, 0x30
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2cc]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2cc]
mov dword [edx + 0x1c], eax
xor eax, eax
jmp 0x49062d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
and edx, 1
je 0x49053d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
push 3
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00470ce0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
and eax, 2
je 0x4905b4
cmp dword [0x5f5fdc], 0xffffffff
je 0x49055e
mov ecx, dword [ebp - 8]
mov edx, dword [0x5f5fdc]
mov dword [ecx + 0x18], edx
jmp 0x4905b4
mov dword [ebp - 0x588], 0
push 0x2b0
push 0
lea eax, [ebp - 0x584]
push eax
call fcn.0053c870
add esp, 0xc
push 0x4011
push 0x2b4
lea ecx, [ebp - 0x588]
push ecx
push 0x10
push 0x58463c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp - 0x584]
mov dword [0x5f5fdc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [0x5f5fdc]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
and eax, 0x20
je 0x49062b
cmp dword [0x5f5fd8], 0xffffffff
je 0x4905d5
mov ecx, dword [ebp - 8]
mov edx, dword [0x5f5fd8]
mov dword [ecx + 0x1c], edx
jmp 0x49062b
mov dword [ebp - 0x840], 0
push 0x2b0
push 0
lea eax, [ebp - 0x83c]
push eax
call fcn.0053c870
add esp, 0xc
push 0x4013
push 0x2b4
lea ecx, [ebp - 0x840]
push ecx
push 0x10
push str.c:_test
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp - 0x83c]
mov dword [0x5f5fd8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [0x5f5fd8]
mov dword [eax + 0x1c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4