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

Disassembly:
push 0x27c
mov eax, 0x4d3865
call fcn.004ae29f
mov ebx, ecx
lea esi, [ebx + 0x3b8]
xor edi, edi
mov dword [ebp - 0x284], ebx
call fcn.0047d641
and dword [ebp - 4], edi
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x278]
call fcn.00402840
mov byte [ebp - 4], 1
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x280]
call fcn.00402840
mov byte [ebp - 4], 2
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x274]
call fcn.00402840
mov byte [ebp - 4], 3
push dword [ebx + 0x3b4]
lea eax, [ebp - 0x278]
push 0x537fc8
push eax
call fcn.00402a45
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 0x47d4ff
mov ecx, 0x5201c4
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47d384
test dx, dx
je 0x47d380
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47d384
add eax, 4
add ecx, 4
test dx, dx
jne 0x47d35e
xor eax, eax
jmp 0x47d389
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47d4d8
mov ecx, 0x52d0e0
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47d3c2
test dx, dx
je 0x47d3be
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47d3c2
add eax, 4
add ecx, 4
test dx, dx
jne 0x47d39c
xor eax, eax
jmp 0x47d3c7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47d4d8
test byte [ebp - 0x26c], 0x10
jne 0x47d4d8
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x274]
call fcn.0040276b
mov eax, dword [ebp - 0x274]
mov edi, dword [eax - 0xc]
push 0x537fd4
xor ecx, ecx
lea esi, [ebp - 0x274]
call fcn.004077b1
add edi, 0xfffffffd
cmp eax, edi
jne 0x47d4d8
push 0x48
call fcn.0048961d
pop ecx
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x47d438
push eax
call fcn.00475dad
mov dword [ebp - 0x270], eax
jmp 0x47d43f
and dword [ebp - 0x270], 0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x270]
test edi, edi
je 0x47d4d8
lea eax, [ebp - 0x240]
push eax
push dword [ebx + 0x3b4]
lea esi, [edi + 0xc]
push 0x529748
push esi
call fcn.00402a45
add esp, 0x10
push esi
lea ecx, [ebp - 0x288]
call fcn.004025a1
mov esi, dword [ebp - 0x288]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
jne 0x47d497
call fcn.00402883
jmp 0x47d4d8
test al, 0x10
jne 0x47d490
call fcn.00402883
push 0
push edi
call fcn.004779de
test eax, eax
je 0x47d4d8
lea esi, [ebx + 0x3b8]
mov ebx, dword [esi + 8]
test ebx, ebx
jge 0x47d4be
call fcn.0048a94a
lea edi, [ebx + 1]
call fcn.0047d641
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 0x47d353
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, ebx
call fcn.0047cec2
xor edi, edi
xor esi, esi
cmp esi, dword [ebx + 0x3c0]
jge 0x47d528
lea ecx, [ebx + 0x3b8]
mov eax, esi
call fcn.0047d5bd
cmp dword [eax], 0
je 0x47d525
inc edi
inc esi
jmp 0x47d50a
lea ecx, [ebx + 0x74]
test edi, edi
jle 0x47d53a
push 1
call fcn.0048b7ba
push 1
jmp 0x47d543
push 0
call fcn.0048b7ba
push 0
lea ecx, [ebx + 0x1dc]
call fcn.0048b7ba
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push str.LoadBackups_completed
call fcn.0040255d
call fcn.0044e684
pop ecx
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
inc eax
jmp 0x47d5b7
call fcn.004ae2fb
ret