Function at 0x100c4090
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 0x100c40ac
call fcn.100c3c40
test edi, edi
je 0x100c40c7
cmp edi, 3
je 0x100c40be
cmp dword [0x518e88], 0
jmp 0x100c40ce
cmp dword [0x518e8c], 0
jmp 0x100c40ce
cmp dword [0x518e90], 0
sete al
test al, al
jne 0x100c412a
test edi, edi
je 0x100c40e2
cmp edi, 3
je 0x100c40e2
mov bl, 1
jmp 0x100c40e4
xor bl, bl
push 0x18
call fcn.100e9ea6
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 0x100c4135
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 0x100c4158
test bl, bl
jne 0x100c4158
mov dword [esi + 0xc], 0
jmp 0x100c4169
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 0x100c41a8
mov eax, dword [0x10181650]
inc eax
mov dword [0x10181650], eax
jmp 0x100c41b3
mov eax, dword [0x10181654]
inc eax
mov dword [0x10181654], eax
mov dword [esi], eax
test bl, bl
je 0x100c41c0
or eax, 0x10000000
mov dword [esi], eax
cmp edi, 0xffffffff
je 0x100c4211
cmp edi, 2
je 0x100c41e5
cmp edi, 3
jne 0x100c4217
mov eax, dword [esi + 0xc]
push str.rUx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
or dword [esi], 0x20000000
jmp 0x100c4217
or dword [esi], 0x40000000
mov eax, dword [0x10181644]
test eax, eax
je 0x100c4203
push dword [eax]
call fcn.100c47e0
mov dword [0x10181644], esi
jmp 0x100c4217
call dword [0x101215d4]
mov dword [0x10181644], esi
jmp 0x100c4217
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 0x100c4261
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.100c3f10
add esp, 0xc
mov ecx, 0x10154ffc
jmp 0x100c42a3
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.100c3f10
mov eax, dword [0x10181648]
add esp, 0xc
cmp edi, 3
cmove eax, esi
cmp byte [ebp + 0xc], 0
mov dword [0x10181648], eax
je 0x100c429e
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.1003c1f0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8