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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8448
call fcn.005192a0
mov eax, dword [0x5caea4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.00530530
add esp, 0xc
mov dword [ebp - 0x8420], 0x104
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x8448]
lea eax, [ebp + 8]
mov dword [ebp - 0x841c], 0
cmovae eax, dword [ebp + 8]
push ecx
push 0x2011b
push 0
push eax
push esi
mov dword [ebp - 0x8418], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x460e90
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x460e31
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460e27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46104b
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x460e7f
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460e75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46104b
push edx
push ecx
call fcn.00518d68
add esp, 8
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518b27
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x8444]
push eax
lea eax, [ebp - 0x842c]
push eax
lea eax, [ebp - 0x8430]
push eax
lea eax, [ebp - 0x8434]
push eax
lea eax, [ebp - 0x8424]
push eax
lea eax, [ebp - 0x8438]
push eax
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x841c]
push eax
push 0
lea eax, [ebp - 0x8420]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x8448]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, dword [ebp - 0x8424]
test esi, esi
je 0x460fae
add esi, 0xffffffff
js 0x460fae
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x8418], 0x3fff
push eax
push eax
push eax
push eax
mov word [ebp - 0x8414], ax
lea eax, [ebp - 0x8418]
push eax
lea eax, [ebp - 0x8414]
push eax
push esi
push dword [ebp - 0x8448]
call ebx
test eax, eax
jne 0x460fa3
lea eax, [ebp - 0x8428]
mov dword [ebp - 0x8428], 0x208
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 2
lea eax, [ebp - 0x8414]
push eax
push 0
push dword [ebp - 0x8448]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x460fa3
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x460fa3
lea eax, [ebp - 0x8414]
push eax
push dword [ebp - 0x8448]
call edi
sub esi, 1
jns 0x460f10
pop edi
pop ebx
push dword [ebp - 0x8448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x460ff0
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460fe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46104b
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x46103a
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461030
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46104b
push edx
push ecx
call fcn.00518d68
add esp, 8
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00518b27
mov esp, ebp
pop ebp
ret
call fcn.005343f1
int3