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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66237016
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x66274018]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push esi
push edi
mov eax, dword [0x66274018]
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.661e5c87
push dword [edi + 4]
call fcn.661e5c87
push 0x17
push 0x6624a328
push 0x6624a318
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.661c7e28
mov byte [esp + 0x398], 3
xor ebx, ebx
xor edi, edi
cmp dword [esi + 4], ebx
jle 0x662144b9
push edi
call fcn.661e5614
call fcn.661c7e94
test al, al
jne 0x662144b3
push edi
call fcn.661e5614
push dword [eax]
lea eax, [esp + 0x88]
call fcn.661d0326
inc edi
cmp edi, dword [esi + 4]
jl 0x66214490
mov esi, dword [esp + 0x24]
cmp dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
jle 0x6621497a
push dword [esp + 0x1c]
call fcn.66216f48
test dword [eax + 0x2c], 0x10000000
jne 0x66214965
push 0x6623fb5c
push dword [esp + 0x20]
call fcn.66216f48
mov ecx, eax
mov edi, 0x294
add ecx, edi
call dword [sym.imp.GrooveUtil.DLL_public:_bool___thiscall_GCStr::EndsWithNoCase_wchar_t_const__const]
test al, al
je 0x66214965
lea eax, [esp + 0x3c]
push eax
call fcn.661e18a5
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 0x6621453e
cmp word [eax], bx
jne 0x66214663
mov dword [esp + 0x30], ebx
mov byte [esp + 0x398], 8
push dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
call fcn.66216f48
mov esi, dword [esp + 0x28]
add eax, edi
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push eax
lea eax, [esp + 0x98]
push eax
call fcn.6621d323
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 0x66214651
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 0x662145ba
push 0x6624a048
push esi
push eax
call fcn.661c679d
cmp word [esp + 0x36], bx
je 0x66214651
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 0x662145e6
push 0x6624a048
push esi
push eax
call fcn.661c679d
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.661cb97b
test al, al
jne 0x66214627
mov byte [esp + 0x398], 8
cmp dword [esp + 0x20], ebx
je 0x66214599
lea ecx, [esp + 0x20]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
jmp 0x66214599
mov eax, dword [esp + 0x20]
push eax
lea esi, [esp + 0x18]
mov dword [esp + 0x24], ebx
call fcn.661c7c67
mov byte [esp + 0x398], 8
cmp dword [esp + 0x20], ebx
je 0x66214651
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.661c7d37
push ebx
lea eax, [esp + 0x6c]
push eax
call fcn.661e6ae0
mov byte [esp + 0x398], 0xb
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x66214726
cmp word [eax], bx
je 0x66214726
mov dword [esp + 0x38], ebx
mov byte [esp + 0x398], 0xe
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x84], eax
call fcn.66216f48
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push ecx
push dword [esp + 0x84]
add eax, edi
mov eax, dword [eax]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.6621d2db
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 0x66214714
mov eax, dword [esp + 0x14]
push eax
lea esi, [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.661c7c67
push dword [esp + 0x38]
lea eax, [esp + 0x6c]
push eax
call fcn.661e6b1b
mov byte [esp + 0x398], 0xb
lea eax, [esp + 0x38]
push eax
call fcn.661c7d37
mov dword [esp + 0x18], ebx
mov byte [esp + 0x398], 0x10
lea eax, [esp + 0x18]
push eax
push 0x6623fe94
lea eax, [esp + 0x70]
call fcn.661e6c91
test al, al
jne 0x66214796
push dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
call fcn.66216f48
mov esi, dword [esp + 0x28]
add eax, edi
push dword [eax]
lea eax, [esp + 0xbc]
push eax
lea edi, [esp + 0x20]
call fcn.6621d294
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 0x66214911
lea eax, [esp + 0xcc]
push eax
call fcn.661ebe7b
push 0x610
push 0x2b4
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 0x66214911
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.661e6c91
test al, al
je 0x66214814
or dword [esp + 0x3c], 2
mov esi, str.FileSize
push esi
lea eax, [esp + 0x6c]
call fcn.662012b3
cmp eax, ebx
je 0x66214841
movzx ecx, word [eax]
cmp cx, 3
jne 0x66214841
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.661e6c91
test al, al
je 0x66214884
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x6621486f
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.661e5657
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.661c7c67
mov eax, dword [esp + 0x44]
push eax
lea esi, [edi + 8]
mov dword [esp + 0x48], ebx
call fcn.661c7c67
mov eax, dword [esp + 0x48]
push eax
lea esi, [edi + 0xc]
mov dword [esp + 0x4c], ebx
call fcn.661c7c67
mov eax, dword [esp + 0x4c]
push eax
lea esi, [edi + 0x10]
mov dword [esp + 0x50], ebx
call fcn.661c7c67
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 0x66214911
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 0x66214929
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.661e7ac5
mov byte [esp + 0x398], 4
cmp dword [esp + 0x14], ebx
je 0x66214953
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.661e5f2b
inc dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 4]
jl 0x662144ca
mov byte [esp + 0x398], 2
lea eax, [esp + 0x84]
push eax
call fcn.661c7dbc
or dword [esp + 0x398], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.661c7d37
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.66229806
mov esp, ebp
pop ebp
ret 8