Function at 0x437990
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0xe0
push edi
mov eax, esi
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4379a0
movaps xmm0, xmmword [0x4873d0]
lea edi, [esp + 0x20]
movups xmmword [esp + 0x20], xmm0
xor eax, eax
mov dword [esp + 0x54], 0
cpuid
mov dword [edi], eax
lea ebp, [esp + 0x20]
mov dword [edi + 4], ebx
xorps xmm0, xmm0
mov dword [edi + 8], ecx
xor ecx, ecx
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, 0x80000000
cpuid
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movups xmm0, xmmword [esp + 0x38]
mov dword [esp + 0x18], edi
mov dword [esi + 0x60], edi
lea edi, [esp + 0x20]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmmword [esi + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
mov dword [ebp], eax
mov eax, 0x80000002
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
xor ecx, ecx
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x20]
cpuid
movups xmmword [esp + 0x20], xmm0
mov dword [edi], eax
mov eax, edi
mov dword [esi + 0x64], ebp
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, 0x80000003
movups xmmword [esp + 0x20], xmm0
cpuid
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
xor ecx, ecx
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, 0x80000004
cpuid
movups xmmword [esp + 0x20], xmm0
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
cmp dword [esp + 0x18], 1
movups xmm0, xmmword [esp + 0x38]
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x20]
movups xmmword [esi + 0x20], xmm0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
movups xmm0, xmmword [esp + 0x48]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
movups xmmword [esi + 0x30], xmm0
mov dword [esp + 0x64], eax
movups xmm0, xmmword [esp + 0x58]
movups xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [esi + 0x50], xmm0
jge 0x437be6
mov eax, dword fs:[0x2c]
movaps xmm0, xmmword [0x487f90]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0xb508a6d
mov ecx, dword [eax]
mov eax, dword [0x499e94]
mov byte [esp + 0x34], 0x8b
cmp eax, dword [ecx + 4]
jle 0x437bc3
push 0x499e94
call fcn.00452992
add esp, 4
cmp dword [0x499e94], 0xffffffff
jne 0x437bc3
xorps xmm0, xmm0
mov byte [0x499e91], 1
movlpd qword [esp + 0x18], xmm0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
nop word [eax + eax]
mov al, byte [esp + ecx + 0x20]
mov byte [ecx + 0x499e7c], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x437ba9
cmp ecx, 0x15
jb 0x437b90
push 0x47c6f0
call fcn.00452c62
add esp, 4
push 0x499e94
call fcn.00452941
add esp, 4
mov ecx, 0x499e7c
call fcn.0040a530
push 0x499e7c
push 1
call fcn.00401610
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
lea edi, [esp + 0x20]
xor ecx, ecx
mov eax, 1
cpuid
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
cmp eax, 6
jl 0x437c4c
mov eax, 6
lea edi, [esp + 0x20]
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x18]
cmp eax, 7
jl 0x437ccb
xor ecx, ecx
lea edi, [esp + 0x20]
mov eax, 7
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xa0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xbc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x98], edx
mov dword [esi + 0xc4], ecx
cmp edx, 1
jl 0x437cc7
mov eax, 7
lea edi, [esp + 0x20]
mov ecx, 1
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x18]
cmp eax, 0xd
jl 0x437cff
mov eax, 0xd
lea edi, [esp + 0x20]
mov ecx, 1
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x18]
cmp eax, 0x15
jl 0x437d44
mov eax, 0xf
lea edi, [esp + 0x20]
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x18]
cmp eax, 0x16
jl 0x437d71
mov eax, 0x10
lea edi, [esp + 0x20]
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0xdc], eax
cmp ebp, 0x80000001
jb 0x437dab
mov eax, 0x80000001
lea edi, [esp + 0x20]
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x80], eax
cmp ebp, 0x80000007
jb 0x437de5
mov eax, VariantCopy
lea edi, [esp + 0x20]
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc0], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xcc], eax
cmp ebp, 0x80000008
jb 0x437e15
mov eax, VariantCopy
lea edi, [esp + 0x20]
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 0xb0], eax
cmp ebp, 0x8000000a
jb 0x437e45
mov eax, 0x8000000a
lea edi, [esp + 0x20]
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xb8], eax
cmp ebp, 0x8000001f
jb 0x437e70
lea ebp, [esp + 0x20]
mov eax, 0x8000001f
xor ecx, ecx
cpuid
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc8], eax
mov ecx, edi
mov edx, edi
sar ecx, 8
mov eax, edi
and ecx, 0xf
sar edx, 4
and edx, 0xf
mov dword [esi + 0x68], ecx
and eax, 0xf
mov dword [esi + 0x6c], edx
mov dword [esi + 0x78], eax
mov dword [esi + 0x70], ecx
cmp ecx, 0xf
jne 0x437ea3
mov eax, edi
sar eax, 0x14
movzx eax, al
add ecx, eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
cmp ecx, 6
jb 0x437eb9
sar edi, 0xc
and edi, 0xf0
add edi, edx
mov dword [esi + 0x74], edi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x6c
ret