Function at 0x4860f0
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5adc
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov ebx, edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x34], ecx
call edx
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], eax
mov byte [esp + 0xb8], al
mov dword [esp + 0x100], eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
cmp eax, edx
jae 0x48618a
mov cl, byte [eax]
cmp cl, 0x80
jae 0x48618a
movzx ecx, cl
inc eax
mov dword [ebx + 0x14], ecx
mov dword [ebx + 4], eax
mov esi, ecx
jmp 0x4861e8
mov ecx, edx
sub ecx, eax
cmp ecx, 0xa
jge 0x4861cb
test ecx, ecx
jle 0x48619f
test byte [edx - 1], 0x80
je 0x4861cb
test ecx, ecx
jne 0x4861c2
mov eax, dword [ebx + 0x20]
test eax, eax
jg 0x4861b0
mov edx, dword [ebx + 0xc]
cmp edx, dword [ebx + 0x1c]
jne 0x4861c2
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0x4861c2
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0x4861e3
mov eax, ebx
call fcn.0048a780
jmp 0x4861e3
lea edx, [esp + 0x48]
push edx
call fcn.0048a710
add esp, 4
test eax, eax
je 0x4861e3
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x14], eax
mov esi, eax
test esi, esi
je 0x48646e
cmp esi, 0xc
je 0x486793
cmp esi, 0x10
je 0x48649a
cmp esi, 0x1a
je 0x4862fb
mov eax, esi
and eax, 7
cmp eax, 5
ja case.0x486215.4
jmp dword [eax*4 + 0x4867e0]
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
jae 0x48623f
mov al, byte [ecx]
cmp al, 0x80
jae 0x48623f
movzx eax, al
cdq
inc ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [ebx + 4], ecx
jmp 0x48616b
lea eax, [esp + 0x54]
push eax
mov eax, ebx
call fcn.0048ab70
test al, al
jne 0x48616b
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0xcc], 0x10
jb 0x486493
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.004c9387
add esp, 4
xor al, al
jmp 0x4867ba
lea esi, [esp + 0xac]
mov ecx, ebx
call fcn.00483940
jmp 0x48624b
lea edi, [esp + 0x44]
mov esi, ebx
call fcn.00429fa0
test al, al
je case.0x486215.4
mov ecx, dword [esp + 0x44]
mov eax, ebx
call fcn.0048a330
jmp 0x48624b
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg case.0x486215.4
push 0
push ebx
call fcn.00484a60
add esp, 8
test al, al
je case.0x486215.4
mov eax, dword [ebx + 0x2c]
test eax, eax
jle 0x4862d4
dec eax
mov dword [ebx + 0x2c], eax
and esi, 0xfffffffc
or esi, 4
cmp dword [ebx + 0x14], esi
je 0x48616b
jmp case.0x486215.4
lea esi, [esp + 0xa8]
mov eax, ebx
call fcn.004845e0
jmp 0x48624b
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x486452
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], eax
mov byte [esp + 0xd4], al
lea edi, [esp + 0x4c]
mov esi, ebx
mov byte [esp + 0x100], 3
call fcn.00429fa0
test al, al
je 0x48666a
mov esi, dword [esp + 0x4c]
test esi, esi
js 0x4866dd
mov edi, esi
lea eax, [esp + 0xd4]
call fcn.00483ba0
test al, al
je 0x4866dd
lea ecx, [esp + 0xb8]
mov dword [esp + 0x38], vtable.google::protobuf::io::StringOutputStream.0
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x18]
mov byte [esp + 0x100], 4
lea edx, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
xor edi, edi
push ecx
mov ecx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], 0
call dword [0x5116b8]
test al, al
je 0x4863bb
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
jmp 0x4863c3
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x20], 0
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x104], 5
call fcn.0048b020
cmp dword [esp + 0xe8], 0x10
mov eax, dword [esp + 0xd4]
jae 0x4863f2
lea eax, [esp + 0xd4]
push eax
mov eax, dword [esp + 0xe8]
lea esi, [esp + 0x14]
call fcn.0048aea0
mov byte [esp + 0x100], 4
mov eax, dword [esp + 0x18]
cmp eax, edi
jle 0x48641f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x100], 0
cmp dword [esp + 0xe8], 0x10
mov dword [esp + 0x38], vtable.google::protobuf::io::ZeroCopyOutputStream.0
jb 0x48616b
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.004c9387
add esp, 4
jmp 0x48616b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push edx
push eax
mov edx, ebx
call fcn.004855b0
add esp, 8
test al, al
jne 0x48616b
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0xcc], 0x10
jb 0x486493
mov eax, dword [esp + 0xb8]
push eax
call fcn.004c9387
add esp, 4
xor al, al
jmp 0x4867ba
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x4864b8
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4864b8
movzx ecx, cl
inc eax
mov dword [esp + 0x2c], ecx
mov dword [ebx + 4], eax
jmp 0x4864f2
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x48664d
cmp esi, eax
jbe 0x4864d3
test byte [esi - 1], 0x80
je 0x48664d
lea eax, [esp + 0x9c]
push eax
mov eax, ebx
call fcn.0048ab70
test al, al
jne 0x48663b
test al, al
je case.0x486215.4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
lea eax, [edx*8]
or eax, 2
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x108]
call edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x48616b
cmp dword [esp + 0xcc], 0x10
mov ecx, dword [esp + 0xb8]
jae 0x48653e
lea ecx, [esp + 0xb8]
xor esi, esi
mov dword [esp + 0x10], vtable.google::protobuf::io::ArrayInputStream.0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x100], 1
lea eax, [esp + 0x10]
lea edi, [esp + 0x60]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov word [esp + 0x78], si
mov dword [esp + 0x7c], 0x7fffffff
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 0x4000000
mov dword [esp + 0x88], 0x2000000
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 0x64
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
call fcn.0048ac90
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, edi
mov byte [esp + 0x108], 2
call fcn.004855b0
add esp, 8
test al, al
je 0x48674d
cmp dword [esp + 0xcc], 0x10
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc8], esi
jae 0x48661a
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x60]
mov byte [eax], 0
mov byte [esp + 0x100], 1
call fcn.00489fa0
mov byte [esp + 0x100], 0
jmp 0x48616b
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x2c], ecx
mov al, 1
jmp 0x4864ea
lea edx, [esp + 0x2c]
push edx
call fcn.0048a710
add esp, 4
test eax, eax
je case.0x486215.4
mov dword [ebx + 4], eax
jmp 0x4864f2
mov esi, 0x10
mov byte [esp + 0x100], 0
cmp dword [esp + 0xe8], esi
jb 0x486690
mov edx, dword [esp + 0xd4]
push edx
call fcn.004c9387
add esp, 4
mov dword [esp + 0x100], 0xffffffff
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
cmp dword [esp + 0xcc], esi
jb 0x486493
mov eax, dword [esp + 0xb8]
push eax
call fcn.004c9387
add esp, 4
xor al, al
jmp 0x4867ba
mov esi, 0x10
mov byte [esp + 0x100], 0
cmp dword [esp + 0xe8], esi
jb 0x486703
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.004c9387
add esp, 4
mov dword [esp + 0x100], 0xffffffff
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
cmp dword [esp + 0xcc], esi
jb 0x486493
mov edx, dword [esp + 0xb8]
push edx
call fcn.004c9387
add esp, 4
xor al, al
jmp 0x4867ba
lea ecx, [esp + 0x60]
mov byte [esp + 0x100], 1
call fcn.00489fa0
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0x10], vtable.google::protobuf::io::ZeroCopyInputStream.0
jb 0x486493
mov edx, dword [esp + 0xb8]
push edx
call fcn.004c9387
add esp, 4
xor al, al
jmp 0x4867ba
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0xcc], 0x10
jb 0x4867b8
mov eax, dword [esp + 0xb8]
push eax
call fcn.004c9387
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret