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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c804
mov eax, dword fs:[0]
push eax
mov eax, 0x2850
call fcn.1002c570
mov eax, dword [0x100662ac]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x285c], esi
mov dword [ebp - 0x2858], esi
mov dword [ebp - 0x2850], eax
mov dword [ebp - 0x283c], 0
test eax, eax
je 0x10005025
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004cf0
sub ecx, edx
je 0x10005025
xorps xmm0, xmm0
mov dword [ebp - 0x2824], 0
movups xmmword [ebp - 0x2834], xmm0
mov dword [ebp - 0x2820], 0
mov dword [ebp - 0x281c], 0
mov dword [ebp - 0x2818], 1
mov dword [ebp - 0x2814], 3
mov dword [ebp - 0x2824], 0
mov dword [ebp - 0x2820], 0xf
mov byte [ebp - 0x2834], al
mov dword [ebp - 4], 1
mov byte [ebp - 0x2834], al
xor eax, eax
mov dword [ebp - 0x2824], 0
mov dword [ebp - 0x2838], eax
push 0
push 0
push 0
push dword [ebp + eax*4 - 0x281c]
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x2848], edi
test edi, edi
je 0x10004df8
push 4
lea eax, [ebp - 0x284c]
mov dword [ebp - 0x284c], 0x2710
push eax
push 2
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0x80000000
push 0
push 0
push dword [ebp - 0x2850]
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
inc dword [ebp - 0x2838]
mov dword [ebp - 0x2840], eax
test eax, eax
jne 0x10004e4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x2838]
cmp eax, 3
jl 0x10004d74
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x283c], 1
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
mov byte [ebp - 4], 0
mov dword [ebp - 0x2824], 0
mov dword [ebp - 0x2820], 0xf
mov byte [ebp - 0x2834], 0
jmp 0x1000505b
push 0
lea ecx, [ebp - 0x2854]
mov dword [ebp - 0x2844], 0
push ecx
lea ecx, [ebp - 0x2844]
mov dword [ebp - 0x2854], 4
push ecx
push 0x13
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, 0x100512f8
lea eax, [ebp - 0x2844]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004ea3
test dl, dl
je 0x10004e9f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004ea3
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004e83
xor eax, eax
jmp 0x10004ea8
sbb eax, eax
or eax, 1
test eax, eax
je 0x10004f12
push dword [ebp - 0x2840]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x283c], 1
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
mov byte [ebp - 4], 0
mov dword [ebp - 0x2824], 0
mov dword [ebp - 0x2820], 0xf
mov byte [ebp - 0x2834], 0
jmp 0x1000505b
push 0x2800
lea eax, [ebp - 0x2810]
push 0
push eax
call fcn.1002dbf0
add esp, 0xc
mov dword [ebp - 0x2838], 0
lea eax, [ebp - 0x2838]
push eax
push 0x2800
lea eax, [ebp - 0x2810]
push eax
push dword [ebp - 0x2840]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x2838]
test eax, eax
je 0x10004fb7
mov esi, dword [ebp - 0x2840]
xor edi, edi
push eax
lea eax, [ebp - 0x2810]
push eax
push edi
lea ecx, [ebp - 0x2834]
call fcn.10010fc0
add edi, dword [ebp - 0x2838]
lea eax, [ebp - 0x2838]
push eax
push 0x2800
lea eax, [ebp - 0x2810]
mov dword [ebp - 0x2838], 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x2838]
test eax, eax
jne 0x10004f63
mov esi, dword [ebp - 0x2858]
mov edi, dword [ebp - 0x2848]
push dword [ebp - 0x2840]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x2834]
mov ecx, esi
push eax
call fcn.10008b40
mov dword [ebp - 0x283c], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2820]
cmp ecx, 0x10
jb 0x10004e2b
mov edx, dword [ebp - 0x2834]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005016
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005078
push ecx
push edx
call fcn.1002bffb
add esp, 8
jmp 0x10004e2b
xorps xmm0, xmm0
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
mov dword [ebp - 4], 0
mov dword [ebp - 0x283c], 1
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.1002c009
mov esp, ebp
pop ebp
ret
call fcn.10030ecf
int3