Function at 0x100b0960
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ec2db
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
inc dword [ebp + 0xc]
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], vtable.CFileData.0
call dword [0x100f4984]
xor ebx, ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], ebx
call dword [0x100f4984]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], ebx
call dword [0x100f4984]
lea ecx, [esp + 0x14]
call dword [0x100f4984]
lea ecx, [esp + 0x10]
call dword [0x100f4984]
mov edi, dword [ebp + 8]
lea eax, [esi + 0x14]
push eax
push edi
mov byte [esp + 0x70], 3
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x100b0d29
test byte [esi + 0x14], 0x10
jne 0x100b0a98
push 0x100f5ea0
push edi
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x100b0a98
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x4c], ecx
push edi
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], vtable.CFileData.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x5c
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, 0xffffffff
je 0x100b0ac0
inc eax
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBufferSetLength]
test dword [esi + 0x14], 0x400
jne 0x100b0d02
mov eax, dword [esi + 0x14]
mov dword [esp + 0x4c], eax
lea edi, [esi + 0x40]
test al, 0x10
je 0x100b0b2c
cmp word [edi], 0x2e
jne 0x100b0aff
movzx eax, word [esi + 0x42]
test ax, ax
je 0x100b0d02
cmp ax, 0x2e
jne 0x100b0aff
cmp word [esi + 0x44], 0
je 0x100b0d02
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.10008ed0
add esp, 8
mov byte [esp + 0x68], 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x20]
jmp 0x100b0c7e
cmp dword [esi + 0x10], 0
je 0x100b0c56
push edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100b0c2c
mov ebx, dword [sym.imp.MSVCR90.dll_wcsrchr]
push 0x5c
push eax
call ebx
add esp, 8
test eax, eax
jne 0x100b0b69
mov eax, dword [esp + 0x24]
jmp 0x100b0b6c
add eax, 2
test eax, eax
je 0x100b0c2c
push 0x2e
push eax
call ebx
add esp, 8
test eax, eax
je 0x100b0c2c
push str..lnk
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x100b0c2c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.10008ed0
mov byte [esp + 0x70], 5
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.100b0ec0
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x100b0c02
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
jmp 0x100b0c89
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.10008ed0
add esp, 8
mov byte [esp + 0x68], 7
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x30]
jmp 0x100b0c7e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.10008ed0
add esp, 8
mov byte [esp + 0x68], 8
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x34]
jmp 0x100b0c7e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.10008ed0
add esp, 8
mov byte [esp + 0x68], 9
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call edx
mov ebx, eax
test ebx, ebx
jne 0x100b0d02
test byte [esi + 0x14], 0x10
je 0x100b0d02
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0xc], eax
jbe 0x100b0d02
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.10008ed0
push eax
lea eax, [esp + 0x48]
push eax
mov edi, 0x100f63bc
mov byte [esp + 0x78], 0xa
call fcn.10008ed0
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x68], 0xb
mov eax, dword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x3c]
mov ebx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp ebx, 0xfffffffc
je 0x100b0d1e
lea eax, [esi + 0x14]
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100b0ac0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], vtable.CFileData.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8