Function at 0x456b50
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f1fa
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x67c], ecx
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x650], esp
push str._LOCAL_APPDATA_KuaiZip
call fcn.004012e0
mov dword [ebp - 0x680], eax
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x684], eax
mov dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x654], esp
push str.X86_tpop.exe
call fcn.004012e0
mov dword [ebp - 0x688], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x67c]
call fcn.004574e0
xor ecx, ecx
mov word [ebp - 0x444], cx
push 0x206
push 0
lea edx, [ebp - 0x442]
push edx
call fcn.004b83b0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x64c], ax
push 0x206
push 0
lea ecx, [ebp - 0x64a]
push ecx
call fcn.004b83b0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004b83b0
add esp, 0xc
mov ecx, 0x56d218
call fcn.00401340
push eax
push 0x104
lea ecx, [ebp - 0x64c]
push ecx
call fcn.004be924
add esp, 0xc
push 0x51a1fc
lea edx, [ebp - 0x64c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0x10
lea eax, [ebp - 0x444]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1f
mov ecx, 0x56d2e8
call fcn.00474010
push eax
lea ecx, [ebp - 0x444]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x444]
push eax
push 0
lea ecx, [ebp - 0x64c]
push ecx
mov ecx, dword [ebp - 0x67c]
call fcn.004565a0
push 0
push 0x10
lea edx, [ebp - 0x444]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x56d218
call fcn.00401340
push eax
push 0x104
lea eax, [ebp - 0x64c]
push eax
call fcn.004be924
add esp, 0xc
push 0x51a21c
lea ecx, [ebp - 0x64c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [str.ali_.URL]
push edx
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x56d218
call fcn.00401340
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004be924
add esp, 0xc
push str.X86_
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [str.ali_v.sdo.com.ico]
push eax
lea ecx, [ebp - 0x64c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str._APPDATA_KuaiZip
lea ecx, [ebp - 0x238]
call fcn.004012e0
mov dword [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x658], esp
lea edx, [ebp - 0x238]
push edx
call fcn.0040de90
mov dword [ebp - 0x68c], eax
lea eax, [ebp - 0x674]
push eax
call fcn.00458050
add esp, 0x20
mov dword [ebp - 0x690], eax
mov ecx, dword [ebp - 0x690]
mov dword [ebp - 0x694], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x694]
push edx
lea ecx, [ebp - 0x238]
call fcn.0040b0b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x674]
call fcn.00401320
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x678], esp
lea eax, [ebp - 0x238]
push eax
call fcn.0040de90
mov dword [ebp - 0x698], eax
call fcn.00458f80
add esp, 0x1c
push 0x51a258
lea ecx, [ebp - 0x238]
call fcn.0040d760
mov ecx, dword [str.v.sdo.com.ico]
push ecx
lea ecx, [ebp - 0x238]
call fcn.0040d760
push 0
lea ecx, [ebp - 0x238]
call fcn.00401340
push eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [0x566134]
push eax
lea ecx, [ebp - 0x444]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x444]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456e86
lea ecx, [ebp - 0x238]
call fcn.00401340
push eax
lea eax, [ebp - 0x444]
push eax
push 0
mov ecx, dword [str.http:__v.sdo.com_home.aspx_bid1085]
push ecx
mov ecx, dword [ebp - 0x67c]
call fcn.00456910
mov ecx, 0x56d218
call fcn.00401340
push eax
push 0x104
lea edx, [ebp - 0x64c]
push edx
call fcn.004be924
add esp, 0xc
push 0x51a25c
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0xb
lea ecx, [ebp - 0x444]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1f
mov ecx, 0x56d2e8
call fcn.00474010
push eax
lea edx, [ebp - 0x444]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [ebp - 0x444]
push ecx
push 0
lea edx, [ebp - 0x64c]
push edx
mov ecx, dword [ebp - 0x67c]
call fcn.004565a0
push 0
push 2
lea eax, [ebp - 0x444]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xf
mov ecx, 0x56d2e8
call fcn.00474010
push eax
lea ecx, [ebp - 0x444]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret 4