Function at 0x466be0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ab50
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
xor ebx, ebx
cmp dword [0x752d2c], ebx
jne 0x466ee1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push str.ptrk_scdt
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x466ea8
mov eax, dword [ebp - 0x18]
cdq
mov esi, eax
mov edi, edx
push ebx
call fcn.006239e1
add esp, 4
cdq
sub eax, esi
sbb edx, edi
push ebx
push 0x15180
push edx
push eax
call fcn.00624220
cmp eax, ebx
jge 0x466c7a
cmp eax, 0xffffff9c
jge 0x466eda
lea eax, [ebp - 0x28]
push eax
call fcn.006239e1
add esp, 4
mov ecx, dword [ebp - 0x28]
add ecx, 0x4f1a00
mov dword [ebp - 0x18], ecx
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push ebx
push str.ptrk_scdt
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x466eda
lea ecx, [ebp - 0x3c]
call fcn.0051c910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0051c910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
mov edx, dword [0x75f1dc]
push edx
mov eax, dword [0x75dbac]
neg eax
sbb eax, eax
add eax, 0x80000002
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call edi
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x466dc4
cmp esi, 2
je 0x466dc0
lea ecx, [ebp - 0x1c]
call fcn.00402510
mov byte [ebp - 4], 3
cmp dword [0x75dbac], ebx
mov eax, str.CURRENT_USER
jne 0x466d28
mov eax, str.MACHINE
mov ecx, dword [0x75f1dc]
push ecx
push eax
push 0x67bc94
lea edx, [ebp - 0x1c]
push edx
call fcn.00402f80
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0051ca00
test eax, eax
je 0x466d78
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
mov edx, dword [0x75f1dc]
push edx
mov eax, dword [0x75dbac]
neg eax
sbb eax, eax
add eax, 0x80000002
push eax
call edi
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x466db4
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0051cad0
test eax, eax
je 0x466db4
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push ebx
mov eax, dword [0x75f1dc]
push eax
mov ecx, dword [0x75dbac]
neg ecx
sbb ecx, ecx
add ecx, 0x80000002
push ecx
call edi
mov esi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402580
cmp esi, ebx
jne 0x466ddd
push str.MData
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push 0x80000001
call edi
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x466e5e
cmp esi, 2
je 0x466e5a
lea ecx, [ebp - 0x1c]
call fcn.00402510
mov byte [ebp - 4], 4
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push str.CURRENT_USER_s
lea edx, [ebp - 0x1c]
push edx
call fcn.00402f80
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0051ca00
test eax, eax
je 0x466e4e
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push 0x80000001
call edi
mov esi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402580
cmp esi, ebx
jne 0x466e77
push str.MData
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x139f
push 0x111
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0051c970
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.0051c970
jmp 0x466eda
lea eax, [ebp - 0x2c]
push eax
call fcn.006239e1
add esp, 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x3f480
mov dword [ebp - 0x18], ecx
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push ebx
push str.ptrk_scdt
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret