Function at 0x41dff0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1e20
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
mov edi, dword [ebp + 8]
je 0x41e131
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 0x1c
push eax
call fcn.00430330
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41e05e
mov eax, dword [eax]
push 0x2021f
push eax
push SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.0041e700
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404220
mov ebx, dword [ebp - 0x4c]
test esi, esi
jne 0x41e08e
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push 0x1c
push eax
call fcn.00430330
add esp, 8
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x41e0c1
mov eax, dword [eax]
push 0x2021f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.0041e700
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404220
test esi, esi
mov esi, dword [ebp - 0x1c]
jne 0x41e0f1
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41e109
push esi
call edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x41e125
push ebx
call edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x41e235
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x40]
push 0x1c
push eax
call fcn.00430330
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x41e167
mov eax, dword [eax]
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.0041e700
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404220
mov ebx, dword [ebp - 0x1c]
test esi, esi
jne 0x41e197
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
push 0x1c
push eax
call fcn.00430330
add esp, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x41e1ca
mov eax, dword [eax]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.0041e700
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00404220
test esi, esi
mov esi, dword [ebp - 0x4c]
jne 0x41e1fa
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41e212
push esi
call edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x41e22e
push ebx
call edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret 8