Function at 0x48a4b0
Capabilities:
Check http status code
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aab10
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x244], 0
push 0
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4c787c
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edx, dword [ebp - 0x228]
cmp dword [edx], 0
je 0x48a58c
mov eax, dword [ebp - 0x228]
add eax, 0xcc
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 4
push ecx
push 0x4c7890
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push 3
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x22c], eax
jmp 0x48a5cf
mov edx, dword [ebp - 0x240]
and edx, 4
jne 0x48a5b4
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x22c], eax
jmp 0x48a5cf
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x48a5df
xor eax, eax
jmp 0x48aab1
push 0x4c78b4
lea ecx, [ebp - 0x23c]
call fcn.00405080
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x224]
call fcn.00405080
mov byte [ebp - 4], 1
push 0
push 0x4c78c0
lea ecx, [ebp - 0x224]
call fcn.00404fb0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jle 0x48a6dc
mov eax, dword [ebp - 0x230]
push eax
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00404ef0
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00404ff0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.00405060
lea ecx, [ebp - 0x224]
call fcn.004053a0
sub eax, dword [ebp - 0x230]
sub eax, 3
push eax
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00409640
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x260]
push eax
lea ecx, [ebp - 0x224]
call fcn.00404ff0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00405060
lea ecx, [ebp - 0x238]
call fcn.00405120
mov byte [ebp - 4], 4
push 0
push 0x4c78c8
lea ecx, [ebp - 0x224]
call fcn.00404fb0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jle 0x48a7bd
mov ecx, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0x270]
push edx
lea ecx, [ebp - 0x224]
call fcn.00404ef0
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.00404ff0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x270]
call fcn.00405060
lea ecx, [ebp - 0x224]
call fcn.004053a0
sub eax, dword [ebp - 0x230]
push eax
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x224]
call fcn.00409640
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00404ff0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.00405060
jmp 0x48a7df
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x238]
call fcn.00404ff0
push 0x4c78cc
lea ecx, [ebp - 0x224]
call fcn.00405250
cmp dword [ebp + 0xc], 0x50
jne 0x48a800
push 0x4c78d0
lea ecx, [ebp - 0x23c]
call fcn.00409c50
test eax, eax
jne 0x48a800
mov dword [ebp + 0xc], 0x1bb
push 0
push 0x200
push 3
push 0
push 0
movzx eax, word [ebp + 0xc]
push eax
lea ecx, [ebp - 0x238]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jne 0x48a88c
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x280], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00405060
mov eax, dword [ebp - 0x280]
jmp 0x48aab1
mov eax, dword [ebp - 0x228]
cmp dword [eax], 0
je 0x48a8f7
mov ecx, dword [ebp - 0x228]
add ecx, 0xe4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x228]
add edx, 0xe4
push edx
push 0x2b
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x228]
add ecx, 0x148
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x228]
add edx, 0x148
push edx
push 0x2c
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x240], 0x400200
push 0x4c78dc
lea ecx, [ebp - 0x23c]
call fcn.00409c50
test eax, eax
jne 0x48a933
mov ecx, dword [ebp - 0x240]
or ecx, 0x800000
or ecx, 0x1000
or ecx, 0x2000
mov dword [ebp - 0x240], ecx
push 0
mov edx, dword [ebp - 0x240]
push edx
push 0x4e3a00
push 0
push 0x4c78e8
lea ecx, [ebp - 0x224]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4c78fc
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x48a9d4
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x284], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00405060
mov eax, dword [ebp - 0x284]
jmp 0x48aab1
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x48aa48
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x288], 4
push 0
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x24c]
push edx
push 0x20000013
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x48aa48
cmp dword [ebp - 0x24c], 0xc8
je 0x48aa48
mov dword [ebp - 0x248], 0
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00405060
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 8