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

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x424050]
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.00419281
mov esi, eax
test esi, esi
jge 0x4193e2
jmp 0x419749
cmp byte [ebx], 0x7d
push edi
je 0x419746
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 0x419418
test edi, edi
je 0x419487
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00419281
mov esi, eax
test esi, esi
jl 0x419737
cmp dword [ebp + 0x1b4], 0
je 0x419487
push 0x5c
mov eax, ebx
call fcn.00419090
test eax, eax
pop ecx
jne 0x41981d
push ebx
call fcn.00419de5
test eax, eax
je 0x419460
mov eax, dword [ebp - 0x78]
push ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
call fcn.00419e11
test edi, edi
je 0x419487
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00419281
mov esi, eax
test esi, esi
jl 0x419737
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.00419d4c
jmp 0x41965d
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4194ae
and dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00419281
mov esi, eax
test esi, esi
jl 0x419737
push 0x4219d8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4195ca
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
call fcn.00419281
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x419737
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00419281
mov esi, eax
cmp esi, edi
jl 0x419737
cmp byte [ebx], 0x3d
jne 0x4197e0
cmp dword [ebp + 0x1b4], edi
je 0x41956f
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.00419889
mov esi, eax
cmp esi, edi
jl 0x4197e5
cmp byte [ebx], 0x7b
jne 0x419561
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x419561
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp + 0x1b4]
push dword [ebp - 0x6c]
push ebx
call fcn.00419394
mov esi, eax
test esi, esi
jl 0x419737
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00419281
mov esi, eax
test esi, esi
jl 0x419737
cmp byte [ebx], 0x7d
jne 0x4193ec
jmp 0x419737
cmp dword [ebp + 0x1b8], edi
jne 0x4195be
cmp dword [ebp - 0x74], edi
je 0x4195be
push 0x20006
push edi
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.00419d19
cmp eax, edi
jne 0x4197ff
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x4195b3
cmp eax, 2
jne 0x4197ed
test edi, edi
je 0x4195be
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.00419d4c
jmp 0x419557
push 0x5c
mov eax, ebx
call fcn.00419090
test eax, eax
pop ecx
jne 0x41981d
xor esi, esi
cmp dword [ebp + 0x1b4], esi
je 0x41966c
push 0x2001f
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.00419d19
test eax, eax
je 0x419632
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.00419d19
test eax, eax
je 0x419632
push esi
push 0x2001f
push esi
push esi
push ebx
push dword [ebp - 0x78]
xor edi, edi
lea eax, [ebp - 0x6c]
call fcn.00419840
cmp eax, esi
jne 0x419730
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00419281
mov esi, eax
test esi, esi
jl 0x419737
cmp byte [ebx], 0x3d
jne 0x41951e
mov ecx, dword [ebp - 0x70]
push ebx
push 0
lea edx, [ebp - 0x6c]
call fcn.00419889
mov esi, eax
test esi, esi
jl 0x419737
jmp 0x41951e
cmp dword [ebp + 0x1b8], esi
jne 0x41968a
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.00419d19
mov dword [ebp - 0x7c], eax
jmp 0x419691
mov dword [ebp - 0x7c], 2
cmp dword [ebp - 0x7c], esi
je 0x4196a0
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.00419281
mov esi, eax
test esi, esi
jl 0x419737
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.00419d4c
mov esi, eax
test esi, esi
jl 0x419737
cmp byte [ebx], 0x7b
jne 0x41970b
push dword [ebp + 0x1b8]
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp - 0x6c]
push ebx
call fcn.00419394
mov esi, eax
test esi, esi
jge 0x4196fb
cmp dword [ebp + 0x1b8], 0
je 0x419737
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.00419281
mov esi, eax
test esi, esi
jl 0x419737
cmp dword [ebp - 0x7c], 2
mov eax, dword [ebp - 0x80]
mov dword [ebp + 0x1b8], eax
je 0x419561
mov eax, dword [ebp - 0x7c]
xor edi, edi
cmp eax, edi
je 0x419762
cmp dword [ebp - 0x80], edi
jne 0x419561
call fcn.00419f0e
mov esi, eax
cmp dword [ebp - 0x6c], 0
je 0x419746
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.0041e95f
add ebp, 0x1a4
leave
ret 0x10
cmp dword [ebp - 0x80], edi
je 0x4197a5
push dword [ebp - 0x6c]
call fcn.00419db0
test eax, eax
je 0x4197a5
lea eax, [ebp + 0x9c]
push eax
call fcn.00419de5
test eax, eax
je 0x419561
cmp dword [ebp - 0x74], 0
je 0x419561
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00419e11
jmp 0x419561
cmp dword [ebp - 0x6c], edi
je 0x4197ba
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov dword [ebp - 0x6c], edi
jne 0x419836
cmp dword [ebp - 0x74], edi
je 0x419561
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x419730
jmp 0x419561
cmp dword [ebp - 0x6c], edi
jmp 0x419821
cmp dword [ebp - 0x6c], edi
jmp 0x41973b
call fcn.00419f0e
test edi, edi
mov esi, eax
je 0x419737
push edi
jmp 0x419812
call fcn.00419f0e
cmp dword [ebp - 0x74], edi
mov esi, eax
je 0x419737
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419737
cmp dword [ebp - 0x6c], 0
je 0x41982c
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x419748
call fcn.00419f0e
jmp 0x419748