Function at 0x4ae930
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 0x60e0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041dfa0
add esp, 4
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
mov ebx, str..tmp
call fcn.0041e2b0
add esp, 8
mov byte [esp + 0x60], 1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
call fcn.004c0a10
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x4ae9ac
mov dword [esp + 0x20], eax
push 0
push 0
push 0
push 1
push 0x6ca128
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x60], 2
test ebp, ebp
je 0x4aec21
push 0
push 0
push 3
push 0
push 0
push 0
push str.update.vibranium.co.in
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x60], 3
test edi, edi
je 0x4aec11
push 0
push 0x8400f200
push 0
push 0
push 0
push str._cure_VCure.dll
push 0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x60], 4
test esi, esi
je 0x4aec01
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4aec01
lea edx, [esp + 0x30]
push 0x13
push edx
mov dword [esp + 0x38], esi
call fcn.004ab4a0
add esp, 8
cmp eax, 0xc8
jne 0x4aec01
lea eax, [esp + 0x30]
push 5
push eax
mov dword [esp + 0x38], esi
call fcn.004ab4a0
mov ebx, eax
add esp, 8
mov dword [esp + 0x3c], ebx
test ebx, ebx
jle 0x4aec01
cmp ebx, dword [esp + 0x20]
je 0x4aec01
mov ecx, dword [esp + 0x24]
push 0
push 0
push 2
push 0
push 1
push 0x10000000
push ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov edi, ebp
mov dword [esp + 0x30], edi
mov byte [esp + 0x60], 5
cmp ebp, 0xffffffff
je 0x4aeb6a
mov edi, 0x10000
lea ebx, [esp + 0x28]
mov dword [esp + 0x18], 0
call fcn.004438c0
mov byte [esp + 0x60], 6
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x2c]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push ebx
call edi
test eax, eax
je 0x4aeb49
jmp 0x4aeb10
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4aeb49
mov eax, dword [esi]
push 0
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4aeb49
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push ebx
call edi
test eax, eax
jne 0x4aeb10
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [esp + 0x60], 5
lea ebx, [esp + 0x28]
call fcn.004c2420
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x20], ebx
jne 0x4aebe8
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1a]
xor ebx, ebx
push ecx
push ebp
lea ecx, [esp + 0x23]
lea edx, [esp + 0x38]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x23], bl
mov byte [esp + 0x22], bl
call fcn.004e8520
add esp, 0xc
mov byte [esp + 0x60], 7
mov edx, dword [esp + 0x2c]
cmp dword [edx - 0xc], ebx
je 0x4aebda
cmp ebp, 0xffffffff
je 0x4aebb7
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov dword [esp + 0x30], edi
call fcn.0041e100
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.0041e020
mov byte [esp + 0x60], 5
lea ecx, [esp + 0x2c]
call fcn.0040ba40
mov byte [esp + 0x60], 4
cmp edi, 0xffffffff
je 0x4aebf9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov byte [esp + 0x60], 3
test esi, esi
je 0x4aec11
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], 2
test edi, edi
je 0x4aec21
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], 1
test ebp, ebp
je 0x4aec31
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], 0
lea ecx, [esp + 0x24]
call fcn.0040ba40
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0040ba40
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret