Function at 0x411b46
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, 0x4289b4
call fcn.0041b8d0
sub esp, 0x120
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], eax
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jge 0x411d66
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404bd1
jmp 0x41208c
push 0x4015fc
push edi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
neg esi
sbb esi, esi
push 0x401610
inc esi
push edi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x411bc6
cmp esi, ebx
je 0x411c6e
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
cmp dword [ebp + 0x10], ebx
je 0x411c6e
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 1
mov cl, byte [edi]
mov eax, edi
jmp 0x411c01
cmp cl, 0x5c
je 0x412012
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
cmp cl, bl
jne 0x411bef
mov esi, 0x42e0c8
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x411c34
add esi, 4
cmp esi, 0x42e0f8
jl 0x411c0a
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.004124b1
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x24], ebx
je 0x411c5a
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412042
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00412461
jmp 0x411d0a
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x411c6e
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
push 0x401604
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x411c94
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x1c], ebx
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
push 0x40161c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x411dda
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x12c]
push eax
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
cmp byte [edi], 0x3d
jne 0x412026
cmp dword [ebp + 0x10], ebx
je 0x411d74
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004120ba
mov dword [ebp + 8], ebx
mov esi, eax
cmp esi, ebx
jl 0x412042
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x411d28
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
cmp byte [edi], 0x7b
jne 0x411d66
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x411d66
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call fcn.00411b46
mov esi, eax
cmp esi, ebx
jl 0x412077
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
cmp byte [edi], 0x7d
jne 0x411b91
jmp 0x412077
cmp dword [ebp + 0x14], ebx
jne 0x411dcf
cmp dword [ebp - 0x1c], ebx
je 0x411dcf
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 3
push 0x20006
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.00404be8
cmp eax, ebx
jne 0x412058
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x411dbb
cmp eax, 2
jne 0x412058
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x411dcf
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00412461
jmp 0x411d5c
mov cl, byte [edi]
mov eax, edi
jmp 0x411df2
cmp cl, 0x5c
je 0x412026
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
cmp cl, bl
jne 0x411de0
cmp dword [ebp + 0x10], ebx
je 0x411ea6
mov esi, 0x2001f
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404be8
cmp eax, ebx
je 0x411e6d
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404be8
cmp eax, ebx
je 0x411e6d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x412062
xor eax, eax
cmp dword [ebp - 0x10], ebx
je 0x411e5f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp eax, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jne 0x412062
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
cmp byte [edi], 0x3d
jne 0x411d28
mov ecx, dword [ebp - 0x14]
push edi
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.004120ba
mov esi, eax
cmp esi, ebx
jl 0x412077
jmp 0x411d28
cmp dword [ebp + 0x14], ebx
jne 0x411ec1
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404be8
mov dword [ebp + 8], eax
jmp 0x411ec8
mov dword [ebp + 8], 2
cmp dword [ebp + 8], ebx
je 0x411ed4
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x18], ebx
jne 0x411ee6
mov eax, 0x104
call fcn.0041c620
mov dword [ebp - 0x18], esp
push 0x104
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00412461
mov esi, eax
cmp esi, ebx
jl 0x412077
cmp byte [edi], 0x7b
jne 0x411f52
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
push edi
call fcn.00411b46
mov esi, eax
cmp esi, ebx
jge 0x411f3f
cmp dword [ebp + 0x14], ebx
je 0x412077
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00411a53
mov esi, eax
cmp esi, ebx
jl 0x412077
cmp dword [ebp + 8], 2
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x14], eax
je 0x411d66
cmp dword [ebp + 8], ebx
je 0x411f77
cmp eax, ebx
jne 0x411d66
push dword [ebp + 8]
jmp 0x412063
cmp dword [ebp - 0x20], ebx
je 0x411fce
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0041242c
test eax, eax
je 0x411fce
mov dword [ebp + 8], 0x42e0c8
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x411d66
add dword [ebp + 8], 4
cmp dword [ebp + 8], 0x42e0f8
jl 0x411f92
cmp dword [ebp - 0x1c], ebx
je 0x411d66
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.004124b1
jmp 0x411d66
cmp dword [ebp - 0x10], ebx
je 0x411fe3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [ebp - 0x10], ebx
jne 0x412062
cmp dword [ebp - 0x1c], ebx
je 0x411d66
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov dword [ebp + 8], eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp eax, ebx
mov dword [ebp + 8], ebx
jne 0x41206c
mov byte [ebp - 4], bl
jmp 0x411d66
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x412026
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x41203b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov eax, 0x80020009
jmp 0x41208e
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x412077
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
jmp 0x412077
push eax
call fcn.004120a5
mov esi, eax
jmp 0x412042
push eax
call fcn.004120a5
mov esi, eax
jmp 0x412077
push eax
call fcn.004120a5
mov esi, eax
mov byte [ebp - 4], bl
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x41208c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov eax, esi
lea esp, [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10