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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2bc
call fcn.0041b460
mov dword [ebp - 0x294], 0x480d60
mov dword [ebp - 0x290], 0x4816e8
lea eax, [ebp - 0x28c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x402637
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x2ac]
mov dword [esp], eax
call fcn.0040f6e0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x2a8], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.00427dc0
mov dword [esp + 4], eax
lea eax, [ebp - 0x274]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x274]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
lea eax, [ebp - 0x274]
add eax, edx
mov word [eax], 0x2a5c
mov byte [eax + 2], 0
lea eax, [ebp - 0x170]
mov dword [esp + 4], eax
lea eax, [ebp - 0x274]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4022b8
jmp 0x4027b2
mov eax, dword [ebp - 0x170]
and eax, 0x10
test eax, eax
je 0x4023a1
mov dword [esp + 4], 0x48a07b
lea eax, [ebp - 0x170]
add eax, 0x2c
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40239c
mov dword [esp + 4], 0x48a259
lea eax, [ebp - 0x170]
add eax, 0x2c
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40239c
lea eax, [ebp - 0x24]
mov dword [esp + 8], 0x48a25c
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 0xffffffff
call fcn.0047da50
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x170]
add edx, 0x2c
mov dword [esp + 8], edx
lea edx, [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 1
call fcn.0047da50
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2a8], 2
mov ecx, eax
call fcn.00455920
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x2a8], 3
call fcn.004021eb
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2a8], 0xffffffff
mov ecx, eax
call fcn.00455920
jmp 0x4025f1
lea eax, [ebp - 0x20]
mov dword [esp + 8], 0x48a25c
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 0xffffffff
call fcn.0047da50
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x170]
add edx, 0x2c
mov dword [esp + 8], edx
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 4
call fcn.0047da50
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2a8], 5
mov ecx, eax
call fcn.00455920
lea eax, [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0x2a8], 6
call fcn.004016f2
xor eax, 1
test al, al
je 0x4025dd
lea eax, [ebp - 0x2c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x48a07b
mov ecx, eax
call fcn.00427650
sub esp, 8
lea edx, [eax + 1]
lea eax, [ebp - 0x30]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edx
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov ecx, eax
call fcn.00427f80
sub esp, 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2a8], 7
mov ecx, eax
call fcn.00453e60
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x30]
mov ecx, eax
call fcn.00453bb0
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x30]
mov ecx, eax
call fcn.00453e60
mov edx, eax
mov eax, dword [sym.imp.msvcrt.dll_tolower]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2b4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2b0]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0047c680
mov dword [esp + 4], 0x48a25e
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
jne 0x40257b
mov dword [esp + 4], 0x48a262
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
jne 0x40257b
mov dword [esp + 4], 0x48a266
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
jne 0x40257b
mov dword [esp + 4], str.jpeg
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
jne 0x40257b
mov dword [esp + 4], 0x48a26f
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
jne 0x40257b
mov dword [esp + 4], 0x48a273
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
jne 0x40257b
mov dword [esp + 4], 0x48a277
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
jne 0x40257b
mov dword [esp + 4], 0x48a27b
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
je 0x402582
mov eax, 1
jmp 0x402587
mov eax, 0
test al, al
je 0x4025c9
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0x2a8], 7
call fcn.00401839
mov dword [esp + 4], 0x48a25e
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0047d170
test al, al
je 0x4025c9
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.004019d2
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2a8], 6
mov ecx, eax
call fcn.00455920
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2a8], 0xffffffff
mov ecx, eax
call fcn.00455920
lea eax, [ebp - 0x170]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x2a8], 0xffffffff
call eax
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x4022b8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
jmp 0x4027b2
lea eax, [ebp - 0x2ac]
mov dword [esp], eax
call fcn.0040f850
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret