Function at 0x100c0f10
Capabilities:
Query or enumerate registry value
Read file on windows
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f200
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x28], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], str.R7C0DB872A3F777C0
mov dword [ebp - 0x20], str.RAIDTest
mov dword [ebp - 0x1c], 4
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100c10ea
mov ecx, 0x12
shl ecx, 2
mov edx, dword [0x101db5fc]
mov eax, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov esi, dword [esi + 0x6c]
xor esi, dword [eax + 0x64]
xor esi, dword [edx + ecx]
and esi, 0x10000
je 0x100c1023
mov ecx, 0xe
shl ecx, 2
mov edx, dword [0x101db5fc]
mov eax, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov esi, dword [esi + 0x6c]
xor esi, dword [eax + 0x64]
xor esi, dword [edx + ecx]
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.100bc510
push eax
push 0x20006
push 0
push 0
push 0
mov eax, dword [str.SoftwareLicenses]
push eax
mov ecx, dword [ebp - 0x70]
and ecx, 8
neg ecx
sbb ecx, ecx
add ecx, 0x80000002
push ecx
call fcn.100bc630
add esp, 0x24
test eax, eax
jne 0x100c1023
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
push 3
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100c1019
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x12
shl ecx, 2
mov edx, dword [0x101db5fc]
mov eax, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov esi, dword [esi + 0x6c]
xor esi, dword [eax + 0x64]
xor esi, dword [edx + ecx]
and esi, 0x20000
je 0x100c10e5
push 1
mov ecx, dword [ebp - 0x20]
push ecx
push 3
lea edx, [ebp - 0x44]
push edx
call fcn.100be150
add esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x10
jb 0x100c107d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], eax
jmp 0x100c1086
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x90], ecx
push 0x101a3874
mov edx, dword [ebp - 0x90]
push edx
call fcn.101506ea
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x100c10cb
mov eax, dword [ebp - 0x48]
push eax
push 1
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.101509e1
add esp, 0x10
test eax, eax
je 0x100c10bf
mov byte [ebp - 0x11], 1
mov edx, dword [ebp - 0x48]
push edx
call fcn.10150353
add esp, 4
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
jmp 0x100c1285
mov dword [ebp - 0x4c], 0xffffffff
mov eax, 0xe
shl eax, 2
mov ecx, dword [0x101db5fc]
mov edx, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov esi, dword [esi + 0x6c]
xor esi, dword [edx + 0x64]
xor esi, dword [ecx + eax]
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x10]
push eax
call fcn.100bc6e0
or eax, 0x20019
push eax
push 0
mov ecx, dword [str.SoftwareLicenses]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 8
neg edx
sbb edx, edx
add edx, 0x80000002
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100c119d
mov eax, 0xe
shl eax, 2
mov ecx, dword [0x101db5fc]
mov edx, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov esi, dword [esi + 0x6c]
xor esi, dword [edx + 0x64]
xor esi, dword [ecx + eax]
mov dword [ebp - 0x80], esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [str.SoftwareLicenses]
push ecx
mov edx, dword [ebp - 0x80]
and edx, 8
neg edx
sbb edx, edx
add edx, 0x80000002
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100c11d7
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100c11cd
cmp dword [ebp + 8], 0
je 0x100c11c9
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4c]
mov dword [ecx], edx
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x100c1285
push 1
mov edx, dword [ebp - 0x20]
push edx
push 3
lea eax, [ebp - 0x68]
push eax
call fcn.100be150
add esp, 0x10
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0x10
jb 0x100c120f
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x94], ecx
jmp 0x100c1218
lea edx, [ebp - 0x68]
mov dword [ebp - 0x94], edx
push 0x101a34a4
mov eax, dword [ebp - 0x94]
push eax
call fcn.101506ea
add esp, 8
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x100c126b
mov ecx, dword [ebp - 0x6c]
push ecx
push 1
push 4
lea edx, [ebp - 0x4c]
push edx
call fcn.10150611
add esp, 0x10
test eax, eax
je 0x100c125f
cmp dword [ebp + 8], 0
je 0x100c125b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov byte [ebp - 0x11], 1
mov edx, dword [ebp - 0x6c]
push edx
call fcn.10150353
add esp, 4
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret