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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65527f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1200
call fcn.0062f6d0
mov eax, dword [0x750990]
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.00407030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.00407030
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 0x439a88
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 0x439582
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x439580
xor ecx, ecx
mov eax, dword [ebp - 0x11b4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00504e99
add esp, 4
mov dword [ebp - 0x1210], eax
mov eax, dword [ebp - 0x1210]
mov dword [ebp - 0x1194], eax
cmp dword [ebp - 0x1194], 0
je 0x439580
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 0x43958e
lea edx, [ebp - 0x105c]
mov dword [ebp - 0x1194], edx
cmp dword [ebp - 0x11a4], 0
je 0x4395a3
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.005157fe
test eax, eax
je 0x4395d8
mov byte [ebp - 0x117a], 1
jmp 0x4395df
mov byte [ebp - 0x117a], 0
mov al, byte [ebp - 0x117a]
mov byte [ebp - 0x1179], al
movzx ecx, byte [ebp - 0x1179]
test ecx, ecx
je 0x439a64
cmp dword [ebp - 0x11d0], 0x1001
jne 0x43963e
mov dl, byte [ebp - 0x1179]
mov byte [ebp - 0x1181], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11a0]
call fcn.004071f0
mov al, byte [ebp - 0x1181]
jmp 0x439ae9
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 0x68a784
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x1180], eax
cmp dword [ebp - 0x1180], 0
je 0x439a64
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.0062db60
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 0x439797
push 0xc
call fcn.00504e67
add esp, 4
mov dword [ebp - 0x11b8], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x11b8], 0
je 0x439771
mov ecx, dword [ebp - 0x11b8]
call fcn.0048bae0
mov dword [ebp - 0x11c8], eax
jmp 0x43977b
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.00406ed0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1188]
call fcn.004081a0
cmp eax, 1
jle 0x439835
push 0
lea ecx, [ebp - 0x1188]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x118c]
call fcn.00407e30
mov dword [ebp - 0x11c4], eax
cmp dword [ebp - 0x11c4], 0
jle 0x439835
mov edx, dword [ebp - 0x11c4]
push edx
lea eax, [ebp - 0x11d4]
push eax
lea ecx, [ebp - 0x118c]
call fcn.004082d0
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.00407570
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11d4]
call fcn.004071f0
mov dword [ebp - 0x119c], 0xbb8
cmp dword [ebp - 0x119c], 0
je 0x439890
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.0046af70
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 0x4399eb
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 0x4399e9
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 0x439939
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 0x439943
mov dword [ebp - 0x11f0], 0
mov dword [ebp - 0x1198], 0
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x4399e9
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.00439400
mov byte [ebp - 0x1182], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118c]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11a0]
call fcn.004071f0
mov al, byte [ebp - 0x1182]
jmp 0x439ae9
jmp 0x4399f8
mov edx, dword [ebp - 0x11bc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x1198], 0
je 0x439a48
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 0x439a3e
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 0x439a48
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.004071f0
cmp dword [ebp - 0x11c0], 0
je 0x439a88
mov ecx, dword [ebp - 0x1194]
mov dword [ebp - 0x11f4], ecx
mov edx, dword [ebp - 0x11f4]
push edx
call fcn.00504e94
add esp, 4
jmp 0x439aa6
mov dword [ebp - 4], 1
jmp 0x439ab6
mov al, byte [ebp - 0x1179]
mov byte [ebp - 0x117b], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1188]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11a0]
call fcn.004071f0
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.0062dc28
mov esp, ebp
pop ebp
ret 0x14