Function at 0x4b8a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596168
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], eax
je 0x4b8abd
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4b8abd
cmp dword [eax + 0x58], 4
jb 0x4b8abd
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x1a
push str.Entry_GetAutoRunItemByName
mov dword [ebp - 4], 0
call fcn.00404900
push 0x295
push str.RC::DM::RCAutoRunDManager::GetAutoRunItemByName
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 0x4b8aae
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 [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
cmp dword [esi + 0x10], 0
jne 0x4b8adb
mov dword [edi], 0xa802f3
jmp 0x4b8dce
push 0x800
mov dword [ebp - 0x48], SysStringLen
mov dword [ebp - 0x44], reloc.OLEAUT32.dll_SysReAllocString
call fcn.0055f4af
push 0x800
mov ebx, eax
mov dword [ebp - 0x38], 0x400
push 0
push ebx
mov dword [ebp - 0x34], ebx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x40]
add esp, 0x10
add ecx, 4
cmp ecx, esi
je 0x4b8b2c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b8b23
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00404900
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b8b3b
mov eax, dword [esi]
mov edi, dword [ebp + ecx*4 - 0x48]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push ebx
push eax
mov ecx, edi
call fcn.004b6970
add esp, 0x10
test eax, eax
jne 0x4b8da8
push ebx
lea ecx, [ebp - 0x28]
call fcn.004043d0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 1
call fcn.004ba710
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
push 0x800
push 0
push ebx
mov dword [ebp - 0x38], 0x400
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, esi
cmp dword [esi + 0x14], 8
jb 0x4b8ba4
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b8d90
cmp dword [ebp - 0x34], 0
je 0x4b8d90
lea eax, [ebp - 0x2c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4b8c06
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4b8c06
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b8c14
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4b8d90
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x4b8c26
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b8d90
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun32
push dword [ebp + eax*4 - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4b8c84
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4b8c84
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b8c92
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4b8d90
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x4b8ca4
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b8d90
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
push 0x101
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun
push dword [ebp + eax*4 - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4b8d05
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4b8d05
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b8d13
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4b8d90
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x4b8d21
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b8d90
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
push 0x101
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun32
push dword [ebp + eax*4 - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4b8d7e
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4b8d7e
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b8d8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4b8da5
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
cmp word [ebx], 3
setne al
mov byte [ecx + 0x84], al
jmp 0x4b8da8
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, 2
jl 0x4b8b31
test ebx, ebx
je 0x4b8dc5
push ebx
call fcn.0055f493
add esp, 4
mov edi, dword [ebp - 0x4c]
mov dword [edi], 0
cmp dword [0x6263f0], 0
je 0x4b8e51
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4b8e51
cmp dword [eax + 0x58], 4
jb 0x4b8e51
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x19
push str.Quit_GetAutoRunItemByName
mov dword [ebp - 4], 2
call fcn.00404900
push 0x2d8
push str.RC::DM::RCAutoRunDManager::GetAutoRunItemByName
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 0x4b8e42
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, edi
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