Function at 0x461638
Capabilities:
Delete registry value

Disassembly:
push 0x18
mov eax, 0x47f42d
call fcn.004026ff
mov esi, ecx
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0x2c]
xor ebx, ebx
cmp eax, ebx
jne 0x461677
push dword [esi + 0x8c]
push 0x461c80
push 4
call fcn.004015a0
add esp, 0xc
mov eax, 0x8007064a
call fcn.00402739
ret 0x24
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x46167a
sub eax, edx
sar eax, 1
lea edi, [eax + 0xf]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp - 0x10], edi
neg ecx
or ecx, eax
push ecx
call fcn.00402c5d
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x4616c9
push edi
push dword [esi + 0x8c]
push 0x461bf0
push 1
call fcn.004015a0
add esp, 0x10
mov eax, 0x8007000e
jmp 0x46166f
mov ecx, dword [esi + 0x94]
mov edi, 0x406650
push edi
push dword [ecx + 0x2c]
push 0x41048c
push dword [ebp - 0x10]
push eax
call fcn.0040ffd2
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x10], eax
jge 0x461716
push eax
push dword [esi + 0x8c]
push 0x461b50
push 1
call fcn.004015a0
push dword [ebp - 0x14]
call fcn.00402c4c
add esp, 0x14
mov eax, dword [ebp - 0x10]
jmp 0x46166f
push dword [ebp + 8]
mov ecx, esi
push 0x4127b4
push dword [ebp - 0x14]
call fcn.0045fb23
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.00402c4c
cmp dword [ebp - 0x10], ebx
pop ecx
jge 0x461753
push dword [ebp - 0x10]
push dword [esi + 0x8c]
push 0x461ab0
push 1
call fcn.004015a0
add esp, 0x10
jmp 0x46170e
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0x20]
push ebx
push ebx
push 0x20006
push ebx
push ebx
push edi
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004065e4
cmp eax, ebx
je 0x4617b2
jle 0x46178b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push dword [esi + 0x8c]
push 0x461a10
push 1
call fcn.004015a0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403d1d
mov eax, edi
jmp 0x46166f
movsx eax, word [ebp + 0xc]
push eax
push 0x413938
lea ecx, [ebp - 0x24]
call fcn.00412af3
cmp eax, ebx
je 0x4617e6
jle 0x4617d4
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push dword [esi + 0x8c]
push 0x461988
push 8
jmp 0x46179b
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 0x10], ebx
je 0x461809
push 1
push dword [ebp + 0x10]
lea ecx, [ebp - 0x24]
push 0x41396c
call fcn.0043c49f
cmp eax, ebx
jne 0x4617c8
jmp 0x461813
push 0x41396c
push dword [ebp - 0x24]
call edi
cmp dword [ebp + 0x14], ebx
je 0x461830
push 1
push dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
push 0x40ab8c
call fcn.0043c49f
cmp eax, ebx
jne 0x4617c8
jmp 0x46183a
push 0x40ab8c
push dword [ebp - 0x24]
call edi
push dword [ebp + 0x18]
lea ecx, [ebp - 0x24]
push 0x40a5c8
call fcn.00412af3
cmp eax, ebx
jne 0x4617c8
mov edi, dword [ebp + 0x1c]
push edi
push 0x40a5b0
lea ecx, [ebp - 0x24]
call fcn.00412af3
cmp eax, ebx
jne 0x4617c8
movsx eax, word [ebp + 0x20]
push eax
push 0x40a594
lea ecx, [ebp - 0x24]
call fcn.00412af3
cmp eax, ebx
jne 0x4617c8
movsx eax, word [ebp + 0x24]
push eax
push 0x40a574
lea ecx, [ebp - 0x24]
call fcn.00412af3
cmp eax, ebx
jne 0x4617c8
movsx eax, word [ebp + 0x28]
push eax
push 0x406634
lea ecx, [ebp - 0x24]
call fcn.00412af3
cmp eax, ebx
jne 0x4617c8
mov eax, dword [esi + 0x94]
mov cx, word [ebp + 0x18]
mov word [eax + 0x108], cx
mov eax, dword [esi + 0x94]
xor ecx, ecx
mov word [eax + 0x10a], di
mov eax, dword [esi + 0x94]
add eax, 0x10c
cmp word [ebp + 0x20], 0xffff
sete cl
add ecx, ecx
xor ecx, dword [eax]
and ecx, 2
xor dword [eax], ecx
mov eax, dword [esi + 0x94]
xor ecx, ecx
add eax, 0x10c
cmp word [ebp + 0x24], 0xffff
sete cl
shl ecx, 2
xor ecx, dword [eax]
and ecx, 4
xor dword [eax], ecx
mov eax, dword [esi + 0x94]
xor ecx, ecx
add eax, 0x10c
cmp word [ebp + 0x28], 0xffff
sete cl
shl ecx, 3
xor ecx, dword [eax]
and ecx, 8
xor dword [eax], ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x94]
push 0x4029a8
push dword [eax + 0x10]
mov byte [ebp - 4], 1
call fcn.00402aef
cmp eax, ebx
jl 0x461970
mov esi, dword [esi + 0x94]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add esi, 0x68
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x461980
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
jmp 0x4617a3