Function at 0x46cc61
Capabilities:
Create directory
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x4bb260
call fcn.00484f9f
mov esi, ecx
lea ecx, [ebp - 0x20]
call fcn.0046fb41
and dword [ebp - 4], 0
push 0x4c62d4
push 0xce
push 0
lea ecx, [ebp - 0x20]
call fcn.0046fe4d
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x46cca7
or dword [ebp - 4], 0xffffffff
call fcn.0046fb52
xor eax, eax
call fcn.00485077
ret
lea ebx, [esi + 8]
push ebx
call fcn.004700b1
test eax, eax
jne 0x46ccc6
push ebx
lea ecx, [ebp - 0x20]
call fcn.0046fff5
test eax, eax
jne 0x46ccc6
lea ecx, [ebp - 0x20]
jmp 0x46cc96
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0041cb3f
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
dec eax
push eax
mov ecx, edi
call fcn.0042e1e4
cmp ax, 0x5c
lea eax, [ebp - 0x14]
jne 0x46cd0e
push str.liveupdatelog
push edi
push eax
call fcn.0041af66
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x46cd21
push 0x4c6298
push edi
push eax
call fcn.0041af66
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.0041cb3f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040dd20
push 0x4c627c
mov ecx, edi
call fcn.0041cb8c
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [edi]
call fcn.0040e7d0
mov edi, dword [edi]
push 4
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [esi + 4], eax
call edi
push str.liveupdatelogP2SP_360installer.log
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041af66
mov eax, dword [eax]
add esp, 0xc
push 4
push 0
push eax
call edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
push 0x4c6298
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041af66
mov eax, dword [eax]
add esp, 0xc
push 4
push 0
push eax
call edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ebx, dword [ebx]
push 4
push 0
push ebx
call edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x46cde7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0046fb52
mov eax, esi
jmp 0x46cca1
lea ecx, [esi + 0x10]
push ecx
push str.Init
push eax
call fcn.0046ca7a
lea eax, [esi + 0x14]
push eax
push str.Login
push dword [esi + 4]
call fcn.0046ca8f
lea eax, [esi + 0x18]
push eax
push str.Uninit
push dword [esi + 4]
call fcn.0046caa4
lea eax, [esi + 0x1c]
push eax
push str.CreateP2SPTask
push dword [esi + 4]
call fcn.0046cab9
lea eax, [esi + 0x20]
push eax
push str.QueryTask
push dword [esi + 4]
call fcn.0046cace
lea eax, [esi + 0x24]
push eax
push str.StartTask
push dword [esi + 4]
call fcn.0046cae3
add esp, 0x48
lea eax, [esi + 0x28]
push eax
push str.StopTask
push dword [esi + 4]
call fcn.0046cae3
lea eax, [esi + 0x2c]
push eax
push str.StopSeed
push dword [esi + 4]
call fcn.0046cae3
lea eax, [esi + 0x30]
push eax
push str.GetFinishMessage
push dword [esi + 4]
call fcn.0046caf8
lea eax, [esi + 0x34]
push eax
push str.RemoveTask
push dword [esi + 4]
call fcn.0046cae3
lea eax, [esi + 0x38]
push eax
push str.SetConfigInfo
push dword [esi + 4]
call fcn.0046cb0d
lea eax, [esi + 0x3c]
push eax
push str.UpdateRegInfo
push dword [esi + 4]
call fcn.0046cb22
add esp, 0x48
lea eax, [esi + 0x40]
push eax
push str.SetP2spOption
push dword [esi + 4]
call fcn.0046cb37
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040dd20
xor esi, esi
inc esi
jmp 0x46cdd4