Function at 0x10011ad7
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10011d2a
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
jne 0x10011b1d
push 0x28
call fcn.10126fbc
pop ecx
test eax, eax
je 0x10011b0a
mov ecx, eax
call fcn.1002dc14
mov ecx, eax
jmp 0x10011b0c
xor ecx, ecx
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x10], ecx
test eax, eax
je 0x10011b1d
push eax
call fcn.100ca611
pop ecx
mov ecx, dword [ebp + 0x24]
xor edx, edx
mov eax, dword [ebx + 0x10]
inc edx
test cl, 2
je 0x10011b30
or dword [eax + 0xc], edx
jmp 0x10011b34
and dword [eax + 0xc], 0xfffffffe
test cl, 4
je 0x10011b40
mov eax, dword [ebx + 0x10]
or dword [eax + 0xc], 0x20
test ecx, 0x200
je 0x10011b52
mov eax, dword [ebx + 0x10]
or dword [eax + 0xc], 0x80000000
test ecx, 0x400
je 0x10011b61
mov eax, dword [ebx + 0x10]
or dword [eax + 0xc], 0x40
test ecx, 0x1000
je 0x10011b73
mov eax, dword [ebx + 0x10]
or dword [eax + 0xc], 0x10000000
test ecx, 0x2000
je 0x10011b85
mov eax, dword [ebx + 0x10]
or dword [eax + 0xc], 0x40000000
test ecx, 0x4000
je 0x10011b97
mov eax, dword [ebx + 0x10]
or dword [eax + 0xc], 0x20000000
test cl, 8
je 0x10011bb2
mov eax, dword [ebx + 0x10]
mov dword [eax], edx
mov eax, dword [ebx + 0x10]
and dword [eax + 8], 0
mov eax, dword [ebx + 0x10]
mov dword [eax + 4], 0xffffff
mov eax, dword [ebx + 0x10]
sar ecx, 8
push 0x28
mov dword [eax + 0x14], ecx
call fcn.10126fbc
pop ecx
test eax, eax
je 0x10011bdf
mov ecx, dword [ebp + 0x24]
shr ecx, 0xa
and ecx, 2
push ecx
push dword [esi + 0xc]
mov ecx, eax
call fcn.10061f83
mov ecx, eax
jmp 0x10011be1
xor ecx, ecx
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x20]
mov edi, dword [ebp + 0x18]
push dword [ebp + 0x1c]
mov dword [eax + 0x18], ecx
lea eax, [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
push edi
push ebx
push esi
push eax
mov dword [ebp - 0x1c], 0x3f800000
mov dword [ebp - 0x28], 0x3f800000
call fcn.1002d506
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.10098740
lea eax, [esi + edi]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebx]
call fcn.100987e4
push 0x1c
call fcn.10126fbc
mov edi, dword [ebp + 0xc]
pop ecx
test eax, eax
je 0x10011c69
push edi
mov ecx, eax
call fcn.1002dba3
jmp 0x10011c6b
xor eax, eax
lea esi, [ebx + 4]
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x10011c7e
push ecx
mov ecx, esi
call fcn.10011ab1
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.1002de57
test byte [ebp + 0x24], 1
je 0x10011cdc
push 0x10
call fcn.10126fbc
pop ecx
test eax, eax
je 0x10011ca8
push edi
mov ecx, eax
call fcn.100679c2
mov ecx, eax
jmp 0x10011caa
xor ecx, ecx
lea eax, [ebx + 0xc]
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x10011cbd
push edx
mov ecx, eax
call fcn.10005f6c
push 0
push 0
lea eax, [ebp - 0x28]
xor ecx, ecx
push eax
mov eax, dword [ebx]
cmp dword [eax + 0x18], 1
setne cl
push ecx
push dword [esi]
mov ecx, dword [ebx + 0xc]
push edi
call fcn.10067f8d
push 0x38
call fcn.10126fbc
pop ecx
pop edi
test eax, eax
je 0x10011cfb
push dword [ebx + 0x10]
mov ecx, eax
push dword [ebx]
push dword [esi]
call fcn.1002db40
mov ecx, eax
jmp 0x10011cfd
xor ecx, ecx
lea esi, [ebx + 8]
mov eax, dword [esi]
mov dword [esi], ecx
test eax, eax
je 0x10011d10
push eax
mov ecx, esi
call fcn.10011a93
push dword [ebp + 0x2c]
mov ecx, dword [esi]
call fcn.100306b4
cmp dword [ebp + 0x28], 0
je 0x10011d29
mov ecx, dword [ebx]
push 0
call fcn.10098723
pop ebx
pop esi
mov esp, ebp
pop ebp
ret