Function at 0x100206e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5c40
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xffffffffffffffff
mov edi, ecx
push ebx
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.10005250
mov dword [ebp - 4], ebx
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
push str.utilBackupFolderIfExits
push str.In_Function_:_s
mov byte [ebp - 4], 2
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006ac0
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.1002aeb0
add esp, 0x10
test al, al
jne 0x100207ee
push str.Failed_to_get_wide_string_path
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006ac0
mov edi, 8
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x100207ac
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100b2e51
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x100207c9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
jb 0x100207e7
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2e51
add esp, 4
xor al, al
jmp 0x10020a6c
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x100207fe
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10020875
push 0x100e3cbc
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b20
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x10020831
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x1002084e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2e51
add esp, 4
xor eax, eax
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
jb 0x10020a6a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100b2e51
add esp, 4
jmp 0x10020a6a
lea edx, [ebp - 0x64]
push edx
call fcn.10020500
add esp, 4
test al, al
jne 0x100208f3
push str.Failed_to_remove_discriminator_from_the_end_of_folder
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b20
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x100208ad
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x100208ca
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2e51
add esp, 4
xor eax, eax
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
jb 0x100207e7
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100b2e51
add esp, 4
xor al, al
jmp 0x10020a6c
push str._bkp
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.1001b380
add esp, 0xc
mov esi, dword [ebp - 0x84]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10004fd0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], 0x10
jb 0x1002092f
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100b2e51
add esp, 4
lea edx, [ebp - 0x48]
push edx
push esi
call fcn.1002aeb0
add esp, 8
test al, al
jne 0x10020976
push str.Failed_to_get_wide_string_backup_folder_path
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006ac0
add esp, 4
lea esi, [ebp - 0x48]
call fcn.10006640
lea esi, [ebp - 0x2c]
call fcn.10006640
lea ecx, [ebp - 0x64]
call fcn.10004cc0
xor al, al
jmp 0x10020a6c
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x10020986
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x100209be
push esi
call fcn.10020a90
add esp, 4
test al, al
jne 0x100209be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_remove_the_backup_folder_already_present:_d
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b80
add esp, 8
jmp 0x10020957
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x100209c9
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x100209d4
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
push ecx
push eax
call esi
cmp eax, ebx
jne 0x10020a3b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0xc], bl
je 0x10020a2e
call edi
cmp eax, 5
jne 0x10020a2e
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10020a01
lea eax, [ebp - 0x2c]
call fcn.1002cd30
test al, al
je 0x10020a2e
mov ecx, dword [ebp - 0x48]
mov edx, 8
cmp dword [ebp - 0x34], edx
jae 0x10020a1a
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edx
jae 0x10020a25
lea eax, [ebp - 0x2c]
push edx
push ecx
push eax
call esi
cmp eax, ebx
jne 0x10020a3b
call edi
push eax
push str.Failed_to_create_Backup_folder_:_d
jmp 0x100209aa
push str.Backup_Folder_Created
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b20
add esp, 4
lea esi, [ebp - 0x48]
call fcn.10006640
lea esi, [ebp - 0x2c]
call fcn.10006640
lea ecx, [ebp - 0x64]
call fcn.10004cc0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret