Function at 0x40ff2e
Capabilities:
Accept command line arguments
Acquire debug privileges
Create thread
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43e89b
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x44d08c]
xor eax, esp
mov dword [esp + 0x83c], eax
push ebx
push esi
mov eax, dword [0x44d08c]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00414d15
xor ebx, ebx
cmp edi, ebx
je 0x40ff84
lea ecx, [edi + 0x28]
jmp 0x40ff86
xor ecx, ecx
push ecx
mov esi, eax
call fcn.00414c99
lea eax, [esp + 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40ffe5
lea eax, [esp + 0x18]
push eax
push str.SeDebugPrivilege
push ebx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push ebx
push ebx
push 0x10
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x20]
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x40ffee
lea eax, [edi + 0x24]
jmp 0x40fff0
xor eax, eax
mov dword [edi + 0x618], eax
lea eax, [edi + 0x5cc]
mov dword [edi + 0x650], eax
cmp dword [0x453328], ebx
je 0x4100a8
cmp word [0x4549c8], bx
je 0x41004f
push str.safemon360traylive.dll
push 0x4549c8
lea eax, [esp + 0x644]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x41004f
lea eax, [edi + 0x24]
push eax
lea ebx, [edi + 0x544]
call fcn.00406185
push 1
push edi
call fcn.00412313
jmp 0x410319
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0x24
mov dword [edi + 0x7c], 3
call fcn.004254b1
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x858], ebx
cmp eax, ebx
je 0x41007f
push eax
call fcn.004186b2
mov esi, eax
jmp 0x410081
xor esi, esi
or dword [esp + 0x858], 0xffffffff
push dword [edi + 0x7c]
mov ecx, esi
call fcn.004187b5
cmp esi, ebx
je 0x410319
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x410319
push edi
call fcn.00410678
lea ecx, [edi + 0x94c]
call fcn.00415031
push ebx
push 0x40
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ecx, edi
call fcn.00410949
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, str._start
push esi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x410119
push str.softmgr360speedld.exe
call fcn.0040ad36
pop ecx
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 0x40fecb
push ebx
push ebx
call fcn.00425a61
add esp, 0x18
cmp eax, ebx
je 0x410119
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push 0x40e
mov word [esp + 0x230], ax
lea eax, [esp + 0x232]
push ebx
push eax
call fcn.004253c0
lea eax, [esp + 0x238]
add esp, 0xc
push eax
mov eax, str.UtilsSiteUIProxy.dll
call fcn.0040a54b
pop ecx
lea eax, [esp + 0x22c]
push eax
call fcn.00405600
pop ecx
mov ecx, eax
cmp ecx, ebx
je 0x410193
mov eax, dword [0x4532e0]
cmp eax, ebx
jne 0x410184
push str.GetSmartInitializer
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x41017d
xor eax, eax
jmp 0x410184
call eax
mov dword [0x4532e0], eax
mov dword [edi + 0x974], eax
cmp eax, ebx
je 0x410193
mov ecx, dword [eax]
push eax
call dword [ecx]
lea eax, [edi + 0x24]
push eax
mov dword [esp + 0x10], eax
lea eax, [edi + 0x544]
push eax
call fcn.0040624b
push ebx
push 0x1388
push 0xa8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
push 0x206
mov word [esp + 0x28], ax
lea eax, [esp + 0x2a]
push ebx
push eax
call fcn.004253c0
lea eax, [esp + 0x30]
add esp, 0xc
push eax
mov eax, str.tcfg.dll
call fcn.0040a54b
pop ecx
lea eax, [esp + 0x24]
push eax
call fcn.00414baa
mov esi, eax
call fcn.00414c21
lea esi, [edi + 0x94c]
mov ecx, esi
call fcn.00415142
push esi
call fcn.00415eb3
mov ecx, edi
call fcn.00410c1b
push str._showtrayicon
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41022c
push dword [edi + 4]
call fcn.0041bc5d
pop ecx
cmp dword [0x455308], ebx
jne 0x410268
push 0x1f
lea eax, [esp + 0x14]
push eax
call fcn.00409ada
mov dword [esp + 0x858], 1
mov edx, dword [eax]
xor ecx, ecx
call fcn.0040f7f0
or dword [esp + 0x858], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004054cf
mov eax, dword [0x4551f0]
cmp eax, 0xa
jne 0x41027f
cmp dword [0x4551f4], ebx
jne 0x410293
xor eax, eax
inc eax
jmp 0x410295
cmp eax, 6
jne 0x410293
mov eax, dword [0x4551f4]
cmp eax, 2
je 0x41027a
cmp eax, 3
jmp 0x410278
xor eax, eax
push str.manexit
push str.SOFTWARE360Safe_stat
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 0x78], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [0x455308], ebx
je 0x4102ed
cmp dword [0x455310], ebx
jne 0x4102ed
call fcn.0040addb
test eax, eax
je 0x4102ed
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx]
push 0x443d3c
push 0x443d40
mov ecx, ebx
call dword [eax + 0x20]
push str.sweeper360CleanHelper.exe
mov esi, str._trashpopwnd__frombootks
call fcn.0040ad36
pop ecx
jmp 0x4102f1
mov ebx, dword [esp + 0xc]
push edi
call fcn.0041033e
mov eax, dword [ebx]
push 0x454598
push str.CLSID_IPCS_MISC.1
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [ebx]
push 0x454594
push str.CLSID_IPCS_DDMANAGE.1
mov ecx, ebx
call dword [eax + 0x30]
xor eax, eax
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x83c]
xor ecx, esp
call fcn.00425271
mov esp, ebp
pop ebp
ret