Function at 0x436e00
Capabilities:
Get system information on windows
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push 0x74
push 0
lea eax, [esi + 4]
mov byte [esp + 0x1b], 0
push eax
movlpd qword [esp + 0x2c], xmm0
call fcn.00470f10
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov dword [esi + 0x64], eax
xor eax, eax
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov edi, 0x4b3b80
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xc]
cmp dword [edi + 4], ecx
sete bl
cmp dword [edi], edx
sete cl
xor edx, edx
and bl, cl
cmp dword [edi - 4], eax
movzx ecx, bl
cmove edx, ecx
mov ecx, dword [esp + 0x14]
test dl, dl
jne 0x436ebb
mov edx, dword [esi + 8]
inc ecx
add edi, 0x10
mov dword [esp + 0x14], ecx
cmp ecx, 4
mov ecx, dword [esi + 0xc]
jb 0x436e86
jmp 0x436ec7
shl ecx, 4
mov eax, dword [ecx + 0x4b3b78]
mov dword [esi + 0x54], eax
cmp dword [esp + 0x18], 1
jb 0x43711a
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x2c]
mov ecx, edx
shr ecx, 8
mov edi, edx
shr edi, 4
and ecx, 0xf
mov eax, edx
mov dword [esi + 0x58], ecx
and edi, 0xf
and eax, 0xf
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
cmp ecx, 0xf
jne 0x436f31
mov eax, edx
shr eax, 0x14
movzx eax, al
add eax, ecx
mov dword [esi + 0x58], eax
mov eax, edx
shr eax, 0xc
and eax, 0xf0
add eax, edi
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x30]
movzx ecx, al
mov dword [esi + 0x7c], ecx
mov ecx, eax
shr eax, 0x10
shr ecx, 8
movzx eax, al
shr edx, 0xc
movzx ecx, cl
and edx, 3
shl ecx, 3
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x78], edx
mov dword [esi + 0x80], ecx
test al, 1
je 0x436f70
or dword [esi + 0x68], 0x100000
test al, 2
je 0x436f7b
or dword [esi + 0x68], 0x80000000
test al, 8
je 0x436f86
or dword [esi + 0x68], 0x4000000
test eax, 0x200
je 0x436f94
or dword [esi + 0x68], 0x200000
test eax, 0x2000
je 0x436f9f
or dword [esi + 0x68], 0x40
test eax, 0x80000
je 0x436fad
or dword [esi + 0x68], 0x800000
test eax, 0x100000
je 0x436fbb
or dword [esi + 0x68], 0x1000000
test eax, 0x400000
je 0x436fc9
or dword [esi + 0x68], 0x8000000
test eax, 0x800000
je 0x436fd7
or dword [esi + 0x68], 0x10000000
test eax, 0x2000000
je 0x436fe5
or dword [esi + 0x68], 0x40000000
test eax, 0x4000000
je 0x436ff0
or dword [esi + 0x6c], 8
test eax, 0x8000000
je 0x436ffb
or dword [esi + 0x6c], 0x10
test eax, 0x40000000
je 0x437006
or dword [esi + 0x6c], 1
mov ecx, dword [esp + 0x38]
test cl, 0x10
je 0x437013
or dword [esi + 0x68], 4
test ecx, 0x100
je 0x43701f
or dword [esi + 0x68], 0x20
test ecx, 0x8000
je 0x43702b
or dword [esi + 0x68], 0x10
test ecx, 0x80000
je 0x43703a
or dword [esi + 0x68], 0x80
test ecx, 0x800000
je 0x437049
or dword [esi + 0x68], 0x4000
test ecx, 0x1000000
je 0x437058
or dword [esi + 0x68], 0x1000
test ecx, 0x2000000
je 0x437067
or dword [esi + 0x68], 0x48000
test ecx, 0x4000000
je 0x437076
or dword [esi + 0x68], 0xc0000
and ecx, 0x10000000
je 0x437082
or dword [esi + 0x68], 2
cmp dword [esi + 0x64], 1
jne 0x437099
cmp dword [esi + 0x54], 2
jne 0x437099
test ecx, ecx
je 0x437099
mov dword [esi + 0x64], 2
mov ecx, eax
and ecx, 0xc000000
cmp ecx, 0xc000000
jne 0x4370b6
xor ecx, ecx
xgetbv
mov ebx, eax
mov eax, dword [esp + 0x34]
jmp 0x4370ba
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
test eax, 0x10000000
je 0x437122
mov ecx, ebx
and ecx, 6
cmp cl, 6
jne 0x437122
mov ecx, dword [esi + 0x6c]
or ecx, 0x20
mov dword [esi + 0x6c], ecx
test eax, 0x800
je 0x4370e8
or ecx, 0x400
mov dword [esi + 0x6c], ecx
test eax, 0x4000
je 0x4370f8
or ecx, 0x100
mov dword [esi + 0x6c], ecx
test eax, 0x10000
je 0x437108
or ecx, 0x200
mov dword [esi + 0x6c], ecx
test eax, 0x20000000
je 0x437122
or ecx, 0x80
mov dword [esi + 0x6c], ecx
jmp 0x437122
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], 7
jb 0x43729e
mov eax, 7
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 0x6c]
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x30]
test al, 1
je 0x43715d
or ecx, 0x20000
mov dword [esi + 0x6c], ecx
mov edx, ecx
test al, 8
je 0x43716e
or edx, 0x800
mov dword [esi + 0x6c], edx
mov ecx, edx
test al, 0x10
je 0x43717d
or edx, 0x2000
mov dword [esi + 0x6c], edx
mov ecx, edx
test eax, 0x100
je 0x43718f
or edx, 0x1000
mov dword [esi + 0x6c], edx
mov ecx, edx
test eax, 0x200
je 0x4371a1
or edx, 0x40000
mov dword [esi + 0x6c], edx
mov ecx, edx
test eax, 0x800
je 0x4371b3
or edx, 0x4000
mov dword [esi + 0x6c], edx
mov ecx, edx
mov ebx, eax
shr ebx, 0xe
and bl, 1
test eax, 0x40000
je 0x4371ca
or edx, 2
mov dword [esi + 0x6c], edx
mov ecx, edx
test eax, 0x80000
je 0x4371dc
or edx, 0x8000
mov dword [esi + 0x6c], edx
mov ecx, edx
test eax, 0x800000
je 0x4371ec
or dword [esi + 0x68], 0x100
mov edx, ecx
test eax, 0x20000000
je 0x4371fb
or edx, 4
mov dword [esi + 0x6c], edx
mov ecx, edx
test byte [esp + 0x34], 1
je 0x43720b
or dword [esi + 0x68], 0x400
mov edx, ecx
mov ecx, edx
mov edi, edx
shr ecx, 5
test cl, 1
je 0x437221
test al, 0x20
je 0x437221
or edi, 0x40
mov dword [esi + 0x6c], edi
mov dl, bl
test eax, 0x10000
je 0x4372a2
mov ecx, dword [esp + 0x14]
and ecx, 0x76
cmp cl, 0x76
jne 0x4372a2
or edi, 0x80000
mov dword [esi + 0x6c], edi
test eax, 0x20000
je 0x43724f
or edi, 0x800000
mov dword [esi + 0x6c], edi
test eax, 0x4000000
je 0x43725f
or edi, 0x200000
mov dword [esi + 0x6c], edi
test eax, 0x8000000
je 0x43726f
or edi, 0x400000
mov dword [esi + 0x6c], edi
test eax, 0x10000000
je 0x43727f
or edi, 0x100000
mov dword [esi + 0x6c], edi
test eax, 0x40000000
je 0x43728f
or edi, 0x1000000
mov dword [esi + 0x6c], edi
test eax, eax
jns 0x4372a2
or edi, 0x2000000
mov dword [esi + 0x6c], edi
jmp 0x4372a2
mov dl, byte [esp + 0x13]
cmp dword [esp + 0x18], 0xd
jb 0x4372df
test dl, dl
je 0x4372df
mov eax, 0xd
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
and eax, dword [esp + 0x2c]
and eax, 0x18
cmp al, 0x18
jne 0x4372df
or dword [esi + 0x6c], 0x10000
mov eax, 0x80000000
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
cmp ebx, 0x80000004
jae 0x437326
lea ecx, [esi + 0x14]
mov dword [esp + 0x20], ecx
mov eax, ecx
mov dword [esp + 0x18], ecx
cmp ebx, 0x80000001
jb 0x437441
jmp 0x437339
lea eax, [esi + 0x14]
mov dword [esp + 0x1c], 0x80000004
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov edx, 0x80000001
mov dword [esp + 0x14], edx
mov eax, edx
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x14]
cmp edx, 0x80000001
je 0x4373a1
lea eax, [edx + 0x7ffffffe]
cmp eax, 2
ja 0x43742e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
add ecx, 0x10
mov dword [esp + 0x18], ecx
jmp 0x43742e
mov eax, dword [esp + 0x34]
test al, 1
je 0x4373b0
or dword [esi + 0x68], 0x800
test al, 0x20
je 0x4373bb
or dword [esi + 0x68], 0x20000000
test al, 0x40
je 0x4373c6
or dword [esi + 0x68], 0x400000
test al, al
jns 0x4373d1
or dword [esi + 0x68], 0x2000000
test eax, 0x100
je 0x4373df
or dword [esi + 0x68], 0x200
mov eax, dword [esp + 0x38]
test eax, 0x100000
je 0x4373ee
or dword [esi + 0x68], 1
test eax, 0x200000
je 0x4373fc
or dword [esi + 0x68], 0x2000
test eax, 0x400000
je 0x43740a
or dword [esi + 0x68], 0x8000
test eax, 0x8000000
je 0x437415
or dword [esi + 0x68], 8
test eax, 0x40000000
je 0x437423
or dword [esi + 0x68], 0x28000
test eax, eax
jns 0x43742e
or dword [esi + 0x68], 0x10000
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x1c]
jbe 0x437342
mov ecx, dword [esp + 0x20]
mov al, byte [ecx]
xor ah, ah
mov byte [ecx], ah
mov edx, ecx
test al, al
je 0x437475
nop dword [eax]
cmp al, 0x20
jne 0x437465
cmp ah, 0x40
je 0x43746a
mov bl, byte [ecx + 1]
cmp bl, al
je 0x43746a
cmp bl, 0x40
je 0x43746a
mov byte [edx], al
mov ah, al
inc edx
mov al, byte [ecx + 1]
inc ecx
mov byte [ecx], 0
test al, al
jne 0x437450
pop edi
pop esi
mov byte [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret