Function at 0x100c6c8
Capabilities:
Delete registry value
Get common file path
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.0100e440
mov eax, dword [0x10140d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x1064], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1060], ecx
push eax
lea ecx, [ebp - 0x1050]
mov dword [ebp - 0x1054], 1
call fcn.0100f4f8
mov ebx, 0x10039a8
push ebx
lea eax, [ebp - 0xc3a]
push eax
push eax
lea eax, [ebp - 0xe3c]
push eax
lea eax, [ebp - 0xe46]
push eax
push 0x10039ec
mov edi, 0x900
push edi
push 0
push 0
mov esi, 0x105
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.01011c3f
add esp, 0x2c
lea eax, [ebp - 0x628]
push eax
call fcn.01010f56
test eax, eax
jne 0x100c7af
push 0x104
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
lea eax, [ebp - 0xc3a]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x1003998
push edi
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.01011c3f
add esp, 0x24
lea eax, [ebp - 0x628]
push eax
call fcn.01010f56
test eax, eax
jne 0x100c7b1
jmp 0x100c9aa
xor ebx, ebx
push 0x20a
lea eax, [ebp - 0x834]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x834]
push eax
push 0x10017d4
push 0x1003918
push 0x1002c64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
cmp ax, word [ebp - 0x834]
je 0x100c9a4
lea eax, [ebp - 0x834]
push eax
push 0x1003880
push 0x1003690
push edi
push ebx
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.01011c3f
add esp, 0x20
test eax, eax
jl 0x100c846
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call fcn.01006df9
xor ecx, ecx
test eax, eax
setge cl
and ecx, 1
mov dword [ebp - 0x1054], ecx
lea eax, [ebp - 0x834]
push eax
push 0x1003984
push edi
push ebx
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.01011c3f
add esp, 0x1c
test eax, eax
jl 0x100c887
lea eax, [ebp - 0x210]
push eax
push 0x80000000
call fcn.01006df9
xor ecx, ecx
test eax, eax
setge cl
and dword [ebp - 0x1054], ecx
lea eax, [ebp - 0xc3a]
push eax
push 0x1003818
push 0x1003690
push edi
push ebx
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.01011c3f
add esp, 0x20
test eax, eax
jl 0x100c91a
lea eax, [ebp - 0x1058]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100c91a
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x10039b4
push dword [ebp - 0x1058]
call edi
neg eax
sbb eax, eax
push 0x10039cc
push dword [ebp - 0x1058]
inc eax
and dword [ebp - 0x1054], eax
call edi
push dword [ebp - 0x1058]
neg eax
sbb eax, eax
inc eax
and dword [ebp - 0x1054], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1058], ebx
push dword [ebp - 0x1064]
xor eax, eax
mov word [ebp - 0x41c], ax
push esi
lea eax, [ebp - 0x41c]
push eax
call fcn.01006852
test eax, eax
je 0x100c9a4
push 1
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x41c]
push eax
push ebx
mov dword [ebp - 0x105c], ebx
call fcn.010065f8
test eax, eax
je 0x100c999
push 0x19
push dword [ebp - 0x1060]
push dword [ebp - 0x1064]
call fcn.01009239
push eax
call fcn.010087f4
push 1
push dword [ebp - 0x105c]
push dword [ebp - 0x1060]
call fcn.01009239
push eax
call fcn.01007a9f
xor ecx, ecx
test eax, eax
setge cl
and dword [ebp - 0x1054], ecx
push dword [ebp - 0x105c]
call sub.cmutil.dll_CmFree
mov eax, dword [ebp - 0x1054]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100e410
leave
ret 0xc