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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60340f
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x288], ecx
sub esp, 8
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x284], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0x624284
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005dc520
mov eax, dword [ebp + 8]
mov esi, 1
mov cl, al
mov dword [ebp - 4], 0
mov ebx, eax
and cl, 4
and ebx, 0xfffffffb
mov byte [ebp - 0x27d], cl
test cl, cl
push 0x260
cmove ebx, eax
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push 0x250
mov edi, eax
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x5e4a77
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x28], 0
call fcn.004011a0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x284]
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
jne 0x5e4b00
test bl, 2
je 0x5e4bd1
push dword [edi + 4]
mov ecx, edi
push 5
push 1
push dword [ebp - 0x288]
call fcn.005d7810
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x284], eax
cmp ecx, 0xffffffff
je 0x5e4ac6
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x27c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x5e4bd1
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x28], 0
call fcn.004011a0
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x5e4bd1
nop
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x250]
push eax
push 0x624284
push dword [ebp - 0x288]
lea ecx, [ebp - 0x1c]
call fcn.005dc200
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x1c]
push edi
test al, 0x10
je 0x5e4b66
test eax, 0x400
je 0x5e4b51
call fcn.005dc190
mov edx, ebx
mov ecx, eax
call fcn.005e4860
jmp 0x5e4b74
push ebx
call fcn.005dc190
mov edx, dword [ebp - 0x28c]
mov ecx, eax
call fcn.005e4980
jmp 0x5e4b74
call fcn.005dc190
mov edx, ebx
mov ecx, eax
call fcn.005e48f0
test eax, eax
jne 0x5e4b7c
xor esi, esi
jmp 0x5e4b8b
test esi, esi
je 0x5e4b8b
cmp eax, 2
mov eax, 2
cmove esi, eax
call fcn.005d8ff0
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x5e4bd1
lea ecx, [ebp - 0x27c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x5e4bc2
lea ecx, [ebp - 0x27c]
call fcn.004011a0
test al, al
jne 0x5e4b00
mov eax, dword [ebp - 0x2c]
jmp 0x5e4bd1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0x27d], 0
jne 0x5e4c02
mov ecx, dword [ebp - 0x288]
mov edx, ebx
push edi
call fcn.005e4860
test eax, eax
jne 0x5e4bf0
xor esi, esi
jmp 0x5e4bff
test esi, esi
je 0x5e4bff
cmp eax, 2
mov eax, 2
cmove esi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x5e4c0e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8