Function at 0x1008ae60
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x24
mov eax, dword [0x102f8be4]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x102fba10]
test eax, eax
jne 0x1008b1cb
call fcn.102700f0
test eax, eax
jne 0x1008aeaf
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
xor ecx, esp
mov eax, dword [0x102fba10]
cmp ecx, dword [0x102f8be4]
jne 0x1008b1fe
add esp, 0x24
pop ebp
pop ebx
pop edi
pop esi
ret
xor eax, eax
lea edx, [esp + 0x10]
push eax
push eax
push edx
call fcn.10270b90
mov esi, dword [esp + 0x1c]
push 0
push 0x80000000
lea eax, [esp + 0x24]
push eax
call fcn.10270b90
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
push 0
push 1
lea edx, [esp + 0x30]
push edx
call fcn.10270b90
add esp, 0x24
mov edi, dword [esp + 0x1c]
mov edx, edi
mov ecx, edi
and edx, 0x800000
and ecx, 0x2000000
shr edx, 0x17
shr ecx, 0x18
test edi, 0x4000000
mov ebx, dword [esp + 0x18]
mov edi, ebx
mov ebp, dword [esp + 0x10]
lea eax, [edx + ecx]
lea edx, [edx + ecx + 4]
cmovne eax, edx
and edi, 1
mov edx, ebx
test ebx, 0x200
lea edi, [eax + edi*8]
lea eax, [edi + 0x10]
cmovne edi, eax
and edx, 0x400000
shr edx, 0x11
mov eax, ebx
or edi, edx
test ebx, 0x80000
lea ecx, [edi + 0x40]
cmovne edi, ecx
and eax, 0x100000
shr eax, 0xd
or edi, eax
mov eax, ebx
mov edx, edi
and eax, 0x18000000
or edx, 0x100
test ebx, 0x10000000
cmovne edi, edx
cmp eax, 0x18000000
jne 0x1008af82
call fcn.10270210
and eax, 1
shl eax, 9
or edi, eax
mov eax, edi
mov edx, ebx
or eax, 0x400
test ebx, 0x2000000
cmovne edi, eax
and edx, 2
shl edx, 0xa
mov eax, ebx
or edi, edx
and eax, 0x20000000
mov ecx, edi
or ecx, 0x2000
test ebx, 0x40000000
cmovne edi, ecx
shr eax, 0xf
or edi, eax
test ebx, 0x1000
mov ebx, 0
je 0x1008afd6
cmp esi, 7
jb 0x1008b167
mov esi, 1
jmp 0x1008afe1
cmp esi, 7
jb 0x1008b167
xor esi, esi
push 0
push 7
lea eax, [esp + 0x18]
push eax
call fcn.10270b90
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ebx, edi
mov edx, dword [esp + 0x14]
or ebx, 0x10000
mov dword [esp + 4], eax
mov eax, edx
test edx, 0x80000
mov ecx, dword [esp + 0x1c]
cmovne edi, ebx
and eax, 0x40000
shr eax, 1
or edi, eax
mov dword [esp], ecx
mov ecx, edi
or ecx, 0x80000
test edx, 0x20000000
mov dword [esp + 8], edx
cmovne edi, ecx
call fcn.10270244
mov edx, dword [esp + 8]
mov ebx, eax
mov ecx, edx
mov eax, 2
test ebx, ebx
cmovne ebx, eax
and ecx, 0x10000
shl ecx, 4
or edi, ecx
mov ecx, edx
mov eax, edi
and ecx, 0x8000000
or eax, 0x800000
test edx, 0x4000000
cmovne edi, eax
shr ecx, 5
or edi, ecx
mov ecx, edx
mov eax, edi
and ecx, 0x20000
or eax, 0x200000
test edx, 0x10000000
cmovne edi, eax
shl ecx, 8
or edi, ecx
mov ecx, edx
mov eax, edi
and ecx, 0x80000000
or eax, 0x1000000
test edx, 0x40000000
cmovne edi, eax
shr ecx, 5
or edi, ecx
mov eax, edi
or eax, 0x8000000
test byte [esp + 4], 2
cmovne edi, eax
mov eax, dword [esp]
mov ecx, eax
and ecx, 4
shl ecx, 0x1c
or edi, ecx
and eax, 8
je 0x1008b0ec
or edi, 0x20000000
test edx, 0x4000
jne 0x1008b0f4
test edx, 0x200000
lea eax, [ebx + 1]
cmovne ebx, eax
jmp 0x1008b10a
test edx, 0x4000
je 0x1008b112
test edx, 0x200000
lea ecx, [ebx + 1]
cmovne ebx, ecx
or edi, 0x10000000
test eax, eax
je 0x1008b11e
or edi, 0x20000000
jmp 0x1008b11e
test edx, 0x200000
lea eax, [ebx + 1]
cmovne ebx, eax
mov eax, ebx
mov ecx, dword [esp + 4]
or eax, 8
test ecx, 0x1000
cmovne ebx, eax
and ecx, 0x4000
shr ecx, 0xc
or ebx, ecx
mov eax, ebx
or eax, 0x10
test dword [esp], 0x800000
cmovne ebx, eax
test esi, esi
je 0x1008b167
test dl, 0x20
je 0x1008b167
and edx, 0x108
cmp edx, 0x108
jne 0x1008b167
or edi, 0x8000
cmp dword [esp + 0xc], 0x80000001
jb 0x1008b197
push 0
push 0x80000001
lea eax, [esp + 0x18]
push eax
call fcn.10270b90
add esp, 0xc
mov eax, edi
or eax, 0x40000
test dword [esp + 0x18], 0x100
cmovne edi, eax
and ebp, 0xff0
mov edx, edi
or edx, 0x80000000
cmp ebp, 0xb10
mov dword [0x102fba0c], ebx
cmove edi, edx
mov eax, 1
mov dword [0x102fba10], 1
mov dword [0x102fba08], edi
jmp 0x1008b1d7
mov edi, dword [0x102fba08]
mov ebx, dword [0x102fba0c]
mov edx, dword [esp + 0x38]
mov dword [edx], edi
mov dword [edx + 4], ebx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
xor ecx, esp
cmp ecx, dword [0x102f8be4]
jne 0x1008b1fe
add esp, 0x24
pop ebp
pop ebx
pop edi
pop esi
ret
call fcn.1025d860
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]