Function at 0x418840
Capabilities:
Accept command line arguments
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2c4], reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x2c0]
mov dword [ebp - 0x2c0], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
xor bl, bl
mov dword [ebp - 0x2bc], str.Path
mov edi, 0x22
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 0x2b4], 1
mov dword [ebp - 0x2b0], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2ac], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
mov dword [ebp - 0x2a8], str.Path
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 0x2a0], 1
mov dword [ebp - 0x29c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x298], str.SoftwareMicrosoftWindowsCurrentVersionUninstallQQPCMgr
mov dword [ebp - 0x294], str.UninstallString
mov dword [ebp - 0x290], str.QQPCMgr.exe
mov byte [ebp - 0x28c], 2
mov dword [ebp - 0x288], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x284], 0x593020
mov dword [ebp - 0x280], str.UninstallString
mov dword [ebp - 0x27c], str.BaiduAn.exe
mov byte [ebp - 0x278], 4
mov dword [ebp - 0x274], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x270], str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x26c], str.UninstallString
mov dword [ebp - 0x268], str.BaiduSd.exe
mov byte [ebp - 0x264], 4
mov dword [ebp - 0x260], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x25c], str.SYSTEMCurrentControlSet_servicesBDSGRTP
mov dword [ebp - 0x258], str.ImagePath
mov dword [ebp - 0x254], 0
mov byte [ebp - 0x250], 4
mov dword [ebp - 0x24c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x248], str.SYSTEMCurrentControlSet_servicesBaiduHips
mov dword [ebp - 0x244], str.ImagePath
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x23c], 4
mov dword [ebp - 0x238], VariantClear
mov dword [ebp - 0x234], str.CLSID91B5E4DE_4C97_41CD_9F94_84BFAABB7371LocalServer32
mov dword [ebp - 0x230], 0x593910
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x228], 4
mov dword [ebp - 0x224], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], str.SoftwareMicrosoftWindowsCurrentVersionUninstallKingsoft_Internet_Security
mov dword [ebp - 0x21c], str.UninstallString
mov dword [ebp - 0x218], str.kismain.exe
mov byte [ebp - 0x214], 8
mov dword [ebp - 0x2c8], 9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.005392b0
add esp, 0xc
mov dword [ebp - 0x2d4], 1
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x208
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x2d4]
push eax
push dword [esi + 4]
push dword [esi]
push dword [esi - 4]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x418b0e
mov ax, word [ebp - 0x210]
xor ecx, ecx
cmp cx, ax
je 0x418b0e
cmp di, ax
jne 0x418ad3
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2cc], ecx
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x418ad3
cmp dword [ebp - 0x2cc], 0
je 0x418acc
push dword [edi]
lea eax, [ebp - 0x210]
push 0x591530
push 0x104
push eax
call fcn.00541843
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esi + 8]
test edi, edi
je 0x418af5
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, 0x22
test eax, eax
je 0x418b0e
or bl, byte [esi + 0xc]
add esi, 0x14
dec dword [ebp - 0x2c8]
jne 0x418a14
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret