Function at 0x46b0d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afc3d
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0xb4], eax
mov al, byte [ebp + 0x10]
push 4
mov byte [ebp - 0x89], al
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004089b0
mov dword [ebp - 4], 0
push eax
call fcn.0046ba00
add esp, 4
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402b30
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004089b0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
test eax, eax
je 0x46b193
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea esi, [edx + ecx*2]
je 0x46b18d
nop dword [eax]
cmp esi, edx
je 0x46b193
sub esi, 2
cmp word [esi], 0x5c
jne 0x46b180
sub esi, edx
sar esi, 1
jmp 0x46b196
or esi, 0xffffffff
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004089b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push esi
push 0
push eax
lea ecx, [ebp - 0x40]
call fcn.004089b0
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x46b1f3
mov ecx, eax
call fcn.00402b30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00402b30
xor esi, esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 0x3011f
push esi
push eax
push edi
mov dword [ebp - 0x90], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46b803
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], 0x100
test esi, esi
je 0x46b7fd
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push str.AutorunsDisabled
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004072a0
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x46b29a
mov eax, dword [eax]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x90], 0
push ecx
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
test eax, eax
jne 0x46b2de
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00402b30
test esi, esi
jne 0x46b2fd
mov byte [ebp - 0x89], 0
jmp 0x46b7d5
mov esi, dword [ebp - 0xb4]
cmp dword [esi + 0xc8], 8
lea eax, [esi + 0xb4]
jb 0x46b314
mov eax, dword [eax]
movzx eax, word [eax]
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x4c]
mov al, byte [ebp - 0x89]
mov edi, edx
test al, al
lea eax, [ebp - 0x28]
cmove ecx, edx
lea edx, [ebp - 0x4c]
cmove edi, edx
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0xc4], edi
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
lea eax, [ebp - 0x9c]
push eax
call fcn.0046b8c0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.0046b8c0
add esp, 0x18
mov byte [ebp - 4], 8
add esi, 0x60
mov eax, dword [ebp - 0x94]
cmp dword [eax - 0xc], 0
lea eax, [esi + 0x14]
mov dword [ebp - 0xac], eax
jne 0x46b3f6
cmp dword [eax], 8
mov edx, esi
jb 0x46b3a3
mov edx, dword [esi]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
test edx, edx
je 0x46b5d9
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xb0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b3c1
sub ecx, dword [ebp - 0xb0]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0xc4]
push edx
push 1
push 0
push edi
push dword [eax]
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
jmp 0x46b5d9
cmp dword [eax], 8
mov edi, esi
jb 0x46b3ff
mov edi, dword [esi]
push 1
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x98]
call fcn.0041e910
mov byte [ebp - 4], 9
push edi
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00404f30
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
mov edx, ecx
mov eax, dword [ebp - 0x94]
sub edx, eax
sar edx, 1
mov dword [ebp - 0xc8], edx
mov edx, dword [ecx - 0xc]
mov edi, dword [eax - 0xc]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xb0], edi
test edx, edx
js 0x46b8ab
test ecx, ecx
jne 0x46b461
xor edx, edx
jmp 0x46b473
push edx
push ecx
call fcn.0048ca27
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x94]
mov ecx, SysReAllocString
mov dword [ebp - 0x90], edx
sub ecx, edx
cmp ecx, edi
jl 0x46b8ab
add edi, edx
js 0x46b8ab
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x46b4b3
push edi
lea ecx, [ebp - 0x94]
call fcn.00405640
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0xb0]
lea ecx, [eax + ecx*2]
jbe 0x46b4ca
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x90]
add edx, edx
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0xb0]
lea edx, [eax + edx*2]
je 0x46b51e
test edx, edx
je 0x46b508
push dword [ebp - 0x90]
test ecx, ecx
je 0x46b4fd
push ecx
push edx
call fcn.0047eed0
add esp, 0xc
jmp 0x46b518
push 0
push edx
call fcn.0047f8f0
add esp, 0xc
call fcn.004830ad
mov dword [eax], 0x16
call fcn.00482faf
mov eax, dword [ebp - 0x94]
cmp edi, dword [eax - 8]
jg 0x46b8ab
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x94]
mov word [eax + edi*2], cx
mov byte [ebp - 4], 9
or edi, 0xffffffff
mov edx, dword [ebp - 0xa4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b55a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b57b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x94]
cmovae edi, dword [ebp - 0x28]
test eax, eax
je 0x46b5d9
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x98], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x46b5a0
sub edx, dword [ebp - 0x98]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
mov eax, dword [ebp - 0xc4]
push 1
push 0
push edi
push dword [eax]
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
lea eax, [esi + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax - 0xc], 0
jle 0x46b771
push dword [ebp - 0xa8]
push eax
call fcn.0047fa6d
add esp, 8
test eax, eax
je 0x46b771
sub eax, dword [ebp - 0x9c]
sar eax, 1
js 0x46b771
mov eax, dword [ebp - 0xac]
mov edi, esi
cmp dword [eax], 8
jb 0x46b61d
mov edi, dword [esi]
push 1
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
call fcn.0041e910
mov byte [ebp - 4], 0xd
push edi
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00404f30
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x9c]
push 0x4c7a1c
push dword [eax]
call fcn.00419310
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0xd
or edi, 0xffffffff
mov edx, dword [ebp - 0x98]
mov ecx, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46b685
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b6a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xa0], 0
jne 0x46b71a
push 1
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
call fcn.0041e910
mov ecx, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xac]
cmp dword [eax], 8
jb 0x46b6d5
mov esi, dword [esi]
push ecx
lea eax, [ebp - 0x98]
push esi
push eax
call fcn.0040a8e0
add esp, 0xc
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x9c]
push 0x4c7a1c
push dword [eax]
call fcn.00419310
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x98]
call fcn.00405000
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.00405000
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x9c]
cmovae esi, dword [ebp - 0x28]
test eax, eax
je 0x46b78e
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0xa0], ecx
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x46b740
sub edx, dword [ebp - 0xa0]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
mov eax, dword [ebp - 0xb4]
push 1
push 0
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x46b78e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xb4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
or edi, 0xffffffff
mov byte [ebp - 0x89], 1
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b7b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x9c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46b7d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x46b7ee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov esi, dword [ebp - 0xc0]
mov dword [ebp - 0x48], 0
jmp 0x46b80a
mov esi, dword [ebp - 0xc0]
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 2
test esi, esi
je 0x46b823
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402b30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x46b876
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46b86c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b8b5
push ecx
push edx
call fcn.0047dc2a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov al, byte [ebp - 0x89]
mov dword [ebp - 0x2c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406ac0
call fcn.00482fbf
int3