Function at 0x46d8f4
Capabilities:
Delete file
Download url
Get common file path
Get file size
Read file on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abd42
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 0x51bf80
mov ecx, dword [ebp + 8]
call fcn.00409360
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 0x46dba2
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x46db74
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 0x46db74
cmp dword [ebp - 0x120], 0
jbe 0x46db74
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 [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46db74
lea ecx, [ebp - 0x134]
call fcn.00409340
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x134]
call fcn.00409360
push 0
push 0x51bfb4
lea ecx, [ebp - 0x134]
call fcn.00415ba0
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jge 0x46da71
jmp 0x46db62
mov ecx, dword [ebp - 0x130]
push ecx
push str.__span___p_
lea ecx, [ebp - 0x134]
call fcn.00415ba0
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jge 0x46da9c
jmp 0x46db62
lea ecx, [ebp - 0x138]
call fcn.00409340
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.00415a90
lea ecx, [ebp - 0x138]
call fcn.004155c0
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.00415a90
push 0x554c38
push str.nbsp_
lea ecx, [ebp - 0x138]
call fcn.004156c0
lea edx, [ebp - 0x138]
push edx
mov ecx, dword [ebp + 8]
call fcn.004155e0
push 0x51bfd4
mov ecx, dword [ebp + 8]
call fcn.00409390
mov eax, dword [ebp - 0x12c]
push eax
push 0
lea ecx, [ebp - 0x134]
call fcn.00415a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00409510
mov ecx, 1
test ecx, ecx
jne 0x46da4b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00409510
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x51bfd8
mov ecx, dword [ebp + 8]
call fcn.00409390
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
jmp 0x46dbbe
push 0x51c004
mov ecx, dword [ebp + 8]
call fcn.00409390
push 0x51c01c
mov ecx, dword [ebp + 8]
call fcn.00409390
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4