Function at 0x461810
Capabilities:
Delete registry value

Disassembly:
push 0x18
mov eax, 0x47f505
call fcn.00402847
mov esi, ecx
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0x2c]
xor ebx, ebx
cmp eax, ebx
jne 0x46184f
push dword [esi + 0x8c]
push 0x461e58
push 4
call fcn.004015a0
add esp, 0xc
mov eax, 0x8007064a
call fcn.00402881
ret 0x24
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x461852
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.00402dad
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x4618a1
push edi
push dword [esi + 0x8c]
push 0x461dc8
push 1
call fcn.004015a0
add esp, 0x10
mov eax, 0x8007000e
jmp 0x461847
mov ecx, dword [esi + 0x94]
mov edi, 0x4053fc
push edi
push dword [ecx + 0x2c]
push 0x410e5c
push dword [ebp - 0x10]
push eax
call fcn.004109a2
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x10], eax
jge 0x4618ee
push eax
push dword [esi + 0x8c]
push 0x461d28
push 1
call fcn.004015a0
push dword [ebp - 0x14]
call fcn.00402d9c
add esp, 0x14
mov eax, dword [ebp - 0x10]
jmp 0x461847
push dword [ebp + 8]
mov ecx, esi
push 0x41318c
push dword [ebp - 0x14]
call fcn.0045fcfb
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.00402d9c
cmp dword [ebp - 0x10], ebx
pop ecx
jge 0x46192b
push dword [ebp - 0x10]
push dword [esi + 0x8c]
push 0x461c88
push 1
call fcn.004015a0
add esp, 0x10
jmp 0x4618e6
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.0040538f
cmp eax, ebx
je 0x46198a
jle 0x461963
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push dword [esi + 0x8c]
push 0x461be8
push 1
call fcn.004015a0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.004030f0
mov eax, edi
jmp 0x461847
movsx eax, word [ebp + 0xc]
push eax
push 0x414340
lea ecx, [ebp - 0x24]
call fcn.004134cb
cmp eax, ebx
je 0x4619be
jle 0x4619ac
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push dword [esi + 0x8c]
push 0x461b60
push 8
jmp 0x461973
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 0x10], ebx
je 0x4619e1
push 1
push dword [ebp + 0x10]
lea ecx, [ebp - 0x24]
push 0x414374
call fcn.0043c5af
cmp eax, ebx
jne 0x4619a0
jmp 0x4619eb
push 0x414374
push dword [ebp - 0x24]
call edi
cmp dword [ebp + 0x14], ebx
je 0x461a08
push 1
push dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
push 0x40b55c
call fcn.0043c5af
cmp eax, ebx
jne 0x4619a0
jmp 0x461a12
push 0x40b55c
push dword [ebp - 0x24]
call edi
push dword [ebp + 0x18]
lea ecx, [ebp - 0x24]
push 0x40af98
call fcn.004134cb
cmp eax, ebx
jne 0x4619a0
mov edi, dword [ebp + 0x1c]
push edi
push 0x40af80
lea ecx, [ebp - 0x24]
call fcn.004134cb
cmp eax, ebx
jne 0x4619a0
movsx eax, word [ebp + 0x20]
push eax
push 0x40af64
lea ecx, [ebp - 0x24]
call fcn.004134cb
cmp eax, ebx
jne 0x4619a0
movsx eax, word [ebp + 0x24]
push eax
push 0x40af44
lea ecx, [ebp - 0x24]
call fcn.004134cb
cmp eax, ebx
jne 0x4619a0
movsx eax, word [ebp + 0x28]
push eax
push 0x4053e0
lea ecx, [ebp - 0x24]
call fcn.004134cb
cmp eax, ebx
jne 0x4619a0
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 0x402af8
push dword [eax + 0x10]
mov byte [ebp - 4], 1
call fcn.00402c3f
cmp eax, ebx
jl 0x461b48
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 0x461b58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
jmp 0x46197b