Function at 0x4b8f50
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f4cb
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x608514]
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 [0x60e3b0], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xb4], esi
je 0x4b900d
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x4b900d
cmp dword [eax + 0x58], 4
jb 0x4b900d
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x16
push str.Entry_AddAutoRunByName
mov dword [ebp - 4], 0
call fcn.004047a0
push 0x218
push str.RC::DM::RCAutoRunDManager::AddAutoRunByName
push str.d:_rhinopcdomain_src_system_autorun_rcautorundmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
push 4
call fcn.004d10e0
test bl, bl
je 0x4b8ffe
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
lea eax, [edi + 4]
mov dword [esi], 0xffffffff
push eax
lea ecx, [ebp - 0x40]
mov dword [esi + 4], 0xffffffff
call fcn.0040d690
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.004ba7c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
jne 0x4b9051
mov dword [esi], 0xa802f3
jmp 0x4b9120
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x28]
call fcn.00404270
mov bl, byte [ebp + 0x10]
mov edi, 0xf003f
mov byte [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0xbc], VariantClear
mov dword [ebp - 0xb8], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xac], 0
nop word [eax + eax]
mov eax, edi
lea ecx, [ebp - 0xac]
or eax, 0x100
test bl, bl
push ecx
cmove eax, edi
cmp dword [ebp - 0x14], 8
mov edi, eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push edi
push 0
push eax
push dword [ebp + esi*4 - 0xbc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b9108
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
cmovae ecx, dword [ebp - 0xa4]
cmp dword [ebp - 0x2c], 8
lea edx, [eax + eax]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4b9200
inc esi
cmp esi, 2
jb 0x4b9090
mov esi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004041c0
cmp dword [0x60e3b0], 0
je 0x4b919d
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x4b919d
cmp dword [eax + 0x58], 4
jb 0x4b919d
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x15
push str.Quit_AddAutoRunByName
mov byte [ebp - 4], 4
call fcn.004047a0
push 0x24f
push str.RC::DM::RCAutoRunDManager::AddAutoRunByName
push str.d:_rhinopcdomain_src_system_autorun_rcautorundmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
push 4
call fcn.004d10e0
test bl, bl
je 0x4b9191
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004041c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xa8], vtable.RC::DM::RCDMFilePath.0
call fcn.004041c0
lea ecx, [ebp - 0x74]
call fcn.004041c0
lea ecx, [ebp - 0x8c]
call fcn.004041c0
lea ecx, [ebp - 0xa4]
call fcn.004041c0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
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.0054bed3
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xb4]
mov dword [esi], 0
jmp 0x4b9114