Function at 0x4b061b
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x84
mov eax, 0x5e7857
call fcn.00592017
mov edi, ecx
call fcn.004c0bcb
test al, al
je 0x4b0651
push 0x251
push str.P2PDownLoad::StratUploadSeed
push str.__s__d___sesvc_support_StratUploadSeed_return
call fcn.0040a649
add esp, 0xc
jmp 0x4b08cb
push 0x254
push str.P2PDownLoad::StratUploadSeed
push str.__s__d___StratUploadSeed
call fcn.0040a649
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x2760
push eax
push str.keep_time
mov edx, str.Software360360huabaohuabao
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425cda
push 0
call fcn.005b9a0a
mov esi, eax
mov ebx, edx
lea eax, [ebp - 0x90]
mov edx, str.Software360360huabaohuabao
push eax
push str.MakeSeedTime
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425cda
xor ecx, ecx
add esp, 0x20
test eax, eax
cmovne ecx, dword [ebp - 0x90]
cmp dword [ebp - 0x8c], 0
jbe 0x4b081d
mov eax, ecx
cdq
sub esi, eax
sbb ebx, edx
imul eax, dword [ebp - 0x8c], 0x3c
test ebx, ebx
jl 0x4b06eb
jg 0x4b06e3
cmp esi, eax
jb 0x4b06eb
test ecx, ecx
jne 0x4b081d
mov esi, 0x6284b4
lea ecx, [ebp - 0x58]
push esi
call fcn.0040b0d5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push esi
call fcn.0040b0d5
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.004c1ef2
push str._slist.dat
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0041151c
pop ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.0040b67b
push 8
pop esi
cmp dword [ebp - 0x5c], esi
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b0778
push 0x61ce3e
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.004ca361
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00404812
lea eax, [ebp - 0x58]
mov ebx, str.Software360360huabaohuabao
push eax
push str.pDownURL
mov edx, ebx
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d05
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
push str.SeedPath
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d05
cmp dword [ebp - 0x44], esi
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], esi
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push 0x26f
push str.P2PDownLoad::StratUploadSeed
push str.__s__d___StratUploadSeed_seed_path_s_make_seed_url___s
call fcn.0040a649
add esp, 0x24
cmp dword [ebp - 0x30], 0
je 0x4b0805
cmp dword [ebp - 0x48], 0
je 0x4b0805
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4b0805
cmp dword [ebp - 0x2c], esi
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x58]
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], esi
cmovae eax, dword [ebp - 0x58]
sub esp, 0x18
push edx
push eax
call fcn.004af794
lea ecx, [ebp - 0x70]
call fcn.0040b67b
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x58]
jmp 0x4b08c6
push 0x279
push str.P2PDownLoad::StratUploadSeed
push str.__s__d___Make_seed_time_over_7_days
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x6284b4
call fcn.0040b0d5
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 6
push eax
mov edi, str.SeedPath
mov ebx, str.Software360360huabaohuabao
push edi
mov edx, ebx
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d05
pop ecx
pop ecx
push 8
pop esi
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b088e
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
mov edx, ebx
push esi
push edi
call fcn.00426159
push esi
push str.pDownURL
mov edx, ebx
call fcn.00426159
push esi
push str.TaskID
mov edx, ebx
call fcn.00426159
push esi
push str.MakeSeedTime
mov edx, ebx
call fcn.00426159
add esp, 0x20
lea ecx, [ebp - 0x28]
call fcn.0040b67b
call fcn.00591fc1
ret