Function at 0x66225296
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x662481f4
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x66286018]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push esi
push edi
mov eax, dword [0x66286018]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, ecx
push 0
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebx
call fcn.661f5de2
mov eax, dword [edi]
test eax, eax
je 0x662252ff
mov eax, dword [eax + 8]
push eax
call fcn.661f5de2
push 0x17
push 0x6625b6b8
push 0x6625b6a8
lea ecx, [esp + 0x34]
call dword [sym.imp.GrooveUtil.DLL_protected:_void___thiscall_GCIPtrBase::CreateInstanceNoRelease_struct__GUID_const___struct__GUID_const___unsigned_long_int_]
mov dword [esp + 0x398], 2
lea eax, [esp + 0x84]
push eax
call fcn.661d7a37
mov byte [esp + 0x398], 3
xor ebx, ebx
xor edi, edi
cmp dword [esi + 4], ebx
jle 0x6622536d
push edi
call fcn.661f58f0
call fcn.661d7aa3
test al, al
jne 0x66225367
push edi
call fcn.661f58f0
push dword [eax]
lea eax, [esp + 0x88]
call fcn.661dfe50
inc edi
cmp edi, dword [esi + 4]
jl 0x66225344
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp eax, ebx
jne 0x6622537f
xor eax, eax
jmp 0x66225382
mov eax, dword [eax + 8]
cmp dword [esp + 0x1c], eax
jge 0x66225844
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
call fcn.661f1a71
test dword [eax + 0x2c], 0x10000000
jne 0x6622583b
mov eax, dword [esp + 0x24]
push 0x66250b6c
call fcn.661f1a71
mov ecx, eax
mov esi, 0x294
add ecx, esi
call dword [sym.imp.GrooveUtil.DLL_public:_bool___thiscall_GCStr::EndsWithNoCase_wchar_t_const__const]
test al, al
je 0x6622583b
lea eax, [esp + 0x3c]
push eax
call fcn.661f1abe
mov byte [esp + 0x398], 4
push dword [esp + 0x74]
lea ecx, [esp + 0x18]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::constructor_wchar_t_const__]
mov byte [esp + 0x398], 5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x66225404
cmp word [eax], bx
jne 0x6622552e
mov dword [esp + 0x30], ebx
mov byte [esp + 0x398], 8
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
call fcn.661f1a71
add eax, esi
mov eax, dword [eax]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
push eax
lea eax, [esp + 0x98]
push eax
call fcn.6622e358
mov byte [esp + 0x398], 9
mov esi, dword [eax]
mov byte [esp + 0x398], 8
lea ecx, [esp + 0x90]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
cmp esi, ebx
jl 0x66225517
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x36]
push edx
push eax
mov esi, eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x66225480
push 0x6625b3f8
push esi
push eax
call fcn.661d63be
cmp word [esp + 0x36], bx
je 0x66225517
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebx
jge 0x662254ac
push 0x6625b3f8
push esi
push eax
call fcn.661d63be
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov byte [esp + 0x398], 0xa
push dword [esp + 0x20]
lea eax, [esp + 0x88]
call fcn.661db4f7
test al, al
jne 0x662254ed
mov byte [esp + 0x398], 8
cmp dword [esp + 0x20], ebx
je 0x6622545f
lea ecx, [esp + 0x20]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
jmp 0x6622545f
mov eax, dword [esp + 0x20]
push eax
lea esi, [esp + 0x18]
mov dword [esp + 0x24], ebx
call fcn.661d787e
mov byte [esp + 0x398], 8
cmp dword [esp + 0x20], ebx
je 0x66225517
lea ecx, [esp + 0x20]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x398], 5
lea eax, [esp + 0x30]
push eax
call fcn.661da1c1
mov esi, 0x294
push ebx
lea eax, [esp + 0x6c]
push eax
call fcn.661f6bf9
mov byte [esp + 0x398], 0xb
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x662255f6
cmp word [eax], bx
je 0x662255f6
mov dword [esp + 0x38], ebx
mov byte [esp + 0x398], 0xe
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
call fcn.661f1a71
lea ecx, [esp + 0x38]
push ecx
push dword [esp + 0x84]
add eax, esi
mov eax, dword [eax]
mov esi, dword [esp + 0x30]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.6622e310
mov byte [esp + 0x398], 0xf
mov esi, dword [eax]
mov byte [esp + 0x398], 0xe
lea ecx, [esp + 0xa4]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
cmp esi, ebx
jl 0x662255df
mov eax, dword [esp + 0x14]
push eax
lea esi, [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.661d787e
push dword [esp + 0x38]
lea eax, [esp + 0x6c]
push eax
call fcn.661f6c34
mov byte [esp + 0x398], 0xb
lea eax, [esp + 0x38]
push eax
call fcn.661da1c1
mov esi, 0x294
mov dword [esp + 0x18], ebx
mov byte [esp + 0x398], 0x10
lea eax, [esp + 0x18]
push eax
push 0x66250ea4
lea eax, [esp + 0x70]
call fcn.661f6daa
test al, al
jne 0x66225666
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
call fcn.661f1a71
add eax, esi
push dword [eax]
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xbc]
push eax
lea edi, [esp + 0x20]
call fcn.6622e2c9
mov byte [esp + 0x398], 0x11
mov esi, dword [eax]
mov byte [esp + 0x398], 0x10
lea ecx, [esp + 0xb8]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
cmp esi, ebx
jl 0x662257e7
mov esi, 0x2b4
push esi
lea eax, [esp + 0xd0]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x610
push esi
lea eax, [esp + 0xd4]
push eax
push 0x80
push dword [esp + 0x28]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
setne al
cmp al, bl
je 0x662257e7
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
or dword [esp + 0x3c], 1
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x48]
call esi
lea eax, [esp + 0x2e0]
push eax
lea ecx, [esp + 0x4c]
call esi
lea eax, [esp + 0x4c]
push eax
push str._ShareObjectID
lea eax, [esp + 0x70]
call fcn.661f6daa
test al, al
je 0x662256ea
or dword [esp + 0x3c], 2
mov esi, str.FileSize
push esi
lea eax, [esp + 0x6c]
call fcn.662113fe
cmp eax, ebx
je 0x66225717
movzx ecx, word [eax]
cmp cx, 3
jne 0x66225717
mov eax, dword [eax + 8]
or dword [esp + 0x3c], 4
cdq
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x398], 0x12
lea eax, [esp + 0x2c]
push eax
push esi
lea eax, [esp + 0x70]
call fcn.661f6daa
test al, al
je 0x6622575a
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x66225745
mov eax, dword [sym.imp.GrooveUtil.DLL_wchar_t_const__const_raw_GCStr::SAFE_EMPTY_STRING_CBSTR]
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR80.dll__wtoi64]
or dword [esp + 0x40], 4
pop ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
call fcn.661f5933
mov edi, eax
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov eax, dword [esp + 0x40]
push eax
lea esi, [edi + 4]
mov dword [esp + 0x44], ebx
call fcn.661d787e
mov eax, dword [esp + 0x44]
push eax
lea esi, [edi + 8]
mov dword [esp + 0x48], ebx
call fcn.661d787e
mov eax, dword [esp + 0x48]
push eax
lea esi, [edi + 0xc]
mov dword [esp + 0x4c], ebx
call fcn.661d787e
mov eax, dword [esp + 0x4c]
push eax
lea esi, [edi + 0x10]
mov dword [esp + 0x50], ebx
call fcn.661d787e
mov eax, dword [esp + 0x54]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x24], eax
mov byte [esp + 0x398], 0x10
cmp dword [esp + 0x2c], ebx
je 0x662257e7
lea ecx, [esp + 0x2c]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x398], 0xb
cmp dword [esp + 0x18], ebx
je 0x662257ff
lea ecx, [esp + 0x18]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x398], 5
lea eax, [esp + 0x68]
push eax
call fcn.661f7bd9
mov byte [esp + 0x398], 4
cmp dword [esp + 0x14], ebx
je 0x66225829
lea ecx, [esp + 0x14]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x398], 3
lea eax, [esp + 0x3c]
push eax
call fcn.661f6081
inc dword [esp + 0x1c]
jmp 0x66225371
mov byte [esp + 0x398], 2
lea eax, [esp + 0x84]
push eax
call fcn.661d79cb
or dword [esp + 0x398], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.661da1c1
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.6623a9c1
mov esp, ebp
pop ebp
ret 8