Function at 0x4a436a
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x2d8
mov eax, 0x5d3f72
call fcn.00506e69
mov edi, ecx
mov dword [ebp - 0x298], edi
xor ebx, ebx
mov dword [ebp - 0x2bc], edi
mov eax, ebx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2b8], eax
call fcn.0041279d
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00411d94
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [edi + 0x9c]
call fcn.0042ebcb
push eax
lea eax, [ebp - 0x2b0]
push str._s_r_d
push eax
call fcn.00412690
add esp, 0x10
mov dword [ebp - 0x2ac], ebx
mov esi, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2b4], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x2c4], eax
test eax, eax
je 0x4a4663
push 4
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0xbb8
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push ebx
push 0x102
push ebx
push ebx
push dword [ebp - 0x2b0]
push dword [ebp - 0x2c4]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ecx, eax
mov dword [ebp - 0x2c0], ecx
test ecx, ecx
je 0x4a4657
xor eax, eax
mov dword [ebp - 0x2cc], 0x10
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x2a0], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4000000b
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4a4583
mov esi, dword [ebp - 0x298]
lea ebx, [esi + 0x70]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 0x6c], 1
lea edi, [ebp - 0x2dc]
add esi, 8
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x298]
mov byte [esi + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
lea eax, [ebp - 0x2dc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2e4]
call fcn.004517cc
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.004517cc
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2e4]
push dword [ebp - 0x2d4]
call fcn.00459a83
xor ecx, ecx
xor edi, edi
inc ecx
test al, al
mov edx, ecx
mov dword [ebp - 4], ecx
cmovne edx, edi
mov dword [ebp - 0x2a0], edx
jmp 0x4a4545
lea ebx, [esi + 0x70]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 0x6c], 1
lea edi, [esi + 8]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x298]
mov byte [edi + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0x2a4], eax
mov esi, ebx
mov eax, dword [ebp - 0x2a0]
jmp 0x4a458c
mov edi, dword [ebp - 0x298]
xor eax, eax
inc eax
test eax, eax
je 0x4a4641
push 0x100000
call fcn.00506f2d
pop ecx
push 0x100000
push ebx
push eax
mov dword [ebp - 0x298], eax
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x2b4]
push eax
push 0x100000
push dword [ebp - 0x298]
push dword [ebp - 0x2c0]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x2b4]
test eax, eax
je 0x4a4614
mov dword [ebp - 0x2ac], eax
inc eax
push eax
mov dword [ebp - 0x2a0], eax
call fcn.00506f2d
pop ecx
push dword [ebp - 0x2a0]
mov esi, eax
push ebx
push esi
call fcn.0056b050
push dword [ebp - 0x2ac]
push dword [ebp - 0x298]
push esi
call fcn.0056a550
add esp, 0x18
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x4a464b
push eax
call fcn.00506f36
pop ecx
jmp 0x4a464b
mov dword [ebp - 0x29c], 1
push dword [ebp - 0x2c0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x2c4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], ebx
mov dword [ebp - method.CMyUpgrade.virtual_0], vtable.CTiXmlConfig.0
call fcn.00496839
mov byte [ebp - 4], 5
test esi, esi
je 0x4a46b3
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
push dword [ebp - 0x2ac]
push esi
call fcn.004c37e1
push esi
mov dword [ebp - 0x29c], eax
call fcn.00506f36
cmp dword [ebp - 0x29c], 0
pop ecx
je 0x4a46e4
xor eax, eax
inc eax
jmp 0x4a46ea
lea eax, [edi + 0x2c]
push eax
lea ecx, [ebp - 0x294]
call fcn.004d9b17
push dword [edi + 0x94]
lea ecx, [ebp - 0x294]
call fcn.004da342
push dword [edi + 0x98]
lea ecx, [ebp - 0x294]
call fcn.004a1dbf
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x4a471e
lea esi, [edi + 0x70]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x18]
mov byte [edi + 0x6c], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
mov byte [edi + 0x6c], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
call fcn.004ce76d
lea ecx, [ebp - 0x294]
call fcn.00456baa
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov eax, dword [ebp - 0x29c]
call fcn.00506db6
ret