Function at 0x405a30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f8d6
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.00423e30
mov eax, dword [0x447854]
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
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2220], ebx
mov edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2244], edx
call fcn.00403780
mov esi, eax
cmp esi, ebx
jl 0x4060e1
cmp word [edi], 0x7d
je 0x4060df
mov edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x405ae1
test ebx, ebx
je 0x405c2d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x405c2d
movzx ecx, word [edi]
mov dword [ebp - 0x223c], edx
mov dword [ebp - 0x2238], edx
mov dword [ebp - 0x2234], edx
mov eax, edi
cmp cx, dx
je 0x405b3f
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x405b37
push eax
call esi
movzx ecx, word [eax]
test cx, cx
jne 0x405b24
jmp 0x405b3f
test eax, eax
jne 0x4060a6
mov esi, 0x437a3c
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x405b95
add esi, 4
cmp esi, str.RegOpenKeyTransactedW
jl 0x405b44
mov ecx, dword [ebp - 0x2230]
xor esi, esi
mov dword [ebp - 0x223c], ecx
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.00403da0
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
test ebx, ebx
je 0x405c23
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060c3
push edi
mov ecx, ebx
call fcn.00403980
mov esi, eax
test esi, esi
js 0x4060c3
mov dword [ebp - 0x2238], 0
cmp word [edi], 0x7b
jne 0x405c14
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x405c14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2228]
push 0
push eax
push ecx
push edi
mov ecx, ebx
call fcn.00405a30
mov esi, eax
test esi, esi
js 0x4060ce
push edi
mov ecx, ebx
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
cmp word [edi], 0x7d
jne 0x405ab0
jmp 0x4060ce
mov dword [ebp - 0x2238], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x405c59
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], eax
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
push 0x4379f4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x405da8
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
cmp word [edi], 0x3d
jne 0x4060b1
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x405d16
mov eax, dword [ebp - 0x2230]
push edi
lea ecx, [ebp - 0x2218]
push ecx
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2250]
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
call fcn.00405410
mov esi, eax
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
cmp esi, ebx
jl 0x4060ff
mov byte [ebp - 4], bl
mov dword [ebp - 0x224c], ebx
mov ebx, dword [ebp - 0x221c]
jmp 0x405bd1
cmp dword [ebp + 0x14], ebx
jne 0x405d8d
cmp dword [ebp - 0x2240], ebx
je 0x405d8d
mov eax, dword [ebp - 0x2230]
push 0x20006
push ebx
push eax
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.00403340
cmp eax, ebx
jne 0x406117
mov esi, dword [ebp - 0x225c]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x405d76
cmp eax, 2
jne 0x406117
cmp esi, ebx
je 0x405d87
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00403980
mov esi, eax
cmp esi, ebx
jl 0x4060ce
jmp 0x405c14
movzx ecx, word [edi]
mov eax, edi
test cx, cx
je 0x405dd1
cmp cx, 0x5c
je 0x405dc9
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x405db2
jmp 0x405dd1
test eax, eax
jne 0x4060b1
cmp dword [ebp + 0x10], 0
je 0x405e73
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.00403340
test eax, eax
je 0x405e31
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.00403340
test eax, eax
je 0x405e31
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.004032a0
mov esi, eax
test esi, esi
jne 0x40612a
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
cmp word [edi], 0x3d
jne 0x405bd1
push edi
push 0
lea edx, [ebp - 0x2228]
push edx
mov ecx, ebx
call fcn.00405410
mov esi, eax
test esi, esi
js 0x4060ce
jmp 0x405bd1
cmp dword [ebp + 0x14], 0
jne 0x405ed2
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.00403340
mov ebx, eax
mov dword [ebp - 0x222c], ebx
test ebx, ebx
je 0x405ea4
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.00423d60
add esp, 0x10
cmp eax, 0x50
ja case.0x405ecb.1
movzx edx, byte [eax + 0x4061a0]
jmp dword [edx*4 + 0x406190]
mov dword [ebp - 0x222c], 2
mov ebx, dword [ebp - 0x222c]
jmp 0x405e9d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00403980
mov esi, eax
test esi, esi
js 0x4060ce
cmp word [edi], 0x7b
jne 0x405f65
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x405f65
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
push eax
push edi
call fcn.00405a30
mov esi, eax
test esi, esi
jns 0x405f49
test ebx, ebx
je 0x4060ce
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00403780
mov esi, eax
test esi, esi
js 0x4060ce
mov ebx, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2244]
mov dword [ebp + 0x14], ecx
cmp ebx, 2
je 0x405c14
test ebx, ebx
je 0x405f93
test ecx, ecx
jne 0x405c14
push ebx
call fcn.00402ff0
add esp, 4
mov esi, eax
jmp 0x4060ce
mov ebx, dword [ebp - 0x2228]
test ecx, ecx
je 0x405feb
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.00403930
test eax, eax
je 0x405feb
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x218]
push edx
call fcn.004038f0
test eax, eax
je 0x405c14
cmp dword [ebp - 0x2240], 0
je 0x405c14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.00403da0
jmp 0x405c14
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.00403930
mov dword [ebp - 0x226c], eax
mov dword [ebp - 0x222c], 0
test ebx, ebx
je 0x406022
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], 0
mov ebx, dword [ebp - 0x222c]
mov dword [ebp - 0x2224], 0
test ebx, ebx
jne 0x406154
cmp dword [ebp - 0x2240], ebx
je 0x405c14
cmp dword [ebp - 0x226c], ebx
jne 0x405c14
mov ecx, dword [ebp - 0x2230]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x2268], ecx
push edx
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
call fcn.004031f0
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
cmp eax, ebx
jne 0x40616d
lea ecx, [ebp - 0x2268]
call fcn.00403d80
jmp 0x405c14
lea ecx, [ebp - 0x223c]
call fcn.00403d80
lea ecx, [ebp - 0x2228]
call fcn.00403d80
mov eax, 0x80020009
jmp 0x4060e1
lea ecx, [ebp - 0x223c]
call fcn.00403d80
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x4060df
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.00423a19
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x2250]
call fcn.00403d80
lea ecx, [ebp - 0x2228]
call fcn.00403d80
jmp 0x4060df
push eax
call fcn.00402ff0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x225c]
jmp 0x4060c9
lea ecx, [ebp - 0x2228]
call fcn.00403d80
push esi
call fcn.00402ff0
add esp, 4
jmp 0x4060e1
push 0x8007000e
call fcn.00401010
push 0x80070057
call fcn.00401010
lea ecx, [ebp - 0x2228]
call fcn.00403d80
push ebx
call fcn.00402ff0
add esp, 4
jmp 0x4060e1
push eax
call fcn.00402ff0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2268]
jmp 0x4060c9
push 0x80004005
call fcn.00401010
lea ecx, [ecx]
in al, 0x5e
inc eax
add byte [eax + 0x61], al
inc eax
add byte [edx + 0x61], cl
inc eax
add byte [ebx + 0x4061], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
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 eax, dword [eax]
int3