Function at 0x4535c0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x480630]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, ebp
push esi
mov esi, ecx
mov dword [esp + 0x128], eax
mov eax, dword [esi + 4]
test eax, eax
push edi
mov dword [esp + 0x10], 0x7530
jne 0x4536cb
mov eax, dword [esi + 0x34]
test eax, eax
mov eax, dword [esi + 0x10]
push 0
je 0x453612
push str._local_
push str.proxy
push 3
jmp 0x45361a
mov ecx, dword [esi + 0x58]
push 0
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 4], eax
jne 0x453648
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x54], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call fcn.004570de
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [esp + 0x14], edx
xor eax, eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x20], dl
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x34]
test eax, eax
mov dword [esp + 0x1c], edx
je 0x4536b4
movzx eax, word [esi + 0x30]
mov ecx, dword [esi + 0x2c]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s:_d
push edx
mov dword [esp + 0x24], 3
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 4]
add esp, 0x10
push 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x26
lea eax, [esp + 0x2c]
push edx
mov dword [esp + 0x28], eax
call ebx
test eax, eax
je 0x45377f
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 0x14]
push eax
push 2
push ecx
call ebx
test eax, eax
je 0x45377f
mov eax, dword [esi + 8]
test eax, eax
jne 0x4537a6
mov eax, dword [esi + 0x1c]
test eax, eax
push 0
push 0
push 3
jne 0x4536f8
mov eax, dword [esi + 0x14]
xor edx, edx
mov dx, word [esi + 0x18]
push 0
push 0
push edx
push eax
mov eax, dword [esi + 4]
push eax
jmp 0x45370f
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x14]
push eax
push ecx
xor ecx, ecx
mov cx, word [esi + 0x18]
push ecx
push edx
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 8], eax
je 0x45377f
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x45377f
mov ecx, dword [esi + 8]
push 4
lea eax, [esp + 0x14]
push eax
push 5
push ecx
call ebx
test eax, eax
je 0x45377f
mov eax, dword [esi + 8]
push 4
lea edx, [esp + 0x14]
push edx
push 6
push eax
call ebx
test eax, eax
je 0x45377f
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4537a6
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax - 8]
inc ecx
push ecx
mov ecx, dword [esi + 8]
push eax
push 0x2b
push ecx
call ebx
test eax, eax
je 0x45377f
mov eax, dword [esi + 0x40]
mov ecx, dword [eax - 8]
mov edx, dword [esi + 8]
inc ecx
push ecx
push eax
push 0x2c
push edx
call ebx
test eax, eax
jne 0x4537a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.00453210
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call fcn.004570de
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret