Function at 0x4012f0
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ed45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x858
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x64], esi
push 0
push 0
push 0
push 1
push str.Mozilla_5.0
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 2
test edi, edi
je 0x4015a6
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4015a6
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push 0x7d0
lea eax, [ebp - 0x864]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
mov edi, dword [ebp - 0x14]
sub eax, esi
push edi
cmp edi, eax
ja 0x4013d1
lea eax, [edi + esi]
cmp ecx, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
add esi, eax
lea eax, [ebp - 0x864]
push eax
push esi
call fcn.00404b20
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4013e4
lea eax, [ebp - 0x864]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push edi
call fcn.00401e10
push 0x7d0
lea eax, [ebp - 0x864]
push 0
push eax
call fcn.004036c0
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x40140b
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
jmp 0x401383
push dword [ebp - 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x60], 0
push 2
push 0x413d28
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 2
call fcn.00401cd0
mov dword [ebp - 0x48], 0
push 2
push 0x413d2c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 4
call fcn.00401cd0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 6
push eax
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
lea esi, [ebp - 0x48]
push eax
call fcn.00401a90
mov edx, esi
lea ecx, [ebp - 0x7c]
call fcn.00401160
mov edx, dword [ebp - 0x34]
add esp, 0x1c
cmp edx, 0x10
jb 0x4014cd
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4014c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
push edx
push ecx
call fcn.004022c2
add esp, 8
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x401501
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4014f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
push edx
push ecx
call fcn.004022c2
add esp, 8
mov esi, dword [ebp - 0x64]
movups xmm0, xmmword [ebp - 0x7c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [esi + 0x10], xmm0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x40156f
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
push edx
push ecx
call fcn.004022c2
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x401716
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40170c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
jmp 0x40170c
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x48], 0
push 2
push 0x413d28
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 2
call fcn.00401cd0
mov dword [ebp - 0x60], 0
push 2
push 0x413d2c
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0xa
call fcn.00401cd0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xc
push eax
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
lea edi, [ebp - 0x60]
push eax
call fcn.00401a90
mov edx, edi
lea ecx, [ebp - 0x94]
call fcn.00401160
mov edx, dword [ebp - 0x4c]
add esp, 0x1c
cmp edx, 0x10
jb 0x401662
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401658
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
push edx
push ecx
call fcn.004022c2
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x401696
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40168c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
push edx
push ecx
call fcn.004022c2
add esp, 8
movups xmm0, xmmword [ebp - 0x94]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x84]
movq qword [esi + 0x10], xmm0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp edx, 0x10
jb 0x40156f
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
jmp 0x401565
push edx
push ecx
call fcn.004022c2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004056fe
int3