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

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x438060]
and dword [ebp - 0x6c], 0
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1b0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1b8]
push ebx
mov ebx, dword [ebp + 0x1ac]
mov dword [ebp - 0x80], eax
push esi
mov eax, ebx
mov dword [ebp - 0x70], ecx
call fcn.00425030
mov esi, eax
test esi, esi
jge 0x425191
jmp 0x4254f8
cmp byte [ebx], 0x7d
push edi
je 0x4254f5
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push ebx
mov dword [ebp - 0x74], 1
call esi
mov edi, eax
neg edi
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x4251c7
test edi, edi
je 0x425236
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
test esi, esi
jl 0x4254e6
cmp dword [ebp + 0x1b4], 0
je 0x425236
push 0x5c
mov eax, ebx
call fcn.00424e3f
test eax, eax
pop ecx
jne 0x4255cc
push ebx
call fcn.00425b78
test eax, eax
je 0x42520f
mov eax, dword [ebp - 0x78]
push ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
call fcn.00425ba4
test edi, edi
je 0x425236
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
test esi, esi
jl 0x4254e6
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.00425adf
jmp 0x42540c
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x42525d
and dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
test esi, esi
jl 0x4254e6
push 0x435624
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x425379
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
call fcn.00425030
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x4254e6
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
cmp esi, edi
jl 0x4254e6
cmp byte [ebx], 0x3d
jne 0x42558f
cmp dword [ebp + 0x1b4], edi
je 0x42531e
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
push ebx
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x74]
call fcn.00425638
mov esi, eax
cmp esi, edi
jl 0x425594
cmp byte [ebx], 0x7b
jne 0x425310
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x425310
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp + 0x1b4]
push dword [ebp - 0x6c]
push ebx
call fcn.00425143
mov esi, eax
test esi, esi
jl 0x4254e6
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
test esi, esi
jl 0x4254e6
cmp byte [ebx], 0x7d
jne 0x42519b
jmp 0x4254e6
cmp dword [ebp + 0x1b8], edi
jne 0x42536d
cmp dword [ebp - 0x74], edi
je 0x42536d
push 0x20006
push edi
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.00425aac
cmp eax, edi
jne 0x4255ae
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x425362
cmp eax, 2
jne 0x42559c
test edi, edi
je 0x42536d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.00425adf
jmp 0x425306
push 0x5c
mov eax, ebx
call fcn.00424e3f
test eax, eax
pop ecx
jne 0x4255cc
xor esi, esi
cmp dword [ebp + 0x1b4], esi
je 0x42541b
push 0x2001f
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.00425aac
test eax, eax
je 0x4253e1
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.00425aac
test eax, eax
je 0x4253e1
push esi
push 0x2001f
push esi
push esi
push ebx
push dword [ebp - 0x78]
xor edi, edi
lea eax, [ebp - 0x6c]
call fcn.004255ef
cmp eax, esi
jne 0x4254df
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
test esi, esi
jl 0x4254e6
cmp byte [ebx], 0x3d
jne 0x4252cd
mov ecx, dword [ebp - 0x70]
push ebx
push 0
lea edx, [ebp - 0x6c]
call fcn.00425638
mov esi, eax
test esi, esi
jl 0x4254e6
jmp 0x4252cd
cmp dword [ebp + 0x1b8], esi
jne 0x425439
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.00425aac
mov dword [ebp - 0x7c], eax
jmp 0x425440
mov dword [ebp - 0x7c], 2
cmp dword [ebp - 0x7c], esi
je 0x42544f
mov dword [ebp + 0x1b8], 1
push 0x104
push ebx
lea eax, [ebp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
test esi, esi
jl 0x4254e6
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.00425adf
mov esi, eax
test esi, esi
jl 0x4254e6
cmp byte [ebx], 0x7b
jne 0x4254ba
push dword [ebp + 0x1b8]
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp - 0x6c]
push ebx
call fcn.00425143
mov esi, eax
test esi, esi
jge 0x4254aa
cmp dword [ebp + 0x1b8], 0
je 0x4254e6
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00425030
mov esi, eax
test esi, esi
jl 0x4254e6
cmp dword [ebp - 0x7c], 2
mov eax, dword [ebp - 0x80]
mov dword [ebp + 0x1b8], eax
je 0x425310
mov eax, dword [ebp - 0x7c]
xor edi, edi
cmp eax, edi
je 0x425511
cmp dword [ebp - 0x80], edi
jne 0x425310
call fcn.00425ca1
mov esi, eax
cmp dword [ebp - 0x6c], 0
je 0x4254f5
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
mov ecx, dword [ebp + 0x1a0]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e08a
add ebp, 0x1a4
leave
ret 0x10
cmp dword [ebp - 0x80], edi
je 0x425554
push dword [ebp - 0x6c]
call fcn.00425b43
test eax, eax
je 0x425554
lea eax, [ebp + 0x9c]
push eax
call fcn.00425b78
test eax, eax
je 0x425310
cmp dword [ebp - 0x74], 0
je 0x425310
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00425ba4
jmp 0x425310
cmp dword [ebp - 0x6c], edi
je 0x425569
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov dword [ebp - 0x6c], edi
jne 0x4255e5
cmp dword [ebp - 0x74], edi
je 0x425310
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4254df
jmp 0x425310
cmp dword [ebp - 0x6c], edi
jmp 0x4255d0
cmp dword [ebp - 0x6c], edi
jmp 0x4254ea
call fcn.00425ca1
test edi, edi
mov esi, eax
je 0x4254e6
push edi
jmp 0x4255c1
call fcn.00425ca1
cmp dword [ebp - 0x74], edi
mov esi, eax
je 0x4254e6
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4254e6
cmp dword [ebp - 0x6c], 0
je 0x4255db
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x4254f7
call fcn.00425ca1
jmp 0x4254f7