Function at 0x1000c836
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x100124aa
call fcn.10011e79
mov eax, dword [0x10014024]
mov ebx, 0x10014024
mov edi, dword [ebp + 0x10]
cmp eax, ebx
je 0x1000c86f
test byte [eax + 0x1c], 1
je 0x1000c86f
cmp byte [eax + 0x19], 5
jb 0x1000c86f
push edi
push ecx
push dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000bac0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.1000acf9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000d486
push dword [ebp - 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.1000ccb8
mov esi, eax
mov edx, dword [0x10014024]
cmp edx, ebx
je 0x1000c8d2
test byte [edx + 0x1c], 2
je 0x1000c8d2
cmp byte [edx + 0x19], 4
jb 0x1000c8d2
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100021cc
push 0x5a
pop ecx
call fcn.10002ec1
mov edx, dword [0x10014024]
mov ebx, dword [ebp - 0x28]
test esi, esi
jne 0x1000c9d4
lea eax, [ebp - 0x14]
push eax
push 0x10001b78
lea ecx, [ebp - 0x28]
call fcn.1000aa71
mov dword [ebp - 0x18], eax
mov edx, dword [0x10014024]
cmp edx, 0x10014024
je 0x1000c930
test byte [edx + 0x1c], 2
je 0x1000c930
cmp byte [edx + 0x19], 4
jb 0x1000c930
push eax
push dword [ebp - 0x14]
push 0x10001b78
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100021cc
push 0x5b
pop ecx
call fcn.10003fe1
mov edx, dword [0x10014024]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1000c93d
cmp edi, dword [ebp - 0x14]
je 0x1000ca0b
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
push eax
push 4
push 0
push 0x10001b78
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov edx, dword [0x10014024]
cmp edx, 0x10014024
je 0x1000c992
test byte [edx + 0x1c], 2
je 0x1000c992
cmp byte [edx + 0x19], 4
jb 0x1000c992
push esi
push edi
push 0x10001b78
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100021cc
push 0x5c
pop ecx
call fcn.10003fe1
mov edx, dword [0x10014024]
cmp dword [ebp - 0x18], 0
jne 0x1000ca0b
mov edx, dword [ebp - 0x10]
mov ecx, 0x3ec
push 0
push 0x10001b78
call fcn.1000ee73
mov edx, dword [0x10014024]
cmp edx, 0x10014024
je 0x1000ca41
test byte [edx + 0x1c], 2
je 0x1000ca0b
cmp byte [edx + 0x19], 4
jb 0x1000ca0b
push dword [edx + 0x14]
push dword [edx + 0x10]
push 0x5d
jmp 0x1000c9fa
cmp esi, 2
jne 0x1000ca0b
mov esi, 0x490
cmp edx, 0x10014024
je 0x1000ca41
test byte [edx + 0x1c], 2
je 0x1000ca0b
cmp byte [edx + 0x19], 4
jb 0x1000ca0b
push dword [edx + 0x14]
push dword [edx + 0x10]
push 0x5e
mov edx, 0x100021cc
pop ecx
call fcn.10002ea3
mov edx, dword [0x10014024]
cmp edx, 0x10014024
je 0x1000ca41
test byte [edx + 0x1c], 1
je 0x1000ca41
movzx ecx, byte [edx + 0x19]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x1000ca41
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100021cc
push 0x5f
pop ecx
call fcn.10003014
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000b376
test ebx, ebx
je 0x1000ca57
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.10011e47
ret 0xc