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

Disassembly:
sub esp, 0x420
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebp
mov ebp, dword [esp + 0x428]
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
lea ecx, [esp + 0x226]
push ecx
mov dword [esp + 0x18], esi
mov word [esp + 0x228], ax
call fcn.00476ef0
add esp, 0xc
lea eax, [ebp + 0x208]
test esi, esi
je 0x4242bf
mov eax, esi
push eax
lea edx, [esp + 0x220]
push str.SystemCurrentControlSetServices_s
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0xc
test eax, eax
jl 0x4245bb
push 0
xor ecx, ecx
test esi, esi
lea eax, [esp + 0xc]
push eax
push 0
setne cl
push 2
lea edx, [esp + 0x22c]
push ecx
push 0
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4245bb
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push edi
push str.DeleteFlag
push eax
mov dword [esp + 0x20], 1
call esi
mov ecx, dword [esp + 0x10]
push str.WOW64
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call fcn.004246b0
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.Start
push ecx
call ebx
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x26]
push eax
mov word [esp + 0x28], dx
call fcn.00476ef0
lea eax, [esp + 0x28]
mov edx, str.system32DRIVERS_
mov ecx, eax
add esp, 0xc
xor edi, edi
mov esi, 0x104
sub edx, ecx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x4243b1
movzx ecx, word [edx + eax]
test cx, cx
je 0x4243b1
mov word [eax], cx
add eax, 2
sub esi, 1
jne 0x424391
jmp 0x4243b5
test esi, esi
jne 0x4243bd
sub eax, 2
mov edi, 0x8007007a
xor edx, edx
mov word [eax], dx
test edi, edi
jl 0x4245b9
mov edi, dword [esp + 0x14]
mov ecx, 0x104
lea eax, [esp + 0x1c]
test edi, edi
je 0x424450
jmp 0x4243e0
cmp word [eax], dx
je 0x4243ef
add eax, 2
sub ecx, 1
jne 0x4243e0
jmp 0x424410
test ecx, ecx
je 0x424410
mov eax, 0x104
sub eax, ecx
push SysReAllocString
mov ecx, 0x104
push edi
sub ecx, eax
lea edx, [esp + eax*2 + 0x24]
call fcn.00404a70
mov ecx, 0x104
lea eax, [esp + 0x1c]
lea esp, [esp]
cmp word [eax], 0
je 0x424433
add eax, 2
sub ecx, 1
jne 0x424420
jmp 0x4245b9
test ecx, ecx
je 0x4245b9
mov eax, 0x104
push SysReAllocString
sub eax, ecx
push str..sys
jmp 0x42447d
cmp word [eax], dx
je 0x424462
add eax, 2
sub ecx, 1
jne 0x424450
jmp 0x4245b9
test ecx, ecx
je 0x4245b9
mov eax, 0x104
sub eax, ecx
push SysReAllocString
lea ecx, [ebp + 0xa28]
push ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [esp + eax*2 + 0x24]
call fcn.00404a70
test eax, eax
jl 0x4245b9
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4244a0
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x20]
push eax
push 1
push 0
push str.ImagePath
push ecx
call ebx
mov eax, dword [esp + 0x10]
push 4
lea edx, [ebp + 0xc34]
push edx
push 4
push 0
push str.Type
push eax
call ebx
mov edx, dword [esp + 0x10]
push 4
lea ecx, [ebp + 0xc38]
push ecx
push 4
push 0
push str.ErrorControl
push edx
call ebx
lea ecx, [ebp + 0x820]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x424506
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push 1
push 0
push str.DisplayName
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
push 0x208
lea eax, [esp + 0x228]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.00476ef0
add esp, 0xc
lea eax, [ebp + 0x208]
test edi, edi
je 0x424563
mov eax, edi
push eax
lea ecx, [esp + 0x228]
push str.SystemCurrentControlSetServices_sEnum
push ecx
mov ecx, 0x104
call fcn.00404a10
add esp, 0xc
test eax, eax
jl 0x4245b9
lea edx, [esp + 0x10]
push edx
push 2
push 0
lea eax, [esp + 0x230]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4245b9
mov ecx, dword [esp + 0x10]
push str.INITSTARTFAILED
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop ebx
mov ecx, dword [esp + 0x424]
pop esi
pop ebp
xor ecx, esp
call fcn.00471eba
add esp, 0x420
ret 4