Function at 0x4b87c0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596128
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x620514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6263f0], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
je 0x4b8877
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4b8877
cmp dword [eax + 0x58], 4
jb 0x4b8877
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x16
push str.Entry_AddAutoRunByName
mov dword [ebp - 4], 0
call fcn.00404900
push 0x256
push str.RC::DM::RCAutoRunDManager::DeleteAutoRunByName
push str.d:workcode_git_rhinopcdomain_src_system_autorun_rcautorundmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
push 4
call fcn.004d06c0
test bl, bl
je 0x4b8868
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
mov dword [esi + 4], 0xffffffff
mov dword [esi], 0xa802f3
cmp dword [edi + 0x10], 0
je 0x4b8954
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x28]
mov word [ebp - 0x30], 0x100
call fcn.004043d0
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x44], SysStringLen
mov ebx, 0xf003f
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], eax
mov cl, byte [ebp + eax - 0x30]
xor esi, esi
mov byte [ebp - 0x29], cl
mov eax, ebx
or eax, 0x100
test cl, cl
lea ecx, [ebp - 0x34]
cmove eax, ebx
cmp dword [ebp - 0x14], 8
push ecx
mov ebx, eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ebx
push 0
push eax
push dword [ebp + esi*4 - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b8917
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4b8909
mov eax, dword [edi]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4b8922
inc esi
cmp esi, 2
jae 0x4b8936
mov cl, byte [ebp - 0x29]
jmp 0x4b88d0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x38]
mov dword [esi], 0
jmp 0x4b8939
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 2
jb 0x4b88c7
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
cmp dword [0x6263f0], 0
je 0x4b89d7
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4b89d7
cmp dword [eax + 0x58], 4
jb 0x4b89d7
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x15
push str.Quit_AddAutoRunByName
mov dword [ebp - 4], 2
call fcn.00404900
push 0x28e
push str.RC::DM::RCAutoRunDManager::DeleteAutoRunByName
push str.d:workcode_git_rhinopcdomain_src_system_autorun_rcautorundmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
push 4
call fcn.004d06c0
test bl, bl
je 0x4b89c8
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e833
mov esp, ebp
pop ebp
ret 8