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

Disassembly:
push 0x84
mov eax, 0x5e9627
call fcn.00593b07
mov edi, ecx
call fcn.004c2302
test al, al
je 0x4b1d88
push 0x251
push str.P2PDownLoad::StratUploadSeed
push str.__s__d___sesvc_support_StratUploadSeed_return
call fcn.0040a649
add esp, 0xc
jmp 0x4b2002
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.00425cdd
push 0
call fcn.005bb4fa
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.00425cdd
xor ecx, ecx
add esp, 0x20
test eax, eax
cmovne ecx, dword [ebp - 0x90]
cmp dword [ebp - 0x8c], 0
jbe 0x4b1f54
mov eax, ecx
cdq
sub esi, eax
sbb ebx, edx
imul eax, dword [ebp - 0x8c], 0x3c
test ebx, ebx
jl 0x4b1e22
jg 0x4b1e1a
cmp esi, eax
jb 0x4b1e22
test ecx, ecx
jne 0x4b1f54
mov esi, 0x62a4ac
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.004c3629
push str._slist.dat
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0041151f
pop ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.0040b67e
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 0x4b1eaf
push 0x61ee2e
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.004cbe29
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.00425d08
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
push str.SeedPath
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d08
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 0x4b1f3c
cmp dword [ebp - 0x48], 0
je 0x4b1f3c
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4b1f3c
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.004b0ecb
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x58]
jmp 0x4b1ffd
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 0x62a4ac
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.00425d08
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 0x4b1fc5
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.0042615c
push esi
push str.pDownURL
mov edx, ebx
call fcn.0042615c
push esi
push str.TaskID
mov edx, ebx
call fcn.0042615c
push esi
push str.MakeSeedTime
mov edx, ebx
call fcn.0042615c
add esp, 0x20
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.00593ab1
ret