Function at 0x454db1
Capabilities:
Enumerate files on windows
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570d9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5b4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1a8], 0
lea ecx, [ebp - 0x14]
call fcn.004013e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x29bc], 9
push 0x5a84f8
mov ecx, dword [ebp + 8]
push ecx
call fcn.005031b7
add esp, 8
push 0x5a850c
mov edx, dword [ebp + 8]
add edx, 0x2eb4
push edx
call fcn.0054d7f0
add esp, 8
test eax, eax
jne 0x454e4c
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0x5ac]
jmp 0x45508f
mov eax, dword [ebp + 8]
add eax, 0x2eb4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x454e83
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0x5b0]
jmp 0x45508f
lea ecx, [ebp - 0x160]
push ecx
push 0x5a8510
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0xffffffff
jne 0x454ec8
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0x5b4]
jmp 0x45508f
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x455063
mov edx, dword [ebp + 8]
add edx, 0x2eb4
push edx
lea eax, [ebp - 0x3a8]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x3a8]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x10
test ecx, ecx
je 0x454f27
jmp 0x455034
mov edx, dword [ebp + 8]
add edx, 0x2eb4
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp + 8]
add eax, 0x2eb4
push eax
lea ecx, [ebp - 0x5a8]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x5a8]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x134]
push ecx
push 0x5a8514
lea edx, [ebp - 0x1a0]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005031b7
add esp, 8
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2ac4], 0x3ff
jl 0x454ff5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2ac4], 0x413
jg 0x454ff5
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x5a8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045509d
add esp, 0xc
test eax, eax
jne 0x454ff3
mov dword [ebp - 0x5b8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0x5b8]
jmp 0x45508f
jmp 0x455034
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x5a8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00456c8e
add esp, 0xc
test eax, eax
jne 0x455034
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0x5bc]
jmp 0x45508f
lea ecx, [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x1a4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45505e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x45505e
mov dword [ebp - 0x10], 1
jmp 0x454ecf
mov eax, dword [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x5c0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0x5c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret