Function at 0x10078e43
Capabilities:
Move file

Disassembly:
push 0x18
mov eax, 0x100a145e
call fcn.1009220a
mov esi, ecx
mov edi, dword [esi + 0x10]
xor ebx, ebx
call fcn.1004e527
test al, al
jne 0x100790a3
cmp byte [ebp + 8], bl
jne 0x100790a3
cmp byte [esi + 0x14], bl
jne 0x10078ee3
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 0x100790a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10078e9d
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push ebx
lea eax, [ebp + 8]
push 0x10019600
push eax
call fcn.100827bb
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.10082afb
jmp 0x100790a3
push dword [esi + 0x18]
lea edi, [esi + 0xc]
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.1005831f
push 0x100196a8
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.1005ebdd
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.10073ff6
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x18]
call fcn.1005e434
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call dword [eax + 0x14]
mov ebx, eax
push 0x1001d82c
lea eax, [ebp + 8]
push eax
call fcn.1005e2c8
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.10060e0d
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
cmp ebx, edi
jne 0x1007904c
lea edi, [esi + 8]
mov eax, dword [edi]
sub eax, 0x10
call fcn.10082a9f
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.100584ef
test al, al
je 0x10078fff
mov edi, dword [edi]
push 3
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10079044
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10078fc4
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 0x10]
push 0x10019600
push eax
mov byte [ebp - 4], 5
call fcn.100827bb
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 0x1007903c
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
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 0x100196b8
push eax
call fcn.100827bb
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.10082afb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
jmp 0x10079087
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
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 0x10019718
push eax
call fcn.100827bb
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.10082afb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10058369
mov eax, ebx
call fcn.100922e2
ret 4