Function at 0x4132ec
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ded5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x226c
call fcn.00445f70
mov eax, dword [0x47b570]
xor eax, esp
mov dword [esp + 0x2268], eax
push ebx
push esi
push edi
mov eax, dword [0x47b570]
xor eax, esp
push eax
lea eax, [esp + 0x2280]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x68], eax
mov eax, edi
mov dword [esp + 0x2288], esi
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413883
cmp word [edi], 0x7d
je 0x413883
jmp 0x41337e
xor esi, esi
push str.Delete
push edi
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb ebx, ebx
push str.ForceRemove
inc ebx
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4133b3
cmp ebx, esi
je 0x413468
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413883
cmp dword [ebp + 0x10], esi
je 0x413468
push 0x5c
mov eax, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00412814
pop ecx
test eax, eax
jne 0x413831
push edi
call fcn.00412ea7
test eax, eax
je 0x41341f
mov eax, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00412f84
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x18], esi
je 0x41345d
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413841
mov ecx, dword [esp + 0x14]
mov esi, edi
call fcn.00412e42
lea esi, [esp + 0x30]
mov ebx, eax
call fcn.0041309f
test ebx, ebx
js 0x413883
jmp 0x4137e3
lea esi, [esp + 0x30]
call fcn.0041309f
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x413491
mov ecx, dword [esp + 0x14]
mov eax, edi
mov dword [esp + 0x2c], esi
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413883
push 0x46a024
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4135a7
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x274]
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413883
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413883
cmp word [edi], 0x3d
jne 0x41383a
cmp dword [ebp + 0x10], esi
je 0x41353d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2288], 1
mov dword [esp + 0x48], eax
push edi
lea eax, [esp + 0x278]
push eax
lea edx, [esp + 0x50]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00412b09
mov ebx, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp ebx, esi
lea esi, [esp + 0x48]
jl 0x41387e
mov byte [esp + 0x2288], 0
call fcn.0041309f
jmp 0x4137e3
cmp dword [ebp + 0x14], esi
jne 0x413597
cmp dword [esp + 0x2c], esi
je 0x413597
push esi
push dword [esp + 0x20]
mov eax, 0x20006
lea ebx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00412f32
test eax, eax
jne 0x413847
lea eax, [esp + 0x274]
push eax
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41358e
cmp eax, 2
jne 0x413847
lea esi, [esp + 0x54]
call fcn.0041309f
mov ecx, dword [esp + 0x14]
mov esi, edi
call fcn.00412e42
jmp 0x41381f
push 0x5c
mov eax, edi
call fcn.00412814
pop ecx
test eax, eax
jne 0x41383a
cmp dword [ebp + 0x10], esi
je 0x413636
push edi
push dword [esp + 0x20]
mov esi, 0x2001f
mov eax, esi
lea ebx, [esp + 0x28]
call fcn.00412f32
test eax, eax
je 0x413600
push edi
push dword [esp + 0x20]
lea eax, [esi - 6]
call fcn.00412f32
test eax, eax
je 0x413600
push edi
push dword [esp + 0x20]
mov eax, esi
mov ecx, ebx
call fcn.004128a6
mov ebx, eax
test ebx, ebx
jne 0x413852
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.004131d2
mov ebx, eax
test ebx, ebx
js 0x413883
cmp word [edi], 0x3d
jne 0x4137e3
mov ecx, dword [esp + 0x14]
push edi
push 0
lea edx, [esp + 0x28]
call fcn.00412b09
mov ebx, eax
jmp 0x413450
cmp dword [ebp + 0x14], esi
jne 0x413656
push edi
push dword [esp + 0x20]
mov eax, 0x20019
lea ebx, [esp + 0x28]
call fcn.00412f32
mov dword [esp + 0x18], eax
xor esi, esi
jmp 0x41365e
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], esi
je 0x41366b
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x74]
push 0x104
push eax
call fcn.00430c2d
push eax
call fcn.00412dee
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, edi
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413883
mov ecx, dword [esp + 0x14]
mov esi, edi
call fcn.00412e42
mov ebx, eax
xor esi, esi
cmp ebx, esi
jl 0x413883
cmp word [edi], 0x7b
jne 0x4136fa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4136fa
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x28]
push edi
call fcn.004132ec
mov ebx, eax
cmp ebx, esi
jge 0x4136e5
cmp dword [ebp + 0x14], esi
je 0x413883
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.004131d2
mov ebx, eax
cmp ebx, esi
jl 0x413883
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x14], eax
je 0x413825
cmp dword [esp + 0x18], esi
je 0x41372a
cmp eax, esi
jne 0x413825
mov eax, dword [esp + 0x18]
call fcn.0041319d
mov ebx, eax
jmp 0x413883
cmp eax, esi
je 0x41376a
push dword [esp + 0x20]
call fcn.0041306a
test eax, eax
je 0x41376a
lea eax, [esp + 0x6c]
push eax
call fcn.00412ea7
test eax, eax
je 0x413825
cmp dword [esp + 0x2c], esi
je 0x413825
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x24]
call fcn.00412f84
jmp 0x413825
push dword [esp + 0x20]
call fcn.0041306a
lea esi, [esp + 0x20]
mov dword [esp + 0x64], eax
call fcn.0041309f
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [esp + 0x18], eax
jne 0x413864
cmp dword [esp + 0x2c], eax
je 0x413825
cmp dword [esp + 0x64], eax
jne 0x413825
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x6c]
push eax
lea edi, [esp + 0x40]
mov dword [esp + 0x40], ecx
call fcn.00413110
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
cmp eax, ecx
jne 0x413873
mov esi, edi
call fcn.0041309f
mov edi, dword [esp + 0x60]
cmp dword [ebp + 0x10], 0
je 0x413825
cmp word [edi], 0x7b
jne 0x413825
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x413825
mov ecx, dword [esp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x28]
push edi
call fcn.004132ec
mov ebx, eax
test ebx, ebx
js 0x413883
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.004131d2
mov ebx, eax
test ebx, ebx
js 0x413883
cmp word [edi], 0x7d
jne 0x41337c
jmp 0x413883
lea esi, [esp + 0x30]
call fcn.0041309f
mov ebx, 0x80020009
jmp 0x413883
lea esi, [esp + 0x30]
jmp 0x41387e
call fcn.0041319d
lea esi, [esp + 0x54]
jmp 0x41387c
lea esi, [esp + 0x20]
call fcn.0041309f
mov eax, ebx
call fcn.0041319d
jmp 0x41388e
lea esi, [esp + 0x20]
call fcn.0041309f
mov eax, dword [esp + 0x18]
jmp 0x41385d
call fcn.0041319d
lea esi, [esp + 0x3c]
mov ebx, eax
call fcn.0041309f
lea esi, [esp + 0x20]
call fcn.0041309f
mov eax, ebx
mov ecx, dword [esp + 0x2280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2268]
xor ecx, esp
call fcn.0042fd59
mov esp, ebp
pop ebp
ret 0x10