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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x140
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x144]
push ebx
push eax
mov dword [ebp - 0x148], esi
call fcn.004e4da0
push esi
call fcn.0049f486
add esp, 0x10
test eax, eax
jne 0x42cd6d
push 1
mov edi, 0x71c
push edi
call fcn.004ee464
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42cd6d
push 1
push edi
call fcn.004ee464
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x42cd7e
push esi
call fcn.004ee46f
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
push 0x71c
push dword [ebp - 0x148]
push esi
call fcn.004a11a5
push esi
call fcn.004a03e7
push esi
call fcn.004a0326
push 0x22
push esi
call fcn.0049ff57
push esi
call fcn.00429152
add esp, 0x20
test eax, eax
je 0x42cdf5
push 0x50b484
push esi
call fcn.004e4f00
pop ecx
pop ecx
test eax, eax
jne 0x42cdf5
push esi
call fcn.004ee800
pop ecx
cmp byte [eax + esi - 1], 0x5c
je 0x42cde2
push 0x71c
push 0x51578c
push esi
call fcn.004a10b8
add esp, 0xc
push 0x71c
push 0x50b484
push esi
call fcn.004a10b8
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
cmp eax, 0xffffffff
jne 0x42ce20
push esi
call fcn.004ee46f
push edi
call fcn.004ee46f
pop ecx
jmp 0x42cd6c
lea eax, [ebp - 0x118]
push eax
call fcn.0049f486
pop ecx
test eax, eax
jne 0x42cec9
cmp byte [ebp - 0x118], 0x2e
je 0x42cec9
cmp dword [ebp + 0xc], eax
je 0x42ce50
test byte [ebp - 0x144], 2
jne 0x42cec9
test byte [ebp - 0x144], 0x10
jne 0x42cec9
inc ebx
cmp dword [ebp - 0x14c], 0
je 0x42cec9
push 0x71c
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.004a11a5
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004a11a5
lea eax, [ebp - 0x118]
push eax
call fcn.004a0109
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.0049fcaa
push 0x104
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004a11a5
add esp, 0x30
lea eax, [ebp - 0x144]
push dword [ebp + 0x18]
push eax
call dword [ebp - 0x14c]
test eax, eax
je 0x42cee4
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42ce20
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
je 0x42cfb4
push esi
push edi
call fcn.004ee4d0
push edi
call fcn.004a0109
push 0x50b484
push edi
call fcn.004ee4e0
add esp, 0x14
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
cmp eax, 0xffffffff
je 0x42cfb4
lea eax, [ebp - 0x118]
push eax
call fcn.0049f486
pop ecx
test eax, eax
jne 0x42cf91
cmp byte [ebp - 0x118], 0x2e
je 0x42cf91
cmp dword [ebp + 0xc], eax
je 0x42cf5a
test byte [ebp - 0x144], 2
jne 0x42cf91
test byte [ebp - 0x144], 0x10
je 0x42cf91
push esi
push edi
call fcn.004ee4d0
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.0049da6a
push dword [ebp + 0x18]
push dword [ebp - 0x14c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042ccf8
add esp, 0x24
add ebx, eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42cf32
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.004ee46f
push edi
call fcn.004ee46f
pop ecx
pop ecx
mov eax, ebx
jmp 0x42cd6f