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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4cc8c0]
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.00466ad0
push esi
call fcn.00451684
add esp, 0x10
test eax, eax
jne 0x413260
push 1
mov edi, 0x71c
push edi
call fcn.004701d4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x413260
push 1
push edi
call fcn.004701d4
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x413271
push esi
call fcn.004701df
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
push 0x71c
push dword [ebp - 0x148]
push esi
call fcn.00452b01
push esi
call fcn.0045201f
push esi
call fcn.00451f5e
push 0x22
push esi
call fcn.00451bf6
push esi
call fcn.00410944
add esp, 0x20
test eax, eax
je 0x4132e8
push 0x48a814
push esi
call fcn.00466c30
pop ecx
pop ecx
test eax, eax
jne 0x4132e8
push esi
call fcn.00470560
pop ecx
cmp byte [eax + esi - 1], 0x5c
je 0x4132d5
push 0x71c
push 0x491844
push esi
call fcn.00452a6d
add esp, 0xc
push 0x71c
push 0x48a814
push esi
call fcn.00452a6d
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 0x413313
push esi
call fcn.004701df
push edi
call fcn.004701df
pop ecx
jmp 0x41325f
lea eax, [ebp - 0x118]
push eax
call fcn.00451684
pop ecx
test eax, eax
jne 0x4133bc
cmp byte [ebp - 0x118], 0x2e
je 0x4133bc
cmp dword [ebp + 0xc], eax
je 0x413343
test byte [ebp - 0x144], 2
jne 0x4133bc
test byte [ebp - 0x144], 0x10
jne 0x4133bc
inc ebx
cmp dword [ebp - 0x14c], 0
je 0x4133bc
push 0x71c
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.00452b01
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00452b01
lea eax, [ebp - 0x118]
push eax
call fcn.00451da8
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.00451949
push 0x104
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.00452b01
add esp, 0x30
lea eax, [ebp - 0x144]
push dword [ebp + 0x18]
push eax
call dword [ebp - 0x14c]
test eax, eax
je 0x4133d7
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413313
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
je 0x4134a7
push esi
push edi
call fcn.00470240
push edi
call fcn.00451da8
push 0x48a814
push edi
call fcn.00470250
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 0x4134a7
lea eax, [ebp - 0x118]
push eax
call fcn.00451684
pop ecx
test eax, eax
jne 0x413484
cmp byte [ebp - 0x118], 0x2e
je 0x413484
cmp dword [ebp + 0xc], eax
je 0x41344d
test byte [ebp - 0x144], 2
jne 0x413484
test byte [ebp - 0x144], 0x10
je 0x413484
push esi
push edi
call fcn.00470240
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.00450244
push dword [ebp + 0x18]
push dword [ebp - 0x14c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004131eb
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 0x413425
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.004701df
push edi
call fcn.004701df
pop ecx
pop ecx
mov eax, ebx
jmp 0x413262