Function at 0x41d611
Capabilities:
Delete registry value
Delete service
Persist via run registry key

Disassembly:
mov eax, 0x4caf96
call fcn.004bf1dc
sub esp, 0x170
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
call fcn.0041a90d
test eax, eax
jne 0x41d63a
push 1
pop eax
jmp 0x41d867
call fcn.0041aa31
test eax, eax
je 0x41d876
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x41d6e8
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041dbef
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
push 0x2166
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0041a16a
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x38]
push eax
call fcn.0041dbef
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add edi, 0x184
lea eax, [ebp - 0x38]
push edi
push 0x216e
push eax
mov byte [ebp - 4], 1
call fcn.0041c3cf
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
cmp ecx, ebx
mov eax, 0x4d68e8
jne 0x41d6bf
mov ecx, eax
cmp dword [ebp - 0x34], ebx
je 0x41d6c7
mov eax, dword [ebp - 0x34]
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00405d6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
jmp 0x41d860
lea esi, [edi + 0x84]
push 0x10020
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x41d79b
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041dbef
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
push 0x2166
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 2
call fcn.0041a16a
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0x38]
push eax
call fcn.0041dbef
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add edi, 0x184
lea eax, [ebp - 0x38]
push edi
push 0x216f
push eax
mov byte [ebp - 4], 3
call fcn.0041c3cf
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
cmp ecx, ebx
mov eax, 0x4d68e8
jne 0x41d771
mov ecx, eax
cmp dword [ebp - 0x34], ebx
je 0x41d779
mov eax, dword [ebp - 0x34]
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00405d6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
jmp 0x41d860
push esi
call fcn.00419ef2
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x20], eax
call esi
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x20], ebx
jne 0x41d632
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x98]
push eax
call fcn.0041dbef
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
push 0x2166
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 4
call fcn.0041a16a
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0x68]
push eax
call fcn.0041dbef
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
add edi, 0x184
lea eax, [ebp - 0x68]
push edi
push 0x2170
push eax
mov byte [ebp - 4], 5
call fcn.0041c3cf
mov ecx, dword [ebp - 0x94]
add esp, 0xc
cmp ecx, ebx
mov eax, 0x4d68e8
jne 0x41d838
mov ecx, eax
cmp dword [ebp - 0x64], ebx
je 0x41d840
mov eax, dword [ebp - 0x64]
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00405d6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00405d6e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x16c], 1
jne 0x41d865
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push 0xd
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRunServices
pop ecx
lea edi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 6
push eax
push 0xf003f
lea eax, [ebp - 0xe8]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movsw word es:[edi], word [esi]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41d9a5
lea ecx, [ebp - 0x14]
call fcn.0041a724
mov ecx, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x41d9a5
mov esi, dword [ebp - 0x20]
lea eax, [esi + 0x84]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x41d9a5
lea eax, [ebp - 0x19]
lea ecx, [ebp - 0x80]
push eax
call fcn.0041dbef
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
push 0x2166
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.0041a16a
lea ecx, [ebp - 0xb0]
call fcn.0041c3b1
add esi, 0x184
lea eax, [ebp - 0xb0]
push esi
push 0x2170
push eax
mov byte [ebp - 4], 8
call fcn.0041c3cf
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
cmp ecx, ebx
mov eax, 0x4d68e8
jne 0x41d965
mov ecx, eax
cmp dword [ebp - 0xac], ebx
je 0x41d973
mov eax, dword [ebp - 0xac]
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.00405d6e
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.00405d6e
lea ecx, [ebp - 0x14]
call fcn.0041a724
jmp 0x41d865
lea ecx, [ebp - 0x14]
call fcn.0041a724
jmp 0x41d632