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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042206
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 0x1003be9a
cmp dword [esi + 0x14], 0xf
jbe 0x1003bce8
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 0x1003bd15
push dword [ebp - 0x2c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Failed_to_open_URL.
jmp 0x1003be9f
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.10040d49
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1003be94
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 0x1003be37
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1003be37
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 0x1003be0d
mov dword [ebp - 0x28], edi
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x1003bdf0
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 0x1003be1c
push esi
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x38]
push esi
call fcn.1003f940
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 0x1003bdc3
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 0x1003be77
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1003be6d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003be94
push edx
push ecx
call fcn.1004098b
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.1004085b
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.1003a820
push 0x1004aae8
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3