Function at 0x40b224
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5017a6
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.004e07c0
mov eax, dword [0x547240]
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, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2268], eax
jmp 0x40b7dd
push 0x50aa58
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40b2c6
cmp esi, ebx
je 0x40b39e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
cmp dword [ebp + 0x10], ebx
je 0x40b39e
push 0x5c
push edi
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.0040a345
pop ecx
pop ecx
test eax, eax
jne 0x40b7f5
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a4d0
test eax, eax
je 0x40b34f
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.0040a68a
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
cmp dword [ebp - 0x2220], ebx
je 0x40b393
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b807
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a534
lea ecx, [ebp - 0x2240]
mov esi, eax
call fcn.0040a011
cmp esi, ebx
jl 0x40b859
jmp 0x40b7a0
lea ecx, [ebp - 0x2240]
call fcn.0040a011
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40b3ca
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], ebx
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
push 0x50aa94
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40b4f9
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
cmp word [edi], 0x3d
jne 0x40b800
cmp dword [ebp + 0x10], ebx
je 0x40b47f
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2258], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2258]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
call fcn.0040aedb
mov esi, eax
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
lea ecx, [ebp - 0x2258]
cmp esi, ebx
jl 0x40b854
mov byte [ebp - 4], bl
jmp 0x40b79b
cmp dword [ebp + 0x14], ebx
jne 0x40b4e8
cmp dword [ebp - 0x2234], ebx
je 0x40b4e8
push 0x20006
push ebx
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2264]
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
mov dword [ebp - 0x225c], ebx
call fcn.0040a094
cmp eax, ebx
jne 0x40b80f
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x40b4dd
cmp eax, 2
jne 0x40b80f
lea ecx, [ebp - 0x2264]
call fcn.0040a011
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a534
jmp 0x40b7e3
push 0x5c
push edi
call fcn.0040a345
pop ecx
pop ecx
test eax, eax
jne 0x40b800
cmp dword [ebp + 0x10], ebx
je 0x40b5a7
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040a094
test eax, eax
je 0x40b56c
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040a094
test eax, eax
je 0x40b56c
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040a02c
mov esi, eax
cmp esi, ebx
jne 0x40b81e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
cmp word [edi], 0x3d
jne 0x40b7a0
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.0040aedb
mov esi, eax
jmp 0x40b386
cmp dword [ebp + 0x14], ebx
jne 0x40b5cb
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040a094
mov dword [ebp - 0x2220], eax
jmp 0x40b5d5
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x40b5e4
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e1083
push eax
call fcn.0040988a
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a534
mov esi, eax
cmp esi, ebx
jl 0x40b859
cmp word [edi], 0x7b
jne 0x40b67a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40b67a
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.0040b224
mov esi, eax
cmp esi, ebx
jge 0x40b664
cmp dword [ebp + 0x14], ebx
je 0x40b859
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2268]
mov dword [ebp + 0x14], eax
je 0x40b7e9
cmp dword [ebp - 0x2220], ebx
je 0x40b6b3
cmp eax, ebx
jne 0x40b7e9
push dword [ebp - 0x2220]
call fcn.00409dc7
pop ecx
mov esi, eax
jmp 0x40b859
cmp eax, ebx
je 0x40b709
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.0040a4ff
test eax, eax
je 0x40b709
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.0040a4d0
test eax, eax
je 0x40b7e9
cmp dword [ebp - 0x2234], ebx
je 0x40b7e9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0040a68a
jmp 0x40b7e9
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.0040a4ff
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x226c], eax
call fcn.0040a011
mov dword [ebp - 0x2220], eax
cmp eax, ebx
jne 0x40b832
cmp dword [ebp - 0x2234], ebx
je 0x40b7e9
cmp dword [ebp - 0x226c], ebx
jne 0x40b7e9
mov eax, dword [ebp - 0x2224]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.00409fa1
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp eax, ebx
jne 0x40b845
lea ecx, [ebp - 0x224c]
call fcn.0040a011
cmp dword [ebp + 0x10], ebx
je 0x40b7e9
cmp word [edi], 0x7b
jne 0x40b7e9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40b7e9
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.0040b224
mov esi, eax
cmp esi, ebx
jl 0x40b859
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040a3ba
mov esi, eax
cmp esi, ebx
jl 0x40b859
cmp word [edi], 0x7d
jne 0x40b28d
jmp 0x40b859
lea ecx, [ebp - 0x2240]
call fcn.0040a011
mov esi, 0x80020009
jmp 0x40b859
lea ecx, [ebp - 0x2240]
jmp 0x40b854
push eax
call fcn.00409dc7
pop ecx
lea ecx, [ebp - 0x2264]
jmp 0x40b852
lea ecx, [ebp - 0x2230]
call fcn.0040a011
push esi
call fcn.00409dc7
pop ecx
jmp 0x40b866
lea ecx, [ebp - 0x2230]
call fcn.0040a011
push dword [ebp - 0x2220]
jmp 0x40b82a
push eax
call fcn.00409dc7
pop ecx
lea ecx, [ebp - 0x224c]
mov esi, eax
call fcn.0040a011
lea ecx, [ebp - 0x2230]
call fcn.0040a011
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.004dea60
leave
ret 0x10