Function at 0x48cd80
Capabilities:
Check http status code
Connect to http server
Create http request
Create thread
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 0xffffffffffffffff
push 0x5dc140
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
push eax
call fcn.00499170
mov dword [esp + 0x58], 0
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, str.heur.db
call fcn.004176f0
add esp, 0xc
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x38]
call fcn.0040b950
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov ebx, str..tmp
call fcn.004176f0
add esp, 8
mov byte [esp + 0x54], 3
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
call fcn.004988e0
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x48ce14
mov dword [esp + 0x20], eax
push 0
push 0
push 0
push 0
push 0x692fd0
mov byte [esp + 0x2b], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0x54], 4
test ebp, ebp
je 0x48d063
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 ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x54], 5
test ebx, ebx
je 0x48d02d
push 0
push 0x8400f200
push 0
push 0
push 0
push str._dbh_heur.db
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x54], 6
test esi, esi
je 0x48d01d
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x48d01d
lea edx, [esp + 0x30]
push 0x13
push edx
mov dword [esp + 0x38], esi
call fcn.00489940
add esp, 8
cmp eax, 0xc8
jne 0x48d01d
lea eax, [esp + 0x30]
push 5
push eax
mov dword [esp + 0x38], esi
call fcn.00489940
mov edi, eax
add esp, 8
mov dword [esp + 0x3c], edi
test edi, edi
jle 0x48d01d
cmp edi, dword [esp + 0x20]
je 0x48d01d
mov ecx, dword [esp + 0x24]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov ebx, ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x54], 7
cmp ebp, 0xffffffff
je 0x48cfd2
mov edi, 0x10000
lea ebx, [esp + 0x28]
mov dword [esp + 0x18], 0
call fcn.00438410
mov byte [esp + 0x54], 8
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 0x48cfb1
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x48cfb1
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 0x48cfb1
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 0x48cf78
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [esp + 0x54], 7
lea ebx, [esp + 0x28]
call fcn.004b7990
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x20], edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x48d008
cmp ebp, 0xffffffff
je 0x48cfe6
push ebp
call edi
or ebx, 0xffffffff
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x48d008
mov byte [esp + 0x17], 1
mov byte [esp + 0x54], 6
cmp ebx, 0xffffffff
je 0x48d015
push ebx
call edi
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov byte [esp + 0x54], 5
test esi, esi
je 0x48d02d
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x54], 4
test ebx, ebx
je 0x48d03d
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [esp + 0x17], 0
je 0x48d063
push 0
push 0
push 0x6eb480
push 0x445110
push 0
push 0
call fcn.005957cb
add esp, 0x18
mov dword [0x6ebbc4], eax
mov byte [esp + 0x54], 3
test ebp, ebp
je 0x48d073
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x24]
call fcn.0040b950
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret