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

Disassembly:
push 0xffffffffffffffff
push 0x10019dec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebp
push esi
push edi
push str.lstrlenA
mov dword [esp + 0x1c], ecx
push str.KERNEL32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x490]
mov edx, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x278]
push esi
rep stosd dword es:[edi], eax
call edx
cmp byte [eax + esi - 1], 0x5c
je 0x1000695a
mov ebp, 0x1001f47c
mov dword [esp + 0x10], ebp
jmp 0x10006966
mov dword [esp + 0x10], 0x100218a8
mov ebp, dword [esp + 0x10]
push str.wsprintfA
push str.USER32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push ebp
push esi
lea eax, [esp + 0x280]
push str._s_s.
push eax
mov dword [esp + 0x40], edi
call edi
add esp, 0x10
lea ecx, [esp + 0x34]
lea edx, [esp + 0x278]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
jne 0x100069b6
xor al, al
jmp 0x10006b28
xor ebx, ebx
cmp byte [esp + 0x60], 0x2e
je 0x10006b03
test byte [esp + 0x34], 0x10
lea eax, [esp + 0x60]
push eax
push ebp
push esi
push str._s_s_s
je 0x100069f9
lea ecx, [esp + 0x38c]
push ecx
call edi
mov ecx, dword [esp + 0x2c]
add esp, 0x14
lea edx, [esp + 0x37c]
push edx
call fcn.100068f0
jmp 0x10006b03
lea ecx, [esp + 0x184]
push ecx
call edi
lea edi, [esp + 0x188]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x17]
push 1
not ecx
dec ecx
mov byte [esp + 0x20], dl
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 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 0x10006a64
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x174]
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 + 0x20]
mov dword [esp + 0x24], ebp
mov byte [ecx + ebp], bl
mov edx, dword [esp + 0x18]
push 0x18
mov dword [esp + 0x48c], ebx
mov esi, dword [edx + 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 0x10006a87
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebx
mov ecx, edi
jne 0x10006a91
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x1c]
add eax, 8
push ecx
push eax
call fcn.10006fd0
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x488], 0xffffffff
mov edx, dword [eax + 0x18]
inc edx
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10006ae8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10006adf
cmp al, 0xff
je 0x10006adf
dec al
mov byte [ecx], al
jmp 0x10006ae8
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x490]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100069b8
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x480]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x47c
ret 4