Function at 0x436d10
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632789
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1200
call fcn.00610bb0
mov eax, dword [0x721970]
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 byte [ebp - 0x1179], 1
mov dword [ebp - 0x11d0], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1190], eax
lea ecx, [ebp - 0x11a0]
call fcn.00406700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.00406700
mov byte [ebp - 4], 1
mov ecx, 0x50
mov word [ebp - 0x11ac], cx
mov byte [ebp - 4], 2
mov dword [ebp - 0x11e8], 0
push 0
lea edx, [ebp - 0x11e8]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov dword [ebp - 0x1208], eax
cmp dword [ebp - 0x1208], 0
jne 0x437398
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov dword [ebp - 0x11cc], 0x2000000
mov dword [ebp - 0x11b4], 0x824
mov dword [ebp - 0x11c0], 0
mov eax, dword [ebp - 0x11cc]
push eax
lea ecx, [ebp - 0x11b4]
push ecx
lea edx, [ebp - 0x105c]
push edx
mov eax, dword [ebp - 0x1190]
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
mov dword [ebp - 0x11a4], eax
cmp dword [ebp - 0x11a4], 0
jne 0x436e92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x436e90
xor ecx, ecx
mov eax, dword [ebp - 0x11b4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x1210], eax
mov eax, dword [ebp - 0x1210]
mov dword [ebp - 0x1194], eax
cmp dword [ebp - 0x1194], 0
je 0x436e90
mov dword [ebp - 0x11c0], 1
mov ecx, dword [ebp - 0x11cc]
push ecx
lea edx, [ebp - 0x11b4]
push edx
mov eax, dword [ebp - 0x1194]
push eax
mov ecx, dword [ebp - 0x1190]
push ecx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
mov dword [ebp - 0x11a4], eax
jmp 0x436e9e
lea edx, [ebp - 0x105c]
mov dword [ebp - 0x1194], edx
cmp dword [ebp - 0x11a4], 0
je 0x436eb3
mov eax, dword [ebp - 0x1194]
mov dword [ebp - 0x1190], eax
lea ecx, [ebp - 0x11ac]
push ecx
lea edx, [ebp - 0x1188]
push edx
lea eax, [ebp - 0x11a0]
push eax
lea ecx, [ebp - 0x11d0]
push ecx
mov edx, dword [ebp - 0x1190]
push edx
call fcn.004f7337
test eax, eax
je 0x436ee8
mov byte [ebp - 0x117a], 1
jmp 0x436eef
mov byte [ebp - 0x117a], 0
mov al, byte [ebp - 0x117a]
mov byte [ebp - 0x1179], al
movzx ecx, byte [ebp - 0x1179]
test ecx, ecx
je 0x437374
cmp dword [ebp - 0x11d0], 0x1001
jne 0x436f4e
mov dl, byte [ebp - 0x1179]
mov byte [ebp - 0x1181], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11a0]
call fcn.004068c0
mov al, byte [ebp - 0x1181]
jmp 0x4373f9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
push 0
push 0
push 0
push 0
push 0x664484
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x1180], eax
cmp dword [ebp - 0x1180], 0
je 0x437374
mov dword [ebp - 0x1198], 0
mov dword [ebp - 0x1178], 0x11c
mov dword [ebp - 0x1174], 0
mov dword [ebp - 0x1170], 0
mov dword [ebp - 0x116c], 0
mov dword [ebp - 0x1168], 0
xor eax, eax
mov word [ebp - 0x1164], ax
push 0xfe
push 0
lea ecx, [ebp - 0x1162]
push ecx
call fcn.0060f700
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1064], dx
xor eax, eax
mov word [ebp - 0x1062], ax
xor ecx, ecx
mov dword [ebp - 0x1060], ecx
mov dword [ebp - 0x1168], 2
mov dword [ebp - 0x1174], 6
push 4
push 2
push 1
push 8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x1200], eax
mov dword [ebp - 0x11fc], edx
mov edx, dword [ebp - 0x11fc]
push edx
mov eax, dword [ebp - 0x1200]
push eax
push 0xa
lea ecx, [ebp - 0x1178]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x4370a7
push 0xc
call fcn.004e69c7
add esp, 4
mov dword [ebp - 0x11b8], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x11b8], 0
je 0x437081
mov ecx, dword [ebp - 0x11b8]
call fcn.0048a7e0
mov dword [ebp - 0x11c8], eax
jmp 0x43708b
mov dword [ebp - 0x11c8], 0
mov edx, dword [ebp - 0x11c8]
mov dword [ebp - 0x1204], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1204]
mov dword [ebp - 0x1198], eax
mov ecx, dword [ebp - 0x1190]
push ecx
lea ecx, [ebp - 0x118c]
call fcn.004065a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1188]
call fcn.004078a0
cmp eax, 1
jle 0x437145
push 0
lea ecx, [ebp - 0x1188]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x118c]
call fcn.00407530
mov dword [ebp - 0x11c4], eax
cmp dword [ebp - 0x11c4], 0
jle 0x437145
mov edx, dword [ebp - 0x11c4]
push edx
lea eax, [ebp - 0x11d4]
push eax
lea ecx, [ebp - 0x118c]
call fcn.004079d0
mov dword [ebp - 0x11e0], eax
mov ecx, dword [ebp - 0x11e0]
mov dword [ebp - 0x11f8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x11f8]
push edx
lea ecx, [ebp - 0x118c]
call fcn.00406b80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11d4]
call fcn.004068c0
mov dword [ebp - 0x119c], 0xbb8
cmp dword [ebp - 0x119c], 0
je 0x4371a0
push 4
lea eax, [ebp - 0x119c]
push eax
push 6
mov ecx, dword [ebp - 0x1180]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [ebp - 0x119c]
push edx
push 5
mov eax, dword [ebp - 0x1180]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x119c]
push ecx
push 2
mov edx, dword [ebp - 0x1180]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x84240200
push 0
push 0
lea ecx, [ebp - 0x118c]
call fcn.004a7500
push eax
mov eax, dword [ebp - 0x1180]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x11bc], eax
cmp dword [ebp - 0x11bc], 0
jne 0x4372fb
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [edx], ecx
mov byte [ebp - 0x1179], 0
movzx edx, byte [ebp + 0x18]
test edx, edx
je 0x4372f9
mov eax, dword [ebp - 0x1198]
mov dword [ebp - 0x120c], eax
mov ecx, dword [ebp - 0x120c]
mov dword [ebp - 0x11b0], ecx
cmp dword [ebp - 0x11b0], 0
je 0x437249
push 1
mov edx, dword [ebp - 0x11b0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x11b0]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x11f0], eax
jmp 0x437253
mov dword [ebp - 0x11f0], 0
mov dword [ebp - 0x1198], 0
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x4372f9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1180]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x11dc], 0
mov dword [ebp - 0x11d8], 0
push 0
lea ecx, [ebp - 0x11d8]
push ecx
lea edx, [ebp - 0x11dc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00436d10
mov byte [ebp - 0x1182], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118c]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11a0]
call fcn.004068c0
mov al, byte [ebp - 0x1182]
jmp 0x4373f9
jmp 0x437308
mov edx, dword [ebp - 0x11bc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x1198], 0
je 0x437358
mov eax, dword [ebp - 0x1198]
mov dword [ebp - 0x11e4], eax
mov ecx, dword [ebp - 0x11e4]
mov dword [ebp - 0x11a8], ecx
cmp dword [ebp - 0x11a8], 0
je 0x43734e
push 1
mov edx, dword [ebp - 0x11a8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x11a8]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x11ec], eax
jmp 0x437358
mov dword [ebp - 0x11ec], 0
mov eax, dword [ebp - 0x1180]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118c]
call fcn.004068c0
cmp dword [ebp - 0x11c0], 0
je 0x437398
mov ecx, dword [ebp - 0x1194]
mov dword [ebp - 0x11f4], ecx
mov edx, dword [ebp - 0x11f4]
push edx
call fcn.004e69f4
add esp, 4
jmp 0x4373b6
mov dword [ebp - 4], 1
jmp 0x4373c6
mov al, byte [ebp - 0x1179]
mov byte [ebp - 0x117b], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11a0]
call fcn.004068c0
mov al, byte [ebp - 0x117b]
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.0060f7c8
mov esp, ebp
pop ebp
ret 0x14