Function at 0x119d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
lea ecx, [ebp - 0x10]
push ecx
push edi
push edi
push edi
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x30], eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 0x240
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, edi
jl 0x11c3d
mov ecx, dword [ebp - 4]
push ebx
push esi
push ecx
call fcn.00011880
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push str.DeleteFlag
lea edx, [ebp - 0x18]
push edx
call esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
push str.ErrorControl
lea edx, [ebp - 0x18]
push edx
call esi
mov edx, dword [ebp - 4]
mov ebx, dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push edi
lea ecx, [ebp - 0x18]
push ecx
push edx
mov dword [ebp - 0xc], edi
call ebx
push str.Type
lea eax, [ebp - 0x18]
push eax
call esi
mov eax, dword [ebp - 4]
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push edi
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
push str.Start
lea ecx, [ebp - 0x18]
push ecx
call esi
mov ecx, dword [ebp - 4]
push 4
lea edx, [ebp + 0x10]
push edx
push 4
push edi
lea eax, [ebp - 0x18]
push eax
push ecx
call ebx
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x11ae3
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x11ab0
sub eax, edx
push str.Group
lea edx, [ebp - 0x18]
sar eax, 1
push edx
mov edi, eax
call esi
mov ecx, dword [ebp + 0x18]
lea eax, [edi + edi + 2]
push eax
mov eax, dword [ebp - 4]
push ecx
push 1
push 0
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
push str.ImagePath
lea ecx, [ebp - 0x18]
push ecx
call esi
mov edx, dword [ebp + 8]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11af6
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebp - 4]
push 2
push 0
lea ecx, [ebp - 0x18]
push ecx
push edx
call ebx
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push 0x5c
push ecx
call dword [sym.imp.ntoskrnl.exe_wcsrchr]
add esp, 8
test eax, eax
je 0x11b75
add eax, 2
mov dword [ebp + 0x18], eax
je 0x11b75
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11b40
sub eax, edx
push str.DisplayName
lea edx, [ebp - 0x18]
sar eax, 1
push edx
mov edi, eax
call esi
mov ecx, dword [ebp + 0x18]
lea eax, [edi + edi + 2]
push eax
mov eax, dword [ebp - 4]
push ecx
push 1
push 0
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
mov edi, eax
cmp dword [ebp + 0x1c], 0
je 0x11c2f
push str.ObjectName
lea ecx, [ebp - 0x18]
push ecx
call esi
mov eax, dword [ebp - 4]
push 0x18
push str.LocalSystem
push 1
xor edi, edi
push edi
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
push str.Parameters
lea ecx, [ebp - 0x20]
push ecx
call esi
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
push edi
push edi
lea edx, [ebp - 0x20]
push edi
mov dword [ebp - 0x48], edx
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x4c], eax
push 0xf003f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x50], 0x18
mov dword [ebp - 0x44], 0x240
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
mov edi, eax
test edi, edi
jl 0x11c2f
push str.ServiceDll
lea ecx, [ebp - 0x18]
push ecx
call esi
mov esi, dword [ebp + 0x1c]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11c00
mov ecx, dword [ebp - 8]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push 2
push 0
lea eax, [ebp - 0x18]
push eax
push ecx
call ebx
mov edx, dword [ebp - 8]
push edx
mov edi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop esi
mov eax, edi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x18