Function at 0x100fdb80
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 0x100fdb97
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x100fdb9f
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 0x100fde4f
cmp byte [ebp + 8], al
je 0x100fde4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100fde4c
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100fdc09
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100fdbe2
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fdbec
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 0x101ace0c
push 0x101ace0c
push 0x1e
push dword [ebp + 0xc]
jmp 0x100fdc89
mov eax, dword [0x101fc274]
mov dword [ebp - 8], eax
test eax, eax
je 0x100fdc56
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x100fdc1f
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100fdc29
mov edx, dword [edi]
push ecx
push edx
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x101ace0c
push 0x101ace0c
push 0x101ace0c
push str.OOBEUtils
push 0x1e
mov ecx, eax
call dword [0x1019a4f8]
call dword [ebp - 8]
add esp, 0x20
jmp 0x100fdc9c
mov eax, dword [0x101fc278]
test eax, eax
je 0x100fdc9c
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x100fdc69
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100fdc73
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 0x101ace0c
push 0x101ace0c
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 0x100fdca6
mov ecx, dword [edi]
push ecx
call fcn.101002e0
add esp, 4
test al, al
je 0x100fdd7d
test esi, esi
je 0x100fdcde
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fdcc5
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 0x101ace0c
push 0x1e
push dword [ebp + 0xc]
jmp 0x100fdd45
mov esi, dword [0x101fc274]
test esi, esi
je 0x100fdd1d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fdcf2
mov eax, dword [edi]
push eax
push str.Trying_to_back_up_folder__s_after_setting_permissions
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
jmp 0x100fdd55
mov eax, dword [0x101fc278]
test eax, eax
je 0x100fdd55
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fdd30
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 0x101ace0c
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 0x100fdd5f
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fdd69
mov ecx, dword [edi]
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne cl
jmp 0x100fde4f
test esi, esi
je 0x100fddac
cmp dword [edi + 0x14], 8
jb 0x100fdd89
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 0x101ace0c
push 0x32
push dword [ebp + 0xc]
jmp 0x100fde33
cmp dword [0x101fc274], 0
je 0x100fddfc
cmp dword [edi + 0x14], 8
jb 0x100fddbd
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x101fc274]
mov ecx, esi
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push 0x101ace0c
push 0x101ace0c
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 [0x101fc278]
test esi, esi
je 0x100fdef4
cmp dword [edi + 0x14], 8
jb 0x100fde12
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 0x101ace0c
push 0x32
push dword [0x101fc278]
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 0x100fdefd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x100fdebd
mov esi, dword [0x101fc274]
test esi, esi
je 0x100fdeb4
cmp dword [ebx + 0x14], 8
jb 0x100fde78
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x100fde80
mov edi, dword [edi]
push ecx
push ebx
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push 0x101ace0c
push 0x101ace0c
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 [0x101fc278]
test eax, eax
je 0x100fdef4
cmp dword [ebx + 0x14], 8
jb 0x100fdec5
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x100fdecd
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 0x101ace0c
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