Function at 0x416e44
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x563d65
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00534e90
mov eax, dword [0x5cdfb0]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x5cdfb0]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x28]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2280], eax
mov edi, ecx
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x24], eax
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
push 0x7d
pop eax
cmp word [ebx], ax
je 0x4173e9
xor eax, eax
inc eax
push str.Delete
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x5a9320
sbb esi, esi
inc esi
push ebx
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x416f12
test esi, esi
je 0x416fd1
push ebx
mov ecx, edi
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x416fd3
xor eax, eax
lea edi, [esp + 0x34]
stosd dword es:[edi], eax
mov ecx, ebx
push 0x5c
pop edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00416347
test eax, eax
jne 0x4173db
push ebx
call fcn.00416aa2
test eax, eax
je 0x416f86
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.00416ad1
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
cmp dword [esp + 0x24], esi
je 0x416fc2
mov edi, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173d5
push ebx
mov ecx, edi
call fcn.00416a3b
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.0040a2ef
test esi, esi
js 0x4173e9
jmp 0x417370
lea ecx, [esp + 0x34]
call fcn.0040a2ef
mov edi, dword [esp + 0x10]
jmp 0x416fd3
xor esi, esi
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x416ff9
push ebx
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
push 0x5a9318
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41712d
lea eax, [esp + 0x26c]
mov ecx, edi
push eax
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
push ebx
mov ecx, edi
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
push 0x3d
pop eax
cmp word [ebx], ax
jne 0x4173e4
cmp dword [ebp + 0x10], 0
je 0x4170b5
xor eax, eax
lea edi, [esp + 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
xor eax, eax
inc eax
mov ecx, edi
mov byte [esp + 0x2280], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x26c]
push ebx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004165e8
mov esi, eax
lea ecx, [esp + 0x40]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
test esi, esi
js 0x417427
mov byte [esp + 0x2280], al
call fcn.0040a2ef
jmp 0x417370
cmp dword [ebp + 0x14], 0
jne 0x417120
cmp dword [esp + 0x18], 0
je 0x417120
xor eax, eax
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
lea ecx, [esp + 0x58]
push 0x20006
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call fcn.0040a275
test eax, eax
jne 0x41741a
lea eax, [esp + 0x26c]
push eax
push dword [esp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x417113
cmp eax, 2
jne 0x41741a
lea ecx, [esp + 0x58]
call fcn.0040a2ef
mov edi, dword [esp + 0x10]
push ebx
mov ecx, edi
call fcn.00416a3b
jmp 0x4173bb
push 0x5c
pop edx
mov ecx, ebx
call fcn.00416347
test eax, eax
jne 0x4173e4
cmp dword [ebp + 0x10], eax
je 0x4171c3
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push 0x2001f
push ebx
push esi
call fcn.0040a275
test eax, eax
je 0x41718e
push 0x20019
push ebx
push esi
lea ecx, [esp + 0x34]
call fcn.0040a275
test eax, eax
je 0x41718e
xor eax, eax
lea ecx, [esp + 0x28]
push eax
push eax
push 0x2001f
push eax
push eax
push ebx
push esi
call fcn.004163d6
test eax, eax
jne 0x41743b
push ebx
mov ecx, edi
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
push 0x3d
pop eax
cmp word [ebx], ax
jne 0x417370
push ebx
xor eax, eax
mov ecx, edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004165e8
mov esi, eax
jmp 0x416fb5
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4171e1
push 0x20019
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x34]
call fcn.0040a275
mov edi, eax
jmp 0x4171e4
push 2
pop edi
push 1
pop eax
push 0xffffffffffffffff
test edi, edi
push ebx
cmovne esi, eax
lea eax, [esp + 0x6c]
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.00531883
push eax
call fcn.0040506e
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ebx
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00416a3b
mov esi, eax
test esi, esi
js 0x4173e9
push 0x7b
pop eax
cmp word [ebx], ax
jne 0x41728f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x41723f
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x41728f
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
xor eax, eax
push eax
push dword [esp + 0x30]
push ebx
call fcn.00416e44
mov esi, eax
test esi, esi
jns 0x41727b
cmp dword [ebp + 0x14], 0
je 0x4173e9
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x14], eax
cmp edi, 2
je 0x4173c1
test edi, edi
je 0x4172b9
test eax, eax
jne 0x4173c1
mov ecx, edi
call fcn.00416ce4
mov esi, eax
jmp 0x4173e9
test eax, eax
je 0x4172fa
push dword [esp + 0x28]
call fcn.00416bcc
test eax, eax
je 0x4172fa
lea eax, [esp + 0x64]
push eax
call fcn.00416aa2
test eax, eax
je 0x4173c1
cmp dword [esp + 0x18], 0
je 0x4173c1
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
call fcn.00416ad1
jmp 0x4173c1
push dword [esp + 0x28]
call fcn.00416bcc
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.0040a2ef
test eax, eax
jne 0x41743b
cmp dword [esp + 0x18], eax
je 0x4173c1
test edi, edi
jne 0x4173c1
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.00416c6b
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
test eax, eax
jne 0x41742e
lea ecx, [esp + 0x4c]
call fcn.0040a2ef
mov edi, dword [esp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x4173c1
push 0x7b
pop eax
cmp word [ebx], ax
jne 0x4173c1
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x417383
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x4173c4
xor eax, eax
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [esp + 0x30]
push ebx
call fcn.00416e44
mov esi, eax
test esi, esi
js 0x4173e9
push ebx
mov ecx, edi
call fcn.00416cf2
mov esi, eax
test esi, esi
js 0x4173e9
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [ebx], cx
je 0x4173e9
mov edi, dword [esp + 0x10]
jmp 0x416ee1
lea ecx, [esp + 0x34]
jmp 0x417427
lea ecx, [esp + 0x34]
call fcn.0040a2ef
mov esi, 0x80020009
lea ecx, [esp + 0x28]
call fcn.0040a2ef
mov eax, esi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.0052f025
mov esp, ebp
pop ebp
ret 0x10
mov ecx, eax
call fcn.00416ce4
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.0040a2ef
jmp 0x4173e9
mov ecx, eax
call fcn.00416ce4
lea ecx, [esp + 0x4c]
jmp 0x417425
mov ecx, eax
jmp 0x4172ad