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

Disassembly:
push 0xffffffffffffffff
push 0x1001244c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x46c
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
push edi
mov ebp, dword [esp + 0x48c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x170]
mov dword [esp + 0x14], 0x1001722c
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebp - 1], 0x5c
jne 0x1000400b
mov dword [esp + 0x14], 0x100190e8
push 0x104
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
xor ebx, ebx
push 0x10017228
push esi
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10017224
push esi
call edi
push 0x10017220
push esi
call edi
push 0x100190e4
push esi
call edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x170]
push edi
push ebp
push esi
mov esi, dword [0x10018cc0]
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x30]
lea edx, [esp + 0x170]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
jne 0x10004085
xor al, al
jmp 0x100041f3
cmp byte [esp + 0x5c], 0x2e
je 0x100041ce
test byte [esp + 0x30], 0x10
lea eax, [esp + 0x5c]
push eax
push edi
push ebp
push str._s_s_s
je 0x100040c6
lea ecx, [esp + 0x388]
push ecx
call esi
mov ecx, dword [esp + 0x3c]
add esp, 0x14
lea edx, [esp + 0x378]
push edx
call fcn.10003fb0
jmp 0x100041ce
lea ecx, [esp + 0x284]
push ecx
call esi
lea edi, [esp + 0x288]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
push 1
not ecx
dec ecx
mov byte [esp + 0x1c], dl
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10004131
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x274]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], bl
mov ebp, dword [esp + 0x28]
push 0x18
mov dword [esp + 0x488], ebx
mov esi, dword [ebp + 0x14]
mov edi, dword [esi + 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x10004154
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebx
mov ecx, edi
jne 0x1000415e
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.10004670
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 8
inc edx
cmp eax, ebx
mov dword [ebp + 0x18], edx
mov dword [esp + 0x484], 0xffffffff
je 0x100041b1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x100041a8
cmp al, 0xff
je 0x100041a8
dec al
mov byte [ecx], al
jmp 0x100041b1
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, dword [esp + 0x48c]
mov esi, dword [0x10018cc0]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10004085
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x478
ret 4