Function at 0x4b6d4b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62e778
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.00403c2c
mov dword [esp + 0x98c], ebx
push ebx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], esi
call fcn.00403c2c
mov byte [esp + 0x98c], 1
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
call fcn.00403c2c
mov byte [esp + 0x98c], 2
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], esi
call fcn.00403c2c
mov byte [esp + 0x98c], 3
mov dword [esp + 0x10], ebx
call fcn.005e9710
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.00403cda
mov byte [esp + 0x9ac], 4
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x9b0], 3
call fcn.004a272a
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.0043cbe0
mov byte [esp + 0x98c], 3
lea eax, [esp + 0x10c]
push eax
call fcn.0043c7eb
mov edi, str.https
push edi
lea esi, [esp + 0x64]
call fcn.004274ae
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.004b8c27
mov byte [esp + 0x98c], 6
push str.http
call fcn.004274ae
pop ecx
test al, al
jne 0x4b6f47
call fcn.004232a0
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.004b8163
call fcn.004acb60
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.004b8d50
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.004b8e01
mov byte [esp + 0x98c], 3
lea eax, [esp + 0x20]
push eax
call fcn.00430065
mov byte [esp + 0x98c], 2
xor esi, esi
inc esi
jmp 0x4b72fb
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
test eax, fcn.0040c472
je 0x4b6fab
sub esp, 0x20
mov edi, esp
mov dword [esp + 0x38], esp
push dword [esp + 0x34]
mov esi, fcn.004b8163
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.004acb60
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.004b8d50
add esp, 0x24
mov byte [esp + 0x9ac], 0xa
jmp 0x4b6f0d
push edi
lea esi, [esp + 0x64]
mov byte [esp + 0x14], bl
call fcn.004274ae
pop ecx
test al, al
je 0x4b6fc3
mov byte [esp + 0x10], 1
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4b70fb
mov eax, dword [eax + 0x58]
cmp eax, 4
je 0x4b6fdf
cmp eax, 5
jne 0x4b70fb
cmp byte [esp + 0x10], bl
jne 0x4b70fb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x4b6ff7
mov eax, dword [eax + 4]
jmp 0x4b6ffa
add eax, 4
push eax
push str.GET__s_HTTP_1.0_r_n
mov esi, 0x800
lea edi, [esp + 0x188]
call fcn.0043cd05
mov esi, dword [ebp + 0x18]
cmp dword [esi + 0x58], 5
pop ecx
pop ecx
lea edi, [esp + eax + 0x180]
jne 0x4b70e5
push 0x6833ac
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00411fda
add esp, 0xc
mov byte [esp + 0x98c], 0xb
add esi, 0x3c
push esi
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00417520
add esp, 0xc
mov byte [esp + 0x98c], 0xc
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0043c8e2
pop ecx
pop ecx
mov byte [esp + 0x98c], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x4b7085
mov eax, dword [eax + 4]
jmp 0x4b7088
add eax, 4
push eax
lea esi, [esp + 0x984]
push str.Proxy_Authorization:_Basic__s_r_n
sub esi, edi
call fcn.0043cd05
pop ecx
pop ecx
add edi, eax
mov byte [esp + 0x98c], 0xc
push ebx
push 1
lea ecx, [esp + 0xbc]
call fcn.00403b67
mov byte [esp + 0x98c], 0xb
push ebx
push 1
lea ecx, [esp + 0xd8]
call fcn.00403b67
mov byte [esp + 0x98c], 6
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00403b67
mov esi, dword [ebp + 0x18]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x34]
call fcn.00403c48
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x4b7172
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x4b710a
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x94], 0x10
mov eax, dword [esp + 0x80]
jae 0x4b7122
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.0043cd05
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 0x4b7165
push eax
push str.:_d_r_n
call fcn.0043cd05
pop ecx
jmp 0x4b716f
push 0x68167c
call fcn.0043cd05
add edi, eax
pop ecx
cmp dword [esp + 0xac], ebx
je 0x4b71d7
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.0043c8e2
pop ecx
pop ecx
mov byte [esp + 0x98c], 0xe
cmp dword [eax + 0x18], 0x10
jb 0x4b71a5
mov eax, dword [eax + 4]
jmp 0x4b71a8
add eax, 4
push eax
lea esi, [esp + 0x984]
push str.Authorization:_Basic__s_r_n
sub esi, edi
call fcn.0043cd05
pop ecx
pop ecx
add edi, eax
mov byte [esp + 0x98c], 6
push ebx
push 1
lea ecx, [esp + 0xf8]
call fcn.00403b67
mov eax, dword [ebp + 0x20]
cmp dword [eax + 0x14], ebx
je 0x4b7205
cmp dword [eax + 0x18], 0x10
jb 0x4b71ea
mov eax, dword [eax + 4]
jmp 0x4b71ed
add eax, 4
push eax
lea esi, [esp + 0x984]
push str.User_Agent:__s_r_n
sub esi, edi
call fcn.0043cd05
pop ecx
pop ecx
add edi, eax
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x1a8], bl
je 0x4b7227
lea esi, [esp + 0x980]
push str.Accept_Encoding:_gzip_r_n
sub esi, edi
call fcn.0043cd05
pop ecx
add edi, eax
lea esi, [esp + 0x980]
push str.Connection:_close_r_n_r_n
sub esi, edi
call fcn.0043cd05
mov esi, dword [esp + 0x10]
pop ecx
lea eax, [esp + 0x180]
push eax
lea ecx, [esi + 8]
call fcn.00402c70
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
lea ecx, [esi + 0x1e4]
call fcn.00403c48
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0043c323
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.00402c8d
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.004b73a7
mov byte [esp + 0x98c], 6
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xbc]
call fcn.00403b67
mov byte [esp + 0x98c], 3
lea eax, [esp + 0x20]
push eax
call fcn.00430065
mov byte [esp + 0x98c], 2
push ebx
push esi
lea ecx, [esp + 0x84]
call fcn.00403b67
mov byte [esp + 0x98c], 1
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.00403b67
mov byte [esp + 0x98c], bl
push ebx
push esi
lea ecx, [esp + 0xa0]
call fcn.00403b67
or dword [esp + 0x98c], 0xffffffff
push ebx
push esi
lea ecx, [esp + 0x68]
call fcn.00403b67
mov ecx, dword [esp + 0x984]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20