Function at 0x100ee91
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x102e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102f244]
push esi
xor esi, esi
cmp eax, esi
je 0x100f13f
cmp dword [eax], 3
jb 0x100f13f
push ebx
push edi
push 0x1004c08
mov ebx, 0x80000002
push ebx
push 0x1004b70
push ebx
call fcn.0102846a
push 0x1004af0
push ebx
push 0x1004a68
push ebx
call fcn.0102846a
push 0x100425c
push ebx
mov edi, 0x10049d0
push edi
push ebx
call fcn.0102846a
lea eax, [ebp - 0x188]
push eax
push 0x20019
push esi
push edi
push ebx
mov dword [ebp - 0x188], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100f08a
push 0x7e
lea eax, [ebp - 0x82]
push esi
push eax
mov word [ebp - 0x84], si
call fcn.01017220
add esp, 0xc
push 0x40
pop edi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
push dword [ebp - 0x188]
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x18c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100f070
jmp 0x100ef71
push 0x40
pop edi
inc dword [ebp - 0x18c]
push 0x1004234
push edi
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x194], edi
call fcn.0100ca7e
test eax, eax
jl 0x100f044
push 0x10049c8
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x188]
call fcn.0100cfe4
test al, al
jne 0x100f044
push 9
pop ecx
push 0xdc
lea eax, [ebp - 0x160]
push 0
mov esi, 0x10049a4
lea edi, [ebp - 0x184]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.01017220
and dword [ebp - 0x190], 0
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 0x80
lea eax, [ebp - 0x184]
push eax
call fcn.0100ca7e
test eax, eax
jl 0x100f042
lea eax, [ebp - 0x190]
push eax
push 2
push 0
lea eax, [ebp - 0x184]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100f042
push 0x10049c8
push dword [ebp - 0x190]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x190], 0
je 0x100f042
push dword [ebp - 0x190]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100ef6e
cmp dword [ebp - 0x188], esi
je 0x100f08a
push dword [ebp - 0x188]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x188], esi
lea eax, [ebp - 0x188]
push eax
mov edi, 0xf003f
push edi
push esi
push 0x1004910
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100f131
cmp dword [ebp - 0x188], esi
je 0x100f0c6
push dword [ebp - 0x188]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x188], esi
push 0x1004888
push ebx
push 0x1004910
push ebx
call fcn.0102846a
test eax, eax
je 0x100f131
lea eax, [ebp - 0x188]
push eax
push edi
push esi
push 0x1004840
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100f131
push 4
lea eax, [ebp - 0x18c]
push eax
push 4
push esi
push 0x1004808
push dword [ebp - 0x188]
mov dword [ebp - 0x18c], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x188], esi
je 0x100f131
push dword [ebp - 0x188]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x188], esi
push 0x10047b8
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.010171cf
leave
ret