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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446270
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4538d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0x20]
push 0x10000000
push 0
push 0
push 0
push eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
call dword [0x447398]
mov dword [esi + 4], eax
test eax, eax
je 0x4159cf
cmp eax, 0xffffffff
je 0x4159cf
mov ecx, dword [ebp + 0x10]
push ecx
push eax
call dword [0x4473bc]
mov eax, dword [ebp + 0x1c]
sub eax, 0
je 0x4158bf
sub eax, 1
je 0x415892
sub eax, 1
jne 0x4158ef
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x415871
mov eax, 0x1bb
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push esi
push 0
push 3
push ebx
push edi
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [0x4473c0]
mov dword [esi + 8], eax
jmp 0x4158f5
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41589e
mov eax, 0x50
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 4]
push esi
push 0
push 3
push ebx
push edi
push eax
push ecx
push edx
call dword [0x4473c0]
mov dword [esi + 8], eax
jmp 0x4158f5
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4158cb
mov eax, 0x15
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 4]
push esi
push 0x8000000
push 1
push ebx
push edi
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [0x4473c0]
mov dword [esi + 8], eax
jmp 0x4158f5
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 8]
test eax, eax
je 0x4159ba
cmp eax, 0xffffffff
je 0x4159ba
push 0
call dword [0x4473a0]
test eax, eax
je 0x41592a
push 0x44e74c
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], str.connect_failed...
call fcn.0041e4f3
mov eax, dword [ebp + 8]
push eax
lea ecx, [esi + 0x10]
call fcn.00413e00
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x415973
mov eax, dword [ebp + 0x1c]
sub eax, 0
je 0x415967
sub eax, 1
je 0x41595b
sub eax, 1
jne 0x415979
mov dword [esi + 0x80], 0x1bb
jmp 0x415979
mov dword [esi + 0x80], 0x50
jmp 0x415979
mov dword [esi + 0x80], 0x15
jmp 0x415979
mov dword [esi + 0x80], eax
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x84], ecx
test edi, edi
je 0x41598f
push edi
lea ecx, [esi + 0x2c]
call fcn.00413e00
test ebx, ebx
je 0x41599c
push ebx
lea ecx, [esi + 0x48]
call fcn.00413e00
mov ecx, esi
call fcn.00413cc0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 0x44e74c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], str.connect_failed...
call fcn.0041e4f3
push 0x44e74c
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], str.open_internet_failed...
call fcn.0041e4f3
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov edi, dword [0x4473b4]
push ecx
mov byte [ebp - 0x11], 0
call edi
mov edx, dword [esi + 8]
push edx
call edi
mov eax, 0x415a03
ret