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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
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 ecx, [ebp - 0x81f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x41c], 0x400
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x58]
push eax
push 0x574378
lea ecx, [ebp - 0x418]
push ecx
call sub.MSVCR90.dll_sprintf
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x20007
push 0
push 0x574384
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x484f09
cmp dword [ebp + 8], 0
je 0x484efb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x484ec4
xor ecx, ecx
je 0x484ec4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x824], eax
jmp 0x484ece
mov dword [ebp - 0x824], 0xffffff86
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x824]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov eax, dword [ebp + 8]
push eax
call fcn.00488110
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x80]
jmp 0x485033
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x828], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp - 0x828]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x485027
mov edx, dword [ebp - 0x41c]
mov byte [ebp + edx - 0x820], 0
lea eax, [ebp - 0x820]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x484f73
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x484fa1
cmp dword [ebp - 4], 2
jge 0x484fa1
push 0x2d
mov edx, dword [ebp - 8]
push edx
call sub.MSVCR90.dll_strchr
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x484f9f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x484f6a
cmp dword [ebp - 8], 0
je 0x485018
lea ecx, [ebp - 0x418]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
push eax
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x820]
push eax
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x485018
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x485018
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x5743ac
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00485050
add esp, 8
mov dword [ebp - 0x41c], 0x400
jmp 0x484f09
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret