Function at 0x460b3b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1994]
mov eax, 0x1a14
call fcn.00476c90
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1990], eax
push esi
mov esi, ecx
push esi
lea ecx, [esi + 0x144]
call fcn.00430430
lea ecx, [esi + 0x18]
call fcn.0043cc4e
test eax, eax
je 0x460b83
and dword [esi + 0x198], 0
and dword [esi + 0x19c], 0
cmp dword [esi + 8], 0
jne 0x460b90
xor eax, eax
jmp 0x460e72
push ebx
push edi
mov ebx, 0x800
push ebx
lea eax, [ebp + 0xf88]
push 0
push eax
call fcn.00475570
mov eax, dword [esi + 8]
mov ecx, dword [eax]
add esp, 0xc
mov edi, 0x400
push edi
lea edx, [ebp + 0xf88]
push edx
push eax
call dword [ecx + 0x68]
test eax, eax
je 0x460bd5
lea eax, [ebp + 0xf88]
push eax
lea ecx, [esi + 0x1a8]
call fcn.004027b6
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp + 0xf88]
push edx
push eax
call dword [ecx + 0x34]
lea eax, [ebp + 0xf88]
push eax
lea ecx, [esi + 0x104]
call fcn.004027b6
push ebx
lea eax, [ebp + 0x788]
push 0
push eax
call fcn.00475570
mov eax, dword [esi + 8]
mov ecx, dword [eax]
add esp, 0xc
push edi
lea edx, [ebp + 0x788]
push edx
push eax
call dword [ecx + 0x58]
mov dword [esi + 0x10c], eax
cmp eax, 3
jne 0x460c66
lea eax, [ebp + 0x788]
push str.15.0.0.0
push eax
call fcn.0044979a
pop ecx
pop ecx
test eax, eax
jl 0x460c66
lea eax, [ebp + 0x788]
push str.16.0.0.0
push eax
call fcn.0044979a
pop ecx
pop ecx
test eax, eax
jge 0x460c66
lea ecx, [esi + 0x18]
call fcn.0043cc03
mov dword [esi + 0x10c], 1
cmp dword [esi + 0x10c], 3
jne 0x460c88
lea ecx, [esi + 0x18]
call fcn.0043cc3c
cmp eax, 1
jne 0x460c88
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x10c], eax
lea ecx, [esi + 0x18]
call fcn.0043cc47
cmp eax, 1
jne 0x460cc2
cmp dword [esi + 0x10c], 3
jne 0x460cc2
lea ecx, [esi + 0x18]
call fcn.0043cc20
cmp eax, 1
jne 0x460cc2
lea ecx, [esi + 0x18]
call fcn.0043cc1c
cmp dword [eax], 1
jne 0x460cc2
mov dword [esi + 0x10c], 1
mov eax, dword [esi + 0x10c]
cmp eax, 2
je 0x460cd2
cmp eax, 3
jne 0x460ce8
lea ecx, [esi + 0x18]
call fcn.0043cc0e
test eax, eax
je 0x460ce8
mov dword [esi + 0x10c], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov dword [esi + 0x1b4], eax
test eax, eax
je 0x460d0e
call fcn.0043dade
test eax, eax
je 0x460d0e
mov dword [esi + 0x1b8], 1
cmp dword [esi + 0x1b4], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp + 0xf88]
push edx
push eax
je 0x460d66
call dword [ecx + 0x54]
lea eax, [ebp + 0x788]
push eax
lea ecx, [esi + 0x100]
call fcn.004027b6
lea eax, [ebp + 0xf88]
lea edi, [esi + 0xf4]
push eax
mov ecx, edi
call fcn.004027b6
push edi
mov ecx, esi
call fcn.00460066
test eax, eax
jne 0x460dab
mov dword [esi + 0x10c], 1
jmp 0x460dab
call dword [ecx + 0x5c]
lea eax, [ebp + 0xf88]
push eax
lea ecx, [esi + 0xf4]
call fcn.004027b6
push ebx
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00475570
mov eax, dword [esi + 8]
mov ecx, dword [eax]
add esp, 0xc
push edi
lea edx, [ebp - 0x78]
push edx
push eax
call dword [ecx + 0x38]
test eax, eax
je 0x460dab
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0xf8]
call fcn.004027b6
xor eax, eax
cmp dword [esi + 0x10c], eax
je 0x460e6d
cmp dword [esi + 0x1b8], eax
jne 0x460e6d
mov edi, 0x208
push edi
push eax
lea eax, [ebp + 0x1788]
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x1788]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d35fc
xor ebx, ebx
push 0x4d3608
inc ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x460e69
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp + 0x1788]
push eax
call edi
test eax, eax
je 0x460e69
push str.safemon360tray.exe
lea eax, [ebp + 0x1788]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1788]
push eax
call edi
test eax, eax
je 0x460e69
lea eax, [ebp + 0x1788]
push eax
call fcn.00453d5b
pop ecx
test eax, eax
je 0x460e69
mov ecx, esi
call fcn.0045f902
test eax, eax
je 0x460e6d
push str.sp_exist
call fcn.00404d91
pop ecx
xor eax, eax
jmp 0x460e70
mov eax, ebx
jmp 0x460e70
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1990]
xor ecx, ebp
pop esi
call fcn.004755ea
add ebp, 0x1994
leave
ret