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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x76f11244]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x76ef6b24
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x20c], ebx
call fcn.76f00acb
cmp dword [edi + 0x48], ebx
jne 0x76ef6a8b
cmp dword [edi + 0x50], ebx
je 0x76ef6798
or dword [ebp - 0x20c], 1
cmp dword [edi + 0x4c], ebx
je 0x76ef67a4
or dword [ebp - 0x20c], 2
cmp dword [edi + 0x58], ebx
je 0x76ef67b0
or dword [ebp - 0x20c], 4
cmp dword [ebp - 0x20c], ebx
je 0x76ef67c2
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
push 0x2001f
push ebx
push 0x76ef6b10
push ebx
push dword [edi + 0xc]
push dword [0x76f11f50]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x76ef6a8b
mov esi, dword [edi + 0x10]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x76ef67fc
sub eax, ecx
push 0x100
lea ecx, [ebp - 0x204]
push ecx
mov edx, eax
mov ecx, esi
call fcn.76ef3771
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x204]
push eax
push 1
push ebx
push 0x76ef6afc
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x76ef6a8b
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
je 0x76ef68bd
cmp dword [edi + 0x50], ebx
je 0x76ef68bd
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x210], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x76ef686d
sub eax, dword [ebp - 0x210]
push 0x100
lea edx, [ebp - 0x204]
push edx
mov edx, eax
call fcn.76ef3771
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x204]
push eax
push 1
push ebx
push 0x76ef6ae4
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x76ef68d4
push 1
push 0x76ef905b
push 1
push ebx
push 0x76efe6fc
push dword [ebp - 0x208]
call esi
test eax, eax
jne 0x76ef6a8b
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x76ef6943
cmp dword [edi + 0x4c], ebx
je 0x76ef6943
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x210], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x76ef68f3
sub eax, dword [ebp - 0x210]
push 0x100
lea edx, [ebp - 0x204]
push edx
mov edx, eax
call fcn.76ef3771
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x204]
push eax
push 1
push ebx
push 0x76ef6ac0
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x76ef695a
push 1
push 0x76ef905b
push 1
push ebx
push 0x76efe6e8
push dword [ebp - 0x208]
call esi
test eax, eax
jne 0x76ef6a8b
push 4
lea eax, [edi + 0x30]
push eax
push 4
push ebx
push 0x76efe6d8
push dword [ebp - 0x208]
call esi
push 4
lea eax, [edi + 0x34]
push eax
push 4
push ebx
push 0x76efe6c4
push dword [ebp - 0x208]
call esi
push 4
lea eax, [edi + 0x38]
push eax
push 4
push ebx
push 0x76efe6b4
push dword [ebp - 0x208]
call esi
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push ebx
push 0x76efe6a4
push dword [ebp - 0x208]
call esi
mov eax, dword [edi + 0x24]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 0x28]
push 3
push ebx
push 0x76efe690
push dword [ebp - 0x208]
call esi
test eax, eax
jne 0x76ef6a8b
push 4
lea eax, [edi + 0x24]
push eax
push 4
push ebx
push 0x76efe678
push dword [ebp - 0x208]
call esi
test eax, eax
jne 0x76ef6a8b
push 4
lea eax, [ebp - 0x214]
push eax
push 4
push ebx
push 0x76efe638
push dword [ebp - 0x208]
call esi
test eax, eax
jne 0x76ef6a8b
cmp dword [edi + 0x2c], ebx
je 0x76ef6a52
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
shl ecx, 2
push ecx
add eax, 4
push eax
push 3
push ebx
push 0x76efe664
push dword [ebp - 0x208]
call esi
test eax, eax
jne 0x76ef6a8b
push 4
push dword [edi + 0x2c]
push 4
push ebx
push 0x76efe64c
jmp 0x76ef6a7f
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push ebx
push 0x76efe64c
push dword [ebp - 0x208]
mov dword [ebp - 0x210], ebx
call esi
test eax, eax
jne 0x76ef6a8b
push ebx
push ebx
push 3
push ebx
push 0x76efe664
push dword [ebp - 0x208]
call esi
test eax, eax
je 0x76ef6aa2
push dword [edi + 0xc]
push dword [0x76f11f50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x208], ebx
je 0x76ef6aae
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76ef2610
leave
ret 4