Function at 0x4bdd40
Capabilities:
Reference processor manufacturer constants
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0xe8], eax
xor eax, eax
xor ecx, ecx
cpuid
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov byte [esp + 0x48], 0
lea edi, [esi + 0x38]
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.004684ce
mov eax, dword [0x901700]
test al, 1
je 0x4be007
mov ebx, dword [0x9016fc]
lea ecx, [esi + 0x2c]
push ebx
call fcn.00467edc
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4bdf38
mov dword [esp + 0x10], edi
mov edi, eax
mov eax, 1
xor ecx, ecx
cpuid
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
cmp edi, 7
jl 0x4bdde9
mov eax, 7
xor ecx, ecx
mov edi, edx
cpuid
mov edx, edi
and ebx, 0x20
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0xc]
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 0x10], eax
mov eax, edi
shr eax, 0xc
and eax, 3
mov dword [esp + 8], esi
mov dword [esi + 4], eax
mov esi, edi
shr esi, 8
and esi, 0xf
shr edi, 4
and edi, 0xf
cmp esi, 0xf
je 0x4bde5a
cmp esi, 6
jne 0x4bde6d
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x43]
test al, al
jns 0x4bde31
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
cmp eax, 0xc
jne 0x4bde89
mov ecx, dword [esp + 0x10]
push 0xc
push str.GenuineIntel
push 0xffffffffffffffff
push 0
mov ebx, edx
call fcn.00468a3e
mov edx, ebx
test eax, eax
je 0x4bde5a
xor eax, eax
xor ecx, ecx
jmp 0x4bde8b
mov ecx, dword [esp + 0xc]
shr ecx, 0x10
and ecx, 0xf
mov eax, ecx
shl eax, 4
or edi, eax
jmp 0x4bde6f
xor ecx, ecx
xor eax, eax
cmp esi, 0xf
jne 0x4bde85
mov eax, dword [esp + 0xc]
shr eax, 0x14
movzx eax, al
lea ebx, [eax + 0xf]
jmp 0x4bde90
mov ebx, esi
jmp 0x4bde90
xor eax, eax
mov ebx, 6
mov esi, dword [esp + 8]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
mov eax, edx
shr eax, 0x17
and al, 1
mov byte [esi + 0x1c], al
mov eax, edx
shr eax, 0x19
and al, 1
mov byte [esi + 0x1d], al
shr edx, 0x1a
and dl, 1
mov byte [esi + 0x1e], dl
mov ecx, dword [esp + 0x18]
mov eax, ecx
and al, 1
mov byte [esi + 0x1f], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x20], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x21], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x22], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x23], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x28], al
mov eax, ecx
and eax, 0x1c000000
cmp eax, 0x1c000000
jne 0x4bdf18
mov edi, ecx
xor ecx, ecx
xgetbv
mov ecx, edi
not eax
test al, 6
sete al
jmp 0x4bdf1a
xor eax, eax
mov byte [esi + 0x24], al
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x26], cl
test al, al
setne al
cmp dword [esp + 0x14], 0
setne cl
and cl, al
mov byte [esi + 0x25], cl
mov eax, SysReAllocStringLen
xor ecx, ecx
cpuid
cmp eax, reloc.OLEAUT32.dll_SysReAllocStringLen
jl 0x4bdfbe
mov edi, eax
mov eax, reloc.OLEAUT32.dll_SysReAllocString
xor ecx, ecx
cpuid
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov eax, SysReAllocStringLen
xor ecx, ecx
cpuid
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov eax, reloc.OLEAUT32.dll_SysReAllocStringLen
xor ecx, ecx
cpuid
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov byte [esp + 0x6c], 0
lea ecx, [esi + 0x44]
lea eax, [esp + 0x3c]
push eax
call fcn.004684ce
cmp edi, reloc.OLEAUT32.dll_VariantInit
jl 0x4bdfbe
mov eax, reloc.OLEAUT32.dll_VariantInit
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x27], dh
cmp byte [esi + 0x27], 0
je 0x4bdfda
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.00517c1a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esi + 0x28], 0
je 0x4bdfc4
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x4bdfc4
cmp ebx, 0x7263694d
jne 0x4bdfc4
cmp ecx, 0x666f736f
jne 0x4bdfc4
mov byte [esi + 0x27], 1
jmp 0x4bdfc4
mov dword [esp + 0x10], edi
mov dword [esp + 8], esi
or eax, 1
mov dword [0x901700], eax
lea esi, [esp + 0x70]
mov ecx, esi
push str.intel
push str.GenuineIntel
call fcn.004be420
lea ecx, [esp + 0x88]
push 0x69d3f7
push 0x653600
call fcn.004be420
lea ecx, [esp + 0xa0]
push str.hygon
push str.HygonGenuine
call fcn.004be420
lea ecx, [esp + 0xb8]
push str.centaur
push str.CentaurHauls
call fcn.004be420
lea ecx, [esp + 0xd0]
push str.zhaoxin
push str.Shanghai
call fcn.004be420
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x3f800000
lea edi, [esp + 0x34]
lea ebx, [esp + 0x20]
mov ecx, ebx
push esi
mov dword [esp + 0x10], esi
push esi
push edi
call fcn.0044fc9c
mov ecx, ebx
lea eax, [esp + 0x88]
push eax
push eax
push edi
call fcn.0044fc9c
mov ecx, ebx
lea eax, [esp + 0xa0]
push eax
push eax
push edi
call fcn.0044fc9c
mov ecx, ebx
lea eax, [esp + 0xb8]
push eax
push eax
push edi
call fcn.0044fc9c
mov ecx, ebx
lea eax, [esp + 0xd0]
push eax
push eax
push edi
call fcn.0044fc9c
cmp byte [esp + 0xe7], 0
js 0x4be1e5
cmp byte [esp + 0xdb], 0
js 0x4be202
cmp byte [esp + 0xcf], 0
js 0x4be21f
cmp byte [esp + 0xc3], 0
js 0x4be23c
cmp byte [esp + 0xb7], 0
js 0x4be259
cmp byte [esp + 0xab], 0
js 0x4be276
cmp byte [esp + 0x9f], 0
js 0x4be293
cmp byte [esp + 0x93], 0
js 0x4be2b0
cmp byte [esp + 0x87], 0
js 0x4be2cd
cmp byte [esp + 0x7b], 0
js 0x4be2e4
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x43]
mov ecx, dword [esp + 0x10]
test al, al
jns 0x4be191
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
push 3
push eax
push ecx
lea eax, [esp + 0x40]
push eax
call fcn.0047a7d0
add esp, 0x10
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4be2f5
mov esi, dword [esp + 0x34]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], 0
cmp ebx, 0xfffffff0
jae 0x4be40f
cmp ebx, 0xb
jae 0x4be30f
mov byte [esp + 0x7b], bl
jmp 0x4be334
push dword [esp + 0xdc]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0xdb], 0
jns 0x4be10a
push dword [esp + 0xd0]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0xcf], 0
jns 0x4be118
push dword [esp + 0xc4]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0xc3], 0
jns 0x4be126
push dword [esp + 0xb8]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0xb7], 0
jns 0x4be134
push dword [esp + 0xac]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0xab], 0
jns 0x4be142
push dword [esp + 0xa0]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0x9f], 0
jns 0x4be150
push dword [esp + 0x94]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0x93], 0
jns 0x4be15e
push dword [esp + 0x88]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0x87], 0
jns 0x4be16c
push dword [esp + 0x7c]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0x7b], 0
jns 0x4be177
push dword [esp + 0x70]
call fcn.00517bd6
add esp, 4
jmp 0x4be177
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], 0
jmp 0x4be347
lea edi, [ebx + 0x10]
and edi, 0xfffffff0
push edi
call fcn.00517b56
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x70], eax
or edi, 0x80000000
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
push ebx
push esi
mov esi, dword [esp + 0x14]
push esi
call fcn.006025b0
add esp, 0xc
mov byte [esi + ebx], 0
lea eax, [esp + 0x70]
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00496de0
mov esi, dword [esp + 0x34]
push 0xc
call fcn.00517b56
add esp, 4
mov ebx, eax
test esi, esi
je 0x4be37b
add esi, 0x14
mov ecx, ebx
push esi
call fcn.00467d9e
jmp 0x4be393
mov dword [ebx + 8], 0x7000000
mov dword [ebx], 0x6e6b6e75
mov dword [ebx + 3], 0x6e776f6e
mov byte [ebx + 7], 0
cmp byte [esp + 0x7b], 0
jns 0x4be3a6
push dword [esp + 0x70]
call fcn.00517bd6
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x4be3e9
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x4be3c7
push eax
call fcn.00517bd6
add esp, 4
mov dword [0x9016fc], ebx
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x10]
jmp 0x4bdd9c
push esi
call fcn.00517bd6
add esp, 4
mov esi, edi
test edi, edi
je 0x4be3ae
mov edi, dword [esi]
cmp byte [esi + 0x1f], 0
jns 0x4be3fc
push dword [esi + 0x14]
call fcn.00517bd6
add esp, 4
cmp byte [esi + 0x13], 0
jns 0x4be3da
push dword [esi + 8]
call fcn.00517bd6
add esp, 4
jmp 0x4be3da
lea ecx, [esp + 0x70]
call fcn.00467d64
int3