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

Disassembly:
sub esp, 0x810
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x824]
mov ebp, ecx
xor esi, esi
push eax
mov ecx, dword [ebp]
push 0x20019
push esi
push edi
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 0x3e8
call ebx
test eax, eax
jne 0x458ee4
lea edx, [esp + 0x20]
push eax
mov ecx, dword [ebp]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
mov eax, dword [esp + 0x844]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x458e69
lea edx, [esp + 0x18]
lea eax, [esp + 0x438]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x344]
push edx
push eax
push 0
push ecx
mov esi, 1
call ebx
test eax, eax
jne 0x458ce6
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x438]
push edx
push eax
mov eax, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x340]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x438]
push ecx
lea ecx, [esp + 0x28]
push edx
push ecx
lea edx, [esp + 0x28]
push 0
lea ecx, [esp + 0x344]
mov eax, esi
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], 0x3e8
inc esi
call ebx
test eax, eax
je 0x458c7f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x12c]
push 0x104
push eax
push 0
push ecx
mov ebx, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x458e54
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x28]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x4a919c
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 + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x12c]
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 + 0x230]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x828]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x230]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4a919c
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 + 0x230]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x12c]
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 + 0x230]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00458bd0
lea edx, [esp + 0x12c]
mov eax, ebx
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, dword [esp + 0x824]
test eax, eax
je 0x458d0d
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x458ee4
mov eax, dword [ebp]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x458ee4
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
push 0x20019
push esi
push edi
push 0x80000002
call ebx
test eax, eax
jne 0x458ed3
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x64
call ebp
inc esi
cmp esi, 0x64
je 0x458ed3
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push edi
push 0x80000002
call ebx
test eax, eax
je 0x458ea6
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x810
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x810
ret 8