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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095772
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.10092800
mov eax, dword [0x100af380]
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 eax, ecx
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1040], 0
push 0
mov dword [ebp - 4], 1
call fcn.10070590
push 0
push 0
push 0
push 1
mov dword [ebp - 4], 0
push str.AHelper
mov dword [ebp - 0x1040], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x103c], eax
test eax, eax
je 0x10063192
cmp dword [esi + 0x14], 0xf
jbe 0x10062fa9
mov esi, dword [esi]
push 0
push 0x80000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x1038], edi
test edi, edi
je 0x10063186
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x1018], 0xf
mov byte [ebp - 0x102c], 0
lea eax, [ebp - 0x1014]
mov dword [ebp - 4], 2
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100630bc
nop word [eax + eax]
mov esi, dword [ebp - 0x1014]
test esi, esi
je 0x100630bc
mov edx, dword [ebp - 0x1018]
mov eax, edx
mov ecx, dword [ebp - 0x101c]
sub eax, ecx
push esi
cmp esi, eax
ja 0x1006307a
lea eax, [ecx + esi]
cmp edx, 0xf
mov dword [ebp - 0x101c], eax
lea edi, [ebp - 0x102c]
cmova edi, dword [ebp - 0x102c]
lea eax, [ebp - 0x1010]
add edi, ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x1038]
jmp 0x1006309a
lea eax, [ebp - 0x1010]
mov byte [ebp - 0x1034], 0
push eax
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x102c]
push esi
call fcn.10044700
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10063020
push 0
push 1
sub esp, 0x28
lea ecx, [ebp - 0x1050]
mov eax, esp
lea edx, [ebp - 0x102c]
mov dword [eax + 0x24], 0
call fcn.100739d0
mov esi, dword [ebp - 0x1030]
add esp, 0x30
mov al, byte [ebp - 0x1050]
mov edi, dword [ebp - 0x1030]
mov cl, byte [esi]
mov byte [esi], al
mov edx, dword [esi + 8]
mov eax, dword [ebp - 0x1048]
mov esi, dword [esi + 0xc]
mov dword [edi + 8], eax
mov eax, edi
mov byte [ebp - 0x1034], cl
mov byte [ebp - 0x1050], cl
mov ecx, dword [ebp - 0x1044]
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x1048], edx
mov dword [ebp - 0x1044], esi
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 3
call fcn.100701e0
mov edi, dword [ebp - 0x1038]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x1018]
cmp ecx, 0xf
jbe 0x10063186
mov edx, dword [ebp - 0x102c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006317c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006317c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100908c9
add esp, 8
push dword [ebp - 0x103c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1030]
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.100907a6
mov esp, ebp
pop ebp
ret