Function at 0x1000e2f7
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x10086038]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x68
mov eax, 0x10058690
call fcn.100514bc
mov eax, dword [ebp + 0x270]
mov ebx, dword [ebp + 0x274]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call sym.PCBRhelper.dll_Ordinal_38
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
push 0x100657e8
push eax
lea esi, [ebp + 0x25c]
mov byte [ebp - 4], 3
call fcn.10004ca0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 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 edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x1000e519
mov ecx, 0x10063904
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000e3c8
test dx, dx
je 0x1000e3c4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000e3c8
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000e3a2
xor eax, eax
jmp 0x1000e3cd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e4ee
mov ecx, 0x100657ec
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000e403
test dx, dx
je 0x1000e3ff
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000e403
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000e3dd
xor eax, eax
jmp 0x1000e408
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e4ee
test byte [ebp], 0x10
je 0x1000e4ee
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
lea esi, [ebp + 0x25c]
call fcn.10004ca0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 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]
xor esi, esi
cmp dword [ebp + 0x26c], esi
je 0x1000e494
push esi
push ecx
lea eax, [ebp + 0x25c]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10061dd0]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x74]
call sym.PCBRhelper.dll_Ordinal_273
push dword [ebp + 0x268]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
call dword [eax + 0x14]
inc dword [ebp - 0x14]
cmp ebx, esi
je 0x1000e494
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebp + 0x264], esi
je 0x1000e4ee
push ebx
push dword [ebp - 0x18]
lea eax, [ebp + 0x260]
push dword [ebp + 0x26c]
push dword [ebp + 0x268]
push dword [ebp + 0x264]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10061dd0]
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push 0x10063900
push eax
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.10004ca0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call sym.PCBRhelper.dll_Ordinal_230
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000e4fb
mov eax, dword [eax]
test eax, eax
jne 0x1000e510
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000e39a
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000e52a
mov eax, dword [eax]
test eax, eax
jne 0x1000e60b
lea eax, [ebp + 0x260]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x25c]
call fcn.10004938
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 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]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x1000e60b
test byte [ebp], 0x10
jne 0x1000e5e4
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea esi, [ebp + 0x25c]
call fcn.10004ca0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 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]
push 0
push ecx
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call dword [0x10061dd0]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x74]
call sym.PCBRhelper.dll_Ordinal_273
push dword [ebp + 0x268]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
call dword [eax + 0x14]
inc dword [ebp - 0x14]
test ebx, ebx
je 0x1000e5e4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000e5f1
mov eax, dword [eax]
test eax, eax
jne 0x1000e604
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000e571
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x70]
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, [ebp - 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, [ebp + 0x25c]
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, [ebp + 0x260]
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 [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.10050724
add ebp, 0x254
leave
ret 0x1c