Function at 0x462650
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475509
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x2d8], eax
push 1
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
push 0x47a250
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [ebp - 0x2c8]
sete byte [ebp - 0x2c9]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [ebp - 0x2c9], 0
je 0x46270b
mov edx, dword [ebp + 8]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [0x479d44]
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x2f4]
call dword [0x47987c]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2c8]
push edx
mov edi, str..
mov byte [ebp - 4], 3
call fcn.00402840
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x2f4]
call dword [sym.imp.mfc100u.dll_CFileFind::FindFile]
lea ecx, [ebp - 0x2c8]
mov esi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test esi, esi
je 0x462a49
mov esi, dword [sym.imp.mfc100u.dll_CFileFind::GetFileName]
jmp 0x462770
lea ecx, [ebp - 0x2f4]
call dword [sym.imp.mfc100u.dll_CFileFind::FindNextFileW]
lea ecx, [ebp - 0x2f4]
mov dword [ebp - 0x304], eax
call dword [sym.imp.mfc100u.dll_CFileFind::IsDots]
test eax, eax
jne 0x462a3c
mov eax, dword [ebp - 0x2f4]
mov edx, dword [eax + 0x40]
push 2
lea ecx, [ebp - 0x2f4]
call edx
test eax, eax
jne 0x462a3c
cmp dword [ebp + 0x10], 1
jne 0x462935
mov eax, dword [ebp - 0x2f4]
mov edx, dword [eax + 0x40]
push 0x10
lea ecx, [ebp - 0x2f4]
call edx
test eax, eax
je 0x462935
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x2f4]
call esi
lea ecx, [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 5
call esi
mov dword [ebp - 0x2d0], eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x318]
push eax
mov edi, 0x47a250
mov byte [ebp - 4], 6
call fcn.00402840
mov ecx, dword [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x300]
push edx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00402620
mov eax, dword [eax]
add esp, 0x10
push 0x300
push 4
lea ecx, [ebp - 0x2c4]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 0x300]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x318]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0x2c4]
mov eax, dword [ebx + 0x2e8]
push edx
push eax
call dword [sym.imp.mfc100u.dll_AfxGetModuleState]
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.0041fcf0
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ebp - 0x2d4]
push 0xffff0002
push ecx
push 0
push 0
push 0
push eax
push eax
push edx
push 0x23
lea ecx, [ebx + 0x168]
call dword [sym.imp.mfc100u.dll_CTreeCtrl::InsertItem]
push 0
push eax
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x2f4]
call esi
mov dword [ebp - 0x2d0], eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2f8]
push edx
mov byte [ebp - 4], 8
call fcn.00402840
mov byte [ebp - 4], 9
add esp, 4
mov edx, dword [ebp - 0x2d0]
mov ecx, esp
mov dword [ebp - 0x31c], esp
push edx
push ecx
mov ecx, eax
call fcn.00402620
add esp, 8
mov ecx, ebx
call fcn.00462650
lea ecx, [ebp - 0x2f8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x310]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x2d4]
jmp 0x462a32
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x2f4]
call esi
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0xa
call esi
mov dword [ebp - 0x2d0], eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x30c]
push eax
mov edi, 0x47a250
mov byte [ebp - 4], 0xb
call fcn.00402840
mov ecx, dword [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x308]
push edx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00402620
mov eax, dword [eax]
add esp, 0x10
push 0x300
push 4
lea ecx, [ebp - 0x2c4]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 0x308]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x30c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0x2c4]
mov eax, dword [ebx + 0x2e8]
push edx
push eax
call dword [sym.imp.mfc100u.dll_AfxGetModuleState]
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.0041fcf0
mov ecx, dword [ebp - 0x2c4]
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x2c8]
push 0xffff0002
push edx
push 0
push 0
push 0
push edi
push edi
push eax
push 0x23
lea ecx, [ebx + 0x168]
call dword [sym.imp.mfc100u.dll_CTreeCtrl::InsertItem]
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp dword [ebp - 0x304], 0
jne 0x462770
lea ecx, [ebp - 0x2f4]
call dword [sym.imp.mfc100u.dll_CFileFind::Close]
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_CFileFind::CFileFind]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret 0xc