Function at 0x4b9460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f558
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 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 0x4b951d
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x4b951d
cmp dword [eax + 0x58], 4
jb 0x4b951d
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x1a
push str.Entry_GetAutoRunItemByName
mov dword [ebp - 4], 0
call fcn.004047a0
push 0x295
push str.RC::DM::RCAutoRunDManager::GetAutoRunItemByName
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 0x4b950e
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
cmp dword [esi + 0x10], 0
jne 0x4b953b
mov dword [edi], 0xa802f3
jmp 0x4b982e
push 0x800
mov dword [ebp - 0x48], SysReAllocString
mov dword [ebp - 0x44], reloc.OLEAUT32.dll_SysReAllocString
call fcn.0054cb4f
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 0x4b958c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b9583
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004047a0
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b959b
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.004b73d0
add esp, 0x10
test eax, eax
jne 0x4b9808
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404270
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 1
call fcn.004bb170
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
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 0x4b9604
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b97f0
cmp dword [ebp - 0x34], 0
je 0x4b97f0
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 0x4b9666
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 0x4b9666
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b9674
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4b97f0
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x4b9686
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b97f0
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 0x4b96e4
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 0x4b96e4
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b96f2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4b97f0
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x4b9704
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b97f0
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 0x4b9765
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 0x4b9765
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b9773
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4b97f0
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x4b9781
mov ebx, dword [esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4b97f0
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 0x4b97de
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 0x4b97de
cmp dword [ebp - 0x30], 3
mov eax, 0x3f2
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b97ec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4b9805
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
cmp word [ebx], 3
setne al
mov byte [ecx + 0x84], al
jmp 0x4b9808
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, 2
jl 0x4b9591
test ebx, ebx
je 0x4b9825
push ebx
call fcn.0054cb33
add esp, 4
mov edi, dword [ebp - 0x4c]
mov dword [edi], 0
cmp dword [0x60e3b0], 0
je 0x4b98b1
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x4b98b1
cmp dword [eax + 0x58], 4
jb 0x4b98b1
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x19
push str.Quit_GetAutoRunItemByName
mov dword [ebp - 4], 2
call fcn.004047a0
push 0x2d8
push str.RC::DM::RCAutoRunDManager::GetAutoRunItemByName
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 0x4b98a2
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
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.0054bed3
mov esp, ebp
pop ebp
ret 0xc