Function at 0x4b0d5e
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x42c]
sub esp, 0x5ac
mov byte [ebp - 0x58d], al
lea eax, [ebp - 0x57c]
mov dword [esp], eax
call fcn.004a8627
mov eax, dword [ebp - 0x57c]
mov dword [esp + 4], str._s
mov dword [esp], ebx
add eax, 4
mov dword [esp + 8], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x56c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x58c], eax
push ecx
push ecx
test eax, eax
je 0x4b108c
lea esi, [ebp - 0x540]
lea ecx, [ebp - 0x578]
mov dword [esp], esi
call fcn.004c639a
lea ecx, [ebp - 0x578]
push eax
mov dword [esp + 4], 0
mov dword [esp], 0x2d
call fcn.0051cc6c
push edx
push edx
cmp eax, 0xffffffff
je 0x4b0e35
mov dword [esp + 8], eax
lea eax, [ebp - 0x578]
lea ebx, [ebp - 0x22c]
mov dword [esp], eax
mov ecx, ebx
mov dword [esp + 4], 0
call fcn.004c6d40
lea ecx, [ebp - 0x578]
sub esp, 0xc
mov dword [esp], ebx
call fcn.004c66f8
mov ecx, ebx
push edi
call fcn.004c616a
lea eax, [ebp - 0x578]
mov dword [esp], eax
call fcn.004a8b00
test eax, eax
jne 0x4b0e8a
lea ecx, [ebp - 0x578]
call fcn.004c616a
lea eax, [ebp - 0x56c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ecx
push ecx
test eax, eax
jne 0x4b0dc4
mov eax, dword [ebp - 0x58c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push eax
jmp 0x4b108c
mov eax, dword [ebp - 0x57c]
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x42c]
mov dword [esp + 4], str._s_s
add eax, 4
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_sprintf
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
test al, 0x10
je 0x4b0e47
cmp byte [ebp - 0x58d], 0
mov eax, esi
jne 0x4b107a
lea ebx, [ebp - 0x22c]
mov dword [esp + 8], esi
mov dword [esp + 4], str._s_system.crc
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x18], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], ebx
call edi
sub esp, 0x1c
mov edx, eax
test eax, eax
jne 0x4b0fd8
mov dword [esp + 8], esi
mov dword [esp + 4], str._s_routeros.crc
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], ebx
call edi
sub esp, 0x1c
mov edx, eax
test eax, eax
jne 0x4b0fd8
mov dword [esp + 8], esi
mov dword [esp + 4], str._s_roteros.crc
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], ebx
call edi
sub esp, 0x1c
mov edx, eax
test eax, eax
je 0x4b0e47
lea ebx, [ebp - 0x574]
mov dword [esp], edx
mov dword [ebp - 0x594], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov edx, dword [ebp - 0x594]
sub esp, 0x10
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], edx
je 0x4b1084
call eax
lea edi, [ebp - 0x57e]
lea eax, [ebp - 0x582]
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push ecx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
sub esp, 0xc
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push eax
lea eax, [ebp - 0x580]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
movzx eax, word [ebp - 0x580]
movzx edx, word [ebp - 0x582]
sub esp, 0xc
sub eax, edx
cmp eax, 0x1f
jle 0x4b0e47
lea eax, [ebp - 0x42c]
call fcn.004b08c2
jmp 0x4b0e47
call eax
push edx
jmp 0x4b0e47
lea ecx, [ebp - 0x57c]
call fcn.004c616a
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret