Function at 0x41894b
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44da91
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.00442eb0
mov eax, dword [0x46a2c8]
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 ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2254], eax
mov eax, ebx
mov dword [ebp - 4], esi
call fcn.004180ba
mov edi, eax
cmp edi, esi
jmp 0x418eb0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [ebp - 0x2234], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x4189ec
test esi, esi
je 0x418aae
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.004180ba
mov edi, eax
test edi, edi
jl 0x418f1e
cmp dword [ebp + 0x10], 0
je 0x418aae
xor edi, edi
push 0x5c
mov eax, ebx
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], edi
call fcn.0041806e
pop ecx
test eax, eax
jne 0x418ebe
push ebx
call fcn.004184f7
test eax, eax
je 0x418a61
mov eax, dword [ebp - 0x2220]
push ebx
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], edi
call fcn.0040daed
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], edi
cmp esi, edi
je 0x418aa3
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.004180ba
mov edi, eax
test edi, edi
jl 0x418ed0
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.00418558
lea esi, [ebp - 0x2230]
mov edi, eax
call fcn.0040d91c
test edi, edi
jl 0x418f1e
jmp 0x418e6a
lea esi, [ebp - 0x2230]
call fcn.0040d91c
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x418adb
and dword [ebp - 0x2234], eax
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.004180ba
mov edi, eax
test edi, edi
jl 0x418f1e
push 0x454a68
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x418bfd
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
call fcn.004180ba
mov edi, eax
xor esi, esi
cmp edi, esi
jl 0x418f1e
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.004180ba
mov edi, eax
cmp edi, esi
jl 0x418f1e
cmp word [ebx], 0x3d
jne 0x418ec9
cmp dword [ebp + 0x10], esi
je 0x418b86
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x221c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x223c], eax
push ebx
lea eax, [ebp - 0x2218]
push eax
lea edx, [ebp - 0x223c]
mov dword [ebp - 0x2238], esi
call fcn.004181d0
mov edi, eax
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
cmp edi, esi
lea esi, [ebp - 0x223c]
jl 0x418f19
mov byte [ebp - 4], 0
jmp 0x418e65
cmp dword [ebp + 0x14], esi
jne 0x418beb
cmp dword [ebp - 0x2234], esi
je 0x418beb
push esi
push dword [ebp - 0x2220]
mov eax, 0x20006
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
call fcn.0040d974
cmp eax, esi
jne 0x418ed8
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x224c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x418bde
cmp eax, 2
jne 0x418ed8
lea esi, [ebp - 0x224c]
call fcn.0040d91c
xor esi, esi
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.00418558
jmp 0x4189b0
push 0x5c
mov eax, ebx
call fcn.0041806e
pop ecx
test eax, eax
jne 0x418ec9
cmp dword [ebp + 0x10], eax
je 0x418ca6
push ebx
push dword [ebp - 0x2220]
mov eax, 0x2001f
lea ecx, [ebp - 0x2228]
call fcn.0040d974
test eax, eax
je 0x418c6a
push ebx
push dword [ebp - 0x2220]
mov eax, 0x20019
lea ecx, [ebp - 0x2228]
call fcn.0040d974
test eax, eax
je 0x418c6a
push ebx
push dword [ebp - 0x2220]
lea eax, [ebp - 0x2228]
call fcn.0040d933
mov edi, eax
test edi, edi
jne 0x418ee5
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.004180ba
mov edi, eax
test edi, edi
jl 0x418f1e
cmp word [ebx], 0x3d
jne 0x418e6a
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
lea edx, [ebp - 0x2228]
call fcn.004181d0
mov edi, eax
jmp 0x418a96
cmp dword [ebp + 0x14], 0
jne 0x418cc7
push ebx
push dword [ebp - 0x2220]
mov eax, 0x20019
lea ecx, [ebp - 0x2228]
call fcn.0040d974
mov esi, eax
jmp 0x418cca
push 2
pop esi
test esi, esi
je 0x418cd5
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00431cda
push eax
call fcn.00401053
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
mov eax, ebx
call fcn.004180ba
mov edi, eax
test edi, edi
jl 0x418f1e
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.00418558
mov edi, eax
test edi, edi
jl 0x418f1e
cmp word [ebx], 0x7b
jne 0x418d70
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x418d70
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2228]
push ebx
call fcn.0041894b
mov edi, eax
test edi, edi
jge 0x418d59
cmp dword [ebp + 0x14], 0
je 0x418f1e
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.004180ba
mov edi, eax
test edi, edi
jl 0x418f1e
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
cmp esi, 2
je 0x418eb2
test esi, esi
je 0x418d9c
test eax, eax
jne 0x418eb2
mov eax, esi
call fcn.00417947
mov edi, eax
jmp 0x418f1e
test eax, eax
je 0x418de7
push dword [ebp - 0x2228]
call fcn.00418523
test eax, eax
je 0x418de7
lea eax, [ebp - 0x218]
push eax
call fcn.004184f7
test eax, eax
je 0x418eb2
cmp dword [ebp - 0x2234], 0
je 0x418eb2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.0040daed
jmp 0x418eb2
push dword [ebp - 0x2228]
call fcn.00418523
lea esi, [ebp - 0x2228]
mov dword [ebp - 0x2258], eax
call fcn.0040d91c
xor ecx, ecx
mov dword [ebp - 0x2250], eax
cmp eax, ecx
jne 0x418ef9
cmp dword [ebp - 0x2234], ecx
je 0x418eb2
cmp dword [ebp - 0x2258], ecx
jne 0x418eb2
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2244], eax
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x2244]
mov dword [ebp - 0x2240], ecx
call fcn.0040d8c5
and dword [ebp - 0x2244], 0
and dword [ebp - 0x2240], 0
test eax, eax
jne 0x418f0c
call fcn.0040d91c
cmp dword [ebp + 0x10], 0
je 0x418eb2
cmp word [ebx], 0x7b
jne 0x418eb2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x418eb2
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2228]
push ebx
call fcn.0041894b
mov edi, eax
test edi, edi
jl 0x418f1e
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.004180ba
mov edi, eax
test edi, edi
jl 0x418f1e
cmp word [ebx], 0x7d
jne 0x4189b9
jmp 0x418f1e
lea esi, [ebp - 0x2230]
call fcn.0040d91c
mov edi, 0x80020009
jmp 0x418f1e
lea esi, [ebp - 0x2230]
jmp 0x418f19
call fcn.00417947
lea esi, [ebp - 0x224c]
jmp 0x418f17
lea esi, [ebp - 0x2228]
call fcn.0040d91c
mov eax, edi
call fcn.00417947
jmp 0x418f2b
lea esi, [ebp - 0x2228]
call fcn.0040d91c
mov eax, dword [ebp - 0x2250]
jmp 0x418ef2
call fcn.00417947
lea esi, [ebp - 0x2244]
mov edi, eax
call fcn.0040d91c
lea esi, [ebp - 0x2228]
call fcn.0040d91c
mov eax, edi
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.004312e6
leave
ret 0x10