Function at 0x420c60
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446356
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00436b40
mov eax, dword [0x45c070]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov edi, ecx
mov dword [esp + 0x2280], ebx
mov dword [esp + 0x44], edx
call fcn.00420ab0
cmp eax, ebx
jl 0x420e3c
cmp word [esi], 0x7d
je 0x420e3c
mov edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push esi
mov dword [esp + 0x20], 1
call edi
neg eax
push str.ForceRemove
sbb ebx, ebx
push esi
inc ebx
call edi
test eax, eax
je 0x420d1f
test ebx, ebx
je 0x420e62
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x420e62
movzx ecx, word [esi]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov eax, esi
cmp cx, di
je 0x420d76
cmp cx, 0x5c
je 0x420d6e
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, di
jne 0x420d57
jmp 0x420d76
cmp eax, edi
jne 0x421297
mov edi, 0x454540
jmp 0x420d80
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x420db3
add edi, 4
cmp edi, 0x454570
jl 0x420d80
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.00420870
mov dword [esp + 0x38], 0
test ebx, ebx
je 0x420e62
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
mov ebx, esi
mov ecx, edi
call fcn.004207d0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
cmp word [esi], 0x7b
jne 0x420e1f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x420e1f
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push 0
push ecx
push edx
push esi
mov ecx, edi
call fcn.00420c60
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
cmp word [esi], 0x7d
jne 0x420cf0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x420e38
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.0042d4af
mov esp, ebp
pop ebp
ret 0x10
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x420e89
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
push 0x4521fc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x420f92
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x26c]
call fcn.00420ab0
xor ebx, ebx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x420e29
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x420e29
cmp word [esi], 0x3d
jne 0x4212b0
cmp dword [ebp + 0x10], ebx
je 0x420f29
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
mov byte [esp + 0x2284], 1
mov dword [esp + 0x4c], edx
push ecx
mov edx, esi
lea ecx, [esp + 0x274]
call fcn.00420380
mov edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], ebx
cmp edi, ebx
jl 0x4212b8
mov byte [esp + 0x2280], bl
jmp 0x420ddf
cmp dword [ebp + 0x14], ebx
jne 0x420f82
cmp dword [esp + 0x18], ebx
je 0x420f82
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push 0x20006
push ebx
push ebx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4211e0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x26c]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x420f77
cmp eax, 2
jne 0x4212ce
cmp edi, ebx
je 0x420f82
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov ebx, esi
call fcn.004207d0
jmp 0x420e17
movzx ecx, word [esi]
xor ebx, ebx
mov eax, esi
cmp cx, bx
je 0x420fbf
mov edi, edi
cmp cx, 0x5c
je 0x420fb7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x420fa0
jmp 0x420fbf
cmp eax, ebx
jne 0x4212b0
cmp dword [ebp + 0x10], ebx
je 0x4210ca
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push esi
push eax
mov dword [esp + 0x2c], ebx
call edi
cmp eax, ebx
jne 0x42100a
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, ebx
je 0x420ffa
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
cmp eax, ebx
je 0x421095
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push esi
push eax
mov dword [esp + 0x2c], 0
call edi
test eax, eax
jne 0x421047
test ebx, ebx
je 0x421039
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x421095
mov ebx, ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push esi
push ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4212ef
test ebx, ebx
je 0x421085
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
test eax, eax
jne 0x4212eb
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
cmp word [esi], 0x3d
jne 0x420ddf
lea eax, [esp + 0x24]
push eax
push edi
mov edx, esi
xor ecx, ecx
call fcn.00420380
jmp 0x420dd7
cmp dword [ebp + 0x14], ebx
jne 0x421142
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push esi
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x421107
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, ebx
je 0x4210ff
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
cmp eax, ebx
je 0x421116
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x6c]
push 0x104
push edx
call fcn.0042ff91
add esp, 0x10
cmp eax, 0x50
ja case.0x42113b.1
movzx eax, byte [eax + 0x421340]
jmp dword [eax*4 + 0x421330]
mov dword [esp + 0x30], 2
jmp 0x42110f
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
mov ebx, esi
mov ecx, edi
call fcn.004207d0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
cmp word [esi], 0x7b
jne 0x4211c0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4211c0
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
push ebx
push 0
push ecx
push esi
mov ecx, edi
call fcn.00420c60
mov dword [esp + 0x14], eax
test eax, eax
jns 0x4211ad
test ebx, ebx
je 0x420e29
mov eax, esi
call fcn.00420ab0
mov dword [esp + 0x14], eax
test eax, eax
js 0x420e29
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x420e1f
test eax, eax
je 0x4211ee
test ecx, ecx
jne 0x420e1f
call fcn.00421ec0
mov dword [esp + 0x14], eax
jmp 0x420e29
mov edi, dword [esp + 0x24]
test ecx, ecx
je 0x42122e
mov ecx, edi
call fcn.004209d0
test eax, eax
je 0x42122e
lea ebx, [esp + 0x64]
call fcn.00420830
test eax, eax
je 0x420e1f
cmp dword [esp + 0x18], 0
je 0x420e1f
mov edx, ebx
push edx
lea ecx, [esp + 0x28]
call fcn.00420870
jmp 0x420e1f
mov ecx, edi
call fcn.004209d0
mov ebx, eax
test edi, edi
je 0x421252
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x42131c
cmp dword [esp + 0x18], 0
je 0x420e1f
test ebx, ebx
jne 0x420e1f
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x64]
lea esi, [esp + 0x54]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], eax
call fcn.00420a40
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x4211e0
mov esi, dword [esp + 0x34]
jmp 0x420e1f
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4212a6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x420e3c
mov eax, dword [esp + 0x24]
cmp eax, ebx
jmp 0x42129d
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4212c7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x420e3c
call fcn.00421ec0
mov dword [esp + 0x14], eax
cmp edi, ebx
je 0x420e29
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x420e29
mov ebx, dword [esp + 0x24]
call fcn.00421ec0
mov esi, eax
test ebx, ebx
je 0x421301
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x420e3c
push 0x8007000e
call fcn.004036b0
push 0x80070057
call fcn.004036b0
call fcn.00421ec0
jmp 0x420e3c
push 0x80004005
call fcn.004036b0
dec esp
adc dword [edx], eax
or byte [ebx], dl
inc edx
add byte [edx], dl
adc eax, dword [edx]
adc eax, dword es:[edx]
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add ah, cl
int3