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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1a5b
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.004b4910
mov eax, dword [0x655140]
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 - 0x2250], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
movq qword [ebp - 0x224c], xmm0
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
push ebx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd69
cmp word [ebx], 0x7d
je 0x41bd56
nop dword [eax]
push str.Delete
push ebx
mov dword [ebp - 0x2258], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x6318a8
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b6a0
test edi, edi
jne 0x41b7af
mov ecx, dword [ebp - 0x2250]
push ebx
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
cmp dword [ebp + 0x10], 0
je 0x41b7af
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2220], 0
test ax, ax
je 0x41b703
nop
cmp ax, 0x5c
je 0x41b6fb
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x41b6e0
jmp 0x41b703
test edx, edx
jne 0x41bd46
mov esi, 0x635a30
nop dword [eax + eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b768
add esi, 4
cmp esi, 0x635a60
jl 0x41b710
mov eax, dword [ebp - 0x2254]
lea ecx, [ebp - 0x2228]
push ebx
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
call fcn.0041a000
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2220], 0
test edi, edi
jne 0x41b7a5
mov edi, dword [ebp - 0x2250]
mov ecx, edi
push ebx
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
push ebx
mov ecx, edi
call fcn.0041b010
mov esi, eax
test esi, esi
js 0x41bd56
mov dword [ebp - 0x2224], 0
jmp 0x41ba1f
mov dword [ebp - 0x2224], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [ebp - 0x2250]
test eax, eax
jne 0x41b7dd
push ebx
mov ecx, edi
mov dword [ebp - 0x2258], eax
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
push 0x6318a0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41b96b
lea eax, [ebp - 0x2218]
mov ecx, edi
push eax
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
push ebx
mov ecx, edi
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
cmp word [ebx], 0x3d
jne 0x41bd46
cmp dword [ebp + 0x10], 0
je 0x41b8b9
xorps xmm0, xmm0
mov dword [ebp - 0x222c], 0
movq qword [ebp - 0x2234], xmm0
mov eax, dword [ebp - 0x2254]
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2234]
mov dword [ebp - 0x2230], 0
push eax
mov dword [ebp - 0x222c], 0
call fcn.0041aae0
mov esi, eax
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
test esi, esi
js 0x41bd56
mov byte [ebp - 4], 0
mov dword [ebp - 0x2230], 0
jmp 0x41ba1f
cmp dword [ebp + 0x14], 0
jne 0x41b954
cmp dword [ebp - 0x2258], 0
je 0x41b954
push 0x20006
push 0
push dword [ebp - 0x2254]
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
call fcn.00419f30
test eax, eax
jne 0x41bd2a
mov edi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41b92f
cmp eax, 2
jne 0x41bd14
test edi, edi
je 0x41b944
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov edi, dword [ebp - 0x2250]
mov dword [ebp - 0x223c], 0
push ebx
mov ecx, edi
call fcn.0041b010
mov esi, eax
test esi, esi
js 0x41bd56
jmp 0x41bd08
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x41b998
mov edx, ecx
cmp dx, 0x5c
je 0x41b990
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x41b977
jmp 0x41b998
test eax, eax
jne 0x41bd46
cmp dword [ebp + 0x10], 0
je 0x41ba7c
mov esi, dword [ebp - 0x2254]
lea ecx, [ebp - 0x224c]
push 0x2001f
push ebx
push esi
call fcn.00419f30
test eax, eax
je 0x41b9ec
push 0x20019
push ebx
push esi
lea ecx, [ebp - 0x224c]
call fcn.00419f30
test eax, eax
je 0x41b9ec
sub esp, 0x14
lea ecx, [ebp - 0x224c]
push ebx
push esi
call fcn.00419e50
test eax, eax
jne 0x41bd4d
push ebx
mov ecx, edi
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
cmp word [ebx], 0x3d
jne 0x41ba1f
push ebx
push 0
lea eax, [ebp - 0x224c]
mov ecx, edi
push eax
call fcn.0041aae0
mov esi, eax
test esi, esi
js 0x41bd56
cmp word [ebx], 0x7b
jne 0x41bd08
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ba30
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41bd08
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x224c]
push ebx
call fcn.0041b5d0
mov esi, eax
test esi, esi
js 0x41bd56
push ebx
mov ecx, edi
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
jmp 0x41bd08
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x41ba9e
push 0x20019
push ebx
push dword [ebp - 0x2254]
lea ecx, [ebp - 0x224c]
call fcn.00419f30
mov edi, eax
jmp 0x41baa3
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, esi
push ebx
mov dword [ebp - 0x221c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c9bd5
push eax
call fcn.00402ac0
mov ecx, dword [ebp - 0x2250]
add esp, 0x14
push ebx
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
mov ecx, dword [ebp - 0x2250]
push ebx
call fcn.0041b010
mov esi, eax
test esi, esi
js 0x41bd56
cmp word [ebx], 0x7b
jne 0x41bb5e
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bb07
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41bb5e
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2250]
push 0
push dword [ebp - 0x224c]
push ebx
call fcn.0041b5d0
mov esi, eax
test esi, esi
jns 0x41bb48
cmp dword [ebp - 0x221c], 0
je 0x41bd56
mov ecx, dword [ebp - 0x2250]
push ebx
call fcn.0041a920
mov esi, eax
test esi, esi
js 0x41bd56
cmp edi, 2
je 0x41bd08
test edi, edi
je 0x41bb7c
cmp dword [ebp + 0x14], 0
jne 0x41bd08
mov ecx, edi
jmp 0x41bd4f
cmp dword [ebp + 0x14], 0
je 0x41bc16
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x224c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41bc16
cmp eax, dword [ebp - 0x221c]
sbb eax, eax
neg eax
je 0x41bc16
mov edi, 0x635a30
nop dword [eax]
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41bd08
add edi, 4
cmp edi, 0x635a60
jl 0x41bbd0
cmp dword [ebp - 0x2258], 0
je 0x41bd08
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224c]
call fcn.0041a000
jmp 0x41bd08
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x224c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41bc4f
xor edi, edi
jmp 0x41bc5b
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x224c]
xor eax, eax
test ecx, ecx
je 0x41bc76
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x224c], ecx
mov dword [ebp - 0x2248], 0
test eax, eax
jne 0x41bd4d
cmp dword [ebp - 0x2258], eax
je 0x41bd08
test edi, edi
jne 0x41bd08
cmp byte [0x669eb4], al
jne 0x41bcd3
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41bcc5
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x669eb8], eax
mov byte [0x669eb4], 1
jmp 0x41bcd8
mov eax, dword [0x669eb8]
mov byte [0x669eb4], 1
jmp 0x41bcd8
mov eax, dword [0x669eb8]
test eax, eax
je 0x41bcf1
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x2254]
call eax
jmp 0x41bd04
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2254]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x41bd4d
cmp word [ebx], 0x7d
jne 0x41b670
jmp 0x41bd56
mov ecx, eax
call fcn.00419b60
mov esi, eax
test edi, edi
je 0x41bd56
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41bd56
mov ecx, eax
call fcn.00419b60
mov esi, eax
mov eax, dword [ebp - 0x2240]
test eax, eax
je 0x41bd56
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41bd56
mov esi, 0x80020009
jmp 0x41bd56
mov ecx, eax
call fcn.00419b60
mov esi, eax
mov eax, dword [ebp - 0x224c]
test eax, eax
je 0x41bd67
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.004b3f1a
mov esp, ebp
pop ebp
ret 0x10