Function at 0x414350
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4b802c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
push 0x74
xorps xmm0, xmm0
mov byte [esp + 0x12], 0
push 0
push 0x4b8c94
movlpd qword [esp + 0x24], xmm0
call fcn.00471a20
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ecx
call 0xae03d2
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x44]
mov dword [0x4b8cf4], eax
xor ecx, ecx
xor eax, eax
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
xor esi, esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, 0x4a4fc0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [0x4b8c94], eax
mov dword [0x4b8c98], ecx
mov dword [0x4b8c9c], edx
mov dword [esp + 0x10], esi
cmp dword [edi + 4], edx
mov eax, dword [esp + 0x48]
sete dl
cmp dword [edi], ecx
sete byte [esp + 0xf]
and dl, byte [esp + 0xf]
mov byte [esp + 0xf], dl
xor edx, edx
cmp dword [edi - 4], eax
movzx esi, byte [esp + 0xf]
cmove edx, esi
mov esi, dword [esp + 0x10]
test dl, dl
mov edx, dword [esp + 0x4c]
jne 0x414425
inc esi
add edi, 0x10
mov dword [esp + 0x10], esi
cmp esi, 4
jb 0x4143e4
jmp 0x414433
shl esi, 4
mov eax, dword [esi + 0x4a4fb8]
mov dword [0x4b8ce4], eax
cmp dword [esp + 0x14], 1
jb 0x414737
mov eax, 1
lea edi, [esp + 0x44]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x44]
mov ecx, edx
shr ecx, 8
mov esi, edx
shr esi, 4
and ecx, 0xf
mov eax, edx
mov dword [0x4b8ce8], ecx
and esi, 0xf
and eax, 0xf
mov dword [0x4b8cec], esi
mov dword [0x4b8cf0], eax
cmp ecx, 0xf
jne 0x4144aa
mov eax, edx
shr eax, 0x14
movzx eax, al
add eax, ecx
mov dword [0x4b8ce8], eax
mov eax, edx
shr eax, 0xc
and eax, 0xf0
add eax, esi
mov dword [0x4b8cec], eax
mov eax, dword [esp + 0x48]
movzx ecx, al
mov dword [0x4b8d0c], ecx
mov ecx, eax
shr eax, 0x10
shr ecx, 8
shr edx, 0xc
movzx eax, al
and edx, 3
movzx ecx, cl
shl ecx, 3
mov dword [0x4b8d14], eax
mov eax, dword [esp + 0x4c]
mov dword [0x4b8d08], edx
mov edx, dword [0x4b8cf8]
mov dword [0x4b8d10], ecx
test al, 1
je 0x4144f9
or edx, 0x100000
mov dword [0x4b8cf8], edx
test al, 2
je 0x414509
or edx, 0x80000000
mov dword [0x4b8cf8], edx
test al, 8
je 0x414519
or edx, 0x4000000
mov dword [0x4b8cf8], edx
test eax, 0x200
je 0x41452c
or edx, 0x200000
mov dword [0x4b8cf8], edx
test eax, 0x2000
je 0x41453c
or edx, 0x40
mov dword [0x4b8cf8], edx
test eax, 0x80000
je 0x41454f
or edx, 0x800000
mov dword [0x4b8cf8], edx
test eax, 0x100000
je 0x414562
or edx, 0x1000000
mov dword [0x4b8cf8], edx
test eax, sym.MZ_d1_Y_WD_DYup__P_qKaRpNjGoy5v1Qo_RIwLnWH_a
je 0x414575
or edx, 0x8000000
mov dword [0x4b8cf8], edx
test eax, 0x800000
je 0x414588
or edx, 0x10000000
mov dword [0x4b8cf8], edx
test eax, 0x2000000
je 0x41459b
or edx, 0x40000000
mov dword [0x4b8cf8], edx
mov edi, dword [0x4b8cfc]
test eax, 0x4000000
je 0x4145b1
or edi, 8
mov dword [0x4b8cfc], edi
test eax, 0x8000000
je 0x4145c1
or edi, 0x10
mov dword [0x4b8cfc], edi
test eax, 0x40000000
je 0x4145d1
or edi, 1
mov dword [0x4b8cfc], edi
mov ecx, dword [esp + 0x50]
test cl, 0x10
je 0x4145e3
or edx, 4
mov dword [0x4b8cf8], edx
test ecx, 0x100
je 0x4145f4
or edx, 0x20
mov dword [0x4b8cf8], edx
test ecx, 0x8000
je 0x414605
or edx, 0x10
mov dword [0x4b8cf8], edx
test ecx, 0x80000
je 0x414619
or edx, 0x80
mov dword [0x4b8cf8], edx
test ecx, 0x800000
je 0x41462d
or edx, 0x4000
mov dword [0x4b8cf8], edx
test ecx, 0x1000000
je 0x414641
or edx, 0x1000
mov dword [0x4b8cf8], edx
test ecx, 0x2000000
je 0x414655
or edx, 0x48000
mov dword [0x4b8cf8], edx
test ecx, 0x4000000
je 0x414669
or edx, 0xc0000
mov dword [0x4b8cf8], edx
and ecx, 0x10000000
je 0x41467a
or edx, 2
mov dword [0x4b8cf8], edx
mov edx, dword [esp + 0x34]
cmp edx, 1
jne 0x41469c
cmp dword [0x4b8ce4], 2
jne 0x41469c
test ecx, ecx
mov esi, 2
cmovne edx, esi
mov dword [0x4b8cf4], edx
mov ecx, eax
and ecx, 0xc000000
cmp ecx, 0xc000000
jne 0x4146b9
xor ecx, ecx
xgetbv
mov esi, eax
mov eax, dword [esp + 0x4c]
jmp 0x4146bd
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], esi
test eax, 0x10000000
je 0x414745
mov ecx, esi
and ecx, 6
cmp cl, 6
jne 0x414745
or edi, 0x20
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x800
je 0x4146f2
or edi, 0x400
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x4000
je 0x414709
mov edi, ecx
or edi, 0x100
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x10000
je 0x414720
mov edi, ecx
or edi, 0x200
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x20000000
je 0x414745
mov edi, ecx
or edi, 0x80
mov dword [0x4b8cfc], edi
jmp 0x414745
mov eax, dword [esp + 0x18]
mov edi, dword [0x4b8cfc]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 7
jb 0x41499e
mov eax, 7
xor ecx, ecx
push ebx
cpuid
mov dword [esp + 0x1c], ebx
pop ebx
nop
lea esi, [esp + 0x44]
mov dword [esi], eax
lea eax, [esp + 0x44]
mov esi, dword [esp + 0x18]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x48]
test al, 1
je 0x41478b
or edi, 0x20000
mov dword [0x4b8cfc], edi
test al, 8
je 0x41479b
or edi, 0x800
mov dword [0x4b8cfc], edi
test al, 0x10
je 0x4147ab
or edi, 0x2000
mov dword [0x4b8cfc], edi
test eax, 0x100
je 0x4147be
or edi, 0x1000
mov dword [0x4b8cfc], edi
test eax, 0x200
je 0x4147d1
or edi, 0x40000
mov dword [0x4b8cfc], edi
test eax, 0x800
je 0x4147e4
or edi, 0x4000
mov dword [0x4b8cfc], edi
mov edx, eax
shr edx, 0xe
and dl, 1
test eax, 0x40000
je 0x4147fc
or edi, 2
mov dword [0x4b8cfc], edi
test eax, 0x80000
je 0x41480f
or edi, 0x8000
mov dword [0x4b8cfc], edi
mov ecx, dword [0x4b8cf8]
test eax, 0x800000
je 0x414828
or ecx, 0x100
mov dword [0x4b8cf8], ecx
test eax, 0x20000000
je 0x414838
or edi, 4
mov dword [0x4b8cfc], edi
test byte [esp + 0x4c], 1
je 0x41484b
or ecx, 0x400
mov dword [0x4b8cf8], ecx
mov ecx, edi
mov esi, edi
shr ecx, 5
test cl, 1
je 0x414866
test al, 0x20
je 0x414866
or edi, 0x40
mov dword [0x4b8cfc], edi
mov esi, edi
mov cl, dl
test eax, 0x10000
je 0x414918
mov ecx, dword [esp + 0x10]
and ecx, 0x76
cmp cl, 0x76
jne 0x414916
mov edi, esi
or edi, 0x80000
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x20000
je 0x4148a8
or edi, 0x800000
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x4000000
je 0x4148bf
mov edi, ecx
or edi, 0x200000
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x8000000
je 0x4148d6
mov edi, ecx
or edi, sym.MZ_d1_Y_WD_DYup__P_qKaRpNjGoy5v1Qo_RIwLnWH_a
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x10000000
je 0x4148ed
mov edi, ecx
or edi, 0x100000
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, 0x40000000
je 0x414904
mov edi, ecx
or edi, 0x1000000
mov dword [0x4b8cfc], edi
mov ecx, edi
test eax, eax
jns 0x414916
mov edi, ecx
or edi, 0x2000000
mov dword [0x4b8cfc], edi
mov cl, dl
cmp dword [esp + 0x14], 0xd
jb 0x414965
test cl, cl
je 0x414965
mov eax, 0xd
xor ecx, ecx
push ebx
cpuid
mov dword [esp + 0x1c], ebx
pop ebx
nop
lea esi, [esp + 0x44]
mov dword [esi], eax
lea eax, [esp + 0x44]
mov esi, dword [esp + 0x18]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x10]
and eax, dword [esp + 0x44]
and eax, 0x18
cmp al, 0x18
jne 0x414965
or edi, 0x10000
mov dword [0x4b8cfc], edi
mov eax, 0x80000000
lea edi, [esp + 0x44]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
cmp eax, 0x80000004
jae 0x4149a7
cmp eax, 0x80000001
jb 0x414af7
jmp 0x4149af
mov cl, byte [esp + 0xe]
jmp 0x414918
mov dword [esp + 0x10], VariantCopy
mov dword [esp + 0x14], 0x4b8ca4
mov edi, 0x80000001
nop dword [eax]
mov eax, edi
xor ecx, ecx
push ebx
cpuid
mov dword [esp + 0x1c], ebx
pop ebx
nop
lea esi, [esp + 0x44]
mov dword [esi], eax
lea eax, [esp + 0x44]
mov esi, dword [esp + 0x18]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [edi + 0x7fffffff]
cmp eax, 3
ja case.default.0x4149f3
jmp dword [eax*4 + 0x414b58]
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x4b8cf8]
test al, 1
je 0x414a14
or ecx, 0x800
mov dword [0x4b8cf8], ecx
test al, 0x20
je 0x414a24
or ecx, 0x20000000
mov dword [0x4b8cf8], ecx
test al, 0x40
je 0x414a34
or ecx, sym.MZ_d1_Y_WD_DYup__P_qKaRpNjGoy5v1Qo_RIwLnWH_a
mov dword [0x4b8cf8], ecx
test al, al
jns 0x414a44
or ecx, 0x2000000
mov dword [0x4b8cf8], ecx
test eax, 0x100
je 0x414a57
or ecx, 0x200
mov dword [0x4b8cf8], ecx
mov eax, dword [esp + 0x50]
test eax, 0x100000
je 0x414a6b
or ecx, 1
mov dword [0x4b8cf8], ecx
test eax, 0x200000
je 0x414a7e
or ecx, 0x2000
mov dword [0x4b8cf8], ecx
test eax, sym.MZ_d1_Y_WD_DYup__P_qKaRpNjGoy5v1Qo_RIwLnWH_a
je 0x414a91
or ecx, 0x8000
mov dword [0x4b8cf8], ecx
test eax, 0x8000000
je 0x414aa1
or ecx, 8
mov dword [0x4b8cf8], ecx
test eax, 0x40000000
je 0x414ab4
or ecx, 0x28000
mov dword [0x4b8cf8], ecx
test eax, eax
jns case.default.0x4149f3
or ecx, 0x10000
mov dword [0x4b8cf8], ecx
jmp case.default.0x4149f3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0xc], eax
add ecx, 0x10
mov dword [esp + 0x14], ecx
inc edi
cmp edi, dword [esp + 0x10]
jbe 0x4149c0
mov al, byte [0x4b8ca4]
xor ah, ah
mov byte [esp + 0xe], ah
mov ecx, 0x4b8ca4
mov byte [0x4b8ca4], ah
mov edx, ecx
test al, al
je 0x414b42
cmp al, 0x20
jne 0x414b28
cmp ah, 0x40
je 0x414b37
mov ah, byte [ecx + 1]
cmp ah, al
je 0x414b33
cmp ah, 0x40
je 0x414b33
mov ah, al
mov byte [edx], al
inc edx
mov byte [esp + 0xe], ah
jmp 0x414b37
mov ah, byte [esp + 0xe]
mov al, byte [ecx + 1]
inc ecx
mov byte [ecx], 0
test al, al
jne 0x414b13
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [edx], 0
call fcn.0046f763
mov esp, ebp
pop ebp
ret