Function at 0x423ab4
Capabilities:
Check http status code
Connect to http server
Create http request
Get file size
Get http content length
Parse url
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0xc14]
sub esp, 0xc94
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0xc10], eax
mov ecx, dword [ebp + 0xc20]
mov eax, dword [ebp + 0xc1c]
cmp byte [eax + 7], 0xff
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0xc24]
mov dword [ebp + 0xc], ecx
jne 0x423aef
mov eax, dword [eax]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x81
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x423b19
xor eax, eax
inc eax
jmp 0x423d3e
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
pop edi
push edi
lea eax, [ebp - 4]
push eax
push 2
push ebx
mov dword [ebp - 4], 0x7530
call esi
push edi
lea eax, [ebp - 4]
push eax
push 6
push ebx
call esi
push edi
lea eax, [ebp - 4]
push eax
push 5
push ebx
call esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0044f280
lea eax, [ebp + 0x410]
mov dword [ebp - 0x70], eax
mov eax, 0x400
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax + 7], 0xff
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x54], ecx
jne 0x423ba6
mov eax, dword [eax]
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push ebx
push ebx
push ebx
push ebx
push str.StubInstaller
mov dword [ebp], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x423d3a
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea ecx, [ebp + 0x410]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x423d31
push ebx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push ebx
lea ecx, [ebp + 0x10]
push ecx
push str.HEAD
push eax
mov dword [ebp - 0x1c], 0x475e74
mov dword [ebp - 0x18], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp + 4], eax
cmp eax, ebx
je 0x423d28
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x423d1f
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp + 0xc]
push eax
push esi
push 0x20000013
push dword [ebp + 4]
mov dword [esi], ebx
mov dword [ebp + 0xc], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov esi, dword [esi]
cmp esi, 0xc8
jb 0x423c63
cmp esi, 0x190
jb 0x423d1f
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x20000005
push dword [ebp + 4]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x423c9c
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], edi
je 0x423c90
cmp eax, ebx
jbe 0x423c9c
cmp dword [ebp - 8], eax
je 0x423c9c
mov dword [ebp], 1
mov esi, str.Last_Modified
lea edi, [ebp + 0x810]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x3f2
lea eax, [ebp + 0x81e]
push ebx
push eax
mov dword [ebp + 0xc], 0x400
movsw word es:[edi], word [esi]
call fcn.0044f280
add esp, 0xc
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x810]
push eax
push 0xffff
push dword [ebp + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x423d1f
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x810]
push eax
call dword [sym.imp.WININET.dll_InternetTimeToSystemTime]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x423d1f
mov dword [ebp], 1
push dword [ebp + 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp]
pop edi
mov ecx, dword [ebp + 0xc10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0xc14
leave
ret 0xc