Function at 0x4104f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539676
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.00513790
mov eax, dword [0x583384]
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, ecx
mov dword [ebp - 0x1118], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x111c], ecx
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
mov dword [ebp - 0x1120], 0
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bdf
cmp byte [edi], 0x7d
je 0x410bcc
nop word [eax + eax]
push 0x5481c8
push edi
mov dword [ebp - 0x112c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4105b3
test ebx, ebx
je 0x4106cb
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
cmp dword [ebp + 0x10], 0
je 0x4106cb
mov al, byte [edi]
mov ecx, edi
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
test al, al
je 0x41061d
nop dword [eax]
cmp al, 0x5c
je 0x410615
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x410600
jmp 0x41061d
test ecx, ecx
jne 0x410b65
mov esi, 0x548288
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x410684
add esi, 4
cmp esi, 0x5482b8
jl 0x410622
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1138]
push edi
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
call fcn.0040ff60
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
test ebx, ebx
je 0x4106c1
mov ebx, dword [ebp - 0x1118]
mov ecx, ebx
push edi
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410b77
push edi
mov ecx, ebx
call fcn.004113e0
mov esi, eax
test esi, esi
js 0x410b77
mov dword [ebp - 0x1134], 0
jmp 0x41091d
mov dword [ebp - 0x1134], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [ebp - 0x1118]
test eax, eax
jne 0x4106f9
push edi
mov ecx, ebx
mov dword [ebp - 0x112c], eax
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
push 0x5481ac
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x410863
lea eax, [ebp - 0x1114]
mov ecx, ebx
push eax
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
push edi
mov ecx, ebx
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
cmp byte [edi], 0x3d
jne 0x410b70
cmp dword [ebp + 0x10], 0
je 0x4107bb
mov eax, dword [ebp - 0x111c]
mov ecx, ebx
mov dword [ebp - 0x1148], eax
lea eax, [ebp - 0x1114]
push edi
push eax
lea eax, [ebp - 0x1148]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1140], 0
call fcn.0040e5a0
mov esi, eax
mov dword [ebp - 0x1148], 0
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1140], 0
test esi, esi
js 0x410b84
mov byte [ebp - 4], 0
mov dword [ebp - 0x1144], 0
jmp 0x41091d
cmp dword [ebp + 0x14], 0
jne 0x41084c
cmp dword [ebp - 0x112c], 0
je 0x41084c
push 0x20006
push 0
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1154]
mov dword [ebp - 0x1154], 0
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 0
call fcn.0040fa60
test eax, eax
jne 0x410b91
mov esi, dword [ebp - 0x1154]
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x41082d
cmp eax, 2
jne 0x410b91
test esi, esi
je 0x410842
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1154], 0
mov dword [ebp - 0x1150], 0
push edi
mov ecx, ebx
call fcn.004113e0
mov esi, eax
test esi, esi
js 0x410bcc
jmp 0x410b5a
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x41088d
nop dword [eax + eax]
cmp al, 0x5c
je 0x410885
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x410870
jmp 0x41088d
test ecx, ecx
jne 0x410b70
cmp dword [ebp + 0x10], 0
je 0x410976
mov esi, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1128]
push 0x2001f
push edi
push esi
call fcn.0040fa60
test eax, eax
je 0x4108eb
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x1128]
call fcn.0040fa60
test eax, eax
je 0x4108eb
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x1128]
call fcn.0040ee70
test eax, eax
jne 0x410bc1
push edi
mov ecx, ebx
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
cmp byte [edi], 0x3d
jne 0x41091d
push edi
push 0
lea eax, [ebp - 0x1128]
mov ecx, ebx
push eax
call fcn.0040e5a0
mov esi, eax
test esi, esi
js 0x410bcc
cmp byte [edi], 0x7b
jne 0x410b5a
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410930
sub ecx, edx
cmp ecx, 1
jne 0x410b5a
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x1128]
push edi
call fcn.004104f0
mov esi, eax
test esi, esi
js 0x410bcc
push edi
mov ecx, ebx
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
jmp 0x410b5a
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x410998
push 0x20019
push edi
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1128]
call fcn.0040fa60
mov ebx, eax
jmp 0x41099d
mov ebx, 2
test ebx, ebx
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push edi
mov dword [ebp - 0x113c], eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00527114
push eax
call fcn.00407820
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004113e0
mov esi, eax
test esi, esi
js 0x410bcc
cmp byte [edi], 0x7b
jne 0x410a53
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410a02
sub ecx, edx
cmp ecx, 1
jne 0x410a53
push dword [ebp - 0x113c]
mov ecx, dword [ebp - 0x1118]
push 0
push dword [ebp - 0x1128]
push edi
call fcn.004104f0
mov esi, eax
test esi, esi
jns 0x410a3d
cmp dword [ebp - 0x113c], 0
je 0x410bcc
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0040f8f0
mov esi, eax
test esi, esi
js 0x410bcc
cmp ebx, 2
je 0x410b5a
test ebx, ebx
je 0x410a70
cmp dword [ebp + 0x14], 0
jne 0x410b5a
push ebx
jmp 0x410bc2
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x1118]
je 0x410ac7
push dword [ebp - 0x1128]
mov ecx, ebx
call fcn.0040f320
test eax, eax
je 0x410ac7
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.0040ecf0
test eax, eax
je 0x410b5a
cmp dword [ebp - 0x112c], 0
je 0x410b5a
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1128]
call fcn.0040ff60
jmp 0x410b5a
push dword [ebp - 0x1128]
mov ecx, ebx
call fcn.0040f320
mov ecx, dword [ebp - 0x1128]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x410af1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x1128], ecx
mov dword [ebp - 0x1124], 0
test eax, eax
jne 0x410bc1
cmp dword [ebp - 0x112c], eax
je 0x410b5a
test ebx, ebx
jne 0x410b5a
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1160]
mov dword [ebp - 0x1160], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x115c], ebx
mov dword [ebp - 0x1158], ebx
call fcn.0040ef50
mov dword [ebp - 0x1160], ebx
mov dword [ebp - 0x115c], ebx
mov dword [ebp - 0x1158], ebx
test eax, eax
jne 0x410ba9
lea ecx, [ebp - 0x1160]
call fcn.0040df10
cmp byte [edi], 0x7d
jne 0x410580
jmp 0x410bcc
lea ecx, [ebp - 0x1138]
call fcn.0040df10
mov esi, 0x80020009
jmp 0x410bcc
lea ecx, [ebp - 0x1138]
call fcn.0040df10
jmp 0x410bcc
lea ecx, [ebp - 0x1148]
call fcn.0040df10
jmp 0x410bcc
push eax
call fcn.0040ec60
add esp, 4
lea ecx, [ebp - 0x1154]
mov esi, eax
call fcn.0040df10
jmp 0x410bcc
push eax
call fcn.0040ec60
add esp, 4
lea ecx, [ebp - 0x1160]
mov esi, eax
call fcn.0040df10
jmp 0x410bcc
push eax
call fcn.0040ec60
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x1128]
test eax, eax
je 0x410bdd
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.00513512
mov esp, ebp
pop ebp
ret 0x10