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

Disassembly:
push 0xffffffffffffffff
push 0x41e6fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0
call fcn.0041befe
push 1
push 0x5c
lea ecx, [esp + 0x20]
mov dword [esp + 0x240], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
push 1
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push edx
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
setne byte [esp + 0x23]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 0
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x23]
test al, al
je 0x4179d1
push 0x5c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
push 0x427188
lea ecx, [esp + 0x2c]
call fcn.0041beda
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x80]
mov byte [esp + 0x238], 2
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xa8]
mov byte [esp + 0x238], 3
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x58]
mov byte [esp + 0x238], 4
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x94]
mov byte [esp + 0x238], 5
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xbc]
mov byte [esp + 0x238], 6
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x3c]
mov byte [esp + 0x238], 7
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x28]
push 0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x240], 8
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x417ccc
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x417cc0
mov edx, dword [esp + 0x3c]
push 0x10
lea ecx, [esp + 0x40]
call dword [edx + 0x40]
test eax, eax
je 0x417b88
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
xor esi, esi
call sub.MFC42.DLL_CFileFind::GetFileName
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 9
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x74]
xor edi, edi
test eax, eax
jle 0x417af8
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edi*4]
push eax
push edx
call ebx
add esp, 8
test eax, eax
jle 0x417af8
mov eax, dword [esp + 0x74]
inc esi
inc edi
cmp edi, eax
jl 0x417ad8
lea eax, [esp + 0x14]
push 1
push eax
push esi
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::GetFilePath
push 1
push eax
push esi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x244], 0xa
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], 9
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
lea ecx, [esp + 0x3c]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
push 1
push eax
push esi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x244], 0xb
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 9
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x238], 8
lea ecx, [esp + 0x14]
jmp 0x417cbb
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x417cc0
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::GetFileName
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0xc
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [ebp + 0x6c]
push 0x427184
push eax
call ebx
add esp, 8
test eax, eax
je 0x417c06
mov edx, dword [ebp + 0x6c]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
lea eax, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CString::Right
mov ecx, dword [ebp + 0x6c]
mov eax, dword [eax]
push ecx
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
je 0x417caf
mov eax, dword [esp + 0x60]
xor edi, edi
test eax, eax
jle 0x417c30
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edi*4]
push eax
push edx
call ebx
add esp, 8
test eax, eax
jle 0x417c30
mov eax, dword [esp + 0x60]
inc esi
inc edi
cmp edi, eax
jl 0x417c10
lea eax, [esp + 0x10]
push 1
push eax
push esi
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::GetFilePath
push 1
push eax
push esi
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 0xd
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x34]
mov byte [esp + 0x238], 0xc
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x30]
lea ecx, [esp + 0x3c]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
push 1
push eax
push esi
lea ecx, [esp + 0xc8]
mov byte [esp + 0x244], 0xe
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x30]
mov byte [esp + 0x238], 0xc
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x238], 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x417a7a
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esp + 0x74]
xor esi, esi
test eax, eax
jle 0x417edf
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x84]
mov byte [esp + 0x238], 0xf
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push 1
push 0x5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x240], 0x10
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x2c]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 0x11
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], 0x10
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x417d79
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
dec eax
push eax
call sub.MFC42.DLL_CString::Delete
push str.Desktop.ini
lea ecx, [esp + 0x14]
call fcn.0041beda
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.00418aa0
test eax, eax
jne 0x417dce
lea ecx, [esp + 0x14]
push ecx
push 0x4271a4
lea ecx, [ebp + 0x4c]
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x417dce
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edi, eax
jmp 0x417e6e
mov eax, dword [esp + 0x84]
push 0x101
lea ecx, [esp + 0xd4]
push 0x160
mov eax, dword [eax + esi*4]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0xd0]
mov eax, dword [ebp + 0x48]
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
lea ecx, [esp + 0x14]
lea ebx, [ebp + 0x4c]
push ecx
push 0x4271a4
mov ecx, ebx
mov edi, eax
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
jne 0x417e6e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push edi
lea edx, [esp + 0x1c]
push 0x426118
push edx
mov byte [esp + 0x244], 0x12
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push 0x4271a4
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 0x10
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x244]
mov ecx, dword [esp + 0xac]
push 0xffff0002
push edx
mov eax, dword [ecx + esi*4]
push 0
push 0
push 0
push edi
push edi
push eax
push 0x23
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov ecx, dword [esp + 0x84]
push eax
mov ecx, dword [ecx + esi*4]
push ecx
mov ecx, ebp
call fcn.00417700
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x74]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
inc esi
cmp esi, eax
jl 0x417ce3
mov eax, dword [esp + 0x60]
xor edi, edi
test eax, eax
jle 0x41814c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0x13
lea eax, [edx + edi*4]
push eax
call sub.MFC42.DLL_CString::CString_3
push 0x2e
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0x14
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
jne 0x417f47
push 0x4272e0
lea ecx, [esp + 0x34]
call fcn.0041befe
or dword [esp + 0x1c], 1
mov byte [esp + 0x238], 0x15
jmp 0x417f7a
mov ecx, dword [esp + 0x10]
push 0x2e
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea edx, [esp + 0x2c]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
or dword [esp + 0x1c], 2
mov dword [esp + 0x238], 0x16
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov al, byte [esp + 0x1c]
mov dword [esp + 0x238], 0x15
test al, 2
je 0x417faa
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
and al, 0xfd
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x1c]
mov dword [esp + 0x238], 0x14
test al, 1
je 0x417fd0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
and al, 0xfe
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [ebp + 0x4c]
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x418004
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, eax
jmp 0x4180f4
mov eax, dword [esp + 0x98]
push 0x101
lea ecx, [esp + 0xd4]
push 0x160
mov eax, dword [eax + edi*4]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0xd0]
mov eax, dword [ebp + 0x48]
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [esp + 0x10]
push 0x426dc8
push ecx
mov esi, eax
call ebx
add esp, 8
test eax, eax
je 0x4180f4
mov edx, dword [esp + 0x10]
push str..lnk
push edx
call ebx
add esp, 8
test eax, eax
je 0x4180f4
mov eax, dword [esp + 0x10]
push str..ico
push eax
call ebx
add esp, 8
test eax, eax
je 0x4180f4
mov ecx, dword [esp + 0x10]
push str..ani
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4180f4
mov edx, dword [esp + 0x10]
push str..cur
push edx
call ebx
add esp, 8
test eax, eax
je 0x4180f4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push esi
lea eax, [esp + 0x1c]
push 0x426118
push eax
mov byte [esp + 0x244], 0x17
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [ebp + 0x4c]
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 0x14
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x244]
mov eax, dword [esp + 0xc0]
push 0xffff0002
push ecx
mov eax, dword [eax + edi*4]
push 0
push 0
push 0
push esi
push esi
push eax
push 0x23
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::InsertItem
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x60]
inc edi
cmp edi, eax
jl 0x417eed
lea ecx, [esp + 0x3c]
mov byte [esp + 0x238], 7
call fcn.0041c078
lea ecx, [esp + 0xbc]
mov byte [esp + 0x238], 6
call fcn.0041c0de
lea ecx, [esp + 0x94]
mov byte [esp + 0x238], 5
call fcn.0041c0de
lea ecx, [esp + 0x58]
mov byte [esp + 0x238], 4
call fcn.0041c0de
lea ecx, [esp + 0xa8]
mov byte [esp + 0x238], 3
call fcn.0041c0de
lea ecx, [esp + 0x80]
mov byte [esp + 0x238], 2
call fcn.0041c0de
lea ecx, [esp + 0x6c]
mov byte [esp + 0x238], 0
call fcn.0041c0de
lea ecx, [esp + 0x28]
mov dword [esp + 0x238], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x22c
ret 8