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

Disassembly:
push 0x84
mov eax, 0x5e77fc
call fcn.00592017
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x78], eax
xor ebx, ebx
add eax, 4
mov dword [ebp - 0x4c], ebx
push eax
mov dword [ebp - 0x48], ebx
call fcn.0040b155
mov dword [ebp - 4], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
xor eax, eax
lea ecx, [ebp - 0x5c]
inc eax
lea edx, [ebp - 0x90]
mov byte [ebp - 4], al
cmp dword [ebp - 0x48], 8
cmovae ecx, dword [ebp - 0x5c]
push ecx
push 0x7c
call fcn.00430911
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
xor edi, edi
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4b0496
push ecx
push str.http:__
mov ecx, esi
call fcn.0040aff3
cmp eax, 0xffffffff
jne 0x4b046d
cmp dword [ebp - 0x1c], 0
je 0x4b043e
push 0x62ea3c
call fcn.005b93d0
pop ecx
push eax
push 0x62ea3c
lea ecx, [ebp - 0x2c]
call fcn.0040b220
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b0448
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040b220
push ecx
push 0x65cdc0
mov ecx, esi
call fcn.0040aff3
cmp eax, 0xffffffff
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0x80]
jb 0x4b040d
test bl, bl
jne 0x4b0496
cmp dword [ebp - 0x1c], 0
jbe 0x4b0496
mov esi, str.p81
push esi
call fcn.005b93d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040b220
cmp byte [ebp + 0xc], 0
mov ebx, str.Software360360huabaohuabao
mov edi, reloc.WS2_32.dll_accept
je 0x4b0575
push 0x6284b4
lea ecx, [ebp - 0x44]
call fcn.0040b0d5
push str.https:__dd.browser.360.cn_static_a_1298.6253.gif
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.0040b0d5
xor ebx, ebx
mov byte [ebp - 4], 4
inc ebx
lea ecx, [ebp - 0x74]
push ebx
push ebx
xor dl, dl
call fcn.004c4bab
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.0040b67b
lea eax, [ebp - 0x44]
mov edx, str.Software360360huabaohuabao
push eax
push str.SeedPath
mov ecx, edi
call fcn.00425d05
push 0x23b
push str.P2PDownLoad::MakeSeedEx
push str.__s__d___Delete_seed_when_download_and_unzip_succeed
call fcn.0040a649
add esp, 0x14
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b053d
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.https:__dd.browser.360.cn_static_a_1298.3525.gif__referer0
lea ecx, [ebp - 0x74]
call fcn.0040b0d5
push ebx
push ebx
mov dl, bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.004c4bab
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.0040b67b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040b67b
mov ebx, str.Software360360huabaohuabao
push 0
call fcn.005b9a0a
pop ecx
mov esi, eax
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0x2c]
mov edx, ebx
push eax
push str.pDownURL
mov ecx, edi
call fcn.00425f94
mov edi, dword [ebp - 0x78]
mov edx, ebx
lea ecx, [edi + 0x64]
push ecx
push str.SeedPath
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425f94
mov eax, dword [edi + 0x8c]
mov edx, ebx
mov dword [ebp - 0x78], eax
mov edi, reloc.WS2_32.dll_accept
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
push str.TaskID
call fcn.00426054
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
push eax
push str.MakeSeedTime
mov edx, ebx
mov ecx, edi
call fcn.00426054
push 0x24a
push str.P2PDownLoad::MakeSeedEx
push str.__s__d___MakeSeedEx_wrote_new_reg_value_finished
call fcn.0040a649
add esp, 0x2c
lea ecx, [ebp - 0x2c]
call fcn.0040b67b
lea ecx, [ebp - 0x90]
call fcn.004132ed
lea ecx, [ebp - 0x5c]
call fcn.0040b67b
call fcn.00591fc1
ret 8