Function at 0x100011b0
Capabilities:
Delete registry key
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x228], eax
cmp dword [esp + 0x244], 0
mov eax, dword [esp + 0x234]
push ebp
mov ebp, dword [esp + 0x23c]
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebp
jne 0x10001225
mov ecx, dword [esp + 0x244]
mov edx, dword [esp + 0x238]
push ecx
push ebx
push ebp
push eax
push edx
mov eax, edi
call fcn.100010f0
add esp, 0x14
test eax, eax
je 0x10001225
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.10001e00
add esp, 0x22c
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServices
push 0x80000002
call esi
test eax, eax
jne 0x10001406
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1000127f
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.10001e00
add esp, 0x22c
ret
lea ecx, [esp + 0x18]
push ecx
push str.SYSTEMCurrentControlSetServices
push 0x80000002
mov dword [esp + 0x34], 1
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100012c9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x100012c2
mov edx, dword [esp + 0x1c]
push edx
call ebp
mov eax, dword [esp + 0x18]
push eax
call ebp
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [esp + 0x2c]
push ecx
push 4
push 0
push 0x1000a49c
push edx
call esi
test eax, eax
jne 0x100013e8
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push eax
push str.ErrorControl
push edx
mov dword [esp + 0x38], 1
call esi
test eax, eax
jne 0x100013e8
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001320
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edi
push 1
push 0
push 0x1000a4c4
push edx
call esi
test eax, eax
jne 0x100013e8
test ebx, ebx
je 0x1000139a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001355
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push ebx
push 1
push 0
push str.Group
push edx
call esi
test eax, eax
jne 0x100013e8
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x24c]
push ecx
push 4
push eax
push 0x1000a4e4
push edx
call esi
test eax, eax
jne 0x100013e8
mov edi, dword [esp + 0x24]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100013a3
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edi
push 1
push 0
push str.DisplayName
push edx
call esi
test eax, eax
jne 0x100013e8
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x240]
push ecx
push 4
push eax
push 0x1000a504
push edx
call esi
test eax, eax
je 0x10001420
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, dword [esp + 0xc]
push eax
call ebp
pop esi
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.10001e00
add esp, 0x22c
ret
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call ebp
xor eax, eax
movzx ecx, word [eax + str.RegistryMachineSystemCurrentControlSetServices_]
mov word [esp + eax + 0x2c], cx
add eax, 2
test cx, cx
jne 0x10001430
mov eax, dword [esp + 0x14]
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001450
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10001464
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24c]
and ecx, 3
push eax
lea eax, [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
call fcn.100010b0
add esp, 4
test eax, eax
jge 0x100014a3
cmp eax, 0xc000010e
jne 0x10001406
mov ecx, dword [esp + 0x234]
pop esi
pop edi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.10001e00
add esp, 0x22c
ret