Function at 0x1000c4fc
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, 0x100d643c
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov dx, word [eax + 0xc]
mov word [ecx + 0xc], dx
mov al, byte [eax + 0xe]
mov byte [ecx + 0xe], al
mov dword [ebp - 0x10], 0x378
mov dword [ebp - 0xc], 0x278
mov dword [ebp - 8], 0x3bc
cmp dword [0x10034ed4], 0
jne 0x1000c568
call fcn.1000cac9
cmp eax, 0xffffffff
jne 0x1000c568
mov eax, 0xffffffff
jmp 0x1000c7e0
cmp dword [ebp + 8], 0
je 0x1000c5a5
call fcn.10017535
push 0x100d644c
push 0x2b
call fcn.100038e8
mov dword [ebp - 0xa4], eax
call fcn.1001754a
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x1000c5a5
mov eax, 0xffffffff
jmp 0x1000c7e0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb0]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x100d6450
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x1000c5ed
mov eax, 0xffffffff
jmp 0x1000c7e0
mov dword [ebp - 0xac], 0
jmp 0x1000c602
inc dword [ebp - 0xac]
cmp dword [ebp - 0xac], 3
jge 0x1000c66a
push 4
mov eax, dword [ebp - 0xac]
lea eax, [ebp + eax*4 - 0x10]
push eax
push 4
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x1000c649
jmp 0x1000c66a
lea eax, [ebp - 0x20]
push eax
call fcn.1001bd20
add esp, 4
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
inc byte [ebp + eax - 0x21]
jmp 0x1000c5fc
mov dword [ebp - 4], 1
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0x100d6488
push 0x100d6490
call fcn.10005808
add esp, 0x14
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x1000c6b5
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
jmp 0x1000c7e0
mov dword [ebp - 4], 0xffff
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0x100d64c8
push 0x100d64d4
call fcn.10005808
add esp, 0x14
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x1000c700
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
jmp 0x1000c7e0
push pe_nt_image_headers32
push 0x100d650c
lea eax, [ebp - 0xa0]
push eax
call fcn.1001cad0
add esp, 0xc
mov dword [ebp - 4], 0x14
push 4
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xa0]
push eax
push 0x100d6534
call fcn.10005808
add esp, 0x14
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x1000c766
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
jmp 0x1000c7e0
push pe_nt_image_headers32
push 0x100d656c
lea eax, [ebp - 0xa0]
push eax
call fcn.1001cad0
add esp, 0xc
mov dword [ebp - 4], 3
push 4
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xa0]
push eax
push 0x100d659c
call fcn.10005808
add esp, 0x14
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x1000c7cc
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
jmp 0x1000c7e0
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1000c7e0
pop edi
pop esi
pop ebx
leave
ret