Function at 0x100fd320
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x100fd337
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x100fd33f
mov ecx, dword [edi]
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne cl
mov byte [ebp - 1], cl
test eax, eax
jne 0x100fd5ef
cmp byte [ebp + 8], al
je 0x100fd5ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100fd5ec
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100fd3a9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100fd382
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fd38c
mov ecx, dword [edi]
mov esi, dword [esi]
push eax
push ecx
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x101ace8c
push 0x101ace8c
push 0x1e
push dword [ebp + 0xc]
jmp 0x100fd429
mov eax, dword [0x101fc354]
mov dword [ebp - 8], eax
test eax, eax
je 0x100fd3f6
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x100fd3bf
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100fd3c9
mov edx, dword [edi]
push ecx
push edx
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x101ace8c
push 0x101ace8c
push 0x101ace8c
push str.OOBEUtils
push 0x1e
mov ecx, eax
call dword [0x1019a4f8]
call dword [ebp - 8]
add esp, 0x20
jmp 0x100fd43c
mov eax, dword [0x101fc358]
test eax, eax
je 0x100fd43c
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x100fd409
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100fd413
mov edx, dword [edi]
mov esi, dword [eax]
push ecx
push edx
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x101ace8c
push 0x101ace8c
push 0x1e
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, dword [ebp + 0xc]
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fd446
mov ecx, dword [edi]
push ecx
call fcn.100ffa60
add esp, 4
test al, al
je 0x100fd51d
test esi, esi
je 0x100fd47e
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fd465
mov eax, dword [edi]
mov esi, dword [esi]
push eax
push str.Trying_to_back_up_folder__s_after_setting_permissions
push str.FileUtils
push 0x101ace8c
push 0x1e
push dword [ebp + 0xc]
jmp 0x100fd4e5
mov esi, dword [0x101fc354]
test esi, esi
je 0x100fd4bd
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fd492
mov eax, dword [edi]
push eax
push str.Trying_to_back_up_folder__s_after_setting_permissions
push 0x101ace8c
push 0x101ace8c
push str.FileUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
jmp 0x100fd4f5
mov eax, dword [0x101fc358]
test eax, eax
je 0x100fd4f5
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fd4d0
mov ecx, dword [edi]
mov esi, dword [eax]
push ecx
push str.Trying_to_back_up_folder__s_after_setting_permissions
push str.FileUtils
push 0x101ace8c
push 0x1e
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100fd4ff
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fd509
mov ecx, dword [edi]
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne cl
jmp 0x100fd5ef
test esi, esi
je 0x100fd54c
cmp dword [edi + 0x14], 8
jb 0x100fd529
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push str.FileUtils
push 0x101ace8c
push 0x32
push dword [ebp + 0xc]
jmp 0x100fd5d3
cmp dword [0x101fc354], 0
je 0x100fd59c
cmp dword [edi + 0x14], 8
jb 0x100fd55d
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x101fc354]
mov ecx, esi
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push 0x101ace8c
push 0x101ace8c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x1019a4f8]
call esi
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x101fc358]
test esi, esi
je 0x100fd694
cmp dword [edi + 0x14], 8
jb 0x100fd5b2
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push str.FileUtils
push 0x101ace8c
push 0x32
push dword [0x101fc358]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 1]
test cl, cl
jne 0x100fd69d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x100fd65d
mov esi, dword [0x101fc354]
test esi, esi
je 0x100fd654
cmp dword [ebx + 0x14], 8
jb 0x100fd618
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x100fd620
mov edi, dword [edi]
push ecx
push ebx
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push 0x101ace8c
push 0x101ace8c
push str.FileUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x24
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101fc358]
test eax, eax
je 0x100fd694
cmp dword [ebx + 0x14], 8
jb 0x100fd665
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x100fd66d
mov edi, dword [edi]
mov esi, dword [eax]
push ecx
push ebx
push edi
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push str.FileUtils
push 0x101ace8c
push 0x32
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret