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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48b998]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp + 0x1c]
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp - 0x15], 1
cmp edi, esi
jne 0x410bdb
xor eax, eax
jmp 0x410c25
push edi
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x410c21
lea eax, [esi + esi]
call fcn.00453210
mov ebx, esp
mov dword [ebp - 0x10], esp
test ebx, ebx
je 0x410c1b
push esi
push ebx
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x410c23
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
xor eax, eax
xor esi, esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x411007
cmp eax, 0xffffffff
je 0x411007
mov eax, dword [ebp + 0x18]
sub eax, esi
je 0x410e1d
sub eax, 1
je 0x410d39
sub eax, 1
jne 0x410f12
mov edi, dword [ebp + 0x14]
cmp edi, esi
jne 0x410c70
mov dword [ebp - 0x1c], esi
jmp 0x410ca1
push edi
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410c87
mov dword [ebp - 0x1c], 0
jmp 0x410ca1
lea eax, [esi + esi]
call fcn.00453210
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x410cd3
push edi
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410cba
xor edi, edi
jmp 0x410cd3
lea eax, [esi + esi]
call fcn.00453210
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x410ce4
mov dword [ebp - 0x20], 0x1bb
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x410cf8
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor eax, eax
jmp 0x410dfe
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410d17
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor eax, eax
jmp 0x410dfe
lea eax, [esi + esi]
call fcn.00453210
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00410160
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
jmp 0x410dfe
mov edi, dword [ebp + 0x14]
cmp edi, esi
jne 0x410d45
mov dword [ebp - 0x1c], esi
jmp 0x410d76
push edi
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410d5c
mov dword [ebp - 0x1c], 0
jmp 0x410d76
lea eax, [esi + esi]
call fcn.00453210
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x410d81
xor edi, edi
jmp 0x410daf
push eax
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410d93
xor edi, edi
jmp 0x410daf
lea eax, [esi + esi]
call fcn.00453210
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.00410160
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x410dc0
mov dword [ebp - 0x20], 0x50
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x410dcb
xor eax, eax
jmp 0x410df8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410de1
xor eax, eax
jmp 0x410df8
lea eax, [esi + esi]
call fcn.00453210
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00410160
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push 0
push 0
push 3
mov esi, dword [ebp - 0x24]
push edx
mov edx, dword [esi + 4]
push edi
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 8], eax
jmp 0x410f15
mov edi, dword [ebp + 0x14]
cmp edi, esi
jne 0x410e29
mov dword [ebp - 0x1c], esi
jmp 0x410e5a
push edi
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410e40
mov dword [ebp - 0x1c], 0
jmp 0x410e5a
lea eax, [esi + esi]
call fcn.00453210
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x410e65
xor edi, edi
jmp 0x410e93
push eax
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410e77
xor edi, edi
jmp 0x410e93
lea eax, [esi + esi]
call fcn.00453210
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.00410160
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x410ea4
mov dword [ebp - 0x20], 0x15
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x410ec0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor eax, eax
push eax
push 0x8000000
push 1
jmp 0x410e04
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x410ee7
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor eax, eax
push eax
push 0x8000000
push 1
jmp 0x410e04
lea eax, [esi + esi]
call fcn.00453210
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00410160
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push 0
push 0x8000000
push 1
jmp 0x410e04
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 8]
test eax, eax
je 0x410ff2
cmp eax, 0xffffffff
je 0x410ff2
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x410f4d
push 0x486048
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], str.connect_failed...
call fcn.0044aada
push ebx
lea ecx, [esi + 0x10]
call fcn.00408ee0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x410f93
mov eax, dword [ebp + 0x18]
sub eax, 0
je 0x410f87
sub eax, 1
je 0x410f7b
sub eax, 1
jne 0x410f99
mov dword [esi + 0x9c], 0x1bb
jmp 0x410f99
mov dword [esi + 0x9c], 0x50
jmp 0x410f99
mov dword [esi + 0x9c], 0x15
jmp 0x410f99
mov dword [esi + 0x9c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0xa0], ecx
test eax, eax
je 0x410fb2
push eax
lea ecx, [esi + 0x2c]
call fcn.00408ee0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x410fc2
push eax
lea ecx, [esi + 0x48]
call fcn.00408ee0
mov edi, esi
call fcn.004121c0
call fcn.00412080
mov al, byte [ebp - 0x15]
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044b1f7
mov esp, ebp
pop ebp
ret 0x18
push 0x486048
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], str.connect_failed...
call fcn.0044aada
push 0x486048
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], str.open_internet_failed...
call fcn.0044aada
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 4]
push ecx
mov byte [ebp - 0x15], 0
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00410490
add esp, 8
mov eax, 0x411053
ret