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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
je 0x425cba
lea eax, [ebp - 4]
push eax
mov eax, dword [0x483760]
or eax, 0x2001f
push eax
push esi
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425cba
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push esi
push esi
mov ebx, str.PendingFileRenameOperations
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x425b30
cmp dword [ebp - 8], esi
je 0x425b30
push dword [ebp - 8]
call fcn.00428bd9
cmp eax, esi
pop ecx
mov dword [ebp - 0xc], eax
jne 0x425b03
mov ecx, 0x482e04
call fcn.0041ff07
push eax
call fcn.00420bbf
pop ecx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push esi
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x425b30
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0042108c
add esp, 0x10
test al, al
jne 0x425b3e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x425cba
lea ecx, [ebp - 0x20]
call fcn.0041ef35
mov edi, 0x431f74
lea ecx, [ebp - 0x44]
push edi
call fcn.0041efa5
push edi
lea ecx, [ebp - 0x38]
call fcn.0041efa5
push esi
lea ecx, [ebp - 0x44]
push dword [ebp + 8]
call fcn.0041f20d
cmp dword [ebp + 0xc], esi
je 0x425b7a
push esi
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
call fcn.0041f20d
xor edi, edi
cmp dword [ebp - 0x14], esi
mov dword [ebp + 8], esi
jbe 0x425bf7
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
mov eax, dword [eax + edi*4]
add eax, dword [ebp - 0xc]
push eax
call fcn.0041efa5
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + edi*4 + 4]
add eax, dword [ebp - 0xc]
push eax
call fcn.0041efa5
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.0041f33c
test al, al
jne 0x425bd3
push esi
lea ecx, [ebp - 0x44]
call fcn.0041ff07
add eax, 4
lea ecx, [ebp - 0x50]
push eax
call fcn.0041f3c0
test al, al
je 0x425c4d
cmp dword [ebp - 0x2c], esi
jne 0x425c1c
cmp dword [ebp + 0xc], esi
jne 0x425c4d
inc dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.0041f06b
lea ecx, [ebp - 0x50]
call fcn.0041f06b
inc edi
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x425b84
push dword [ebp - 0x10]
call fcn.00428bce
cmp dword [ebp + 8], esi
pop ecx
je 0x425c99
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x425c81
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x425c99
jbe 0x425c4d
cmp dword [ebp + 0xc], esi
je 0x425c4d
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f33c
test al, al
jne 0x425bdd
push esi
lea ecx, [ebp - 0x38]
call fcn.0041ff07
add eax, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f3c0
test al, al
jne 0x425bdd
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041f28b
push esi
lea ecx, [ebp - 0x20]
call fcn.0041f1be
cmp dword [ebp - 0x2c], esi
jbe 0x425c73
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041f28b
push esi
lea ecx, [ebp - 0x20]
call fcn.0041f1be
jmp 0x425be0
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.0041ff07
push eax
push 7
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x38]
call fcn.0041f06b
lea ecx, [ebp - 0x44]
call fcn.0041f06b
lea ecx, [ebp - 0x20]
call fcn.0041f06b
pop edi
pop esi
pop ebx
leave
ret 8