Function at 0x422fe3
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 0x423212
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423212
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 0x423088
cmp dword [ebp - 8], esi
je 0x423088
push dword [ebp - 8]
call fcn.004260f9
cmp eax, esi
pop ecx
mov dword [ebp - 0xc], eax
jne 0x42305b
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
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 0x423088
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0041ef9f
add esp, 0x10
test al, al
jne 0x423096
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423212
lea ecx, [ebp - 0x20]
call fcn.0041cf28
mov edi, 0x42ec08
lea ecx, [ebp - 0x44]
push edi
call fcn.0041cf98
push edi
lea ecx, [ebp - 0x38]
call fcn.0041cf98
push esi
lea ecx, [ebp - 0x44]
push dword [ebp + 8]
call fcn.0041d195
cmp dword [ebp + 0xc], esi
je 0x4230d2
push esi
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
call fcn.0041d195
xor edi, edi
cmp dword [ebp - 0x14], esi
mov dword [ebp + 8], esi
jbe 0x42314f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
mov eax, dword [eax + edi*4]
add eax, dword [ebp - 0xc]
push eax
call fcn.0041cf98
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.0041cf98
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.0041d2c4
test al, al
jne 0x42312b
push esi
lea ecx, [ebp - 0x44]
call fcn.0041de81
add eax, 4
lea ecx, [ebp - 0x50]
push eax
call fcn.0041d348
test al, al
je 0x4231a5
cmp dword [ebp - 0x2c], esi
jne 0x423174
cmp dword [ebp + 0xc], esi
jne 0x4231a5
inc dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.0041d05e
lea ecx, [ebp - 0x50]
call fcn.0041d05e
inc edi
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x4230dc
push dword [ebp - 0x10]
call fcn.004260ee
cmp dword [ebp + 8], esi
pop ecx
je 0x4231f1
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x4231d9
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4231f1
jbe 0x4231a5
cmp dword [ebp + 0xc], esi
je 0x4231a5
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041d2c4
test al, al
jne 0x423135
push esi
lea ecx, [ebp - 0x38]
call fcn.0041de81
add eax, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041d348
test al, al
jne 0x423135
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041d213
push esi
lea ecx, [ebp - 0x20]
call fcn.0041d146
cmp dword [ebp - 0x2c], esi
jbe 0x4231cb
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041d213
push esi
lea ecx, [ebp - 0x20]
call fcn.0041d146
jmp 0x423138
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.0041de81
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.0041d05e
lea ecx, [ebp - 0x44]
call fcn.0041d05e
lea ecx, [ebp - 0x20]
call fcn.0041d05e
pop edi
pop esi
pop ebx
leave
ret 8