Function at 0x10006e70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 0x2800
mov ecx, dword [ebp - 0x124]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x114], eax
mov edx, dword [ebp + 8]
push edx
push str._s.
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x10006f30
mov byte [ebp - 0x268], 0x69
push 1
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000bdc0
jmp 0x1000711f
mov ecx, dword [ebp - 0x114]
mov byte [ecx], 0x69
mov dword [ebp - 0x11c], 1
mov edx, dword [ebp - 0x124]
sub edx, 0x208
cmp dword [ebp - 0x11c], edx
jbe 0x10006f84
mov eax, dword [ebp - 0x124]
add eax, 0x208
mov dword [ebp - 0x124], eax
push 0x42
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x110], eax
push 0x10020ec4
mov ecx, dword [ebp - 0x110]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x10006fc0
push 0x10020ec0
mov edx, dword [ebp - 0x110]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x10006fc5
jmp 0x100070cd
mov eax, dword [ebp - 0x264]
and eax, 0x10
mov ecx, dword [ebp - 0x114]
add ecx, dword [ebp - 0x11c]
mov byte [ecx], al
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x114]
add eax, dword [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
add ecx, dword [ebp - 0x120]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x114]
add edx, dword [ebp - 0x11c]
mov byte [edx], 0
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
push 4
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x114]
add edx, dword [ebp - 0x11c]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x114]
lea eax, [edx + ecx + 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
add ecx, 8
mov dword [ebp - 0x11c], ecx
push 8
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x114]
add eax, dword [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
add ecx, 8
mov dword [ebp - 0x11c], ecx
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10006f43
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov ecx, dword [ebp - 4]
call fcn.1000bdc0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4