Function at 0x49c950
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x49c963
mov eax, dword [esi]
jmp 0x49c965
mov eax, esi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x49c972
mov ecx, dword [edi]
jmp 0x49c974
mov ecx, edi
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
setne al
test al, al
jne 0x49ccc7
cmp byte [ebp + 0x10], al
mov ebx, dword [ebp + 0x14]
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
je 0x49cb4a
call eax
cmp eax, 5
jne 0x49cb45
test ebx, ebx
je 0x49c9de
cmp dword [esi + 0x14], 8
jb 0x49c9b5
mov edx, dword [esi]
jmp 0x49c9b7
mov edx, esi
cmp dword [edi + 0x14], 8
jb 0x49c9c1
mov ecx, dword [edi]
jmp 0x49c9c3
mov ecx, edi
mov eax, dword [ebx]
push edx
push ecx
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x622628
push 0x622628
push 0x1e
push ebx
jmp 0x49ca62
mov edx, dword [0x689958]
test edx, edx
je 0x49ca24
cmp dword [esi + 0x14], 8
jb 0x49c9f2
mov ecx, dword [esi]
jmp 0x49c9f4
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x49c9fe
mov eax, dword [edi]
jmp 0x49ca00
mov eax, edi
push ecx
push eax
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x622628
push 0x622628
push 0x622628
push str.OOBEUtils
push 0x1e
call edx
add esp, 0x20
jmp 0x49ca68
mov ecx, dword [0x68995c]
test ecx, ecx
je 0x49ca68
cmp dword [esi + 0x14], 8
jb 0x49ca3b
mov eax, dword [esi]
mov dword [ebp + 0xc], eax
jmp 0x49ca3e
mov dword [ebp + 0xc], esi
cmp dword [edi + 0x14], 8
jb 0x49ca48
mov edx, dword [edi]
jmp 0x49ca4a
mov edx, edi
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edx
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x622628
push 0x622628
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x1c
cmp dword [edi + 0x14], 8
jb 0x49ca72
mov ecx, dword [edi]
jmp 0x49ca74
mov ecx, edi
push ecx
call fcn.0049e680
add esp, 4
test al, al
je 0x49cb8a
test ebx, ebx
je 0x49caac
cmp dword [edi + 0x14], 8
jb 0x49ca93
mov ecx, dword [edi]
jmp 0x49ca95
mov ecx, edi
mov eax, dword [ebx]
push ecx
push str.Trying_to_back_up_folder__s_after_setting_permissions
push str.FileUtils
push 0x622628
push 0x1e
push ebx
jmp 0x49cb10
mov ecx, dword [0x689958]
test ecx, ecx
je 0x49cae5
cmp dword [edi + 0x14], 8
jb 0x49cac0
mov eax, dword [edi]
jmp 0x49cac2
mov eax, edi
push eax
push str.Trying_to_back_up_folder__s_after_setting_permissions
push 0x622628
push 0x622628
push str.FileUtils
push str.OOBEUtils
push 0x1e
call ecx
add esp, 0x1c
jmp 0x49cb16
mov ecx, dword [0x68995c]
test ecx, ecx
je 0x49cb16
cmp dword [edi + 0x14], 8
jb 0x49caf9
mov edx, dword [edi]
jmp 0x49cafb
mov edx, edi
mov eax, dword [ecx]
push edx
push str.Trying_to_back_up_folder__s_after_setting_permissions
push str.FileUtils
push 0x622628
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x49cb20
mov ecx, dword [esi]
jmp 0x49cb22
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x49cb2c
mov eax, dword [edi]
jmp 0x49cb2e
mov eax, edi
push 9
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
setne al
test al, al
jne 0x49ccc7
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
call eax
mov edx, eax
test ebx, ebx
je 0x49cc46
cmp dword [esi + 0x14], 8
jb 0x49cb5e
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x49cb66
mov edi, dword [edi]
mov eax, dword [ebx]
push edx
push esi
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push str.FileUtils
push 0x622628
push 0x32
push ebx
call dword [eax + 0x34]
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x49cbc0
cmp dword [edi + 0x14], 8
jb 0x49cb96
mov edi, dword [edi]
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebx]
call eax
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push str.FileUtils
push 0x622628
push 0x32
push ebx
call dword [esi + 0x34]
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [0x689958], 0
je 0x49cc05
cmp dword [edi + 0x14], 8
jb 0x49cbd1
mov edi, dword [edi]
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
call eax
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push 0x622628
push 0x622628
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x689958]
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
mov esi, dword [0x68995c]
test esi, esi
je 0x49cc3f
cmp dword [edi + 0x14], 8
jb 0x49cc17
mov edi, dword [edi]
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi]
call eax
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push str.FileUtils
push 0x622628
push 0x32
push dword [0x68995c]
call dword [esi + 0x34]
add esp, 0x1c
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
mov eax, dword [0x689958]
test eax, eax
je 0x49cc89
cmp dword [esi + 0x14], 8
jb 0x49cc57
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x49cc5f
mov edi, dword [edi]
push edx
push esi
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push 0x622628
push 0x622628
push str.FileUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x24
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [0x68995c]
test ecx, ecx
je 0x49ccc0
cmp dword [esi + 0x14], 8
jb 0x49cc9b
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x49cca3
mov edi, dword [edi]
mov eax, dword [ecx]
push edx
push esi
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push str.FileUtils
push 0x622628
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x20
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret