Function at 0x4030bb
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 0x4b626c
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.00403b79
mov dword [esp + 0xfe8], ebx
cmp dword [esi + 0x104], ebx
jne 0x4035fd
call fcn.004036a1
call fcn.004038ea
call fcn.0040a4c6
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
call fcn.0040260e
lea eax, [esp + 0x14]
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
mov byte [esp + 0xfec], 1
call fcn.0043d00b
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, edi
call fcn.0043d642
mov eax, dword [esi + 0x118]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x4032e2
push 0x4f9e00
lea ecx, [esp + 0x14]
call fcn.0040293e
push 0x800
lea eax, [esp + 0x38]
push ebx
push eax
mov byte [esp + 0xff4], 2
call fcn.00475410
add esp, 0xc
push 0x2711
lea ecx, [esp + 0x18]
call fcn.0040260e
mov ecx, edi
mov byte [esp + 0xfe8], 3
call fcn.0043cdc4
test eax, eax
jne 0x4032a5
mov ecx, edi
call fcn.0043cdcc
push eax
lea ecx, [esp + 0x14]
call fcn.00401df2
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x4032b3
xor eax, eax
push 0x1fe
mov word [esp + 0x9c8], ax
lea eax, [esp + 0x9ca]
push ebx
push eax
call fcn.00475410
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x9d0]
push eax
push 0x4d2c34
push str.http:__www.360.cn
mov dword [esp + 0x30], 0x100
call fcn.00433c14
lea eax, [esp + 0x9dc]
push eax
call fcn.00475eae
add esp, 0x1c
test eax, eax
jne 0x40326d
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x9d0]
push eax
push 0x4d2c34
push str.http:__www.360safe.com
call fcn.00433c14
add esp, 0x18
lea eax, [esp + 0x9c4]
push eax
call fcn.00475eae
pop ecx
test eax, eax
jne 0x403292
push dword [esp + 0x14]
lea eax, [esp + 0x9c8]
push eax
call fcn.00477a35
pop ecx
pop ecx
lea eax, [esp + 0x9c4]
push eax
lea ecx, [esp + 0x14]
call fcn.00402894
jmp 0x4032b3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00401df2
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x118]
call fcn.00401df2
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402963
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0043ce72
lea ecx, [esi + 0x124]
push eax
mov byte [esp + 0xfec], 4
call fcn.00401df2
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402963
push 0x64
lea eax, [esp + 0x838]
push eax
call fcn.00496160
lea eax, [esp + 0x834]
lea ecx, [esi + 0x11c]
push eax
call fcn.00402894
push 0xc8
lea eax, [esp + 0x838]
push ebx
push eax
call fcn.00475410
add esp, 0xc
push 0x64
lea eax, [esp + 0x838]
push eax
call fcn.00429340
lea eax, [esp + 0x834]
lea ecx, [esi + 0x120]
push eax
call fcn.00402894
xor eax, eax
push 0x206
mov word [esp + 0xbc8], ax
lea eax, [esp + 0xbca]
push ebx
push eax
call fcn.00475410
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.00475410
add esp, 0xc
push 0x63
lea eax, [esp + 0x900]
push eax
lea eax, [esp + 0xbcc]
push eax
call fcn.0040d04f
add esp, 0xc
lea eax, [esp + 0x8fc]
lea ecx, [esi + 0x128]
push eax
call fcn.00402894
mov edi, 0x208
push edi
lea eax, [esp + 0xdd0]
push ebx
push eax
mov dword [esp + 0x34], 1
call fcn.00475410
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 0x4d288c
push 0x4d2898
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x403557
lea eax, [esp + 0xdcc]
push eax
lea ecx, [esp + 0x18]
call fcn.0040260e
push str._safemon360tray.exe
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xff4], 5
call fcn.00403a22
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 0x4034ec
push str.hipsver.dll
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00403a22
add esp, 0xc
mov dword [esp + 0xfe8], 7
push dword [eax]
mov dword [esp + 0x14], 3
call edi
test eax, eax
je 0x4034ec
push str.360ver.dll
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403a22
add esp, 0xc
push dword [eax]
mov dword [esp + 0x14], 7
call edi
test eax, eax
jne 0x4034ec
inc eax
jmp 0x4034ee
xor eax, eax
test byte [esp + 0x10], 4
mov dword [esi + 0x110], eax
je 0x40350c
mov ecx, dword [esp + 0x18]
and dword [esp + 0x10], 0xfffffffb
add ecx, 0xfffffff0
call fcn.00402963
test byte [esp + 0x10], 2
je 0x403524
mov ecx, dword [esp + 0x24]
and dword [esp + 0x10], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00402963
mov dword [esp + 0xfe8], 5
test byte [esp + 0x10], 1
je 0x403542
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402963
mov byte [esp + 0xfe8], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x40355d
mov dword [esi + 0x110], ebx
push 0x4f9e00
lea ecx, [esp + 0x14]
call fcn.0040293e
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 + 0x120]
push dword [esi + 0x11c]
push dword [esi + 0x110]
push dword [esi + 0x118]
push dword [esi + 0x128]
push str.http:__s.360.cn_safe_instcomp.htm_soft923ver_spid_ships_dmid_smid2_sw_I64db_I64do_ddver9.0
push eax
call fcn.00403b17
lea edi, [esi + 0x124]
mov eax, dword [edi]
add esp, 0x30
cmp dword [eax - 0xc], ebx
je 0x4035d7
push str.instver
lea ecx, [esp + 0x14]
call fcn.00403af2
push edi
lea ecx, [esp + 0x14]
call fcn.00403c1e
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x12c]
call fcn.00401df2
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
mov dword [esi + 0x104], 1
call fcn.00402963
lea ecx, [esp + 0x2c]
call fcn.00417e3d
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.0047548a
mov esp, ebp
pop ebp
ret