Function at 0x41f490
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bd36
mov eax, dword fs:[0]
push eax
mov eax, 0x2254
call fcn.0044e510
mov eax, dword [0x46e320]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x221c], edi
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov edx, dword [ebp + 0x14]
mov eax, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x225c], edx
call fcn.0041f310
mov ebx, eax
cmp ebx, esi
jl 0x41fc21
cmp word [edi], 0x7d
je 0x41fc1f
nop
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x223c], 1
call ebx
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push edi
inc esi
call ebx
test eax, eax
je 0x41f543
test esi, esi
je 0x41f67a
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0041f310
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
mov edi, dword [ebp - 0x221c]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x41f67a
movzx ecx, word [edi]
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
mov eax, edi
cmp cx, bx
je 0x41f5a3
movzx ecx, cx
cmp cx, 0x5c
je 0x41f59b
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x41f584
jmp 0x41f5a3
cmp eax, ebx
jne 0x41fb83
push edi
call fcn.0041f010
test eax, eax
je 0x41f5d7
mov eax, dword [ebp - 0x2230]
push edi
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], ebx
call fcn.0041f050
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp esi, ebx
je 0x41f674
mov esi, dword [ebp - 0x2224]
mov eax, edi
mov ecx, esi
call fcn.0041f310
mov ebx, eax
test ebx, ebx
jl 0x41fba3
mov ecx, esi
call fcn.0041efb0
mov ebx, eax
test ebx, ebx
jl 0x41fba3
mov dword [ebp - 0x2234], 0
mov edi, dword [ebp - 0x221c]
cmp word [edi], 0x7b
jne 0x41f665
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41f665
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2224]
push 0
push edx
push eax
push edi
call fcn.0041f490
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0041f310
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
cmp word [edi], 0x7d
jne 0x41f510
jmp 0x41fc0e
mov dword [ebp - 0x2234], ebx
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41f6ad
mov ecx, dword [ebp - 0x2224]
mov dword [ebp - 0x223c], eax
mov eax, edi
call fcn.0041f310
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
mov edi, dword [ebp - 0x221c]
mov ebx, dword [ebp - 0x222c]
push 0x46324c
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41f806
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
call fcn.0041f310
mov ebx, eax
cmp ebx, esi
jl 0x41fc0e
mov eax, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
call fcn.0041f310
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
mov edi, dword [ebp - 0x221c]
cmp word [edi], 0x3d
jne 0x41fb8e
cmp dword [ebp + 0x10], esi
je 0x41f768
mov ecx, dword [ebp - 0x2230]
mov byte [ebp - 4], 1
push edi
lea edx, [ebp - 0x224c]
mov dword [ebp - 0x224c], ecx
mov ecx, dword [ebp - 0x2224]
push edx
lea edx, [ebp - 0x2218]
mov dword [ebp - 0x2248], esi
call fcn.0041ebd0
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
jl 0x41fbab
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], esi
jmp 0x41f613
cmp dword [ebp + 0x14], esi
jne 0x41f7f2
cmp dword [ebp - 0x223c], esi
je 0x41f7f2
mov ecx, dword [ebp - 0x2230]
lea eax, [ebp - 0x2220]
push eax
push 0x20006
push esi
push esi
push ecx
mov dword [ebp - 0x2244], esi
mov dword [ebp - 0x2240], esi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x41fbc3
mov ebx, dword [ebp - 0x2220]
lea edx, [ebp - 0x2218]
push edx
push ebx
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x41f7db
cmp eax, 2
jne 0x41fbc3
cmp ebx, esi
je 0x41f7ec
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2244], esi
mov dword [ebp - 0x2240], esi
mov ecx, dword [ebp - 0x2224]
call fcn.0041efb0
mov ebx, eax
cmp ebx, esi
jmp 0x41f65f
movzx ecx, word [edi]
mov eax, edi
cmp cx, si
je 0x41f832
movzx ecx, cx
cmp cx, 0x5c
je 0x41f82a
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, si
jne 0x41f813
jmp 0x41f832
cmp eax, esi
jne 0x41fb8e
cmp dword [ebp + 0x10], esi
je 0x41f944
mov ecx, dword [ebp - 0x2230]
lea eax, [ebp - 0x2220]
push eax
push 0x2001f
push esi
push edi
push ecx
mov dword [ebp - 0x2220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x41f88d
xor eax, eax
cmp ebx, esi
je 0x41f86d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2220]
mov dword [ebp - 0x222c], edx
mov dword [ebp - 0x2228], esi
cmp eax, esi
je 0x41f8f7
mov edi, dword [ebp - 0x221c]
xor esi, esi
mov ebx, edx
mov ecx, dword [ebp - 0x2230]
lea eax, [ebp - 0x2220]
push eax
push 0x20019
push esi
push edi
push ecx
mov dword [ebp - 0x2220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x41f8d5
xor eax, eax
cmp ebx, esi
je 0x41f8bf
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2220]
mov dword [ebp - 0x222c], edx
mov dword [ebp - 0x2228], esi
cmp eax, esi
je 0x41f8f7
mov eax, dword [ebp - 0x2230]
mov edx, dword [ebp - 0x221c]
push eax
lea esi, [ebp - 0x222c]
call fcn.0041e960
mov edi, eax
test edi, edi
jne 0x41fbd0
mov esi, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
mov eax, esi
call fcn.0041f310
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
cmp word [esi], 0x3d
jne 0x41f613
mov ecx, esi
push ecx
mov ecx, dword [ebp - 0x2224]
lea edx, [ebp - 0x222c]
push edx
xor edx, edx
call fcn.0041ebd0
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
jmp 0x41f613
cmp dword [ebp + 0x14], esi
jne 0x41fa77
mov ecx, dword [ebp - 0x2230]
lea eax, [ebp - 0x2220]
push eax
push 0x20019
push esi
push edi
push ecx
mov dword [ebp - 0x2220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x41f991
xor eax, eax
cmp ebx, esi
je 0x41f97f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2220]
mov dword [ebp - 0x222c], edx
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2220], eax
cmp eax, esi
je 0x41f9a2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004426e9
push eax
call fcn.00418430
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
mov eax, edi
call fcn.0041f310
mov ebx, eax
cmp ebx, esi
jl 0x41fc0e
mov edi, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
call fcn.0041efb0
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
cmp word [edi], 0x7b
jne 0x41fa47
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41fa47
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x222c]
push esi
push 0
push ecx
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.0041f490
mov ebx, eax
test ebx, ebx
jge 0x41fa2a
test esi, esi
je 0x41fc0e
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0041f310
mov ebx, eax
test ebx, ebx
jl 0x41fc0e
mov edi, dword [ebp - 0x221c]
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x225c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x41f665
test eax, eax
je 0x41fa86
test ecx, ecx
jne 0x41f665
call fcn.0041f2d0
mov ebx, eax
jmp 0x41fc0e
mov dword [ebp - 0x2220], 2
jmp 0x41f99b
mov esi, dword [ebp - 0x222c]
test ecx, ecx
je 0x41fad3
mov ecx, esi
call fcn.0041f200
test eax, eax
je 0x41fad3
lea edx, [ebp - 0x218]
push edx
call fcn.0041f010
test eax, eax
je 0x41f665
cmp dword [ebp - 0x223c], 0
je 0x41f665
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.0041f050
jmp 0x41f665
mov ecx, esi
call fcn.0041f200
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2220], 0
test esi, esi
je 0x41fb05
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x222c], 0
cmp dword [ebp - 0x2220], 0
mov dword [ebp - 0x2228], 0
jne 0x41fbe4
cmp dword [ebp - 0x223c], 0
je 0x41f665
cmp dword [ebp - 0x2258], 0
jne 0x41f665
mov ecx, dword [ebp - 0x2230]
lea edi, [ebp - 0x218]
lea esi, [ebp - 0x2254]
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], 0
call fcn.0041f270
xor ecx, ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
cmp eax, ecx
jne 0x41fbfc
call fcn.0041f250
mov edi, dword [ebp - 0x221c]
jmp 0x41f665
lea esi, [ebp - 0x2238]
call fcn.0041f250
lea esi, [ebp - 0x222c]
call fcn.0041f250
mov eax, 0x80020009
jmp 0x41fc21
lea esi, [ebp - 0x2238]
jmp 0x41fc09
lea esi, [ebp - 0x224c]
call fcn.0041f250
lea esi, [ebp - 0x222c]
call fcn.0041f250
jmp 0x41fc1f
call fcn.0041f2d0
lea esi, [ebp - 0x2244]
jmp 0x41fc07
lea esi, [ebp - 0x222c]
call fcn.0041f250
mov eax, edi
call fcn.0041f2d0
jmp 0x41fc21
lea esi, [ebp - 0x222c]
call fcn.0041f250
mov eax, dword [ebp - 0x2220]
call fcn.0041f2d0
jmp 0x41fc21
call fcn.0041f2d0
lea esi, [ebp - 0x2254]
mov ebx, eax
call fcn.0041f250
mov eax, dword [ebp - 0x222c]
test eax, eax
je 0x41fc1f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
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.00441b05
mov esp, ebp
pop ebp
ret 0x10