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

Disassembly:
push 0x14
mov eax, 0x4bb789
call fcn.00485421
mov esi, ecx
lea ecx, [ebp - 0x20]
call fcn.0046ffd5
and dword [ebp - 4], 0
push 0x4c63a4
push 0xce
push 0
lea ecx, [ebp - 0x20]
call fcn.004702e1
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x46d13b
or dword [ebp - 4], 0xffffffff
call fcn.0046ffe6
xor eax, eax
call fcn.004854f9
ret
lea ebx, [esi + 8]
push ebx
call fcn.00470545
test eax, eax
jne 0x46d15a
push ebx
lea ecx, [ebp - 0x20]
call fcn.00470489
test eax, eax
jne 0x46d15a
lea ecx, [ebp - 0x20]
jmp 0x46d12a
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.0041cb91
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
dec eax
push eax
mov ecx, edi
call fcn.0042e237
cmp ax, 0x5c
lea eax, [ebp - 0x14]
jne 0x46d1a2
push str.liveupdatelog
push edi
push eax
call fcn.0041afb8
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x46d1b5
push 0x4c6368
push edi
push eax
call fcn.0041afb8
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.0041cb91
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040dd20
push 0x4c634c
mov ecx, edi
call fcn.0041cbde
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.0041afb8
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 0x4c6368
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041afb8
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 0x46d27b
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.0046ffe6
mov eax, esi
jmp 0x46d135
lea ecx, [esi + 0x10]
push ecx
push str.Init
push eax
call fcn.0046cf0e
lea eax, [esi + 0x14]
push eax
push str.Login
push dword [esi + 4]
call fcn.0046cf23
lea eax, [esi + 0x18]
push eax
push str.Uninit
push dword [esi + 4]
call fcn.0046cf38
lea eax, [esi + 0x1c]
push eax
push str.CreateP2SPTask
push dword [esi + 4]
call fcn.0046cf4d
lea eax, [esi + 0x20]
push eax
push str.QueryTask
push dword [esi + 4]
call fcn.0046cf62
lea eax, [esi + 0x24]
push eax
push str.StartTask
push dword [esi + 4]
call fcn.0046cf77
add esp, 0x48
lea eax, [esi + 0x28]
push eax
push str.StopTask
push dword [esi + 4]
call fcn.0046cf77
lea eax, [esi + 0x2c]
push eax
push str.StopSeed
push dword [esi + 4]
call fcn.0046cf77
lea eax, [esi + 0x30]
push eax
push str.GetFinishMessage
push dword [esi + 4]
call fcn.0046cf8c
lea eax, [esi + 0x34]
push eax
push str.RemoveTask
push dword [esi + 4]
call fcn.0046cf77
lea eax, [esi + 0x38]
push eax
push str.SetConfigInfo
push dword [esi + 4]
call fcn.0046cfa1
lea eax, [esi + 0x3c]
push eax
push str.UpdateRegInfo
push dword [esi + 4]
call fcn.0046cfb6
add esp, 0x48
lea eax, [esi + 0x40]
push eax
push str.SetP2spOption
push dword [esi + 4]
call fcn.0046cfcb
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040dd20
xor esi, esi
inc esi
jmp 0x46d268