Function at 0x100c4b60
Capabilities:
Connect to http server
Create http request
Extract resource via kernel32 functions
Get http content length
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101004d2
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x4e8], esi
mov dword [ebp - 0x500], esi
mov dword [ebp - 0x4ec], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x10
mov dword [ebp - 4], 0
mov edi, dword [0x1014be3c]
push 1
push edi
mov dword [ebp - 0x4ec], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x100c4be6
xor edi, edi
jmp 0x100c4c18
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x100c4bff
xor edi, edi
jmp 0x100c4c18
movzx eax, word [ecx + 0x38]
movzx edi, al
movzx eax, word [ecx + 0x3a]
shl eax, 8
or edi, eax
movzx eax, word [ecx + 0x3e]
shl edi, 0x10
or edi, eax
mov dx, word [0x10159320]
test dx, dx
jne 0x100c4c43
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
shr eax, 8
movzx edx, al
movzx eax, cl
shl ax, 8
or dx, ax
mov word [0x10159320], dx
movzx eax, dx
push eax
movzx eax, di
push eax
mov eax, edi
shr edi, 0x18
shr eax, 0x10
movzx eax, al
push eax
push edi
push str.Open_Shell_Update
push str._s__d._d._d__Win__x_
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.100a4830
add esp, 0x20
xor eax, eax
mov dword [ebp - 0x4e0], eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x4e8], edi
test edi, edi
je 0x100c4ed3
push 0x38
lea eax, [ebp - 0x538]
mov dword [ebp - 0x53c], 0x3c
push 0
push eax
call fcn.100d6eb0
add esp, 0xc
mov dword [ebp - 0x528], 0x100
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x50c], 0x100
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0x510], eax
lea eax, [ebp - 0x53c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
push 3
push 0x1010ca30
push 0x1010ca30
push dword [ebp - 0x524]
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, eax
mov dword [ebp - 0x4f4], ecx
test ecx, ecx
je 0x100c4ec2
cmp dword [ebp - 0x530], 4
mov edx, 0x80800000
push 0
mov eax, SysReAllocString
mov dword [ebp - 0x4fc], 0x1012282c
cmove eax, edx
mov dword [ebp - 0x4f8], 0
push eax
lea eax, [ebp - 0x4fc]
push eax
push 0
push 0
lea eax, [ebp - 0x4d8]
push eax
push 0x10122834
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
je 0x100c4eb3
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x100c4e96
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4f0], 4
push eax
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x4dc], 0
push eax
lea eax, [ebp - 0x4e4]
push eax
push 0x20000005
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x100c4de2
mov dword [ebp - 0x4e4], eax
jmp 0x100c4de8
mov eax, dword [ebp - 0x4e4]
lea ecx, [eax + 0x8000]
xor edi, edi
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp ecx, eax
jbe 0x100c4e0d
cmp ecx, 0x7fffffff
ja 0x100c4ef6
push ecx
mov ecx, esi
call fcn.100c7c90
push esi
push 0x8000
mov ecx, esi
call fcn.100b1230
lea eax, [ebp - 0x4dc]
push eax
push 0x8000
push dword [esi]
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100c4e6a
mov eax, dword [ebp - 0x4dc]
test eax, eax
je 0x100c4e74
add edi, eax
mov ecx, esi
push esi
lea eax, [edi + 0x8000]
push eax
call fcn.100b1230
mov eax, dword [esi]
lea ecx, [ebp - 0x4dc]
push ecx
push 0x8000
add eax, edi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x100c4e33
mov dword [ebp - 0x4e0], 4
push esi
push edi
mov ecx, esi
call fcn.100b1230
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push dword [ebp - 0x4f4]
mov ebx, dword [ebp - 0x4e0]
call edi
jmp 0x100c4ec7
push ebx
mov dword [ebp - 0x4e0], 3
call edi
push dword [ebp - 0x4f4]
mov ebx, dword [ebp - 0x4e0]
call edi
jmp 0x100c4ec7
push dword [ebp - 0x4f4]
mov ebx, 3
call edi
jmp 0x100c4ec7
mov ebx, 3
push dword [ebp - 0x4e8]
call edi
test ebx, ebx
je 0x100c4ed8
mov ecx, dword [esi]
mov dword [esi + 4], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret
call fcn.10012960
int3