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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1057c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 0xc]
call fcn.01010a73
movzx eax, al
test eax, eax
jne 0x1028536
lea ecx, [ebp + 0x10]
call fcn.01010a73
movzx ecx, al
test ecx, ecx
jne 0x1028536
lea ecx, [ebp + 0x14]
call fcn.01010a73
movzx edx, al
test edx, edx
je 0x1028584
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.01010c92
mov eax, dword [ebp - 0x20]
jmp 0x10287a7
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
push 0x1006d78
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10285b4
mov dword [ebp - 0x18], 0
jmp 0x1028718
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.010107dc
push eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10285ef
mov dword [ebp - 0x18], 0
jmp 0x1028718
lea ecx, [ebp + 0x10]
call fcn.01010a68
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x10]
call fcn.01010987
push eax
push 1
push 0
push 0x1006d58
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x102862d
mov dword [ebp - 0x18], 0
jmp 0x1028718
lea ecx, [ebp + 0xc]
call fcn.01010a68
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp + 0xc]
call fcn.01010987
push eax
push 1
push 0
push 0x1006d40
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x102866b
mov dword [ebp - 0x18], 0
jmp 0x1028718
push 0x1006d38
lea ecx, [ebp + 0x14]
call fcn.0101159b
lea ecx, [ebp + 0x14]
call fcn.01010a68
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp + 0x14]
call fcn.01010987
push eax
push 2
push 0
push 0x1006d20
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp + 0x18]
call fcn.01010a73
movzx eax, al
test eax, eax
jne 0x10286d9
lea ecx, [ebp + 0x18]
call fcn.01010a68
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp + 0x18]
call fcn.01010987
push eax
push 1
push 0
push 0x1006d00
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp + 0x1c]
call fcn.01010a73
movzx eax, al
test eax, eax
jne 0x1028711
lea ecx, [ebp + 0x1c]
call fcn.01010a68
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.01010987
push eax
push 1
push 0
push 0x1006cec
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x14], 0
je 0x102872f
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
je 0x102875f
cmp dword [ebp - 0x18], 0
jne 0x102874e
mov ecx, dword [ebp + 8]
call fcn.010107dc
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.01010c92
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18