Function at 0x423680
Capabilities:
Check if file exists
Create directory
Delete file
Link many functions at runtime
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462f90
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.00423ae0
mov eax, dword [0x48129c]
push 0x46a68c
push 0x227
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00424030
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x4236f8
mov dword [ebp - 4], 0xffffffff
call fcn.00423ff0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 8]
push ebx
call fcn.00424480
mov edx, dword [0x48134c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48134c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040f7f0
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
add eax, 0xffffffff
js 0x4239f6
cmp eax, dword [ecx - 0xc]
jg 0x4239f6
movzx eax, word [ecx + eax*2]
cmp ax, 0x5c
jne 0x423790
push str.liveupdatelog
lea edx, [ebp - 0x14]
push edi
push edx
call fcn.0040f860
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040f7f0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423789
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46a658
jmp 0x4237d7
push 0x46a638
lea ecx, [ebp - 0x14]
push edi
push ecx
call fcn.0040f860
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040f7f0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4237d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46a61c
mov ecx, edi
call fcn.00418840
mov ecx, dword [ebp - 0x10]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [edi]
push eax
mov dword [ebp - 0x14], eax
call fcn.0040f4a0
add esp, 4
test eax, eax
jne 0x423823
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42381f
mov eax, dword [ebp - 0x14]
push 1
push 0x47c0b0
push eax
call fcn.00417630
add esp, 0xc
xor eax, eax
jmp 0x42382d
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
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 edx, [ebp - 0x14]
push ebx
push edx
call fcn.0040f860
mov eax, dword [eax]
add esp, 0xc
push 4
push 0
push eax
call edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423879
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46a638
lea ecx, [ebp - 0x14]
push ebx
push ecx
call fcn.0040f860
mov eax, dword [eax]
add esp, 0xc
push 4
push 0
push eax
call edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4238b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebx]
push 4
push 0
push ebx
call edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x4238f4
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4238e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
jmp 0x4236df
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Init
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.Login
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.Uninit
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.CreateP2SPTask
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.QueryTask
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.StartTask
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.StopTask
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.StopSeed
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.GetFinishMessage
push eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push str.RemoveTask
push eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.SetConfigInfo
push eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push str.UpdateRegInfo
push eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push str.SetP2spOption
push eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00423ff0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403db0
int3