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

Disassembly:
mov eax, 0x2534
call fcn.0078c8d0
mov al, byte [0x83dc04]
push ebx
xor ebx, ebx
push edi
cmp al, bl
jne 0x5dcf7d
mov edx, dword [esp + 0x2540]
lea ecx, [esp + 8]
push ecx
xor eax, eax
push 0xf003f
push ebx
mov edi, 0x100
mov dword [esp + 0x40], eax
push edx
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x5dcf7d
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x544]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x28]
push ebx
lea ecx, [esp + 0x54]
push eax
push ecx
push ebx
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0x2000
mov dword [esp + 0x3c], edi
call ebp
cmp eax, ebx
jne 0x5dcda1
lea edx, [esp + 0x44]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x5dcd5c
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x448]
push ecx
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push ebx
lea ecx, [esp + 0x154]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x5dcf46
mov edi, dword [esp + 0x2548]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x244]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], ebx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x244]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x14], ebx
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7f7618
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x244]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x144]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0xf003f
lea ecx, [esp + 0x24c]
push ebx
push ecx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5dcf41
push ebx
push ebx
mov ecx, dword [esp + 0x28]
push ebx
lea edx, [esp + 0x20]
push ebx
push edx
push ebx
lea eax, [esp + 0x30]
push ebx
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [esp + 0x18], ebx
jbe 0x5dced0
lea edx, [esp + 0x244]
push edx
call fcn.005dccf0
add esp, 4
cmp dword [esp + 0x14], ebx
jbe 0x5dcf23
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x544]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x44]
push ebx
lea ecx, [esp + 0x54]
push eax
push ecx
push ebx
push esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], 0x2000
mov dword [esp + 0x58], 0x100
call ebp
cmp eax, ebx
jne 0x5dcf23
lea edx, [esp + 0x44]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x5dceda
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x144]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, 0x100
mov eax, dword [esp + 0x28]
dec eax
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x5dcf5d
cmp dword [esp + 0x34], ebx
je 0x5dcda1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2548]
push ecx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x2534
ret