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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042626
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1004d040]
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, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
push 0
push 0
push 0
mov dword [ebp - 4], 0
push 1
mov dword [ebp - 0x38], edi
push str.User_Agent
mov dword [ebp - 0x34], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003bf0a
cmp dword [esi + 0x14], 0xf
jbe 0x1003bd58
mov esi, dword [esi]
push 0
push 0x80000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x1003bd85
push dword [ebp - 0x2c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Failed_to_open_URL.
jmp 0x1003bf0f
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
push 0x1023
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10041169
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1003bf04
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
push 0x1000
push 0
push eax
mov dword [eax - 4], ecx
lea esi, [eax + 0x1000]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push ecx
sub esi, eax
mov dword [ebp - 0x34], 1
push esi
push eax
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1003bea7
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1003bea7
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x30], ecx
cmp esi, eax
ja 0x1003be7d
mov dword [ebp - 0x28], edi
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x1003be60
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
push esi
push dword [ebp - 0x1c]
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov ecx, dword [ebp - 0x30]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x1003be8c
push esi
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x38]
push esi
call fcn.1003fb50
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push edx
push ecx
push eax
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1003be33
push dword [ebp - 0x24]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1003bee7
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1003bedd
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003bf04
push edx
push ecx
call fcn.10040dab
add esp, 8
mov eax, edi
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.10040c7b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.Failed_to_initialize_WinINet.
lea ecx, [ebp - 0x44]
call fcn.1003a740
push 0x1004b170
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3