Function at 0x441c80
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f51c4
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x1fc
xor esi, esi
lea ecx, [ebp - 0x20e]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x210], ax
call fcn.004da450
add esp, 0xc
xor eax, eax
jmp 0x441ce0
movzx ecx, word [eax + str.SYSTEMCurrentControlSetServicesAeFilterUsersInfo]
mov word [ebp + eax - 0x210], cx
add eax, 2
cmp cx, si
jne 0x441ce0
lea edx, [ebp - 0x210]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x218]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
lea edx, [ebp - 0x210]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x228], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x441d49
xor eax, eax
jmp 0x441ff9
mov eax, dword [0x5361b4]
mov edx, dword [eax + 0xc]
mov ecx, 0x5361b4
call edx
add eax, 0x10
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 1
mov eax, dword [0x5361b4]
mov edx, dword [eax + 0xc]
mov ecx, 0x5361b4
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 3
push ebx
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x214]
call fcn.00442020
mov eax, dword [ebp - 0x214]
cmp dword [eax - 0xc], esi
je 0x441df2
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x441da4
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 0x214]
cmp dword [eax - 4], 1
jle 0x441dd7
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.00402fc0
mov eax, dword [ebp - 0x214]
lea edx, [esi + esi]
push edx
push eax
mov eax, dword [ebp - 0x218]
push 1
push 0
push str.AdminUsers
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [ebp - 0x21c]
cmp dword [edi - 0xc], 0
je 0x441e4b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441e03
sub eax, edx
sar eax, 1
cmp dword [edi - 4], 1
mov esi, eax
jle 0x441e30
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.00402fc0
mov edi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
lea eax, [esi + esi]
push eax
push edi
push 1
push 0
push str.AdminUserGroup
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [0x5361b4]
mov eax, dword [edx + 0xc]
mov ecx, 0x5361b4
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 5
mov edx, dword [0x5361b4]
mov eax, dword [edx + 0xc]
mov ecx, 0x5361b4
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 7
push ebx
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x220]
call fcn.00442110
mov ebx, dword [ebp - 0x220]
cmp dword [ebx - 0xc], 0
je 0x441ef8
mov eax, ebx
lea edx, [eax + 2]
jmp 0x441eb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441eb0
sub eax, edx
sar eax, 1
cmp dword [ebx - 4], 1
mov esi, eax
jle 0x441edd
mov ecx, dword [ebx - 0xc]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.00402fc0
mov ebx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x218]
lea eax, [esi + esi]
push eax
push ebx
push 1
push 0
push str.TrustedUsers
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x224]
cmp dword [esi - 0xc], 0
je 0x441f5e
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441f10
sub eax, edx
sar eax, 1
cmp dword [esi - 4], 1
mov edi, eax
jle 0x441f3d
mov edx, dword [esi - 0xc]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.00402fc0
mov esi, dword [ebp - 0x224]
mov edx, dword [ebp - 0x218]
lea ecx, [edi + edi]
push ecx
push esi
push 1
push 0
push str.TrustedUserGroup
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 5
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441f8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441fab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441fcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441ff4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret