Function at 0x5660b0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc28
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call fcn.00532490
add esp, 0xc
mov byte [ebp - 0xc20], 0
push 0x3ff
push 0
lea ecx, [ebp - 0xc1f]
push ecx
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x820], 0
push 0x3ff
push 0
lea edx, [ebp - 0x81f]
push edx
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0x41c], 0x400
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x58]
push ecx
push 0x693104
lea edx, [ebp - 0x418]
push edx
call fcn.00535a83
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x20007
push 0
push 0x693110
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x5661ed
cmp dword [ebp + 8], 0
je 0x5661df
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x5661a8
xor edx, edx
je 0x5661a8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0xc24], ecx
jmp 0x5661b2
mov dword [ebp - 0xc24], 0xffffff86
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc24]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov ecx, dword [ebp + 8]
push ecx
call fcn.00576350
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x566358
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc28], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp - 0xc28]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
test eax, eax
jne 0x56634c
mov eax, dword [ebp - 0x41c]
mov byte [ebp + eax - 0x820], 0
lea ecx, [ebp - 0x820]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x566257
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x566287
cmp dword [ebp - 4], 2
jge 0x566287
push 0
push 0x2d
mov eax, dword [ebp - 8]
push eax
call fcn.00527f80
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x566285
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x56624e
push 0
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0xc20]
push eax
call fcn.00527900
add esp, 0xc
push 0
push 0x2d
mov ecx, dword [ebp - 8]
push ecx
call fcn.00527f80
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5662be
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
cmp dword [ebp - 8], 0
je 0x56633d
push 0
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00527f10
add esp, 8
push eax
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x820]
push edx
call fcn.00527de0
add esp, 0x10
test eax, eax
jne 0x56633d
push 0
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x56633d
lea edx, [ebp - 0xc20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x693138
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00566370
add esp, 8
jmp 0x56634c
mov dword [ebp - 0x41c], 0x400
jmp 0x5661ed
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret