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

Disassembly:
push 0x27c
mov eax, 0x4d3b97
call fcn.004ae9bf
mov ebx, ecx
lea esi, [ebx + 0x3b8]
xor edi, edi
mov dword [ebp - 0x284], ebx
call fcn.0047dd1f
and dword [ebp - 4], edi
call fcn.0048b151
push eax
lea ecx, [ebp - 0x278]
call fcn.00402821
mov byte [ebp - 4], 1
call fcn.0048b151
push eax
lea ecx, [ebp - 0x280]
call fcn.00402821
mov byte [ebp - 4], 2
call fcn.0048b151
push eax
lea ecx, [ebp - 0x274]
call fcn.00402821
mov byte [ebp - 4], 3
push dword [ebx + 0x3b4]
lea eax, [ebp - 0x278]
push 0x53b6b8
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 0x47dbf2
mov ecx, 0x522224
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47da77
test dx, dx
je 0x47da73
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47da77
add eax, 4
add ecx, 4
test dx, dx
jne 0x47da51
xor eax, eax
jmp 0x47da7c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47dbcb
mov ecx, 0x52f220
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47dab5
test dx, dx
je 0x47dab1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47dab5
add eax, 4
add ecx, 4
test dx, dx
jne 0x47da8f
xor eax, eax
jmp 0x47daba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47dbcb
test byte [ebp - 0x26c], 0x10
jne 0x47dbcb
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x274]
call fcn.0040274c
mov eax, dword [ebp - 0x274]
mov edi, dword [eax - 0xc]
push 0x53b6c4
xor ecx, ecx
lea esi, [ebp - 0x274]
call fcn.004077ca
add edi, 0xfffffffd
cmp eax, edi
jne 0x47dbcb
push 0x48
call fcn.00489d45
pop ecx
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x47db2b
push eax
call fcn.00476473
mov dword [ebp - 0x270], eax
jmp 0x47db32
and dword [ebp - 0x270], 0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x270]
test edi, edi
je 0x47dbcb
lea eax, [ebp - 0x240]
push eax
push dword [ebx + 0x3b4]
lea esi, [edi + 0xc]
push 0x52b858
push esi
call fcn.00402a45
add esp, 0x10
push esi
lea ecx, [ebp - 0x288]
call fcn.00402582
mov esi, dword [ebp - 0x288]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
jne 0x47db8a
call fcn.00402883
jmp 0x47dbcb
test al, 0x10
jne 0x47db83
call fcn.00402883
push 0
push edi
call fcn.004780a4
test eax, eax
je 0x47dbcb
lea esi, [ebx + 0x3b8]
mov ebx, dword [esi + 8]
test ebx, ebx
jge 0x47dbb1
call fcn.0048b094
lea edi, [ebx + 1]
call fcn.0047dd1f
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 0x47da46
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, ebx
call fcn.0047d5b5
xor edi, edi
xor esi, esi
cmp esi, dword [ebx + 0x3c0]
jge 0x47dc1b
lea ecx, [ebx + 0x3b8]
mov eax, esi
call fcn.00411bc7
cmp dword [eax], 0
je 0x47dc18
inc edi
inc esi
jmp 0x47dbfd
lea ecx, [ebx + 0x74]
test edi, edi
jle 0x47dc2d
push 1
call fcn.0048bed0
push 1
jmp 0x47dc36
push 0
call fcn.0048bed0
push 0
lea ecx, [ebx + 0x1dc]
call fcn.0048bed0
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push str.LoadBackups_completed
call fcn.0040253e
call fcn.0044dcca
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 0x47dcaa
call fcn.004aea1b
ret