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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x460], edx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x458], eax
sub edx, esi
push edi
mov dword [ebp - 0x468], ecx
mov dword [ebp - 0x454], 1
mov eax, esi
xor ebx, ebx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4c7900
lea eax, [ebp - 0x310]
push eax
call fcn.004bf2e0
lea edi, [ebp - 0x310]
add esp, 4
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4c7920
mov ecx, dword [0x550fc0]
lea edx, [ebp - 0x450]
push edx
lea eax, [ebp - 0x310]
push eax
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x45c], eax
cmp eax, 0xffffffff
je 0x4c7b77
lea edi, [ebp - 0x20c]
sub edi, esi
mov dword [ebp - 0x464], edi
jmp 0x4c7979
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x464]
push 0x103
lea ecx, [ebp - 0x20b]
push ebx
push ecx
mov byte [ebp - 0x20c], bl
call fcn.004ff6f0
push 0x103
lea edx, [ebp - 0x107]
push ebx
push edx
mov byte [ebp - 0x108], bl
call fcn.004ff6f0
add esp, 0x18
mov eax, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
cmp cl, bl
jne 0x4c79b0
lea eax, [ebp - 0x20c]
push eax
call fcn.004bf2e0
lea eax, [ebp - 0x424]
add esp, 4
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4c79d1
lea edi, [ebp - 0x20c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4c79e1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x458]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, ebx
je 0x4c7a4a
lea edx, [ebp - 0x108]
sub edx, eax
jmp 0x4c7a10
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4c7a10
lea eax, [ebp - 0x424]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4c7a22
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4c7a32
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x450]
and esi, 0x10
jne 0x4c7a5e
cmp dword [ebp + 0x10], ebx
je 0x4c7b4d
mov ecx, 0x5509cc
lea eax, [ebp - 0x424]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c7a90
cmp dl, bl
je 0x4c7a8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c7a90
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c7a70
xor eax, eax
jmp 0x4c7a95
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4c7b4d
mov ecx, 0x550fbc
lea eax, [ebp - 0x424]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c7ac8
cmp dl, bl
je 0x4c7ac4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c7ac8
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c7aa8
xor eax, eax
jmp 0x4c7acd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4c7b4d
cmp esi, ebx
je 0x4c7ae4
lea ecx, [ebp - 0x108]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x20c]
cmp dword [ebp + 0x14], ebx
jne 0x4c7af5
lea eax, [ebp - 0x108]
mov edi, dword [ebp - 0x460]
mov esi, dword [ebp - 0x468]
push edi
push eax
call esi
add esp, 8
mov dword [ebp - 0x454], eax
cmp eax, ebx
je 0x4c7b71
test byte [ebp - 0x450], 0x10
je 0x4c7b4d
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x458]
mov eax, dword [ebp + 0x10]
push edi
push esi
push edx
neg ecx
push eax
sbb ecx, ecx
lea edx, [ebp - 0x108]
and ecx, edx
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.004c78b0
add esp, 0x18
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], ebx
je 0x4c7b71
mov edx, dword [ebp - 0x45c]
lea ecx, [ebp - 0x450]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4c7970
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x454]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret