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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e4a6
push eax
mov dword fs:[0], esp
sub esp, 0x11c
lea eax, [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov edi, str.360ipseeker.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov eax, 0x450400
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4212a1
push 0x450400
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ebp, dword [esp + 0x13c]
push 0x450400
push eax
mov ecx, ebp
call fcn.00406dc0
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
push str.http:__ipseeker.cn_
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x4215ab
push eax
push 0x80
push 3
push eax
push 1
lea edx, [esp + 0x3c]
push connect
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ebx
je 0x421586
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x421586
test edi, edi
jbe 0x421586
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x421586
mov edx, dword [0x436cfc]
mov dword [esp + 0x14], edx
xor eax, eax
cmp esi, eax
mov dword [esp + 0x134], eax
je 0x42135f
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00406dc0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jl 0x421567
mov esi, dword [sym.imp.MSVCRT.dll__mbsstr]
push 0x4503e0
push eax
call esi
add esp, 8
test eax, eax
je 0x421567
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov ebx, eax
js 0x421567
cmp ebx, dword [ecx - 8]
jg 0x421567
lea eax, [ebx + ecx]
push str.__span___p_
push eax
call esi
add esp, 8
test eax, eax
je 0x421567
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x18], eax
js 0x421567
mov eax, dword [0x436cfc]
mov dword [esp + 0x10], eax
cmp eax, ecx
mov byte [esp + 0x134], 1
je 0x42142e
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4213f8
mov edx, dword [0x436d00]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4213ff
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x42140f
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00406dc0
jmp 0x42142a
lea ecx, [esp + 0x10]
call fcn.00407020
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 8]
mov edi, ebx
test ebx, ebx
jle 0x421470
test esi, esi
jle 0x421470
cmp ebx, esi
jle 0x421441
mov edi, esi
lea ecx, [esp + 0x10]
call fcn.00406f80
mov eax, dword [esp + 0x10]
sub esi, edi
add edi, eax
mov edx, dword [eax - 4]
lea ecx, [esi + 1]
push ecx
inc edx
push edi
push edx
push eax
call fcn.004099d0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [eax - 8], esi
mov eax, dword [esp + 0x10]
mov ebp, dword [eax - 8]
mov edi, dword [esp + 0x18]
mov esi, ebp
sub esi, edi
add esi, ebx
sub edi, ebx
jns 0x421483
xor edi, edi
test esi, esi
jle 0x4214cc
cmp edi, ebp
jge 0x4214cc
lea ecx, [edi + esi]
cmp ecx, ebp
jle 0x421496
mov esi, ebp
sub esi, edi
lea ecx, [esp + 0x10]
call fcn.00406f80
mov eax, dword [esp + 0x10]
mov edx, ebp
sub edx, edi
lea ecx, [edi + esi]
sub edx, esi
add ecx, eax
inc edx
push edx
mov edx, dword [eax - 4]
sub edx, edi
push ecx
inc edx
add edi, eax
push edx
push edi
call fcn.004099d0
mov eax, dword [esp + 0x20]
add esp, 0x10
sub ebp, esi
mov dword [eax - 8], ebp
push 0x45ec20
push str.nbsp_
lea ecx, [esp + 0x18]
call fcn.0040b010
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x13c]
push eax
mov ecx, dword [eax - 8]
push ecx
mov ecx, esi
call fcn.00406e80
mov edx, 0x4500a4
test edx, edx
jne 0x421503
xor eax, eax
jmp 0x42150e
push 0x4500a4
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push 0x4500a4
push eax
mov ecx, esi
call fcn.00406e80
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push 0
call fcn.00421c00
mov eax, dword [esp + 0x10]
mov edx, dword [0x436d00]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42136a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x42136a
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d5f4
add esp, 4
jmp 0x42136a
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0xffffffff
call fcn.00406d30
mov ebp, dword [esp + 0x13c]
mov ebx, dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push str._r_n_r_n
mov ecx, ebp
call fcn.00421ae0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, 1
jmp 0x4215c5
push 0x4503b4
mov ecx, ebp
call fcn.00421ae0
push str._r_n_r_n
mov ecx, ebp
call fcn.00421ae0
xor eax, eax
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4