Function at 0x4bd11d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5da8c1
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.0043c080
and dword [esp + 0xac], 0
lea ecx, [esp + 0x3c]
push ecx
mov ebx, eax
call fcn.0042b792
mov byte [esp + 0xac], 2
lea eax, [esp + 0x34]
push eax
call fcn.0044decf
xor ebx, ebx
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
call fcn.004035c1
mov byte [esp + 0xac], 3
mov eax, 0x190
lea esi, [esp + 0x14]
call fcn.0040959a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
lea esi, [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.004453fc
mov eax, dword [eax + 0x6b4]
mov dword [esp + 0x34], eax
call fcn.004453fc
call fcn.0042b129
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
mov esi, dword [eax + 8]
jle 0x4bd227
mov ebx, dword [esp + 0x30]
add ebx, 0x790
jmp 0x4bd1e1
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
sub eax, ecx
add eax, dword [edi + 8]
cdq
idiv esi
cmp ecx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], edx
jl 0x4bd1fe
lea ecx, [esp + 0x34]
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi]
add ecx, eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], ecx
call fcn.004bc905
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jg 0x4bd1dd
xor ebx, ebx
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 0x4bd24b
mov byte [esp + 0xf], bl
cmp eax, 5
jne 0x4bd250
mov byte [esp + 0xf], 1
push str.GET
lea ecx, [esp + 0x18]
call fcn.00407618
lea eax, [esi + 0x8f0]
cmp byte [esp + 0xf], bl
jne 0x4bd270
lea eax, [esi + 0x8d4]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040774f
push str._info_hash
lea ecx, [esp + 0x18]
call fcn.00407618
lea esi, [esp + 0x3c]
call fcn.004453fc
call fcn.0042b129
lea ecx, [eax + 0xb8]
lea eax, [esp + 0x60]
push eax
call fcn.0043a1b6
pop ecx
mov byte [esp + 0xac], 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040774f
mov byte [esp + 0xac], 3
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.004034fc
push str.piece
lea ecx, [esp + 0x18]
call fcn.00407618
mov eax, dword [edi]
cdq
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0043a044
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.00407618
mov edi, dword [ebp + 8]
cmp dword [edi + 4], ebx
jg 0x4bd33e
mov eax, dword [edi]
lea esi, [esp + 0x3c]
mov dword [esp + 0x34], eax
call fcn.004453fc
call fcn.0042b129
push dword [esp + 0x34]
add eax, 8
call fcn.00428742
cmp dword [edi + 8], eax
je 0x4bd3be
push str.ranges
lea ecx, [esp + 0x18]
call fcn.00407618
mov eax, dword [edi + 4]
cdq
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0043a044
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.00407618
push 0x63549c
lea ecx, [esp + 0x18]
call fcn.00407618
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
lea eax, [ecx + eax - 1]
cdq
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0043a044
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.00407618
push str._HTTP_1.1_r_n
lea ecx, [esp + 0x18]
call fcn.00407618
push str.Host:
lea ecx, [esp + 0x18]
call fcn.00407618
mov esi, dword [esp + 0x30]
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x8b4]
push eax
lea ecx, [esp + 0x20]
call fcn.0040774f
cmp byte [esi + 0x90c], bl
je 0x4bd41f
push str._r_nUser_Agent:
lea ecx, [esp + 0x18]
call fcn.00407618
mov eax, dword [esi + 0x2c8]
push 0xffffffffffffffff
add eax, 0x7d4
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040774f
cmp dword [esi + 0x8ac], ebx
je 0x4bd448
push str._r_nAuthorization:_Basic
lea ecx, [esp + 0x18]
call fcn.00407618
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x898]
push eax
lea ecx, [esp + 0x20]
call fcn.0040774f
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x58], 5
jne 0x4bd500
push str._r_nProxy_Authorization:_Basic
lea ecx, [esp + 0x18]
call fcn.00407618
push 0x62d4c4
lea eax, [edi + 0x20]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00418c11
add esp, 0xc
mov byte [esp + 0xac], 5
add edi, 0x3c
push edi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004539dd
add esp, 0xc
mov byte [esp + 0xac], 6
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0043a603
pop ecx
pop ecx
mov byte [esp + 0xac], 7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040774f
mov byte [esp + 0xac], 6
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.004034fc
mov byte [esp + 0xac], 5
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004034fc
mov byte [esp + 0xac], 3
push ebx
push 1
lea ecx, [esp + 0x8c]
call fcn.004034fc
cmp byte [esp + 0xf], bl
je 0x4bd514
push str._r_nProxy_Connection:_keep_alive
lea ecx, [esp + 0x18]
call fcn.00407618
cmp byte [esi + 0x90c], bl
jne 0x4bd522
cmp byte [esp + 0xf], bl
je 0x4bd530
push str._r_nConnection:_keep_alive
lea ecx, [esp + 0x18]
call fcn.00407618
push str._r_n_r_n
lea ecx, [esp + 0x18]
call fcn.00407618
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
mov byte [esi + 0x90c], bl
jae 0x4bd553
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 ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.004034fc
or dword [esp + 0xac], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.00437711
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4