Function at 0x466284
Capabilities:
Download url
Get common file path
Get file size
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a71d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.360ipseeker.ini
lea ecx, [ebp - 0x110]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
push 0x51c214
mov ecx, dword [ebp + 8]
call fcn.004094d0
push 0
push 0
lea edx, [ebp - 0x110]
push edx
push str.http:__ipseeker.cn_
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x466532
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea eax, [ebp - 0x110]
push eax
call dword [0x54299c]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x466504
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x128], 0
jne 0x466504
cmp dword [ebp - 0x120], 0
jbe 0x466504
mov eax, dword [ebp - 0x120]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x124], ecx
push 0
lea edx, [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [0x542984]
test eax, eax
je 0x466504
lea ecx, [ebp - 0x134]
call fcn.004094b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x134]
call fcn.004094d0
push 0
push 0x51c248
lea ecx, [ebp - 0x134]
call fcn.00415d50
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jge 0x466401
jmp 0x4664f2
mov ecx, dword [ebp - 0x130]
push ecx
push str.__span___p_
lea ecx, [ebp - 0x134]
call fcn.00415d50
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jge 0x46642c
jmp 0x4664f2
lea ecx, [ebp - 0x138]
call fcn.004094b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x138]
call fcn.00418840
mov eax, dword [ebp - 0x130]
push eax
push 0
lea ecx, [ebp - 0x138]
call fcn.00415c40
lea ecx, [ebp - 0x138]
call fcn.00415770
sub eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x138]
call fcn.00415c40
push 0x559ad8
push str.nbsp_
lea ecx, [ebp - 0x138]
call fcn.00415870
lea edx, [ebp - 0x138]
push edx
mov ecx, dword [ebp + 8]
call fcn.00415790
push 0x51c268
mov ecx, dword [ebp + 8]
call fcn.00409500
mov eax, dword [ebp - 0x12c]
push eax
push 0
lea ecx, [ebp - 0x134]
call fcn.00415c40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00409680
mov ecx, 1
test ecx, ecx
jne 0x4663db
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00409680
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x51c26c
mov ecx, dword [ebp + 8]
call fcn.00409500
lea eax, [ebp - 0x110]
push eax
call dword [0x542978]
mov eax, 1
jmp 0x46654e
push 0x51c298
mov ecx, dword [ebp + 8]
call fcn.00409500
push 0x51c2b0
mov ecx, dword [ebp + 8]
call fcn.00409500
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4