Function at 0x100c4080
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1018164c], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
jne 0x100c409c
call fcn.100c3c30
test edi, edi
je 0x100c40b7
cmp edi, 3
je 0x100c40ae
cmp dword [0x518e88], 0
jmp 0x100c40be
cmp dword [0x518e8c], 0
jmp 0x100c40be
cmp dword [0x518e90], 0
sete al
test al, al
jne 0x100c411a
test edi, edi
je 0x100c40d2
cmp edi, 3
je 0x100c40d2
mov bl, 1
jmp 0x100c40d4
xor bl, bl
push 0x18
call fcn.100e9ed3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 4], esi
lea eax, [esi + 4]
push eax
push 0x10113578
push 3
push 0
movups xmmword [esi], xmm0
push 0x1012e0e4
movq qword [esi + 0x10], xmm0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x100c4125
push eax
push 1
push str.Error_CoCreateInstance:__d
call fcn.10012410
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
lea edx, [esi + 8]
push edx
push 0x1012e114
push ecx
mov eax, dword [ecx]
call dword [eax]
cmp edi, 3
je 0x100c4148
test bl, bl
jne 0x100c4148
mov dword [esi + 0xc], 0
jmp 0x100c4159
mov ecx, dword [esi + 4]
lea edx, [esi + 0xc]
push edx
push 0x10113568
push ecx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 4]
lea edx, [esi + 0x10]
push edx
push 0x1012e104
push ecx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
push eax
push 0x1012e0f4
push ecx
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi + 8]
push dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test bl, bl
je 0x100c4198
mov eax, dword [0x10181650]
inc eax
mov dword [0x10181650], eax
jmp 0x100c41a3
mov eax, dword [0x10181654]
inc eax
mov dword [0x10181654], eax
mov dword [esi], eax
test bl, bl
je 0x100c41b0
or eax, 0x10000000
mov dword [esi], eax
cmp edi, 0xffffffff
je 0x100c4201
cmp edi, 2
je 0x100c41d5
cmp edi, 3
jne 0x100c4207
mov eax, dword [esi + 0xc]
push str.rUx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
or dword [esi], 0x20000000
jmp 0x100c4207
or dword [esi], 0x40000000
mov eax, dword [0x10181644]
test eax, eax
je 0x100c41f3
push dword [eax]
call fcn.100c47d0
mov dword [0x10181644], esi
jmp 0x100c4207
call dword [0x101215d4]
mov dword [0x10181644], esi
jmp 0x100c4207
or dword [esi], 0x80000000
push dword [esi]
mov eax, dword [esi + 0x10]
push 0xa000
push dword [0x1018164c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
test bl, bl
je 0x100c4251
cmp edi, 1
sete al
lea eax, [eax*8 + 0x518e88]
mov eax, dword [eax]
sub eax, dword [ebp + 8]
push eax
push 0
push esi
call fcn.100c3f00
add esp, 0xc
mov ecx, 0x10154ffc
jmp 0x100c4293
cmp edi, 3
setne al
lea eax, [eax*4 + 0x518e8c]
mov eax, dword [eax]
sub eax, dword [ebp + 8]
push eax
push 1
push esi
call fcn.100c3f00
mov eax, dword [0x10181648]
add esp, 0xc
cmp edi, 3
cmove eax, esi
cmp byte [ebp + 0xc], 0
mov dword [0x10181648], eax
je 0x100c428e
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, 0x10154ff0
lea eax, [ebp - 4]
push eax
call fcn.1003c190
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8