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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc28
mov eax, dword [0x6a5f90]
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.00533390
add esp, 0xc
mov byte [ebp - 0xc20], 0
push 0x3ff
push 0
lea ecx, [ebp - 0xc1f]
push ecx
call fcn.00533390
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.00533390
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 0x693f9c
lea edx, [ebp - 0x418]
push edx
call fcn.00536983
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x20007
push 0
push 0x693fa8
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x5671ed
cmp dword [ebp + 8], 0
je 0x5671df
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x5671a8
xor edx, edx
je 0x5671a8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0xc24], ecx
jmp 0x5671b2
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.00577350
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x567358
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 0x56734c
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 0x567257
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x567287
cmp dword [ebp - 4], 2
jge 0x567287
push 0
push 0x2d
mov eax, dword [ebp - 8]
push eax
call fcn.00528e80
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x567285
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x56724e
push 0
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0xc20]
push eax
call fcn.00528800
add esp, 0xc
push 0
push 0x2d
mov ecx, dword [ebp - 8]
push ecx
call fcn.00528e80
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5672be
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
cmp dword [ebp - 8], 0
je 0x56733d
push 0
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00528e10
add esp, 8
push eax
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x820]
push edx
call fcn.00528ce0
add esp, 0x10
test eax, eax
jne 0x56733d
push 0
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x56733d
lea edx, [ebp - 0xc20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x693fd0
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.00567370
add esp, 8
jmp 0x56734c
mov dword [ebp - 0x41c], 0x400
jmp 0x5671ed
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.00532cdb
mov esp, ebp
pop ebp
ret