Function at 0x1000c900
Capabilities:
Delete registry value
Encode data using xor

Disassembly:
sub esp, 0x120
mov eax, dword [0x10040bd0]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [esp + 0x10], 0x1002c550
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1000c97c
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov edi, eax
test ebp, ebp
je 0x1000c976
sub esi, edi
nop
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, ebp
jb 0x1000c960
mov byte [edi + ebp], 0
mov esi, edi
lea eax, [esp + 0x14]
push eax
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x1000c9a2
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
call ebx
push dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov dword [esp + 0x10], 0x1002c5a8
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1000ca14
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000ca08
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, edi
jb 0x1000c9e8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], 0
mov esi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [esp + 0x18]
push eax
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000ca34
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call ebx
push dword [esp + 0x18]
call edi
mov dword [esp + 0x10], 0x1002c600
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1000ca9a
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000ca94
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, edi
jb 0x1000ca74
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], 0
mov esi, ebx
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000cac2
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [esp + 0x1c]
call edi
mov dword [esp + 0x10], 0x1002c658
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1000cb28
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000cb22
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, edi
jb 0x1000cb02
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], 0
mov esi, ebx
lea eax, [esp + 0x20]
push eax
push 1
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000cb50
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [esp + 0x20]
call edi
mov dword [esp + 0x10], 0x1002c6b0
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1000cbb6
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000cbb0
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, edi
jb 0x1000cb90
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], 0
mov esi, ebx
lea eax, [esp + 0x24]
push eax
push 0xf013f
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000cbe1
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [esp + 0x24]
call edi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10027810
add esp, 0x120
ret