Function at 0x484b41
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push 0x27c
mov eax, 0x4dc5c6
call fcn.004b67cf
mov ebx, ecx
lea esi, [ebx + 0x3b8]
xor edi, edi
mov dword [ebp - 0x284], ebx
call fcn.00434f23
and dword [ebp - 4], edi
call fcn.0049219b
push eax
lea ecx, [ebp - 0x278]
call fcn.00402802
mov byte [ebp - 4], 1
call fcn.0049219b
push eax
lea ecx, [ebp - 0x280]
call fcn.00402802
mov byte [ebp - 4], 2
call fcn.0049219b
push eax
lea ecx, [ebp - 0x274]
call fcn.00402802
mov byte [ebp - 4], 3
push dword [ebx + 0x3b4]
lea eax, [ebp - 0x278]
push 0x54a2e8
push eax
call fcn.00402a07
add esp, 0xc
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x484d8f
mov ecx, 0x52d4c4
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x484c14
test dx, dx
je 0x484c10
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x484c14
add eax, 4
add ecx, 4
test dx, dx
jne 0x484bee
xor eax, eax
jmp 0x484c19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x484d68
mov ecx, 0x53a7d0
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x484c52
test dx, dx
je 0x484c4e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x484c52
add eax, 4
add ecx, 4
test dx, dx
jne 0x484c2c
xor eax, eax
jmp 0x484c57
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x484d68
test byte [ebp - 0x26c], 0x10
jne 0x484d68
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x274]
call fcn.0040272d
mov eax, dword [ebp - 0x274]
mov edi, dword [eax - 0xc]
push 0x54a2f4
xor ecx, ecx
lea esi, [ebp - 0x274]
call fcn.00407898
add edi, 0xfffffffd
cmp eax, edi
jne 0x484d68
push 0x48
call fcn.00490d7c
pop ecx
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x484cc8
push eax
call fcn.0047d5f3
mov dword [ebp - 0x270], eax
jmp 0x484ccf
and dword [ebp - 0x270], 0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x270]
test edi, edi
je 0x484d68
lea eax, [ebp - 0x240]
push eax
push dword [ebx + 0x3b4]
lea esi, [edi + 0xc]
push str._s_s
push esi
call fcn.00402a07
add esp, 0x10
push esi
lea ecx, [ebp - 0x288]
call fcn.004022fa
mov esi, dword [ebp - 0x288]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
jne 0x484d27
call fcn.00402845
jmp 0x484d68
test al, 0x10
jne 0x484d20
call fcn.00402845
push 0
push edi
call fcn.0047f224
test eax, eax
je 0x484d68
lea esi, [ebx + 0x3b8]
mov ebx, dword [esi + 8]
test ebx, ebx
jge 0x484d4e
call fcn.004920bc
lea edi, [ebx + 1]
call fcn.00434f23
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x270]
mov dword [eax + ebx*4], ecx
mov ebx, dword [ebp - 0x284]
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x484be3
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, ebx
call fcn.00484752
xor edi, edi
xor esi, esi
cmp esi, dword [ebx + 0x3c0]
jge 0x484db8
lea ecx, [ebx + 0x3b8]
mov eax, esi
call fcn.00411f7a
cmp dword [eax], 0
je 0x484db5
inc edi
inc esi
jmp 0x484d9a
lea ecx, [ebx + 0x74]
test edi, edi
jle 0x484dca
push 1
call fcn.00492f1a
push 1
jmp 0x484dd3
push 0
call fcn.00492f1a
push 0
lea ecx, [ebx + 0x1dc]
call fcn.00492f1a
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push str.LoadBackups_completed
call fcn.0040254f
call fcn.0044d3b2
pop ecx
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00402845
xor eax, eax
inc eax
jmp 0x484e47
call fcn.004b682b
ret