Function at 0x4661f7
Capabilities:
Check http status code
Connect to http server
Create http request
Download and write a file
Move file
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b887f
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6b06f8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
call fcn.0040fa16
xor ebx, ebx
mov dword [esp + 0x64], ebx
lea eax, [esp + 0x30]
mov dword [esp], str..tmp
push eax
lea ecx, [esp + 0x2c]
call fcn.0040fc53
pop ecx
pop ecx
mov byte [esp + 0x60], 1
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
call fcn.0046ec00
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x466269
mov dword [esp + 0x28], eax
push ebx
push ebx
push ebx
push 1
push 0x670fd0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov byte [esp + 0x60], 2
cmp eax, ebx
je 0x466498
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push str.update.vibranium.co.in
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x60], 3
cmp eax, ebx
je 0x466483
push ebx
push 0x8400f200
push ebx
push ebx
push ebx
push str._cure_curescanner.dll
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x60], 4
cmp esi, ebx
je 0x466473
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x466473
push 0x13
lea edi, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.0041c7ba
pop ecx
cmp eax, 0xc8
jne 0x466473
push 5
lea edi, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.0041c7ba
cmp eax, ebx
pop ecx
mov dword [esp + 0x3c], eax
jle 0x466473
cmp eax, dword [esp + 0x28]
je 0x466473
push ebx
push ebx
push 2
push ebx
push 1
push 0x10000000
push dword [esp + 0x44]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x60], 5
cmp eax, 0xffffffff
je 0x4663db
mov dword [esp + 0x18], ebx
mov edi, 0x10000
lea ebx, [esp + 0x30]
call fcn.0042694e
mov byte [esp + 0x60], 6
mov edi, dword [esp + 0x30]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x4663ab
cmp dword [esp + 0x18], 0
je 0x4663c1
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4663c1
add esi, dword [esp + 0x18]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push dword [esp + 0x2c]
call ebx
test eax, eax
jne 0x466384
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [esp + 0x60], 5
lea ebx, [esp + 0x30]
call fcn.00426993
xor ebx, ebx
cmp esi, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x46645d
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0x23]
lea edx, [esp + 0x3c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x23], bl
mov byte [esp + 0x22], bl
call fcn.004a3420
add esp, 0xc
mov byte [esp + 0x60], 7
mov eax, dword [esp + 0x30]
cmp dword [eax - 0xc], ebx
je 0x46644f
cmp dword [esp + 0x1c], 0xffffffff
je 0x466430
push dword [esp + 0x1c]
call esi
or dword [esp + 0x28], 0xffffffff
call fcn.0040fb04
push 1
push dword [esp + 0x28]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.0040fa60
mov byte [esp + 0x60], 5
lea ecx, [esp + 0x30]
call fcn.004085a2
mov byte [esp + 0x60], 4
cmp dword [esp + 0x28], 0xffffffff
je 0x46646f
push dword [esp + 0x28]
call esi
mov esi, dword [esp + 0x20]
mov byte [esp + 0x60], 3
cmp esi, ebx
je 0x466483
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], 2
cmp dword [esp + 0x34], ebx
je 0x466498
push dword [esp + 0x34]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], 1
cmp dword [esp + 0x38], ebx
je 0x4664ad
push dword [esp + 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x2c]
call fcn.004085a2
or dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004085a2
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret