Function at 0x42c4e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov edi, ecx
xor eax, eax
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
test eax, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
je 0x42c747
mov ebx, eax
mov dword [ebp - 0x14], 0
xor ecx, ecx
mov eax, 1
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [ebp - 0x10], edx
cmp ebx, 6
mov eax, 0
mov edx, 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0
jbe 0x42c568
mov eax, 7
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x38], edx
mov eax, 7
mov ecx, 1
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], 0
mov eax, 0x80000000
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
test eax, eax
mov dword [ebp - 0x2c], 0
je 0x42c5a0
mov eax, 0x80000001
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [ebp - 0x2c], ecx
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x10]
mov ecx, edi
mov eax, edi
mov edx, edi
and ecx, 1
and eax, 0x202
and edx, 0x2000
shl ecx, 8
shl edx, 0xf
or eax, ecx
mov ecx, edi
shr ecx, 9
mov esi, ecx
and ecx, 0x800
and esi, 0x400
or esi, eax
mov eax, edi
and eax, 0x400000
or ecx, esi
mov esi, edi
shl eax, 9
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
and esi, 0x800000
or eax, edx
mov edx, edi
shr ecx, 0x12
shr edx, 0x19
mov dword [ebp - 0x18], eax
mov eax, edi
mov edi, ebx
and ecx, 0x20
and edx, 1
and edi, 0x10
or edi, edx
mov edx, eax
mov eax, dword [ebp - 0x20]
shr edx, 0x1c
and edx, 4
or edi, edx
mov edx, ebx
or ecx, edi
mov edi, dword [ebp - 0x14]
and edx, 0x1000000
shl eax, 0x16
or edx, esi
mov esi, eax
and eax, 0x80000000
and esi, 0x40000000
shr edx, 1
add edx, dword [ebp - 0x18]
mov ebx, edi
shr ebx, 0x10
and ebx, 0x2000
or esi, ebx
mov ebx, edi
or eax, esi
mov esi, edi
and ebx, 0x100
and esi, 8
shl ebx, 0xb
shl esi, 0xf
or ebx, esi
mov esi, dword [ebp - 0x20]
shr esi, 0xa
mov dword [ebp - 0x40], esi
and esi, 1
or ebx, esi
mov esi, dword [ebp - 0x10]
shr esi, 0x13
and esi, 0xc0
add esi, dword [ebp - 0x1c]
or esi, ecx
mov ecx, edi
shr ecx, 0xf
and ecx, 8
or esi, ecx
mov ecx, dword [ebp - 0x30]
or esi, eax
mov eax, ecx
and eax, 0x20000000
shr eax, 0xd
or edx, eax
mov eax, edi
and eax, 0x80000
shl eax, 0xa
or edx, eax
mov eax, edi
shr edi, 9
and eax, 0x800
and edi, 1
shl eax, 0x13
mov dword [ebp - 0x10], edi
or edx, eax
mov eax, ecx
mov edi, edx
not eax
or edi, ebx
test eax, 0xc000000
jne 0x42c8d6
call fcn.00417650
mov ecx, eax
not ecx
test cl, 6
jne 0x42c8d6
mov ecx, edi
mov dword [ebp - 0x1c], eax
and eax, 0xe0
or ecx, 0x1000000
cmp dword [ebp - 0x44], 0xc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], ecx
jbe 0x42c754
mov dword [ebp - 0x28], 0
mov eax, 0xd
mov ecx, 1
mov ebx, esi
or edi, 0x3000000
mov esi, ebx
cpuid
xchg ebx, esi
test al, 1
mov ecx, dword [ebp - 0x10]
cmove edi, dword [ebp - 0x18]
cmove ebx, ebx
cmove ecx, ecx
mov dword [ebp - 0x10], ecx
mov ecx, eax
and eax, 8
and ecx, 2
shl eax, 0x17
shl ecx, 0x1a
or eax, ecx
mov ecx, ebx
or eax, edi
mov dword [ebp - 0x18], eax
jmp 0x42c75d
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esi, esi
jmp 0x42c964
mov ecx, esi
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x34]
mov eax, esi
shr esi, 0xe
mov dword [ebp - 0x14], edx
and edx, 0x20
and esi, 0x4000
shl edx, 0xa
and eax, 0x1000
or edx, esi
mov esi, edi
shl eax, 5
and esi, 0x10
shl esi, 4
or esi, eax
mov eax, edi
shl edi, 0x10
shr eax, 0x11
and eax, 0x40
or eax, esi
mov esi, edi
and edi, 0x60000
and esi, 0x10000
or esi, edx
mov edx, ebx
or edi, esi
and edx, 0x20
mov esi, edi
mov edi, ebx
and edi, 0x10
or esi, ecx
shl edi, 6
lea edi, [edi + edx*4]
mov edx, ebx
and edx, 0x400
shr edx, 1
or edi, edx
or edi, eax
or edi, dword [ebp - 0x18]
cmp dword [ebp - 0x3c], 0xe0
jne 0x42c8d6
mov edx, dword [ebp - 0x14]
and dword [ebp - 0x1c], 0x60000
mov ebx, dword [ebp - 0x40]
mov ecx, edx
mov eax, edx
shl ecx, 7
and eax, 0x10000
and ecx, 0x1000000
lea eax, [ecx + eax*8]
mov ecx, edx
shl ecx, 5
and ecx, 0x4000000
or ecx, eax
mov eax, edx
shr eax, 4
and eax, 0x400000
or eax, ecx
mov ecx, edx
shr ecx, 6
and ecx, 0x200000
or ecx, eax
mov eax, edx
shr eax, 8
and eax, 0x100000
or eax, ecx
mov ecx, edx
shr ecx, 7
and ecx, 0x800000
or ecx, eax
or esi, ecx
mov eax, esi
or eax, 0x2000000
test edx, edx
cmovns eax, esi
mov esi, dword [ebp - 0x20]
and ebx, 6
mov ecx, esi
mov edx, esi
shl esi, 0xe
and ecx, 2
and edx, 0x40
and esi, 0x10000000
shl ecx, 0x1a
shl edx, 0x17
or edx, ecx
or esi, edx
mov edx, dword [ebp - 0x38]
or esi, eax
mov eax, dword [ebp - 0x24]
mov ecx, edx
shr ecx, 0x12
and eax, 0x20
and ecx, 0x20
shr eax, 2
or eax, ecx
mov ecx, edx
shr ecx, 4
and ecx, 0x10
or ebx, ecx
or ebx, eax
or edi, ebx
cmp dword [ebp - 0x1c], 0x60000
jne 0x42c8d6
mov ecx, dword [ebp - 0x24]
mov eax, edx
and edx, 0x400000
and eax, 0x3000000
shr edx, 9
shr eax, 0xd
or edx, eax
and ecx, 0x200000
shr ecx, 7
or ecx, edx
mov edx, dword [ebp - 0x34]
and edx, 0x100
shl edx, 7
or edx, ecx
or edi, edx
mov ebx, dword [ebp - 0x2c]
and ebx, 0x20
shl ebx, 0xf
or ebx, edi
lea edi, [ebp - 0x54]
push 0xc
push str.AuthenticAMDHygonGenuineGenuineIntel
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x42c90c
push 0xc
push 0x4a81bc
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x42c92b
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
mov edx, ecx
shr ecx, 0xa
and ecx, 2
and edx, 0x40
and eax, 0x200000
or dword [ebp - 0x10], ecx
shl edx, 6
or ebx, eax
or esi, edx
push 0xc
push 0x4a81c8
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
mov edi, esi
mov edx, ebx
and esi, 0x4000
mov ecx, edi
and edx, 0xfff3ffff
and ecx, 0xffffbfff
or esi, eax
mov esi, dword [ebp - 0x28]
cmovne edx, ebx
cmovne ecx, edi
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x10]
mov eax, ecx
or eax, 0x80000000
mov dword [0x4af0c8], eax
mov dword [edi + 0xc], esi
mov dword [edi + 8], ebx
mov dword [edi + 4], edx
mov dword [edi], ecx
mov eax, edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret