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

Disassembly:
push ebp
sub esp, 0x248
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x248], eax
push 0x28
mov eax, 0x4b2f9a
call fcn.00476610
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], eax
mov dword [eax + 0x1d0], edi
xor eax, eax
push 0x206
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push edi
inc esi
push eax
mov dword [ebp - 0x24], esi
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4d35fc
push 0x4d3608
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x461cbf
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402530
mov ebx, str._safemon360tray.exe
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edi
call fcn.00403a6b
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
call esi
mov edi, str.hipsver.dll
test eax, eax
je 0x461b9a
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403a6b
push 3
pop ebx
push dword [eax]
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], ebx
call fcn.00453d5b
add esp, 0x10
test eax, eax
je 0x461b9a
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403a6b
add esp, 0xc
push dword [eax]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 7
call esi
test eax, eax
je 0x461b9a
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403a6b
push dword [eax]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0xf
call fcn.00453d5b
add esp, 0x10
test eax, eax
je 0x461b9a
push str.360ver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403a6b
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x10], 0x1f
call esi
test eax, eax
jne 0x461b9a
xor bl, bl
jmp 0x461b9c
mov bl, 1
test byte [ebp - 0x10], 0x10
je 0x461bb1
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x10], 0xffffffef
add ecx, 0xfffffff0
call fcn.00402870
test byte [ebp - 0x10], 8
je 0x461bc6
mov ecx, dword [ebp - 0x34]
and dword [ebp - 0x10], 0xfffffff7
add ecx, 0xfffffff0
call fcn.00402870
test byte [ebp - 0x10], 4
je 0x461bdb
mov ecx, dword [ebp - 0x28]
and dword [ebp - 0x10], 0xfffffffb
add ecx, 0xfffffff0
call fcn.00402870
test byte [ebp - 0x10], 2
je 0x461bf0
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x10], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00402870
and dword [ebp - 4], 0
test byte [ebp - 0x10], 1
je 0x461c05
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402870
test bl, bl
jne 0x461cb4
mov ecx, dword [ebp - 0x1c]
call fcn.0045f93b
mov esi, eax
test esi, esi
je 0x461cb4
xor eax, eax
push 0x3e
push eax
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push eax
call fcn.00475570
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403a6b
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [esi]
push 0x20
lea edx, [ebp + 0x208]
push edx
push eax
push esi
mov byte [ebp - 4], 5
call dword [ecx + 0x64]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0
call fcn.00402870
test bl, bl
jne 0x461cb4
lea eax, [ebp + 0x208]
push str.7.8.0.1002
push eax
call fcn.0044979a
pop ecx
pop ecx
test eax, eax
jl 0x461cb4
lea eax, [ebp + 0x208]
push str.7.8.0.9999
push eax
call fcn.0044979a
pop ecx
pop ecx
test eax, eax
jg 0x461cb4
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1d0], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x248]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x24c
leave
ret