Function at 0x100e12d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x100e12f6
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100e1300
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 - 9], cl
test eax, eax
jne 0x100e15e5
cmp byte [ebp + 0x10], al
je 0x100e15e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100e15e2
test ebx, ebx
je 0x100e1362
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x100e1340
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100e134a
mov edx, dword [edi]
mov eax, dword [ebx]
push ecx
push edx
push 0x101c5220
push 0x101a4aec
push 0x101a4aec
push 0x1e
push ebx
jmp 0x100e13dd
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100e13a3
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x100e1375
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100e137f
mov edx, dword [edi]
push ecx
push edx
push 0x101c5220
push 0x101a4aec
push 0x101a4aec
push 0x101a4aec
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x20
jmp 0x100e13e3
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100e13e3
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x100e13b7
mov edx, dword [esi]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x10], edi
jb 0x100e13c5
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push edx
push dword [ebp - 0x10]
push 0x101c5220
push 0x101a4aec
push 0x101a4aec
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x10], edi
jb 0x100e13f1
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
push 0x44
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0x44
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100e1501
lea ecx, [ebp - 8]
push ecx
push eax
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x100e143c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
sub esp, 0x14
push dword [ebp - 0x14]
call fcn.100e3660
add esp, 0x1c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], 0
jne 0x100e1501
test ebx, ebx
je 0x100e1474
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100e145d
mov ecx, dword [edi]
mov eax, dword [ebx]
push ecx
push str.Trying_to_back_up_folder__s_after_setting_permissions
push str.FileUtils
push 0x101a4aec
push 0x1e
push ebx
jmp 0x100e14d3
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100e14aa
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100e1487
mov ecx, dword [edi]
push ecx
push str.Trying_to_back_up_folder__s_after_setting_permissions
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x1c
jmp 0x100e14d9
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100e14d9
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100e14be
mov edx, dword [edi]
mov eax, dword [ecx]
push edx
push str.Trying_to_back_up_folder__s_after_setting_permissions
push str.FileUtils
push 0x101a4aec
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x18
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100e14e3
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100e14ed
mov ecx, dword [edi]
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne cl
jmp 0x100e15e5
test ebx, ebx
je 0x100e1542
cmp dword [edi + 0x14], 8
jb 0x100e150d
mov edi, dword [edi]
mov esi, dword [ebx]
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 0x101a4aec
push 0x32
push ebx
call dword [esi + 0x34]
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
cmp dword [0x101e9ed0], 0
je 0x100e1592
cmp dword [edi + 0x14], 8
jb 0x100e1553
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x101e9ed0]
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
mov esi, dword [0x101e9ed4]
test esi, esi
je 0x100e16bf
cmp dword [edi + 0x14], 8
jb 0x100e15a8
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 0x101a4aec
push 0x32
push dword [0x101e9ed4]
call dword [esi + 0x34]
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 9]
test cl, cl
jne 0x100e16d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
test ebx, ebx
je 0x100e1639
cmp dword [esi + 0x14], 8
jb 0x100e1601
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100e1609
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 0x101a4aec
push 0x32
push ebx
call dword [eax + 0x34]
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100e1688
cmp dword [esi + 0x14], 8
jb 0x100e164a
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100e1652
mov edi, dword [edi]
push edx
push esi
push edi
push str.Failed_to_rename_path__s_to__s._LastError:__d
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x24
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100e16bf
cmp dword [esi + 0x14], 8
jb 0x100e169a
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100e16a2
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 0x101a4aec
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
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.1014d1d5
mov esp, ebp
pop ebp
ret