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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5960db
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
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 - 0xb4], esi
je 0x4b85ad
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4b85ad
cmp dword [eax + 0x58], 4
jb 0x4b85ad
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 0x218
push str.RC::DM::RCAutoRunDManager::AddAutoRunByName
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 0x4b859e
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
lea eax, [edi + 4]
mov dword [esi], 0xffffffff
push eax
lea ecx, [ebp - 0x40]
mov dword [esi + 4], 0xffffffff
call fcn.0040d8d0
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.004b9d60
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
jne 0x4b85f1
mov dword [esi], 0xa802f3
jmp 0x4b86c0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x28]
call fcn.004043d0
mov bl, byte [ebp + 0x10]
mov edi, 0xf003f
mov byte [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0xbc], SysStringLen
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 0x4b86a8
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 0x4b87a0
inc esi
cmp esi, 2
jb 0x4b8630
mov esi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00404320
cmp dword [0x6263f0], 0
je 0x4b873d
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4b873d
cmp dword [eax + 0x58], 4
jb 0x4b873d
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x15
push str.Quit_AddAutoRunByName
mov byte [ebp - 4], 4
call fcn.00404900
push 0x24f
push str.RC::DM::RCAutoRunDManager::AddAutoRunByName
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 0x4b8731
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00404320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xa8], vtable.RC::DM::RCDMFilePath.0
call fcn.00404320
lea ecx, [ebp - 0x74]
call fcn.00404320
lea ecx, [ebp - 0x8c]
call fcn.00404320
lea ecx, [ebp - 0xa4]
call fcn.00404320
lea ecx, [ebp - 0x40]
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 0xc
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xb4]
mov dword [esi], 0
jmp 0x4b86b4