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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x538c23
mov dword [ebp - 0x14], 1
jmp 0x538c2a
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x538c9f
mov eax, dword [ebp - 0x160]
and eax, 0x10
jne 0x538c89
mov ecx, dword [ebp + 0x28]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00537ad0
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x538c80
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
add ecx, dword [ebp - 0x18]
push ecx
movzx edx, byte [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0054add0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x10], eax
jmp 0x538c30
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
jne 0x538cb7
mov eax, dword [ebp - 0xc]
jmp 0x538e6d
push 0x5c
mov eax, dword [ebp + 0xc]
push eax
call fcn.0067f450
add esp, 8
mov dword [ebp - 8], eax
push str..
mov ecx, dword [ebp - 8]
push ecx
call fcn.006b6b40
add esp, 8
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x538cfc
mov dword [ebp - 0x1c], 1
jmp 0x538d03
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x538e60
mov edx, dword [ebp - 0x160]
and edx, 0x10
je 0x538e47
lea eax, [ebp - 0x134]
push eax
call fcn.006b6c40
add esp, 4
movsx ecx, byte [ebp + eax - 0x135]
cmp ecx, 0x2e
je 0x538e47
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x368]
push eax
call fcn.006b6b40
add esp, 8
push 0x5c
lea ecx, [ebp - 0x368]
push ecx
call fcn.0067f450
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x46c]
push eax
call fcn.006b6b40
add esp, 8
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.006b6b40
add esp, 8
lea ecx, [ebp - 0x46c]
push ecx
lea edx, [ebp - 0x368]
push edx
call fcn.006b6b50
add esp, 8
mov eax, dword [ebp + 0x24]
push eax
push 0xffffffffffffffff
movzx ecx, byte [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp + 8]
call fcn.0054add0
mov ecx, dword [ebp + 0x28]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.006b6b40
add esp, 8
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.006b6b50
add esp, 8
push 0x71faf8
lea edx, [ebp - 0x264]
push edx
call fcn.006b6b50
add esp, 8
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
movzx ecx, byte [ebp + 0x18]
add ecx, 1
push ecx
push 0
push 1
lea edx, [ebp - 0x368]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00538bf0
add esp, 0x24
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x10], eax
jmp 0x538d09
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret