Function at 0x60e2b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [ebx + 0x14], 8
mov edi, ecx
mov dword [ebp - 0xc], esi
mov ecx, ebx
jb 0x60e2d7
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x60e2e1
mov eax, dword [edi]
push 9
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
setne cl
mov byte [ebp - 0xd], cl
test eax, eax
jne 0x60e5f0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x60e5ed
test esi, esi
je 0x60e33f
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x60e318
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x60e322
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 0x75b10c
push 0x75b10c
push 0x1e
push dword [ebp - 0xc]
jmp 0x60e3bf
mov eax, dword [0x853a78]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x60e38c
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x60e355
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x60e35f
mov edx, dword [edi]
push ecx
push edx
push str.Failed_to_rename_path__s_to__s._Trying_to_set_administrative_permissions.
push 0x75b10c
push 0x75b10c
push 0x75b10c
push str.OOBEUtils
push 0x1e
mov ecx, eax
call dword [0x747368]
call dword [ebp - 0x14]
add esp, 0x20
jmp 0x60e3d2
mov eax, dword [0x853a7c]
test eax, eax
je 0x60e3d2
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x60e39f
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x60e3a9
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 0x75b10c
push 0x75b10c
push 0x1e
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
mov esi, dword [ebp - 0xc]
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x18], edi
jb 0x60e3e0
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
push 0x44
push 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0x44
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x60e50a
lea ecx, [ebp - 8]
push ecx
push eax
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x60e42b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
sub esp, 0x14
push dword [ebp - 0x1c]
call fcn.006100f0
add esp, 0x1c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [ebp - 0x14], 0
jne 0x60e50a
test esi, esi
je 0x60e465
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x60e44c
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 0x75b10c
push 0x1e
push dword [ebp - 0xc]
jmp 0x60e4cf
mov eax, dword [0x853a78]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x60e4a7
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x60e47b
mov ecx, dword [edi]
push ecx
push str.Trying_to_back_up_folder__s_after_setting_permissions
push 0x75b10c
push 0x75b10c
push str.FileUtils
push str.OOBEUtils
push 0x1e
mov ecx, eax
call dword [0x747368]
call dword [ebp - 0x14]
add esp, 0x1c
jmp 0x60e4e2
mov eax, dword [0x853a7c]
test eax, eax
je 0x60e4e2
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x60e4ba
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 0x75b10c
push 0x1e
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
mov esi, dword [ebp - 0xc]
add esp, 0x18
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x60e4ec
mov eax, dword [ebx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x60e4f6
mov ecx, dword [edi]
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
setne cl
jmp 0x60e5f0
test esi, esi
je 0x60e539
cmp dword [edi + 0x14], 8
jb 0x60e516
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 0x75b10c
push 0x32
push dword [ebp - 0xc]
jmp 0x60e5ca
cmp dword [0x853a78], 0
je 0x60e593
cmp dword [edi + 0x14], 8
jb 0x60e54a
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [0x853a78]
mov ecx, esi
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push 0x75b10c
push 0x75b10c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x747368]
call esi
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov esi, dword [0x853a7c]
test esi, esi
je 0x60e6ca
cmp dword [edi + 0x14], 8
jb 0x60e5a9
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 0x75b10c
push 0x32
push dword [0x853a7c]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 0xd]
test cl, cl
jne 0x60e6dd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
test esi, esi
je 0x60e632
cmp dword [ebx + 0x14], 8
jb 0x60e60c
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x60e614
mov edi, dword [edi]
mov esi, dword [esi]
push ecx
push ebx
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push str.FileUtils
push 0x75b10c
push 0x32
push dword [ebp - 0xc]
jmp 0x60e6ba
mov esi, dword [0x853a78]
test esi, esi
je 0x60e68a
cmp dword [ebx + 0x14], 8
jb 0x60e644
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x60e64c
mov edi, dword [edi]
push ecx
push ebx
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push 0x75b10c
push 0x75b10c
push str.FileUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x24
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov eax, dword [0x853a7c]
test eax, eax
je 0x60e6ca
cmp dword [ebx + 0x14], 8
jb 0x60e69b
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x60e6a3
mov edi, dword [edi]
mov esi, dword [eax]
push ecx
push ebx
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push str.FileUtils
push 0x75b10c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0067ba01
mov esp, ebp
pop ebp
ret