Function at 0x421a2c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446d96
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00437550
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.00421390
cmp eax, ebx
jl 0x42171c
cmp word [esi], 0x7d
je 0x42171c
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 0x4215ff
test ebx, ebx
je 0x421742
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x421742
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 0x421656
cmp cx, 0x5c
je 0x42164e
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, di
jne 0x421637
jmp 0x421656
cmp eax, edi
jne 0x421b77
mov edi, 0x454808
jmp 0x421660
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x421693
add edi, 4
cmp edi, 0x454838
jl 0x421660
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.00421150
mov dword [esp + 0x38], 0
test ebx, ebx
je 0x421742
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
mov ebx, esi
mov ecx, edi
call fcn.004210b0
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
cmp word [esi], 0x7b
jne 0x4216ff
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4216ff
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.00421540
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
cmp word [esi], 0x7d
jne 0x4215d0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x421718
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.0042decf
mov esp, ebp
pop ebp
ret 0x10
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x421769
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
push 0x4522fc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x421872
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x26c]
call fcn.00421390
xor ebx, ebx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x421709
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x421709
cmp word [esi], 0x3d
jne 0x421b90
cmp dword [ebp + 0x10], ebx
je 0x421809
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.00420c60
mov edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], ebx
cmp edi, ebx
jl 0x421b98
mov byte [esp + 0x2280], bl
jmp 0x4216bf
cmp dword [ebp + 0x14], ebx
jne 0x421862
cmp dword [esp + 0x18], ebx
je 0x421862
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 0x421ac0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x26c]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x421857
cmp eax, 2
jne 0x421bae
cmp edi, ebx
je 0x421862
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov ebx, esi
call fcn.004210b0
jmp 0x4216f7
movzx ecx, word [esi]
xor ebx, ebx
mov eax, esi
cmp cx, bx
je 0x42189f
mov edi, edi
cmp cx, 0x5c
je 0x421897
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x421880
jmp 0x42189f
cmp eax, ebx
jne 0x421b90
cmp dword [ebp + 0x10], ebx
je 0x4219aa
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 0x4218ea
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, ebx
je 0x4218da
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
cmp eax, ebx
je 0x421975
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 0x421927
test ebx, ebx
je 0x421919
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x421975
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 0x421bcf
test ebx, ebx
je 0x421965
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
test eax, eax
jne 0x421bcb
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
cmp word [esi], 0x3d
jne 0x4216bf
lea eax, [esp + 0x24]
push eax
push edi
mov edx, esi
xor ecx, ecx
call fcn.00420c60
jmp 0x4216b7
cmp dword [ebp + 0x14], ebx
jne 0x421a22
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 0x4219e7
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, ebx
je 0x4219df
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 0x4219f6
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x6c]
push 0x104
push edx
call fcn.00430951
add esp, 0x10
cmp eax, 0x50
ja case.0x421a1b.1
movzx eax, byte [eax + 0x421c20]
jmp dword [eax*4 + 0x421c10]
mov dword [esp + 0x30], 2
jmp 0x4219ef
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
mov ebx, esi
mov ecx, edi
call fcn.004210b0
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
cmp word [esi], 0x7b
jne 0x421aa0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x421aa0
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
push ebx
push 0
push ecx
push esi
mov ecx, edi
call fcn.00421540
mov dword [esp + 0x14], eax
test eax, eax
jns 0x421a8d
test ebx, ebx
je 0x421709
mov eax, esi
call fcn.00421390
mov dword [esp + 0x14], eax
test eax, eax
js 0x421709
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x4216ff
test eax, eax
je 0x421ace
test ecx, ecx
jne 0x4216ff
call fcn.004227a0
mov dword [esp + 0x14], eax
jmp 0x421709
mov edi, dword [esp + 0x24]
test ecx, ecx
je 0x421b0e
mov ecx, edi
call fcn.004212b0
test eax, eax
je 0x421b0e
lea ebx, [esp + 0x64]
call fcn.00421110
test eax, eax
je 0x4216ff
cmp dword [esp + 0x18], 0
je 0x4216ff
mov edx, ebx
push edx
lea ecx, [esp + 0x28]
call fcn.00421150
jmp 0x4216ff
mov ecx, edi
call fcn.004212b0
mov ebx, eax
test edi, edi
je 0x421b32
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x421bfc
cmp dword [esp + 0x18], 0
je 0x4216ff
test ebx, ebx
jne 0x4216ff
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.00421320
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x421ac0
mov esi, dword [esp + 0x34]
jmp 0x4216ff
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x421b86
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x42171c
mov eax, dword [esp + 0x24]
cmp eax, ebx
jmp 0x421b7d
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x421ba7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x42171c
call fcn.004227a0
mov dword [esp + 0x14], eax
cmp edi, ebx
je 0x421709
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x421709
mov ebx, dword [esp + 0x24]
call fcn.004227a0
mov esi, eax
test ebx, ebx
je 0x421be1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x42171c
push 0x8007000e
call fcn.004036a0
push 0x80070057
call fcn.004036a0
call fcn.004227a0
jmp 0x42171c
push 0x80004005
call fcn.004036a0
sub al, 0x1a
inc edx
add al, ch
sbb eax, dword [edx]
sbb eax, dword [edx]
push es
sbb al, 66
add byte [eax], 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