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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cbabf
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.004b34a0
mov dword [ebp - 4], 0
push 0x5fab4c
lea ecx, [ebp - 0x298]
call fcn.004b3550
mov byte [ebp - 4], 1
lea eax, [ebp - 0x298]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004b3890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.004b3860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.004b3860
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x18]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x41361b
mov byte [ebp - 0x2a5], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x2a5]
jmp 0x4137b4
movzx eax, word [ebp - 0x248]
cmp eax, 0x2e
jne 0x413637
mov ecx, dword [ebp - 0x274]
and ecx, 0x10
je 0x413637
jmp 0x41376a
mov edx, dword [ebp - 0x274]
and edx, 0x10
je 0x4136e1
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004b3550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2b4]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b4]
call fcn.004b3860
push 1
lea ecx, [ebp - 0x280]
push ecx
call fcn.00413530
add esp, 8
movzx edx, al
test edx, edx
jne 0x4136cd
mov byte [ebp - 0x2b5], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x2b5]
jmp 0x4137b4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.004b3860
jmp 0x41376a
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.004b3550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x28c]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.004b3860
lea ecx, [ebp - 0x28c]
push ecx
call fcn.004bc0c0
add esp, 4
movzx edx, al
test edx, edx
jne 0x41375f
mov byte [ebp - 0x2c5], 0
lea ecx, [ebp - 0x28c]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x2c5]
jmp 0x4137b4
lea ecx, [ebp - 0x28c]
call fcn.004b3860
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41361b
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
push eax
call fcn.00413510
add esp, 4
mov byte [ebp - 0x2c6], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x2c6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret