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

Disassembly:
push 0x2c
mov eax, 0x61040be2
call fcn.6102b2d6
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
call fcn.6100d565
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
mov dword [eax], 1
call fcn.6100d83e
mov byte [ebp - 4], 1
push dword [0x610480f8]
lea ecx, [ebp - 0x20]
call fcn.6100dfda
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.6101836c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.6100d793
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push ebx
push dword [ebp - 0x18]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x61026894
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [0x610480fc]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
call edi
cmp eax, ebx
je 0x610266fe
cmp eax, 2
jmp 0x610268dd
add dword [ebp - 0x14], 4
push dword [ebp - 0x14]
call fcn.6102c0d4
pop ecx
mov dword [esi], eax
cmp eax, ebx
je 0x61026894
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ecx], eax
push ebx
push dword [esi]
call fcn.6102bb20
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [esi]
push ebx
push ebx
push dword [0x610480fc]
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x61026894
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.61019ecc
mov esi, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
call fcn.6100d869
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.6100d99b
cmp eax, ebx
jne 0x6102677f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x61026859
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
call fcn.6100d83e
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.6101e793
push eax
lea ecx, [ebp + 0xc]
call fcn.6100dd8c
push dword [esi]
lea ecx, [ebp + 0xc]
call fcn.61013bc2
lea ecx, [ebp - 0x38]
test eax, eax
jne 0x61026836
lea eax, [ebp + 0xc]
push eax
call fcn.61019dd0
cmp dword [ebp - 0x30], ebx
je 0x61026841
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.61022156
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.6101e793
push eax
lea ecx, [ebp + 8]
call fcn.6100dd8c
push dword [0x61048100]
lea ecx, [ebp + 8]
call fcn.61013bc2
test eax, eax
jne 0x61026841
push dword [0x61048100]
lea ecx, [ebp + 0x14]
call fcn.6100dfda
mov byte [ebp - 4], 6
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.61019dd0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x14]
call fcn.6100d793
jmp 0x61026841
push esi
call fcn.61019dd0
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
call fcn.6100d793
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.6100d793
cmp dword [ebp - 0x30], ebx
je 0x610268cc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.610180d6
mov esi, eax
cmp esi, ebx
je 0x61026894
mov eax, dword [ebp - 0x14]
add eax, eax
push eax
push esi
push 7
push ebx
push dword [0x610480fc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
test eax, eax
je 0x610268c4
call fcn.6102ae57
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x610268a2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.6100d793
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.6100d5a3
mov eax, dword [ebp - 0x1c]
call fcn.6102b3c2
ret 0x14
call fcn.6102ae57
pop ecx
jmp 0x610268df
push dword [0x610480fc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x61026894
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 1
jmp 0x610268a2