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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fc0
call fcn.00435c70
push edi
mov byte [ebp - 0xa28], 0
mov ecx, 0x289
xor eax, eax
lea edi, [ebp - 0xa27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1e7c], 0
mov ecx, 0x289
xor eax, eax
lea edi, [ebp - 0x1e7b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1454], 0
mov ecx, 0x289
xor eax, eax
lea edi, [ebp - 0x1453]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [0x496751], 1
xor eax, eax
mov al, byte [0x480ae0]
test eax, eax
je 0x4075db
push 0x2a
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408c00
add esp, 8
test eax, eax
je 0x40758e
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.00408c00
add esp, 8
test eax, eax
je 0x40754f
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.00408c00
add esp, 8
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1454]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x480af4
push 0x5c
lea ecx, [ebp - 0x1454]
push ecx
call fcn.00408c00
add esp, 8
add eax, 1
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x480af8
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406090
add esp, 8
test eax, eax
je 0x407546
push 0x480afc
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406090
add esp, 8
test eax, eax
jne 0x40754d
mov byte [0x49675d], 1
jmp 0x407573
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1454]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp + 8]
push edx
push 0x480b00
lea eax, [ebp - 0x1e7c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x4075d9
push 0x480b04
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
mov edx, dword [ebp + 8]
push edx
push 0x480b08
lea eax, [ebp - 0x1454]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x480b0c
lea edx, [ebp - 0x1e7c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov byte [0x49675d], 1
jmp 0x407611
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0x1454]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x480b18
lea ecx, [ebp - 0x1e7c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x1fbc]
push edx
lea eax, [ebp - 0x1e7c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xa2c], eax
cmp dword [ebp - 0xa2c], 0xffffffff
je 0x407712
push 0x480b20
lea ecx, [ebp - 0x1f90]
push ecx
call fcn.00406090
add esp, 8
test eax, eax
je 0x4076e9
push 0x480b24
lea edx, [ebp - 0x1f90]
push edx
call fcn.00406090
add esp, 8
test eax, eax
je 0x4076e9
lea eax, [ebp - 0x1454]
push eax
lea ecx, [ebp - 0xa28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
lea edx, [ebp - 0xa28]
push edx
call fcn.00408c00
add esp, 8
test eax, eax
je 0x4076bd
lea eax, [ebp - 0x1f90]
push eax
push 0x5c
lea ecx, [ebp - 0xa28]
push ecx
call fcn.00408c00
add esp, 8
add eax, 1
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x4076d3
lea edx, [ebp - 0x1f90]
push edx
lea eax, [ebp - 0xa28]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0xa28]
push ecx
lea edx, [ebp - 0x1fbc]
push edx
call fcn.0040738d
add esp, 8
lea eax, [ebp - 0x1fbc]
push eax
mov ecx, dword [ebp - 0xa2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407638
mov edx, dword [ebp - 0xa2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov al, byte [0x496751]
test eax, eax
je 0x4078ef
xor ecx, ecx
mov cl, byte [0x480ae0]
test ecx, ecx
je 0x4077a9
push 0x5c
lea edx, [ebp - 0x1454]
push edx
call fcn.00408c00
add esp, 8
test eax, eax
jne 0x4077a9
push 0x2a
lea eax, [ebp - 0x1454]
push eax
call fcn.00408c00
add esp, 8
test eax, eax
je 0x40777f
lea ecx, [ebp - 0x1fbc]
push ecx
push 0x480b28
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1fc0], eax
cmp dword [ebp - 0x1fc0], 0xffffffff
jne 0x40777d
jmp 0x4078ef
jmp 0x4077a7
lea edx, [ebp - 0x1fbc]
push edx
lea eax, [ebp - 0x1454]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1fc0], eax
cmp dword [ebp - 0x1fc0], 0xffffffff
jne 0x4077a7
jmp 0x4078ef
jmp 0x4077d1
lea ecx, [ebp - 0x1fbc]
push ecx
lea edx, [ebp - 0x1454]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1fc0], eax
cmp dword [ebp - 0x1fc0], 0xffffffff
jne 0x4077d1
jmp 0x4078ef
mov byte [0x480ae0], 0
mov eax, dword [ebp - 0x1fbc]
and eax, 0x10
test eax, eax
je 0x4078c6
push 0x480b2c
lea ecx, [ebp - 0x1f90]
push ecx
call fcn.00406090
add esp, 8
test eax, eax
je 0x4078c6
push 0x480b30
lea edx, [ebp - 0x1f90]
push edx
call fcn.00406090
add esp, 8
test eax, eax
je 0x4078c6
lea eax, [ebp - 0x1454]
push eax
lea ecx, [ebp - 0xa28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
lea edx, [ebp - 0xa28]
push edx
call fcn.00408c00
add esp, 8
test eax, eax
je 0x407872
lea eax, [ebp - 0x1f90]
push eax
push 0x5c
lea ecx, [ebp - 0xa28]
push ecx
call fcn.00408c00
add esp, 8
add eax, 1
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x407888
lea edx, [ebp - 0x1f90]
push edx
lea eax, [ebp - 0xa28]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xa28]
push edx
call fcn.0040742d
add esp, 8
xor eax, eax
mov al, byte [0x49675d]
test eax, eax
je 0x4078c6
lea ecx, [ebp - 0xa28]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4078c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00406ed9
add esp, 4
lea edx, [ebp - 0x1fbc]
push edx
mov eax, dword [ebp - 0x1fc0]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4077d8
mov ecx, dword [ebp - 0x1fc0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov esp, ebp
pop ebp
ret