Function at 0x4b6c28
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x630fff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x978
push ebx
push esi
push edi
push 0xf
pop esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], esi
call fcn.00403827
mov dword [esp + 0x98c], ebx
push ebx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], esi
call fcn.00403827
mov byte [esp + 0x98c], 1
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
call fcn.00403827
mov byte [esp + 0x98c], 2
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], esi
call fcn.00403827
mov byte [esp + 0x98c], 3
mov dword [esp + 0x10], ebx
call fcn.005ebf90
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push dword [ebp + 8]
call fcn.004038d5
mov byte [esp + 0x9ac], 4
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x9b0], 3
call fcn.004a22f9
add esp, 0x24
mov byte [esp + 0x98c], 5
lea ecx, [esp + 0x60]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x7c]
lea esi, [esp + 0x44]
mov dword [esp + 0x54], ecx
call fcn.0043ca56
mov byte [esp + 0x98c], 3
lea eax, [esp + 0x10c]
push eax
call fcn.0043c661
mov edi, str.https
push edi
lea esi, [esp + 0x64]
call fcn.00427659
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x16b
add eax, 0x50
pop ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call fcn.004b8b94
mov byte [esp + 0x98c], 6
push str.http
call fcn.00427659
pop ecx
test al, al
jne 0x4b6e24
call fcn.00423170
push 0x18
pop ecx
sub esp, 0x20
mov edi, esp
mov dword [esp + 0x38], esp
push eax
push ecx
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
lea ecx, [esp + 0x50]
push ecx
push eax
mov esi, fcn.004b80d0
call fcn.004769c9
mov byte [esp + 0x9bc], 7
xor eax, eax
push eax
push esi
push ebx
push ebx
push edi
mov byte [esp + 0x9d0], 6
call fcn.004b8d0b
add esp, 0x24
mov byte [esp + 0x9ac], 8
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0xc]
push eax
mov byte [esp + 0x9b0], 6
call fcn.004b8dbc
mov byte [esp + 0x98c], 3
lea eax, [esp + 0x20]
push eax
call fcn.00462acf
mov byte [esp + 0x98c], 2
xor esi, esi
inc esi
jmp 0x4b71d8
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
test eax, fcn.0040234c
je 0x4b6e88
sub esp, 0x20
mov edi, esp
mov dword [esp + 0x38], esp
push dword [esp + 0x34]
mov esi, fcn.004b80d0
push dword [esp + 0x34]
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.004769c9
mov byte [esp + 0x9bc], 9
xor eax, eax
push eax
push esi
push ebx
push ebx
push edi
mov byte [esp + 0x9d0], 6
call fcn.004b8d0b
add esp, 0x24
mov byte [esp + 0x9ac], 0xa
jmp 0x4b6dea
push edi
lea esi, [esp + 0x64]
mov byte [esp + 0x14], bl
call fcn.00427659
pop ecx
test al, al
je 0x4b6ea0
mov byte [esp + 0x10], 1
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4b6fd8
mov eax, dword [eax + 0x58]
cmp eax, 4
je 0x4b6ebc
cmp eax, 5
jne 0x4b6fd8
cmp byte [esp + 0x10], bl
jne 0x4b6fd8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x4b6ed4
mov eax, dword [eax + 4]
jmp 0x4b6ed7
add eax, 4
push eax
push str.GET__s_HTTP_1.0_r_n
mov esi, 0x800
lea edi, [esp + 0x188]
call fcn.0043cb7b
mov esi, dword [ebp + 0x18]
cmp dword [esi + 0x58], 5
pop ecx
pop ecx
lea edi, [esp + eax + 0x180]
jne 0x4b6fc2
push 0x6854b4
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00411b46
add esp, 0xc
mov byte [esp + 0x98c], 0xb
add esi, 0x3c
push esi
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00417051
add esp, 0xc
mov byte [esp + 0x98c], 0xc
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0043c758
pop ecx
pop ecx
mov byte [esp + 0x98c], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x4b6f62
mov eax, dword [eax + 4]
jmp 0x4b6f65
add eax, 4
push eax
lea esi, [esp + 0x984]
push str.Proxy_Authorization:_Basic__s_r_n
sub esi, edi
call fcn.0043cb7b
pop ecx
pop ecx
add edi, eax
mov byte [esp + 0x98c], 0xc
push ebx
push 1
lea ecx, [esp + 0xbc]
call fcn.00403762
mov byte [esp + 0x98c], 0xb
push ebx
push 1
lea ecx, [esp + 0xd8]
call fcn.00403762
mov byte [esp + 0x98c], 6
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00403762
mov esi, dword [ebp + 0x18]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x34]
call fcn.00403843
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x4b704f
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x4b6fe7
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x94], 0x10
mov eax, dword [esp + 0x80]
jae 0x4b6fff
lea eax, [esp + 0x80]
push ecx
push eax
push str.GET__s_HTTP_1.0_r_nHost:__s
mov esi, 0x800
lea edi, [esp + 0x18c]
call fcn.0043cb7b
lea edi, [esp + eax + 0x18c]
mov eax, dword [esp + 0x28]
lea esi, [esp + 0x98c]
add esp, 0xc
sub esi, edi
cmp eax, dword [esp + 0x18]
je 0x4b7042
push eax
push str.:_d_r_n
call fcn.0043cb7b
pop ecx
jmp 0x4b704c
push 0x683770
call fcn.0043cb7b
add edi, eax
pop ecx
cmp dword [esp + 0xac], ebx
je 0x4b70b4
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.0043c758
pop ecx
pop ecx
mov byte [esp + 0x98c], 0xe
cmp dword [eax + 0x18], 0x10
jb 0x4b7082
mov eax, dword [eax + 4]
jmp 0x4b7085
add eax, 4
push eax
lea esi, [esp + 0x984]
push str.Authorization:_Basic__s_r_n
sub esi, edi
call fcn.0043cb7b
pop ecx
pop ecx
add edi, eax
mov byte [esp + 0x98c], 6
push ebx
push 1
lea ecx, [esp + 0xf8]
call fcn.00403762
mov eax, dword [ebp + 0x20]
cmp dword [eax + 0x14], ebx
je 0x4b70e2
cmp dword [eax + 0x18], 0x10
jb 0x4b70c7
mov eax, dword [eax + 4]
jmp 0x4b70ca
add eax, 4
push eax
lea esi, [esp + 0x984]
push str.User_Agent:__s_r_n
sub esi, edi
call fcn.0043cb7b
pop ecx
pop ecx
add edi, eax
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x1a8], bl
je 0x4b7104
lea esi, [esp + 0x980]
push str.Accept_Encoding:_gzip_r_n
sub esi, edi
call fcn.0043cb7b
pop ecx
add edi, eax
lea esi, [esp + 0x980]
push str.Connection:_close_r_n_r_n
sub esi, edi
call fcn.0043cb7b
mov esi, dword [esp + 0x10]
pop ecx
lea eax, [esp + 0x180]
push eax
lea ecx, [esi + 8]
call fcn.004028c5
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
lea ecx, [esi + 0x1e4]
call fcn.00403843
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0043c199
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 + 0xb8]
movsb byte es:[edi], byte [esi]
call fcn.004028e2
mov byte [esp + 0x98c], 0xf
push dword [ebp + 0x10]
lea eax, [esp + 0xb8]
push dword [ebp + 0xc]
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
push dword [esp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x30]
call fcn.004b725c
mov byte [esp + 0x98c], 6
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xbc]
call fcn.00403762
mov byte [esp + 0x98c], 3
lea eax, [esp + 0x20]
push eax
call fcn.00462acf
mov byte [esp + 0x98c], 2
push ebx
push esi
lea ecx, [esp + 0x84]
call fcn.00403762
mov byte [esp + 0x98c], 1
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.00403762
mov byte [esp + 0x98c], bl
push ebx
push esi
lea ecx, [esp + 0xa0]
call fcn.00403762
or dword [esp + 0x98c], 0xffffffff
push ebx
push esi
lea ecx, [esp + 0x68]
call fcn.00403762
mov ecx, dword [esp + 0x984]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20