Function at 0x466f40
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5100e0
push 0x4a72b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
sub esp, 0x298
mov eax, dword [0x517074]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x28c], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x288], xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x2a8], xmm0
lea edi, [ebp - 0x2a8]
mov eax, 0xc0000000
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x2a8], 0xc0000001
jb 0x467117
mov eax, 0xc0000001
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ecx, dword [ebp - 0x29c]
mov eax, ecx
and eax, 0xc00
mov edx, dword [ebp - 0x28c]
cmp eax, 0xc00
jne 0x46703d
mov esi, 0x10000000
mov dword [ebp - 0x288], esi
xor edi, edi
mov dword [ebp - 0x284], edi
mov eax, dword [edx]
or eax, 0xf
cmp eax, 0x6ff
jne 0x467049
mov dword [ebp - 0x288], esi
mov edi, esi
mov dword [ebp - 0x284], edi
jmp 0x467049
mov edi, dword [ebp - 0x284]
mov esi, dword [ebp - 0x288]
mov eax, ecx
and eax, 0xc0
cmp al, 0xc0
jne 0x4670ac
or esi, 0x80000000
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x284], edi
mov eax, ecx
and eax, 0x300
cmp eax, 0x300
jne 0x46708c
or esi, 0x80000000
mov dword [ebp - 0x288], esi
or edi, 0x20000000
mov dword [ebp - 0x284], edi
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6f2
jne 0x4670ac
mov dword [ebp - 0x288], esi
or edi, 0x40000000
mov dword [ebp - 0x284], edi
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x4670c7
or esi, 0x20000000
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x284], edi
mov eax, ecx
and eax, 0x3000
cmp eax, 0x3000
jne 0x4670e7
or esi, 0x40000000
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x284], edi
and ecx, 0x6000000
cmp ecx, 0x6000000
jne 0x467123
mov ecx, edi
and ecx, 0x10000000
xor eax, eax
or eax, ecx
je 0x467123
mov dword [ebp - 0x288], esi
or edi, 0x80000000
mov dword [ebp - 0x284], edi
jmp 0x467123
mov edi, dword [ebp - 0x284]
mov esi, dword [ebp - 0x288]
mov ecx, esi
and ecx, 0x10000000
mov eax, edi
and eax, 0x10000000
or ecx, eax
je 0x46722f
push 0x80
push 0
lea eax, [ebp - 0x190]
push eax
call fcn.004a5940
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x28c], eax
cmp eax, 0x40
jae 0x46716e
mov byte [ebp + eax - 0xd0], al
mov byte [ebp + eax - 0x190], al
inc eax
jmp 0x467152
mov ecx, edi
and ecx, 0x10000000
xor eax, eax
or eax, ecx
lea eax, [ebp - 0x190]
je 0x4671cd
push 1
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00401086
push 1
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004010a4
add esp, 0x18
cmp dword [ebp - 0x190], 0xd94c26c6
jne 0x467218
cmp dword [ebp - 0x184], 0xdf4be2f9
jne 0x467218
cmp dword [ebp - 0x174], 0x3d472e12
jmp 0x467216
push 0x40
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040104a
push 0x40
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00401068
add esp, 0x18
cmp dword [ebp - 0x190], 0x3bc155d6
jne 0x467218
cmp dword [ebp - 0x184], 0x929fda9
jne 0x467218
cmp dword [ebp - 0x174], 0x3050f33f
je 0x46722f
xorps xmm0, xmm0
movlpd qword [ebp - 0x288], xmm0
mov esi, dword [ebp - 0x288]
mov edi, dword [ebp - 0x284]
mov eax, esi
and eax, 0x80000000
or eax, 0
je 0x46735f
push 0x40
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.004a5940
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x290], eax
cmp eax, 0x40
jae 0x467269
mov byte [ebp + eax - 0x110], al
inc eax
jmp 0x467254
xor ecx, ecx
mov dword [ebp - 0x294], ecx
cmp ecx, 0x3c
jae 0x467286
imul eax, ecx, 0x1010101
mov dword [ebp + ecx*4 - 0x280], eax
inc ecx
jmp 0x46726b
xor ecx, ecx
mov dword [ebp - 0x298], ecx
cmp ecx, 0x10
jae 0x46729d
lea eax, [ecx + 0x65]
mov byte [ebp + ecx - 0x50], al
inc ecx
jmp 0x467288
xorps xmm0, xmm0
movaps xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0x8a
push 4
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00401000
mov dword [ebp - 0x40], 0x48c
push 3
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00401000
mov dword [ebp - 0x40], 0xa8e
lea eax, [ebp - 0x50]
push eax
push 4
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00401023
add esp, 0x40
cmp dword [ebp - 0x90], 0x728bfd02
jne 0x467347
cmp dword [ebp - 0x7c], 0x2ea9a507
jne 0x467347
cmp dword [ebp - 0x68], 0x62e1453c
jne 0x467347
cmp dword [ebp - 0x54], 0x383df7da
je 0x46735f
and esi, 0x7fffffff
mov dword [ebp - 0x288], esi
and edi, 0xdfffffff
mov dword [ebp - 0x284], edi
mov eax, esi
and eax, 0x20000000
or eax, 0
je 0x46737a
lea eax, [ebp - 0x110]
push eax
call fcn.004010e0
add esp, 4
mov dword [ebp - 4], 0xfffffffe
jmp 0x4673b0
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret