Function at 0x41f121
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 0x41f350
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 0x41f350
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 0x41f1c6
cmp dword [ebp - 8], esi
je 0x41f1c6
push dword [ebp - 8]
call fcn.0042200e
cmp eax, esi
pop ecx
mov dword [ebp - 0xc], eax
jne 0x41f199
mov ecx, 0x47a7fc
call fcn.0041ab9e
push eax
call fcn.0041b6d2
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 0x41f1c6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0041bbce
add esp, 0x10
test al, al
jne 0x41f1d4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f350
lea ecx, [ebp - 0x20]
call fcn.00419c64
mov edi, str.___
lea ecx, [ebp - 0x44]
push edi
call fcn.00419cd4
push edi
lea ecx, [ebp - 0x38]
call fcn.00419cd4
push esi
lea ecx, [ebp - 0x44]
push dword [ebp + 8]
call fcn.00419ee6
cmp dword [ebp + 0xc], esi
je 0x41f210
push esi
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
call fcn.00419ee6
xor edi, edi
cmp dword [ebp - 0x14], esi
mov dword [ebp + 8], esi
jbe 0x41f28d
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
mov eax, dword [eax + edi*4]
add eax, dword [ebp - 0xc]
push eax
call fcn.00419cd4
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.00419cd4
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.0041a015
test al, al
jne 0x41f269
push esi
lea ecx, [ebp - 0x44]
call fcn.0041ab9e
add eax, 4
lea ecx, [ebp - 0x50]
push eax
call fcn.0041a099
test al, al
je 0x41f2e3
cmp dword [ebp - 0x2c], esi
jne 0x41f2b2
cmp dword [ebp + 0xc], esi
jne 0x41f2e3
inc dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00419d9a
lea ecx, [ebp - 0x50]
call fcn.00419d9a
inc edi
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x41f21a
push dword [ebp - 0x10]
call fcn.0042201c
cmp dword [ebp + 8], esi
pop ecx
je 0x41f32f
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x41f317
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x41f32f
jbe 0x41f2e3
cmp dword [ebp + 0xc], esi
je 0x41f2e3
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041a015
test al, al
jne 0x41f273
push esi
lea ecx, [ebp - 0x38]
call fcn.0041ab9e
add eax, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041a099
test al, al
jne 0x41f273
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x20]
push eax
call fcn.00419f64
push esi
lea ecx, [ebp - 0x20]
call fcn.00419e97
cmp dword [ebp - 0x2c], esi
jbe 0x41f309
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
call fcn.00419f64
push esi
lea ecx, [ebp - 0x20]
call fcn.00419e97
jmp 0x41f276
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.0041ab9e
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.00419d9a
lea ecx, [ebp - 0x44]
call fcn.00419d9a
lea ecx, [ebp - 0x20]
call fcn.00419d9a
pop edi
pop esi
pop ebx
leave
ret 8