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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b62cc
mov eax, dword fs:[0]
push eax
sub esp, 0xfd0
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0xfc8], eax
push ebx
push esi
push edi
mov eax, dword [0x4f3bd0]
xor eax, esp
push eax
lea eax, [esp + 0xfe0]
mov dword fs:[0], eax
mov esi, ecx
push 1
xor ebx, ebx
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00403bfc
mov dword [esp + 0xfe8], ebx
cmp dword [esi + 0x108], ebx
jne 0x4034b0
call fcn.004036b8
call fcn.00403901
call fcn.0040a542
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
call fcn.004024e0
lea eax, [esp + 0x14]
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
mov byte [esp + 0xfec], 1
call fcn.0043d070
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, edi
call fcn.0043d6ad
mov eax, dword [esi + 0x11c]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x403195
push 0x4f9e00
lea ecx, [esp + 0x14]
call fcn.004027fb
push 0x800
lea eax, [esp + 0x38]
push ebx
push eax
mov byte [esp + 0xff4], 2
call fcn.00475420
add esp, 0xc
push 0x2711
lea ecx, [esp + 0x18]
call fcn.004024e0
mov ecx, edi
mov byte [esp + 0xfe8], 3
call fcn.0043ce30
test eax, eax
jne 0x403158
mov ecx, edi
call fcn.0043ce38
push eax
lea ecx, [esp + 0x14]
call fcn.00401c3e
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x403166
xor eax, eax
push 0x1fe
mov word [esp + 0x9c8], ax
lea eax, [esp + 0x9ca]
push ebx
push eax
call fcn.00475420
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x9d0]
push eax
push 0x4d2c64
push str.http:__www.360.cn
mov dword [esp + 0x30], 0x100
call fcn.00433c86
lea eax, [esp + 0x9dc]
push eax
call fcn.00475ebe
add esp, 0x1c
test eax, eax
jne 0x403120
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x9d0]
push eax
push 0x4d2c64
push str.http:__www.360safe.com
call fcn.00433c86
add esp, 0x18
lea eax, [esp + 0x9c4]
push eax
call fcn.00475ebe
pop ecx
test eax, eax
jne 0x403145
push dword [esp + 0x14]
lea eax, [esp + 0x9c8]
push eax
call fcn.00477a45
pop ecx
pop ecx
lea eax, [esp + 0x9c4]
push eax
lea ecx, [esp + 0x14]
call fcn.00402766
jmp 0x403166
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00401c3e
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x11c]
call fcn.00401c3e
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402820
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0043ced7
lea ecx, [esi + 0x128]
push eax
mov byte [esp + 0xfec], 4
call fcn.00401c3e
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402820
push 0x64
lea eax, [esp + 0x838]
push eax
call fcn.004961c0
lea eax, [esp + 0x834]
lea ecx, [esi + 0x120]
push eax
call fcn.00402766
push 0xc8
lea eax, [esp + 0x838]
push ebx
push eax
call fcn.00475420
add esp, 0xc
push 0x64
lea eax, [esp + 0x838]
push eax
call fcn.004292f0
lea eax, [esp + 0x834]
lea ecx, [esi + 0x124]
push eax
call fcn.00402766
xor eax, eax
push 0x206
mov word [esp + 0xbc8], ax
lea eax, [esp + 0xbca]
push ebx
push eax
call fcn.00475420
add esp, 0xc
push 0x103
lea eax, [esp + 0xbc8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push 0xc6
mov word [esp + 0x900], ax
lea eax, [esp + 0x902]
push ebx
push eax
call fcn.00475420
add esp, 0xc
push 0x63
lea eax, [esp + 0x900]
push eax
lea eax, [esp + 0xbcc]
push eax
call fcn.0043a124
add esp, 0xc
lea eax, [esp + 0x8fc]
lea ecx, [esi + 0x12c]
push eax
call fcn.00402766
mov edi, 0x208
push edi
lea eax, [esp + 0xdd0]
push ebx
push eax
mov dword [esp + 0x34], 1
call fcn.00475420
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xdd0]
push eax
mov dword [esp + 0x28], edi
lea eax, [esp + 0x30]
push eax
push 0x4d28bc
push 0x4d28c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40340a
lea eax, [esp + 0xdcc]
push eax
lea ecx, [esp + 0x18]
call fcn.004024e0
push str._safemon360tray.exe
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xff4], 5
call fcn.00403a39
add esp, 0xc
mov byte [esp + 0xfe8], 6
push dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esp + 0x14], 1
call edi
test eax, eax
je 0x40339f
push str.hipsver.dll
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00403a39
add esp, 0xc
mov dword [esp + 0xfe8], 7
push dword [eax]
mov dword [esp + 0x14], 3
call edi
test eax, eax
je 0x40339f
push str.360ver.dll
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403a39
add esp, 0xc
push dword [eax]
mov dword [esp + 0x14], 7
call edi
test eax, eax
jne 0x40339f
inc eax
jmp 0x4033a1
xor eax, eax
test byte [esp + 0x10], 4
mov dword [esi + 0x114], eax
je 0x4033bf
mov ecx, dword [esp + 0x18]
and dword [esp + 0x10], 0xfffffffb
add ecx, 0xfffffff0
call fcn.00402820
test byte [esp + 0x10], 2
je 0x4033d7
mov ecx, dword [esp + 0x24]
and dword [esp + 0x10], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00402820
mov dword [esp + 0xfe8], 5
test byte [esp + 0x10], 1
je 0x4033f5
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402820
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402820
jmp 0x403410
mov dword [esi + 0x114], ebx
push 0x4f9e00
lea ecx, [esp + 0x14]
call fcn.004027fb
mov byte [esp + 0xfe8], 8
push dword [esi + 0x28]
lea eax, [esp + 0x14]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x124]
push dword [esi + 0x120]
push dword [esi + 0x114]
push dword [esi + 0x11c]
push dword [esi + 0x12c]
push str.http:__s.360.cn_safe_instcomp.htm_soft923ver_spid_ships_dmid_smid2_sw_I64db_I64do_ddver9.0
push eax
call fcn.00403b2e
lea edi, [esi + 0x128]
mov eax, dword [edi]
add esp, 0x30
cmp dword [eax - 0xc], ebx
je 0x40348a
push str.instver
lea ecx, [esp + 0x14]
call fcn.00403b09
push edi
lea ecx, [esp + 0x14]
call fcn.00403ca1
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x130]
call fcn.00401c3e
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
mov dword [esi + 0x108], 1
call fcn.00402820
lea ecx, [esp + 0x2c]
call fcn.00403be5
mov ecx, dword [esp + 0xfe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xfc8]
xor ecx, esp
call fcn.0047549a
mov esp, ebp
pop ebp
ret