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

Disassembly:
push 0x14
mov eax, 0x4bb2e0
call fcn.0048501f
mov esi, ecx
lea ecx, [ebp - 0x20]
call fcn.0046fbd2
and dword [ebp - 4], 0
push 0x4c633c
push 0xce
push 0
lea ecx, [ebp - 0x20]
call fcn.0046fede
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x46cd38
or dword [ebp - 4], 0xffffffff
call fcn.0046fbe3
xor eax, eax
call fcn.004850f7
ret
lea ebx, [esi + 8]
push ebx
call fcn.00470142
test eax, eax
jne 0x46cd57
push ebx
lea ecx, [ebp - 0x20]
call fcn.00470086
test eax, eax
jne 0x46cd57
lea ecx, [ebp - 0x20]
jmp 0x46cd27
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 0x46cd9f
push str.liveupdatelog
push edi
push eax
call fcn.0041af66
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x46cdb2
push 0x4c6300
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 str.360P2SP.dll
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 0x4c6300
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 0x46ce78
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.0046fbe3
mov eax, esi
jmp 0x46cd32
lea ecx, [esi + 0x10]
push ecx
push str.Init
push eax
call fcn.0046cb0b
lea eax, [esi + 0x14]
push eax
push str.Login
push dword [esi + 4]
call fcn.0046cb20
lea eax, [esi + 0x18]
push eax
push str.Uninit
push dword [esi + 4]
call fcn.0046cb35
lea eax, [esi + 0x1c]
push eax
push str.CreateP2SPTask
push dword [esi + 4]
call fcn.0046cb4a
lea eax, [esi + 0x20]
push eax
push str.QueryTask
push dword [esi + 4]
call fcn.0046cb5f
lea eax, [esi + 0x24]
push eax
push str.StartTask
push dword [esi + 4]
call fcn.0046cb74
add esp, 0x48
lea eax, [esi + 0x28]
push eax
push str.StopTask
push dword [esi + 4]
call fcn.0046cb74
lea eax, [esi + 0x2c]
push eax
push str.StopSeed
push dword [esi + 4]
call fcn.0046cb74
lea eax, [esi + 0x30]
push eax
push str.GetFinishMessage
push dword [esi + 4]
call fcn.0046cb89
lea eax, [esi + 0x34]
push eax
push str.RemoveTask
push dword [esi + 4]
call fcn.0046cb74
lea eax, [esi + 0x38]
push eax
push str.SetConfigInfo
push dword [esi + 4]
call fcn.0046cb9e
lea eax, [esi + 0x3c]
push eax
push str.UpdateRegInfo
push dword [esi + 4]
call fcn.0046cbb3
add esp, 0x48
lea eax, [esi + 0x40]
push eax
push str.SetP2spOption
push dword [esi + 4]
call fcn.0046cbc8
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040dd20
xor esi, esi
inc esi
jmp 0x46ce65