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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c0a6
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push ebp
push str.Q360SafeMainClass
call edi
mov esi, eax
cmp esi, ebp
je 0x41f5bc
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x230]
cmp eax, ebp
jbe 0x41f5b2
push 0x168
push eax
push 0x52c
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
jmp 0x41f7b7
xor ebx, ebx
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x228], ebp
push eax
push 0x20019
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x41f69f
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push ebp
push ebp
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebp
jne 0x41f69f
lea ecx, [esp + 0x11c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41f69f
push 0x3e8
push ebp
lea edx, [esp + 0x124]
push ebp
push edx
push ebp
call fcn.00436b00
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x14
xor esi, esi
push 0
push str.Q360SafeMainClass
call edi
inc esi
test eax, eax
jne 0x41f671
push 0x3e8
call ebp
cmp esi, 0xa
jl 0x41f655
jmp 0x41f68a
mov ecx, dword [esp + 0x230]
push 0x168
push ecx
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
test ebx, ebx
je 0x41f695
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41f7b7
mov edx, dword [0x444020]
mov dword [esp + 0x10], edx
mov eax, dword [0x445260]
lea ecx, [esp + 0x1c]
push 0x100
push ecx
mov eax, dword [eax + 8]
push 0x8b
push eax
mov byte [esp + 0x238], 1
call dword [sym.imp.USER32.dll_LoadStringA]
cmp eax, ebp
jne 0x41f6d8
mov byte [esp + 0x1c], 0
mov edx, 0x100
sub edx, eax
cmp edx, 2
jle 0x41f708
lea eax, [esp + 0x1c]
test eax, eax
je 0x41f6f7
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.0041a970
jmp 0x41f756
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00405570
cmp eax, ebp
je 0x41f74b
push esi
push eax
push 0x8b
call fcn.004057e0
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jg 0x41f74b
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00405570
cmp eax, ebp
jne 0x41f71f
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405620
mov eax, dword [esp + 0x10]
push 0x30
push 0x444178
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.00420f60
push str.http:__www.360safe.com
call fcn.0041ede0
mov eax, dword [esp + 0x24]
mov edx, dword [0x444024]
add esp, 0x14
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41f7aa
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41f7aa
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043a372
add esp, 4
cmp ebx, ebp
je 0x41f7b5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret