Function at 0x100c4060
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 0x100c407c
call fcn.100c3c10
test edi, edi
je 0x100c4097
cmp edi, 3
je 0x100c408e
cmp dword [0x518e88], 0
jmp 0x100c409e
cmp dword [0x518e8c], 0
jmp 0x100c409e
cmp dword [0x518e90], 0
sete al
test al, al
jne 0x100c40fa
test edi, edi
je 0x100c40b2
cmp edi, 3
je 0x100c40b2
mov bl, 1
jmp 0x100c40b4
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 0x100c4105
push eax
push 1
push str.Error_CoCreateInstance:__d
call fcn.10012400
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 0x100c4128
test bl, bl
jne 0x100c4128
mov dword [esi + 0xc], 0
jmp 0x100c4139
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 0x100c4178
mov eax, dword [0x10181650]
inc eax
mov dword [0x10181650], eax
jmp 0x100c4183
mov eax, dword [0x10181654]
inc eax
mov dword [0x10181654], eax
mov dword [esi], eax
test bl, bl
je 0x100c4190
or eax, 0x10000000
mov dword [esi], eax
cmp edi, 0xffffffff
je 0x100c41e1
cmp edi, 2
je 0x100c41b5
cmp edi, 3
jne 0x100c41e7
mov eax, dword [esi + 0xc]
push str.rUx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
or dword [esi], 0x20000000
jmp 0x100c41e7
or dword [esi], 0x40000000
mov eax, dword [0x10181644]
test eax, eax
je 0x100c41d3
push dword [eax]
call fcn.100c47b0
mov dword [0x10181644], esi
jmp 0x100c41e7
call dword [0x101215d4]
mov dword [0x10181644], esi
jmp 0x100c41e7
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 0x100c4231
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.100c3ee0
add esp, 0xc
mov ecx, 0x10154ffc
jmp 0x100c4273
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.100c3ee0
mov eax, dword [0x10181648]
add esp, 0xc
cmp edi, 3
cmove eax, esi
cmp byte [ebp + 0xc], 0
mov dword [0x10181648], eax
je 0x100c426e
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.1003c180
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8