Function at 0x4bcb64
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6235ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push esi
push edi
lea eax, [esp + 0x4c]
push eax
mov ebx, ecx
call fcn.0043e328
xor edi, edi
mov dword [esp + 0x184], edi
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0042dbd6
mov byte [esp + 0x184], 2
lea eax, [esp + 0x4c]
push eax
call fcn.00441e67
lea esi, [esp + 0x3c]
call fcn.004475b7
call fcn.0042d55a
mov ecx, eax
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
push 0x60
cdq
pop ecx
idiv ecx
dec eax
neg eax
sbb al, al
inc al
mov byte [esp + 0x17], al
mov eax, dword [ebx + 0x908]
jne 0x4bcc41
mov esi, 0x6833c8
cmp eax, edi
je 0x4bcc04
dec eax
lea ecx, [ebx + 0x8f4]
push eax
call fcn.00405547
cmp byte [eax], 0x2f
je 0x4bcc10
lea ecx, [ebx + 0x8f4]
push esi
call fcn.0040779a
mov eax, dword [ebx + 0x924]
cmp eax, edi
je 0x4bcc30
dec eax
push eax
lea ecx, [ebx + 0x910]
call fcn.00405547
cmp byte [eax], 0x2f
je 0x4bcd03
push esi
lea ecx, [ebx + 0x910]
call fcn.0040779a
jmp 0x4bcd03
cmp eax, edi
jne 0x4bcc96
lea esi, [esp + 0x3c]
call fcn.004475b7
call fcn.0042d55a
add eax, 0x34
push eax
lea eax, [esp + 0x68]
push 0x6833c8
push eax
call fcn.0044c22c
add esp, 0xc
mov byte [esp + 0x184], 3
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x8f4]
push eax
call fcn.0040787d
mov byte [esp + 0x184], 2
push edi
push 1
lea ecx, [esp + 0x6c]
call fcn.00403b67
jmp 0x4bccc8
dec eax
lea ecx, [ebx + 0x8f4]
push eax
call fcn.00405547
cmp byte [eax], 0x2f
jne 0x4bccc8
lea esi, [esp + 0x3c]
call fcn.004475b7
call fcn.0042d55a
push 0xffffffffffffffff
push edi
add eax, 0x34
push eax
lea ecx, [ebx + 0x8f4]
call fcn.0040787d
mov eax, dword [ebx + 0x924]
cmp eax, edi
je 0x4bcd03
dec eax
lea edi, [ebx + 0x910]
push eax
mov ecx, edi
call fcn.00405547
cmp byte [eax], 0x2f
jne 0x4bcd03
lea esi, [esp + 0x3c]
call fcn.004475b7
call fcn.0042d55a
push 0xffffffffffffffff
push 0
add eax, 0x34
push eax
mov ecx, edi
call fcn.0040787d
lea esi, [esp + 0x3c]
call fcn.004475b7
call fcn.0042d55a
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0xf
call fcn.00403c2c
mov byte [esp + 0x184], 4
push 0x190
lea ecx, [esp + 0x1c]
call fcn.0040987a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
call fcn.004475b7
mov eax, dword [eax + 0x6b4]
mov dword [esp + 0x44], eax
call fcn.004475b7
call fcn.0042d55a
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x38], eax
jmp 0x4bcdb4
mov eax, dword [edi + 4]
sub eax, esi
add eax, dword [edi + 8]
lea ecx, [esp + 0x10]
cdq
idiv dword [esp + 0x38]
cmp esi, dword [esp + 0x44]
mov dword [esp + 0x50], edx
jl 0x4bcd8d
lea ecx, [esp + 0x44]
mov ecx, dword [ecx]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi]
add ecx, eax
lea eax, [esp + 0x4c]
push eax
lea eax, [ebx + 0x790]
push eax
mov dword [esp + 0x54], ecx
call fcn.004be45b
sub esi, dword [esp + 0x54]
mov dword [esp + 0x10], esi
test esi, esi
jg 0x4bcd6e
mov esi, dword [ebx + 0x2c8]
mov eax, dword [esi + 0xa04]
add esi, 0x9ac
mov dword [esp + 0x38], esi
cmp eax, 4
je 0x4bcddd
mov byte [esp + 0xf], 0
cmp eax, 5
jne 0x4bcde2
mov byte [esp + 0xf], 1
cmp byte [esp + 0x17], 0
je 0x4bd074
push str.GET
lea ecx, [esp + 0x1c]
call fcn.0040779a
cmp byte [esp + 0xf], 0
lea eax, [ebx + 0x910]
jne 0x4bce0e
lea eax, [ebx + 0x8f4]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
push str._HTTP_1.1_r_n
lea ecx, [esp + 0x1c]
call fcn.0040779a
push str.Host:
lea ecx, [esp + 0x1c]
call fcn.0040779a
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x8d4]
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
cmp byte [ebx + 0x948], 0
je 0x4bce7c
push str._r_nUser_Agent:
lea ecx, [esp + 0x1c]
call fcn.0040779a
mov eax, dword [ebx + 0x2c8]
push 0xffffffffffffffff
add eax, 0x7d4
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
cmp dword [ebx + 0x8cc], 0
je 0x4bcea7
push str._r_nAuthorization:_Basic
lea ecx, [esp + 0x1c]
call fcn.0040779a
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x8b8]
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
cmp dword [esi + 0x58], 5
jne 0x4bcf63
push str._r_nProxy_Authorization:_Basic
lea ecx, [esp + 0x1c]
call fcn.0040779a
push 0x6833ac
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00411fda
add esp, 0xc
mov byte [esp + 0x184], 5
add esi, 0x3c
push esi
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00417520
add esp, 0xc
mov byte [esp + 0x184], 6
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0043c8e2
pop ecx
pop ecx
mov byte [esp + 0x184], 7
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
mov byte [esp + 0x184], 6
push esi
push 1
lea ecx, [esp + 0x6c]
call fcn.00403b67
mov byte [esp + 0x184], 5
push esi
push 1
lea ecx, [esp + 0x88]
call fcn.00403b67
mov byte [esp + 0x184], 4
push esi
push 1
lea ecx, [esp + 0xa4]
call fcn.00403b67
cmp byte [esp + 0xf], 0
je 0x4bcf78
push str._r_nProxy_Connection:_keep_alive
lea ecx, [esp + 0x1c]
call fcn.0040779a
push str._r_nRange:_bytes
lea ecx, [esp + 0x1c]
call fcn.0040779a
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
imul dword [edi]
mov ecx, eax
mov eax, dword [edi + 4]
mov esi, edx
cdq
add ecx, eax
adc esi, edx
push esi
push ecx
lea eax, [esp + 0xc0]
push eax
call fcn.0043c323
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
movsb byte es:[edi], byte [esi]
call fcn.0040779a
push 0x68b524
lea ecx, [esp + 0x1c]
call fcn.0040779a
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
imul dword [ecx]
mov esi, eax
mov eax, dword [ecx + 4]
mov edi, edx
cdq
add esi, eax
mov eax, dword [ecx + 8]
adc edi, edx
cdq
add esi, eax
adc edi, edx
sub esi, 1
sbb edi, 0
push edi
lea eax, [esp + 0xbc]
push esi
push eax
call fcn.0043c323
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
movsb byte es:[edi], byte [esi]
call fcn.0040779a
cmp byte [ebx + 0x948], 0
jne 0x4bd037
cmp byte [esp + 0xf], 0
je 0x4bd045
push str._r_nConnection:_keep_alive
lea ecx, [esp + 0x1c]
call fcn.0040779a
push str._r_n_r_n
lea ecx, [esp + 0x1c]
call fcn.0040779a
and dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
lea eax, [ebx + 0x7b0]
mov byte [ebx + 0x948], 0
call fcn.004be557
jmp 0x4bd4d8
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x50], 0
je 0x4bd083
mov ecx, dword [esi + 0x50]
jmp 0x4bd086
lea ecx, [esi + 8]
push dword [edi + 8]
mov eax, dword [edi + 4]
cdq
push edx
push eax
push dword [edi]
lea eax, [esp + 0xac]
push eax
call fcn.0042ac3a
mov byte [esp + 0x184], 8
push dword [esp + 0xa8]
lea edi, [esp + 0xa0]
lea esi, [esp + 0x48]
call fcn.00411f96
push dword [esp + 0xac]
lea edi, [esp + 0xa0]
lea esi, [esp + 0x50]
call fcn.00411f96
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x4bd0e4
cmp eax, dword [esp + 0x4c]
je 0x4bd0e9
call fcn.005b331a
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x50]
je 0x4bd4c3
lea esi, [esp + 0x44]
call fcn.00448f0d
push str.GET
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.0040779a
cmp byte [esp + 0xf], 0
je 0x4bd1bd
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x910]
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x50], edi
je 0x4bd13e
mov esi, dword [esi + 0x50]
jmp 0x4bd141
add esi, 8
mov eax, dword [esp + 0x10]
push dword [eax]
call fcn.00419595
push eax
lea ecx, [esp + 0x68]
call fcn.00403cda
mov byte [esp + 0x184], 9
cmp dword [esp + 0x7c], 0x10
mov ecx, dword [esp + 0x68]
jae 0x4bd16d
lea ecx, [esp + 0x68]
push dword [esp + 0x78]
lea eax, [esp + 0x10c]
push eax
call fcn.0043c4cd
pop ecx
pop ecx
mov byte [esp + 0x184], 0xa
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
mov byte [esp + 0x184], 9
push edi
push 1
lea ecx, [esp + 0x110]
call fcn.00403b67
mov byte [esp + 0x184], 8
lea ecx, [esp + 0x64]
jmp 0x4bd26d
lea eax, [ebx + 0x8f4]
push eax
lea ecx, [esp + 0x84]
call fcn.00403cda
mov byte [esp + 0x184], 0xb
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x50], edi
je 0x4bd1e6
mov esi, dword [esi + 0x50]
jmp 0x4bd1e9
add esi, 8
mov eax, dword [esp + 0x10]
push dword [eax]
call fcn.00419595
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x8c]
call fcn.0040787d
cmp dword [esp + 0x98], 0x10
mov ecx, dword [esp + 0x84]
jae 0x4bd21c
lea ecx, [esp + 0x84]
push dword [esp + 0x94]
lea eax, [esp + 0x144]
push eax
call fcn.0043c4cd
pop ecx
pop ecx
mov byte [esp + 0x184], 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
mov byte [esp + 0x184], 0xb
push edi
push 1
lea ecx, [esp + 0x148]
call fcn.00403b67
mov byte [esp + 0x184], 8
lea ecx, [esp + 0x80]
push edi
push 1
call fcn.00403b67
push str._HTTP_1.1_r_n
lea ecx, [esp + 0x1c]
call fcn.0040779a
push str.Host:
lea ecx, [esp + 0x1c]
call fcn.0040779a
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x8d4]
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
cmp byte [ebx + 0x948], 0
je 0x4bd2d3
push str._r_nUser_Agent:
lea ecx, [esp + 0x1c]
call fcn.0040779a
mov eax, dword [ebx + 0x2c8]
push 0xffffffffffffffff
add eax, 0x7d4
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
cmp dword [ebx + 0x8cc], edi
je 0x4bd2fc
push str._r_nAuthorization:_Basic
lea ecx, [esp + 0x1c]
call fcn.0040779a
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x8b8]
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x58], 5
jne 0x4bd3c0
push str._r_nProxy_Authorization:_Basic
lea ecx, [esp + 0x1c]
call fcn.0040779a
push 0x6833ac
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x164]
push eax
call fcn.00411fda
add esp, 0xc
mov byte [esp + 0x184], 0xd
add esi, 0x3c
push esi
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.00417520
add esp, 0xc
mov byte [esp + 0x184], 0xe
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0043c8e2
pop ecx
pop ecx
mov byte [esp + 0x184], 0xf
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.0040787d
mov byte [esp + 0x184], 0xe
push edi
push 1
lea ecx, [esp + 0xf4]
call fcn.00403b67
mov byte [esp + 0x184], 0xd
push edi
push 1
lea ecx, [esp + 0x12c]
call fcn.00403b67
mov byte [esp + 0x184], 8
push edi
push 1
lea ecx, [esp + 0x164]
call fcn.00403b67
cmp byte [esp + 0xf], 0
je 0x4bd3d5
push str._r_nProxy_Connection:_keep_alive
lea ecx, [esp + 0x1c]
call fcn.0040779a
push str._r_nRange:_bytes
lea ecx, [esp + 0x1c]
call fcn.0040779a
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esp + 0xd8]
push eax
call fcn.0043c323
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x1c]
movsb byte es:[edi], byte [esi]
call fcn.0040779a
push 0x68b524
lea ecx, [esp + 0x1c]
call fcn.0040779a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 8]
mov edx, dword [eax + 0x14]
adc edx, dword [eax + 0xc]
sub ecx, 1
sbb edx, 0
push edx
push ecx
lea eax, [esp + 0xd8]
push eax
call fcn.0043c323
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x1c]
movsb byte es:[edi], byte [esi]
call fcn.0040779a
cmp byte [ebx + 0x948], 0
jne 0x4bd483
cmp byte [esp + 0xf], 0
je 0x4bd491
push str._r_nConnection:_keep_alive
lea ecx, [esp + 0x1c]
call fcn.0040779a
push str._r_n_r_n
lea ecx, [esp + 0x1c]
call fcn.0040779a
push dword [esp + 0x10]
lea eax, [ebx + 0x7b0]
mov byte [ebx + 0x948], 0
call fcn.004be557
lea esi, [esp + 0x44]
call fcn.004852d4
jmp 0x4bd0bd
mov byte [esp + 0x184], 4
lea eax, [esp + 0x9c]
push eax
call fcn.00425c68
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x4bd4e7
lea eax, [esp + 0x1c]
mov edx, dword [ebx]
push 1
push dword [esp + 0x30]
mov ecx, ebx
push eax
call dword [edx + 0x18]
mov byte [esp + 0x184], 2
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00403b67
or dword [esp + 0x184], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.00430065
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4