Function at 0x4fb9e1
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 0x51548a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x5675a0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0042c778
mov dword [esp + 0x1c], eax
xor ebx, ebx
inc ebx
mov byte [eax + 0x15], bl
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0xa0], edi
call fcn.0042c778
mov dword [esp + 0x3c], eax
mov byte [eax + 0x15], bl
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [eax], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], eax
mov dword [esp + 0x40], edi
mov byte [esp + 0xa0], bl
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0x80]
mov eax, dword [esi + 0x74]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x84]
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0x64]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x84], edx
lea edi, [esi + 0x34]
neg edi
lea edx, [esi + 0x38]
mov dword [esp + 0x5c], eax
sbb edi, edi
and edi, edx
mov edx, dword [edi]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x80]
lea edx, [esi + 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [edx]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x9c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x94]
cmp eax, ecx
je 0x4fbb53
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
and dword [eax], 0
add dword [esp + 0x24], 4
mov eax, dword [esp + 0x24]
jmp 0x4fbb26
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x4fbb86
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
call fcn.0041cbe7
and word [eax], 0
add dword [esp + 0x24], 4
mov eax, dword [esp + 0x24]
jmp 0x4fbb5b
xor eax, eax
cmp dword [esi + 0xb4], 7
sete al
mov dword [esp + 0x28], eax
lea eax, [esi + 0x74]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
lea eax, [esi + 0x78]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
lea eax, [esi + 0x7c]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
mov eax, dword [esi + 0xa4]
sub eax, 0
je 0x4fbc4f
dec eax
je 0x4fbc16
dec eax
dec eax
jne 0x4fbc8c
lea eax, [esi + 0x74]
push eax
lea eax, [esp + 0x3c]
call fcn.0041cbe7
mov word [eax], bx
lea eax, [esi + 0x68]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
lea eax, [esi + 0x30]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
push dword [esi + 0xac]
push dword [esi + 0x30]
jmp 0x4fbc86
lea eax, [esi + 0x7c]
push eax
lea eax, [esp + 0x3c]
call fcn.0041cbe7
mov word [eax], bx
lea eax, [esi + 0x64]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
lea eax, [esi + 0x2c]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
push dword [esi + 0xac]
push dword [esi + 0x2c]
jmp 0x4fbc86
lea eax, [esi + 0x78]
push eax
lea eax, [esp + 0x3c]
call fcn.0041cbe7
mov word [eax], bx
lea eax, [esi + 0x60]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
lea eax, [esi + 0x28]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
push dword [esi + 0xac]
push dword [esi + 0x28]
call dword [0x574f10]
lea eax, [esi + 0xb0]
push eax
mov ecx, 0x532644
mov dword [esp + 0x2c], eax
call fcn.00411302
test eax, eax
lea eax, [esi + 0x80]
push eax
lea eax, [esp + 0x1c]
setne byte [esp + 0x1b]
call fcn.0041cb3f
mov dword [eax], ebx
lea eax, [esi + 0x84]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
cmp byte [esp + 0x17], 0
mov dword [eax], ebx
je 0x4fbcf2
lea eax, [esi + 0x84]
push eax
lea eax, [esp + 0x3c]
call fcn.0041cbe7
mov word [eax], bx
push edi
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], ebx
mov eax, dword [esi + 0xa4]
sub eax, 0
je 0x4fbd39
dec eax
je 0x4fbd04
dec eax
dec eax
jne 0x4fbd53
lea eax, [esi + 0x80]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
and dword [eax], 0
lea eax, [esi + 0x84]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
and dword [eax], 0
push edi
lea eax, [esp + 0x1c]
call fcn.0041cb3f
and dword [eax], 0
jmp 0x4fbd53
cmp byte [esp + 0x17], 0
jne 0x4fbd53
lea eax, [esi + 0x80]
push eax
lea eax, [esp + 0x3c]
call fcn.0041cbe7
mov word [eax], bx
xor edi, edi
cmp dword [esi + 0xa4], edi
jne 0x4fbd68
cmp dword [esi + 0xb4], 6
jne 0x4fbd68
mov edi, ebx
lea eax, [esi + 0x9c]
push eax
lea eax, [esp + 0x1c]
call fcn.0041cb3f
mov dword [eax], edi
mov eax, dword [esi + 0xa4]
xor ecx, ecx
sub eax, ecx
mov byte [esp + 0x16], bl
je 0x4fbda5
dec eax
je 0x4fbd91
dec eax
dec eax
jne 0x4fbdcd
mov eax, dword [esi + 0xac]
cmp dword [eax - 0xc], ecx
setne al
and al, bl
mov byte [esp + 0x16], al
jmp 0x4fbdcd
mov eax, dword [esi + 0xac]
cmp dword [eax - 0xc], ecx
setne al
and al, bl
cmp byte [esp + 0x17], cl
mov byte [esp + 0x16], al
je 0x4fbdcd
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
cmp dword [eax - 0xc], ecx
setne al
and byte [esp + 0x16], al
push dword [esp + 0x30]
lea eax, [esp + 0x1c]
call fcn.0041cb3f
xor ecx, ecx
cmp byte [esp + 0x16], cl
setne cl
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
lea eax, [esp + 0x18]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x28]
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], eax
call fcn.00411e4b
test al, al
jne 0x4fbe51
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x4fbe21
call fcn.00447be0
cmp ebx, dword [esi + 4]
jne 0x4fbe2b
call fcn.00447be0
cmp ebx, dword [esi + 4]
mov edi, dword [ebx + 0xc]
jne 0x4fbe38
call fcn.00447be0
push dword [ebx + 0x10]
push edi
call dword [0x574eb4]
lea esi, [esp + 0x30]
call fcn.0041a666
mov ebx, dword [esp + 0x34]
jmp 0x4fbdfb
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax]
lea eax, [esp + 0x38]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x28]
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], eax
call fcn.00411e4b
test al, al
jne 0x4fbec6
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x4fbe8d
call fcn.00447be0
cmp ebx, dword [esi + 4]
jne 0x4fbe97
call fcn.00447be0
cmp ebx, dword [esi + 4]
mov edi, dword [ebx + 0xc]
jne 0x4fbea4
call fcn.00447be0
movzx eax, word [ebx + 0x10]
push 0
push eax
push 0xf1
push edi
call dword [0x574f08]
lea esi, [esp + 0x30]
call fcn.0041a666
mov ebx, dword [esp + 0x34]
jmp 0x4fbe67
lea eax, [esp + 0x38]
mov byte [esp + 0xa0], 0
call fcn.0042b89f
or dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x18]
call fcn.0042b89f
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret