Function at 0x47b523
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 0x5c6dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
call fcn.004114dc
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.004116ea
pop ecx
pop ecx
mov byte [esp + 0x60], 1
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
call fcn.004870e0
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x47b595
mov dword [esp + 0x28], eax
push ebx
push ebx
push ebx
push 1
push 0x6810b8
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 0x47b7c4
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 0x47b7af
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 0x47b79f
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x47b79f
push 0x13
lea edi, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.004214d1
pop ecx
cmp eax, 0xc8
jne 0x47b79f
push 5
lea edi, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.004214d1
cmp eax, ebx
pop ecx
mov dword [esp + 0x3c], eax
jle 0x47b79f
cmp eax, dword [esp + 0x28]
je 0x47b79f
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 0x47b707
mov dword [esp + 0x18], ebx
mov edi, 0x10000
lea ebx, [esp + 0x30]
call fcn.0042c18f
mov byte [esp + 0x60], 6
mov edi, dword [esp + 0x30]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x47b6d7
cmp dword [esp + 0x18], 0
je 0x47b6ed
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 0x47b6ed
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 0x47b6b0
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [esp + 0x60], 5
lea ebx, [esp + 0x30]
call fcn.004170a7
xor ebx, ebx
cmp esi, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x47b789
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.004bc7b0
add esp, 0xc
mov byte [esp + 0x60], 7
mov eax, dword [esp + 0x30]
cmp dword [eax - 0xc], ebx
je 0x47b77b
cmp dword [esp + 0x1c], 0xffffffff
je 0x47b75c
push dword [esp + 0x1c]
call esi
or dword [esp + 0x28], 0xffffffff
call fcn.004115ca
push 1
push dword [esp + 0x28]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.00411526
mov byte [esp + 0x60], 5
lea ecx, [esp + 0x30]
call fcn.004085f6
mov byte [esp + 0x60], 4
cmp dword [esp + 0x28], 0xffffffff
je 0x47b79b
push dword [esp + 0x28]
call esi
mov esi, dword [esp + 0x20]
mov byte [esp + 0x60], 3
cmp esi, ebx
je 0x47b7af
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], 2
cmp dword [esp + 0x34], ebx
je 0x47b7c4
push dword [esp + 0x34]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], 1
cmp dword [esp + 0x38], ebx
je 0x47b7d9
push dword [esp + 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x2c]
call fcn.004085f6
or dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004085f6
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret