Function at 0x66227d35
Capabilities:
Get file system object information

Disassembly:
push 0x874
mov eax, 0x66236696
call fcn.6622a8c1
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x774], eax
lea eax, [ebp - 0x4b0]
push eax
mov ebx, ecx
mov esi, edx
call fcn.661c89f3
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x4b0]
test eax, eax
je 0x66227d74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
mov dword [ebp - 0x4b0], esi
je 0x66227d84
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [ebp - 0x770]
push eax
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - 0x770], edi
call fcn.6622874d
test al, al
je 0x66228037
push dword [ebp - 0x770]
xor esi, esi
push esi
lea eax, [ebp - 0x4ac]
call fcn.6622811a
push edi
push ebx
lea eax, [ebp - 0x49c]
call fcn.6622811a
push 0x108
lea eax, [ebp - 0x880]
push esi
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x880]
push edx
push esi
push dword [ebp - 0x770]
push eax
call dword [ecx + 0x2c]
cmp eax, esi
jl 0x66228037
cmp dword [ebp - 0x880], 2
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
jne 0x66227e14
lea eax, [ebp - 0x87c]
jmp 0x66227e2b
cmp dword [ebp - 0x880], 1
jne 0x66227e3a
mov eax, dword [ebp - 0x770]
mov ecx, dword [ebp - 0x87c]
add eax, ecx
push eax
lea ecx, [ebp - 0x48c]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::SetWithConvert_char_const__]
jmp 0x66227ea7
xor edi, edi
cmp dword [ebp - 0x880], edi
jne 0x66228037
push dword [ebp - 0x87c]
lea ecx, [ebp - 0x48c]
call esi
cmp dword [ebp - 0x87c], edi
je 0x66227ea7
mov dword [ebp - 0x76c], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x76c]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCIPtrBase::Empty_void_]
lea eax, [ebp - 0x76c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x66227e97
mov eax, dword [ebp - 0x76c]
push dword [ebp - 0x87c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x76c]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_]
mov eax, dword [ebp - 0x4b0]
lea edx, [ebp - 0x484]
push edx
lea edx, [ebp - 0x770]
push edx
push 1
mov dword [ebp - 0x484], 0x30000000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x66228037
lea eax, [ebp - 0x768]
push eax
call fcn.661ebe7b
push 0x408
push 0x2b4
lea eax, [ebp - 0x768]
push eax
push 0
push dword [ebp - 0x49c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x66227f13
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x488]
call esi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x49c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
setne al
test al, al
je 0x66227f3e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call esi
push 0x14
lea eax, [ebp - 0x480]
push eax
push 3
push dword [ebp - 0x770]
push dword [ebp - 0x4b0]
call dword [sym.imp.SHELL32.dll_SHGetDataFromIDListW]
test eax, eax
jge 0x66227f6c
mov esi, dword [ebp - 0x21c]
call fcn.66228051
jmp 0x66227f85
cmp dword [ebp - 0x480], 1
jne 0x66227f8b
mov esi, dword [ebp - 0x21c]
call fcn.66228051
cmp eax, 0x11
je 0x66227f8b
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x480]
or edi, 0xffffffff
cmp eax, 3
mov dword [ebp - 0x778], eax
je 0x66227fa4
cmp eax, 2
jne 0x66228000
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x66228037
cmp word [eax], 0
je 0x66228037
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
lea esi, [ebp - 0x76c]
call fcn.661c54bb
mov byte [ebp - 4], 6
cmp dword [ebp - 0x76c], edi
jne 0x66227fea
mov dword [ebp - 4], edi
jmp 0x6622803b
mov byte [ebp - 4], 0
push dword [ebp - 0x76c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x76c], edi
cmp dword [ebp - 0x778], 3
jne 0x66228013
or dword [ebp - 0x484], 0x30000000
push dword [ebp - 0x774]
lea eax, [ebp - 0x4b0]
call fcn.66225973
mov dword [ebp - 4], edi
lea eax, [ebp - 0x4b0]
push eax
call fcn.661c9d9c
mov al, 1
jmp 0x66228049
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4b0]
push eax
call fcn.661c9d9c
xor al, al
call fcn.6622a944
ret 8