Function at 0x41f130
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f129
mov eax, dword fs:[0]
push eax
mov eax, 0x11cc
call fcn.0045be30
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 0
push str.RequestEUPPServices
lea ecx, [ebp - 0x119c]
call fcn.00407b80
mov dword [ebp - 4], 0
mov byte [ebp - 0x115a], 0
lea ecx, [ebp - 0x1178]
call fcn.0041f8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1174]
call fcn.0041f8d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1174]
push eax
lea ecx, [ebp - 0x1178]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004206e0
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00420670
push eax
call fcn.0041eaf0
add esp, 0x10
lea ecx, [ebp - 0x1170]
call fcn.0041f8d0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x1174]
call fcn.00420670
push eax
push 0
lea ecx, [ebp - 0x1178]
call fcn.00420670
push eax
push str.https:__ieonline.microsoft.com_EUPP_v1_service_actionsignvalueappidMicrosoft_IE_EUPPclientkey_smac_s
lea edx, [ebp - 0x1170]
push edx
call fcn.00420550
add esp, 0x10
push 0x824
push 0
lea eax, [ebp - 0x934]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x118c], 0x824
push 0
lea ecx, [ebp - 0x118c]
push ecx
lea edx, [ebp - 0x934]
push edx
lea ecx, [ebp - 0x1170]
call fcn.0041fa10
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
push 0x3c
push 0
lea eax, [ebp - 0x11d8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x110]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x824
push 0
lea edx, [ebp - 0x1158]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x11d8], 0x3c
mov dword [ebp - 0x11c4], 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0x11c8], eax
mov dword [ebp - 0x11a8], 0x824
lea ecx, [ebp - 0x1158]
mov dword [ebp - 0x11ac], ecx
lea edx, [ebp - 0x11d8]
push edx
push 0
push 0x824
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push 0
push 0
push 0
push 0
push str.IE_EUPP
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x116c], eax
cmp dword [ebp - 0x116c], 0
je 0x41f528
push 0
push 0x200
push 3
push 0
push 0
movzx ecx, word [ebp - 0x11c0]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x116c]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x1168], eax
cmp dword [ebp - 0x1168], 0
je 0x41f51b
mov dword [ebp - 0x117c], 0x680100
cmp dword [ebp - 0x11cc], 4
jne 0x41f35f
mov dword [ebp - 0x117c], 0xe80100
push 0
mov ecx, dword [ebp - 0x117c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x1158]
push edx
push str.POST
mov eax, dword [ebp - 0x1168]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x1164], eax
cmp dword [ebp - 0x1164], 0
je 0x41f50e
mov dword [ebp - 0x1180], str.Content_Type:_text_xml__charsetutf_8_r_n
mov ecx, dword [ebp + 8]
call fcn.004206e0
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00420670
push eax
mov ecx, dword [ebp - 0x1180]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp - 0x1180]
push edx
mov eax, dword [ebp - 0x1164]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x41f501
mov dword [ebp - 0x1184], 0
mov dword [ebp - 0x1190], 4
push 0
lea ecx, [ebp - 0x1190]
push ecx
lea edx, [ebp - 0x1184]
push edx
push 0x20000013
mov eax, dword [ebp - 0x1164]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x1184], 0xc8
jne 0x41f501
mov ecx, 1
test ecx, ecx
je 0x41f501
push 0x1001
call fcn.0045be0d
add esp, 4
mov dword [ebp - 0x1194], eax
mov edx, dword [ebp - 0x1194]
mov dword [ebp - 0x1160], edx
cmp dword [ebp - 0x1160], 0
je 0x41f4fc
mov byte [ebp - 0x1159], 0
mov dword [ebp - 0x1188], 0
push 0x1001
push 0
mov eax, dword [ebp - 0x1160]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1188]
push ecx
push 0x1000
mov edx, dword [ebp - 0x1160]
push edx
mov eax, dword [ebp - 0x1164]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41f4d4
cmp dword [ebp - 0x1188], 0
jbe 0x41f4d4
mov byte [ebp - 0x115a], 1
mov ecx, dword [ebp - 0x1160]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041fa50
mov byte [ebp - 0x1159], 1
mov edx, dword [ebp - 0x1160]
mov dword [ebp - 0x1198], edx
mov eax, dword [ebp - 0x1198]
push eax
call fcn.0045be16
add esp, 4
movzx ecx, byte [ebp - 0x1159]
test ecx, ecx
je 0x41f4fc
jmp 0x41f501
jmp 0x41f42a
mov edx, dword [ebp - 0x1164]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1168]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x116c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dl, byte [ebp - 0x115a]
mov byte [ebp - 0x115b], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1170]
call fcn.0041f990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1174]
call fcn.0041f990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1178]
call fcn.0041f990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x119c]
call fcn.00407aa0
mov al, byte [ebp - 0x115b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret