Function at 0x10004fc0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018cd3b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], edx
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
jb 0x10005023
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x50]
call fcn.10101490
add esp, 4
test al, al
je 0x100054d9
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100054a1
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne al
test al, al
jne 0x1000509e
call fcn.1004cb70
push str.BackupFolder:_SourcePath_is_not_directory
push 0x101aedac
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
push 0x101afe68
push str.sourceNotDirectory
jmp 0x100054cd
lea ecx, [ebp - 0x50]
call fcn.100fd610
test al, al
jne 0x100050b9
push 0x101afe68
push str.RemoveSeparatorAtEndFailed
jmp 0x100054cd
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp byte [ebx + 0xc], 0
mov byte [ebp - 4], 1
je 0x10005132
push ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.10004b60
add esp, 4
test al, al
jne 0x10005132
call fcn.1004cb70
push str.Failed_in_getting_the_backup_path
push 0x101aee58
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
push 0x101afe68
push str.utilGetBackupPathFailed
call fcn.10040a90
mov ecx, eax
call fcn.10040b40
call fcn.1004cb70
mov ecx, dword [ebp - 0x1c]
mov edi, eax
sub ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
imul ecx
mov esi, dword [edi]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
mov esi, dword [esi + 0x54]
add ecx, edx
push ecx
push str.No_of_existing_backupfolders_present_on_machine_is__d
push 0x101aee58
push edi
mov ecx, esi
call dword [0x1019a4f8]
call esi
xor eax, eax
mov dword [ebp - 0x58], 0
add esp, 0x10
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.10101900
push 7
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000ab80
push eax
lea ecx, [ebp - 0x68]
call fcn.1000acd0
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x100051e1
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100051d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005534
push edx
push ecx
call fcn.1015cbd5
add esp, 8
push str._bkp
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x8c]
call fcn.1000b090
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.1000b160
mov edi, dword [ebp - 0x70]
add esp, 4
mov ecx, edi
push eax
call fcn.1000acd0
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x10005251
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005247
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005539
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp edx, 8
jb 0x100052a6
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000529c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005539
push edx
push ecx
call fcn.1015cbd5
add esp, 8
call fcn.1004cb70
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100052b5
mov ecx, dword [edi]
mov esi, dword [eax]
push ecx
push str.outBackupPath_is__s
push 0x101aee58
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0xc
lea ecx, [ebp - 0x50]
mov edx, edi
push dword [ebx + 8]
call fcn.1000a440
add esp, 8
test al, al
jne 0x10005308
push str.Failed_to_create_backup_folder.
push 0x101aee58
call fcn.1004cb70
push eax
call fcn.1004dbb0
add esp, 0xc
mov byte [ebp - 0x69], 0
jmp 0x1000545d
call fcn.1004cb70
push str.Backup_Folder_Created
push 0x101aedac
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp eax, dword [ebp - 0x1c]
je 0x10005459
call fcn.1004cb70
push str.Trying_to_delete_other_backup_paths
push 0x101aee58
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x70], esi
cmp esi, dword [ebp - 0x1c]
je 0x10005459
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push ecx
push 1
push 0
push 1
push 1
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.100fe710
add esp, 0x14
mov byte [ebp - 0x69], al
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1000ad70
cmp byte [ebp - 0x69], 0
lea edi, [esi + 0x18]
je 0x10005424
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
cmp edi, eax
je 0x10005411
cmp esi, edi
je 0x10005401
mov ecx, esi
call fcn.10001d00
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov word [edi], ax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 7
add edi, 0x18
add esi, 0x18
cmp edi, eax
jne 0x100053d0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x70]
lea ecx, [eax - 0x18]
call fcn.10001d00
mov eax, dword [ebp - 0x1c]
sub eax, 0x18
mov dword [ebp - 0x1c], eax
jmp 0x10005451
cmp dword [edi - 4], 8
jb 0x1000542c
mov esi, dword [esi]
push esi
push str.Failed_to_delete_back_up_folder__s
push 0x101aee58
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004dbb0
mov eax, dword [ebp - 0x1c]
mov esi, edi
add esp, 0x10
mov dword [ebp - 0x70], esi
cmp esi, eax
jne 0x10005370
mov byte [ebp - 0x69], 1
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x10005497
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000548d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000553e
push edx
push ecx
call fcn.1015cbd5
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.1000ad70
jmp 0x100054dd
call fcn.1004cb70
push str.BackupFolder:_SourcePath_does_not_exist
push 0x101aedac
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
push 0x101afe68
push str.sourceDoesNotExist
call fcn.10040a90
mov ecx, eax
call fcn.10040b40
mov byte [ebp - 0x69], 0
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x10005513
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005509
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000553e
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015c875
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101686f5
call fcn.101686f5
call fcn.101686f5
int3