Function at 0x4abb3a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62b9b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x34], ecx
call fcn.004309eb
and dword [esp + 0xac], 0
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0043a133
mov byte [esp + 0xac], 2
lea eax, [esp + 0x34]
push eax
call fcn.0044a645
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
call fcn.00401e8e
mov byte [esp + 0xac], 3
push 0x190
lea ecx, [esp + 0x18]
call fcn.00406341
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 8]
lea esi, [esp + 0x3c]
mov dword [esp + 0x34], edi
call fcn.00439c27
mov eax, dword [eax + 0x6b4]
mov dword [esp + 0x10], eax
call fcn.00439c27
call fcn.0041d385
mov esi, dword [eax + 8]
jmp 0x4abc2d
mov eax, dword [ebx + 4]
sub eax, edi
add eax, dword [ebx + 8]
lea ecx, [esp + 0x34]
cdq
idiv esi
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x48], edx
jl 0x4abc03
lea ecx, [esp + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx]
add ecx, eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x34]
add eax, 0x790
push eax
mov dword [esp + 0x4c], ecx
call fcn.004ab20e
sub edi, dword [esp + 0x4c]
mov dword [esp + 0x34], edi
test edi, edi
jg 0x4abbe6
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x2c8]
add eax, 0x9ac
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x58]
cmp eax, 4
je 0x4abc56
mov byte [esp + 0xf], 0
cmp eax, 5
jne 0x4abc5b
mov byte [esp + 0xf], 1
push str.GET
lea ecx, [esp + 0x18]
call fcn.00404af4
cmp byte [esp + 0xf], 0
lea eax, [esi + 0x8f0]
jne 0x4abc7c
lea eax, [esi + 0x8d4]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00404c18
push str._info_hash
lea ecx, [esp + 0x18]
call fcn.00404af4
lea esi, [esp + 0x3c]
call fcn.00439c27
call fcn.0041d385
lea ecx, [eax + 0xb8]
lea eax, [esp + 0x60]
push eax
call fcn.0042003d
pop ecx
mov byte [esp + 0xac], 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00404c18
mov byte [esp + 0xac], 3
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.00401ac6
push str.piece
lea ecx, [esp + 0x18]
call fcn.00404af4
mov eax, dword [ebx]
cdq
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041fecb
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
movsb byte es:[edi], byte [esi]
call fcn.00404af4
xor edi, edi
cmp dword [ebx + 4], edi
jg 0x4abd48
mov eax, dword [ebx]
lea esi, [esp + 0x3c]
mov dword [esp + 0x34], eax
call fcn.00439c27
call fcn.0041d385
push dword [esp + 0x34]
add eax, 8
call fcn.0041ee45
cmp dword [ebx + 8], eax
je 0x4abdc7
push str.ranges
lea ecx, [esp + 0x18]
call fcn.00404af4
mov eax, dword [ebx + 4]
cdq
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041fecb
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
movsb byte es:[edi], byte [esi]
call fcn.00404af4
push 0x6905a4
lea ecx, [esp + 0x18]
call fcn.00404af4
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea eax, [eax + ecx - 1]
cdq
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041fecb
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
movsb byte es:[edi], byte [esi]
call fcn.00404af4
xor edi, edi
push str._HTTP_1.1_r_n
lea ecx, [esp + 0x18]
call fcn.00404af4
push str.Host:
lea ecx, [esp + 0x18]
call fcn.00404af4
mov esi, dword [esp + 0x30]
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x8b4]
push eax
lea ecx, [esp + 0x20]
call fcn.00404c18
cmp byte [esi + 0x90c], 0
je 0x4abe29
push str._r_nUser_Agent:
lea ecx, [esp + 0x18]
call fcn.00404af4
mov eax, dword [esi + 0x2c8]
push 0xffffffffffffffff
add eax, 0x7d4
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.00404c18
cmp dword [esi + 0x8ac], edi
je 0x4abe52
push str._r_nAuthorization:_Basic
lea ecx, [esp + 0x18]
call fcn.00404af4
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x898]
push eax
lea ecx, [esp + 0x20]
call fcn.00404c18
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x58], 5
jne 0x4abf0a
push str._r_nProxy_Authorization:_Basic
lea ecx, [esp + 0x18]
call fcn.00404af4
push 0x68858c
lea eax, [ebx + 0x20]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0040f010
add esp, 0xc
mov byte [esp + 0xac], 5
add ebx, 0x3c
push ebx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00409fa7
add esp, 0xc
mov byte [esp + 0xac], 6
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0042048a
pop ecx
pop ecx
mov byte [esp + 0xac], 7
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.00404c18
mov byte [esp + 0xac], 6
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.00401ac6
mov byte [esp + 0xac], 5
push edi
push 1
lea ecx, [esp + 0x4c]
call fcn.00401ac6
mov byte [esp + 0xac], 3
push edi
push 1
lea ecx, [esp + 0x8c]
call fcn.00401ac6
cmp byte [esp + 0xf], 0
je 0x4abf1f
push str._r_nProxy_Connection:_keep_alive
lea ecx, [esp + 0x18]
call fcn.00404af4
cmp byte [esi + 0x90c], 0
jne 0x4abf2f
cmp byte [esp + 0xf], 0
je 0x4abf3d
push str._r_nConnection:_keep_alive
lea ecx, [esp + 0x18]
call fcn.00404af4
push str._r_n_r_n
lea ecx, [esp + 0x18]
call fcn.00404af4
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
mov byte [esi + 0x90c], 0
jae 0x4abf61
lea eax, [esp + 0x18]
mov edx, dword [esi]
push 1
push dword [esp + 0x2c]
mov ecx, esi
push eax
call dword [edx + 0x18]
mov byte [esp + 0xac], 2
push edi
push 1
lea ecx, [esp + 0x1c]
call fcn.00401ac6
or dword [esp + 0xac], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.0047decf
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4