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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x762f6184]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x128]
push eax
push 0x762e2798
push 0x80000002
mov dword [ebp - 0x130], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x762e90b4
xor eax, eax
jmp 0x762e92b1
push ebx
push 0x28
lea eax, [ebp - 0x2c]
push eax
push 0x10
push esi
call fcn.762e8cd5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x128]
call ebx
test eax, eax
je 0x762e90f1
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x762e92ae
mov esi, dword [sym.imp.ntdll.dll_wcslen]
push edi
call esi
pop ecx
lea eax, [eax + eax + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push 0x762e2800
push dword [ebp - 0x124]
call edi
test eax, eax
jne 0x762e91ab
push dword [ebp - 0x120]
call esi
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x120]
push 1
push 0
push 0x762e92f0
push dword [ebp - 0x124]
call edi
test eax, eax
jne 0x762e91ab
movzx eax, byte [ebp - 0x130]
sub eax, 0x11
je 0x762e916c
dec eax
lea eax, [ebp - 0x11c]
je 0x762e9165
push 0x762e9350
jmp 0x762e9177
push 0x762e9338
jmp 0x762e9177
push 0x762e9320
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.ntdll.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
call esi
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push 0x762e9308
push dword [ebp - 0x124]
call edi
test eax, eax
je 0x762e91d4
push dword [ebp - 0x124]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x128]
jmp 0x762e92ac
push dword [ebp - 0x124]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x128]
call esi
lea eax, [ebp - 0x12c]
push eax
push 0x762e92c0
push 0x80000001
call ebx
mov dword [ebp - 0x120], 1
push 0x28
pop ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push 0xa
push dword [ebp - 0x120]
call fcn.762e8cd5
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x134], ebx
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x762e926b
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntdll.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x762e926b
inc dword [ebp - 0x120]
cmp dword [ebp - 0x120], 0x400
jl 0x762e9207
cmp dword [ebp - 0x120], 0x400
jge 0x762e92a6
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x12c]
call edi
push dword [ebp - 0x12c]
call esi
xor eax, eax
inc eax
jmp 0x762e92b0
push dword [ebp - 0x12c]
call esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.762f4432
leave
ret 0xc