Function at 0x4022a0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e8d7
mov eax, dword fs:[0]
push eax
sub esp, 0x7f0
mov eax, dword [0x415040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x7f4], esi
mov dword [ebp - 0x7ec], esi
mov dword [ebp - 0x7fc], esi
xorps xmm0, xmm0
mov dword [ebp - 0x7f0], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0
push 0
push 0
push 1
mov dword [ebp - 4], 0
push str.HTTPGET
mov dword [ebp - 0x7f0], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x7ec], eax
test eax, eax
je 0x40245e
push 0
push 0x80000000
push 0
push 0
push str.http:__uikpubb8.mywhc.ca_system_auth_ips.txt
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x7e8], eax
test eax, eax
je 0x402437
lea ecx, [ebp - 0x7e4]
push ecx
push 0x7d0
lea ecx, [ebp - 0x7e0]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402425
nop
mov edi, dword [ebp - 0x7e4]
test edi, edi
je 0x40241f
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp edi, eax
ja 0x4023db
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x4023bb
mov eax, dword [esi]
lea esi, [eax + ecx]
push edi
lea eax, [ebp - 0x7e0]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x7f4]
jmp 0x4023f8
push edi
lea eax, [ebp - 0x7e0]
mov byte [ebp - 0x7f8], 0
push eax
push dword [ebp - 0x7f8]
mov ecx, esi
push edi
call fcn.00406310
lea eax, [ebp - 0x7e4]
push eax
push 0x7d0
lea eax, [ebp - 0x7e0]
push eax
push dword [ebp - 0x7e8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402390
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x7e8]
call edi
push dword [ebp - 0x7ec]
call edi
jmp 0x40247b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Erro_ao_conectar_se_ao_URL.
push 0x405900
call fcn.004056e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp - 0x7ec]
call edi
jmp 0x40247b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Erro_ao_abrir_a_conex
push 0x405900
call fcn.004056e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d71a
mov esp, ebp
pop ebp
ret