Function at 0x4a3e50
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538073
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x90], esi
test dword [esi + 0xd0], 0x400
je 0x4a3eb1
push dword [ebp + 0x10]
push edi
push esi
call fcn.004a43c0
add esp, 0xc
jmp 0x4a4395
push 4
push 0
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.00412e20
mov dword [ebp - 4], 0
push eax
call fcn.004a4d00
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00408fc0
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00412e20
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push str.AutorunsDisabled
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00410940
add esp, 0xc
mov byte [ebp - 4], 2
cmp byte [ebp + 0x10], 0
je 0x4a3f5d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.00408af0
mov ecx, str.AutorunsDisabled
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a3f40
sub ecx, edx
sar ecx, 1
push ecx
push str.AutorunsDisabled
lea ecx, [ebp - 0x40]
call fcn.0040e5d0
xor edi, edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb4], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 0x3011f
push edi
push eax
push dword [ebp - 0xa8]
mov dword [ebp - 0x94], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a434a
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], 0x100
test edi, edi
je 0x4a434a
add esi, 0xb4
mov dword [ebp - 0xa4], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4a3fe2
mov ecx, dword [esi]
lea eax, [ebp - 0xa4]
push eax
push 0
lea eax, [ebp - 0xb0]
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a4167
push dword [ebp - 0xa4]
lea eax, [ebp - 0x94]
push eax
call fcn.00408400
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x90]
add eax, 0xb4
cmp dword [eax + 0x14], 8
jb 0x4a4030
mov eax, dword [eax]
lea ecx, [ebp - 0xa4]
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0xb0]
push ecx
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc0]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push dword [ebp - 0xa8]
mov dword [ebp - 0x90], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4a4116
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0
test eax, eax
je 0x4a4116
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4a40db
mov ecx, dword [esi]
push dword [ebp - 0xa4]
push dword [ebp - 0x94]
push dword [ebp - 0xb0]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4a4116
cmp dword [esi + 0x14], 8
jb 0x4a4103
mov esi, dword [esi]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete byte [ebp - 0x89]
jmp 0x4a411d
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x4a413d
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x4a4351
push eax
call fcn.004d2aa1
add esp, 4
jmp 0x4a4351
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
push 0x560f9c
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00410940
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x90]
add eax, 0xb4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4a41c1
mov eax, dword [eax]
push ecx
push eax
mov ecx, edx
call fcn.0040e5d0
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xac], 2
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x90]
mov dword [eax + 0x10], 0
push ecx
push 0
push 0xf013f
push 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4a4266
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0x100
mov eax, 2
mov dword [ebp - 0xac], eax
and eax, 0xfffffffd
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a42b8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a42ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a43b0
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00408fc0
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x4a4317
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4a42ef
mov ecx, dword [esi]
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCopyTreeW]
test eax, eax
jne 0x4a4317
cmp dword [esi + 0x14], 8
jb 0x4a4304
mov esi, dword [esi]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
sete byte [ebp - 0x89]
jmp 0x4a431e
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x4a433e
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
jmp 0x4a4351
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 2
test edi, edi
je 0x4a436a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00408fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408fc0
mov al, byte [ebp - 0x89]
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.004d2a60
mov esp, ebp
pop ebp
ret
call fcn.004e0791
int3