Function at 0x66238c8e
Capabilities:
Get file system object information

Disassembly:
push 0x878
mov eax, 0x66247802
call fcn.6623ba81
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x778], eax
lea eax, [ebp - 0x4b4]
push eax
mov ebx, ecx
mov esi, edx
call fcn.661d8535
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x4b4]
test eax, eax
je 0x66238ccd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
mov dword [ebp - 0x4b4], esi
je 0x66238cdd
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [ebp - 0x774]
push eax
lea eax, [ebp - 0x4b4]
push eax
mov dword [ebp - 0x774], edi
call fcn.662397c5
test al, al
je 0x66238fa6
push dword [ebp - 0x774]
xor esi, esi
push esi
lea eax, [ebp - 0x4b0]
call fcn.66239089
push edi
push ebx
lea eax, [ebp - 0x4a0]
call fcn.66239089
push pe_nt_image_headers32
lea eax, [ebp - 0x884]
push esi
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x884]
push edx
push esi
push dword [ebp - 0x774]
push eax
call dword [ecx + 0x2c]
cmp eax, esi
jl 0x66238fa6
cmp dword [ebp - 0x884], 2
mov edi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
jne 0x66238d6d
lea eax, [ebp - 0x880]
jmp 0x66238d84
cmp dword [ebp - 0x884], 1
jne 0x66238d93
mov eax, dword [ebp - 0x774]
mov ecx, dword [ebp - 0x880]
add eax, ecx
push eax
lea ecx, [ebp - 0x490]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::SetWithConvert_char_const__]
jmp 0x66238dfe
cmp dword [ebp - 0x884], esi
jne 0x66238fa6
push dword [ebp - 0x880]
lea ecx, [ebp - 0x490]
call edi
cmp dword [ebp - 0x880], esi
je 0x66238dfe
mov dword [ebp - 0x770], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x770]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCIPtrBase::Empty_void_]
lea eax, [ebp - 0x770]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x66238dee
mov eax, dword [ebp - 0x770]
push dword [ebp - 0x880]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x770]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_]
mov eax, dword [ebp - 0x4b4]
lea edx, [ebp - 0x488]
push edx
lea edx, [ebp - 0x774]
push edx
push 1
mov dword [ebp - 0x488], 0x30000000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, esi
jl 0x66238fa6
test byte [ebp + 0x10], 1
jne 0x66238e7c
mov esi, 0x2b4
push esi
lea eax, [ebp - 0x76c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x408
push esi
lea eax, [ebp - 0x76c]
push eax
push 0
push dword [ebp - 0x4a0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
setne al
test al, al
je 0x66238e7c
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x48c]
call edi
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x4a0]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
setne al
test al, al
je 0x66238ea7
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call edi
push 0x14
lea eax, [ebp - 0x484]
push eax
push 3
push dword [ebp - 0x774]
push dword [ebp - 0x4b4]
call dword [sym.imp.SHELL32.dll_SHGetDataFromIDListW]
test eax, eax
jge 0x66238ed5
mov esi, dword [ebp - 0x220]
call fcn.66238fc0
jmp 0x66238eee
cmp dword [ebp - 0x484], 1
jne 0x66238ef4
mov esi, dword [ebp - 0x220]
call fcn.66238fc0
cmp eax, 0x11
je 0x66238ef4
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x484]
or edi, 0xffffffff
test byte [ebp + 0x10], 2
mov dword [ebp - 0x77c], eax
jne 0x66238f6f
cmp eax, 3
je 0x66238f13
cmp eax, 2
jne 0x66238f6f
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x66238fa6
cmp word [eax], 0
je 0x66238fa6
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
lea esi, [ebp - 0x770]
call fcn.661d525a
mov byte [ebp - 4], 6
cmp dword [ebp - 0x770], edi
jne 0x66238f59
mov dword [ebp - 4], edi
jmp 0x66238faa
mov byte [ebp - 4], 0
push dword [ebp - 0x770]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x770], edi
cmp dword [ebp - 0x77c], 3
jne 0x66238f82
or dword [ebp - 0x488], 0x30000000
push dword [ebp - 0x778]
lea eax, [ebp - 0x4b4]
call fcn.66236666
mov dword [ebp - 4], edi
lea eax, [ebp - 0x4b4]
push eax
call fcn.661d9940
mov al, 1
jmp 0x66238fb8
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4b4]
push eax
call fcn.661d9940
xor al, al
call fcn.6623bb04
ret 0xc