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

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
push ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push esi
push edi
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x4b15f0
push 0x80000001
call ebx
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44195c
push 0
push 0
push 0xf0
push 0x28ab
push dword [0x4def88]
mov dword [esp + 0x28], 0
call edi
push eax
call esi
test eax, eax
je 0x441870
or dword [esp + 0x14], 1
push 0
push 0
push 0xf0
push 0x28ac
push dword [0x4def88]
call edi
push eax
call esi
test eax, eax
je 0x441892
or dword [esp + 0x14], 2
push 0
push 0
push 0xf0
push 0x28ad
push dword [0x4def88]
call edi
push eax
call esi
test eax, eax
je 0x4418b4
or dword [esp + 0x14], 4
push 0
push 0
push 0xf0
push 0x28ae
push dword [0x4def88]
call edi
push eax
call esi
test eax, eax
je 0x4418d6
or dword [esp + 0x14], 8
push 0
push 0
push 0xf0
push 0x28af
push dword [0x4def88]
call edi
push eax
call esi
test eax, eax
je 0x4418f8
or dword [esp + 0x14], 0x10
push 0
push 0
push 0xf0
push 0x28b0
push dword [0x4def88]
call edi
push eax
call esi
test eax, eax
je 0x44191a
or dword [esp + 0x14], 0x20
push 0
push 0
push 0xf0
push 0x28b1
push dword [0x4def88]
call edi
push eax
call esi
test eax, eax
je 0x44193c
or dword [esp + 0x14], 0x40
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x4b2024
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x4b2050
push 0x80000002
call ebx
test eax, eax
jne 0x4419bb
push eax
push eax
push 0xf0
push 0x28b2
push dword [0x4def88]
call edi
push eax
call esi
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x4b20a0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call ebp
push 0
push 0
push 0xf0
push 0x28b3
push dword [0x4def88]
call edi
push eax
call esi
push 0
test eax, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x4b20b0
push 0x80000002
je 0x441a17
call ebx
test eax, eax
jne 0x441a32
push 6
push 0x4b1304
push 1
push eax
push 0x4ad29c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x441a2c
call ebx
test eax, eax
jne 0x441a32
push 0x4ad29c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x10]
call ebp
push 0
push 0
push 0xf0
push 0x28b3
push dword [0x4def88]
call edi
push eax
call esi
push 0
test eax, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x4b2140
push 0x80000000
je 0x441a9a
call ebx
test eax, eax
jne 0x441ab5
push 6
push 0x4b1304
push 1
push eax
push 0x4ad29c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
call ebx
test eax, eax
jne 0x441ab5
push 0x4ad29c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x10]
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret