Function at 0x1006f734
Capabilities:
Move file

Disassembly:
push 0x18
mov eax, 0x10096925
call fcn.10086e1a
mov esi, ecx
mov edi, dword [esi + 0x10]
xor ebx, ebx
call fcn.10049b0f
test al, al
jne 0x1006f994
cmp byte [ebp + 8], bl
jne 0x1006f994
cmp byte [esi + 0x14], bl
jne 0x1006f7d4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1006f994
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1006f78e
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push ebx
lea eax, [ebp + 8]
push 0x10016b98
push eax
call fcn.10078b7a
mov ecx, dword [esi + 0x18]
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
add esp, 0xc
push esi
push 0
call dword [eax + 4]
lea eax, [esi - 0x10]
call fcn.10078f0e
jmp 0x1006f994
push dword [esi + 0x18]
lea edi, [esi + 0xc]
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.10052303
push 0x10016c40
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.10058c7a
push 0
push 7
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x1c]
push 2
push eax
call fcn.1006adda
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x18]
call fcn.100584b9
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call dword [eax + 0x14]
mov ebx, eax
push 0x1001ab18
lea eax, [ebp + 8]
push eax
call fcn.1005833e
xor edi, edi
push edi
lea eax, [ebp + 8]
push eax
push ebx
push edi
push edi
mov byte [ebp - 4], 3
push dword [esi + 4]
push dword [esi + 0x1c]
call fcn.1005af7d
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10078f0e
cmp ebx, edi
jne 0x1006f93d
lea edi, [esi + 8]
mov eax, dword [edi]
sub eax, 0x10
call fcn.10078eab
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.100524e4
test al, al
je 0x1006f8f0
mov edi, dword [edi]
push 3
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1006f935
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1006f8b5
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 0x10]
push 0x10016b98
push eax
mov byte [ebp - 4], 5
call fcn.10078b7a
mov ecx, dword [esi + 0x18]
mov esi, dword [ebp - 0x10]
mov eax, dword [ecx]
add esp, 0xc
push esi
push 0
call dword [eax + 4]
jmp 0x1006f92d
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
push dword [edi]
lea eax, [ebp - 0x10]
push 0x10016c50
push eax
call fcn.10078b7a
mov ecx, dword [esi + 0x18]
mov esi, dword [ebp - 0x10]
mov eax, dword [ecx]
add esp, 0xc
push esi
push 0
call dword [eax + 4]
mov ebx, 0x80070002
lea eax, [esi - 0x10]
call fcn.10078f0e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
jmp 0x1006f978
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
push dword [esi + 8]
lea eax, [ebp + 8]
push 0x10016cb0
push eax
call fcn.10078b7a
mov ecx, dword [esi + 0x18]
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
add esp, 0xc
push esi
push edi
call dword [eax + 4]
lea eax, [esi - 0x10]
call fcn.10078f0e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10052352
mov eax, ebx
call fcn.10086f06
ret 4