Function at 0x426760
Capabilities:
Accept command line arguments
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555a68
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x618d28]
mov byte [ebp - 0x31], 0
test edi, edi
jne 0x4267bf
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], edi
mov ecx, eax
call fcn.00409ee0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push eax
push str.GetCommandLine:_S_r_n
push 0x16
push 0x58f980
push 8
push edi
call fcn.0040a3e0
add esp, 0x18
lea eax, [ebp - 0x44]
push eax
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, dword [ebp - 0x44]
mov esi, 1
mov edi, eax
cmp ebx, esi
jle 0x42689e
nop
test edi, edi
je 0x42689e
mov eax, dword [edi + esi*4]
movzx ecx, word [eax]
cmp ecx, 0x2d
je 0x426818
cmp ecx, 0x2f
jne 0x42684f
add eax, 2
mov ecx, str.start
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426846
test dx, dx
je 0x426842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426846
add eax, 4
add ecx, 4
test dx, dx
jne 0x426820
xor eax, eax
jmp 0x42684b
sbb eax, eax
or eax, 1
test eax, eax
je 0x426856
inc esi
cmp esi, ebx
jl 0x426800
jmp 0x42689e
mov esi, dword [0x61e774]
test esi, esi
jne 0x42689a
push 0x2a8
call fcn.005120b2
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 1
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0x10
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
mov byte [esi + 4], 1
call fcn.0040ded0
cmp eax, 0x40
jb 0x426a49
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
mov word [ebp - 0x14], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x42694c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x3c]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x3c]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x38], 0
je 0x42694c
mov eax, dword [0x618d28]
test eax, eax
jne 0x42693b
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 3
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push str.IsNeedStartApp___IsUserAdmin_true_r_n
push 0x2c
push 0x58f9c4
jmp 0x426a85
mov esi, dword [0x61e774]
test esi, esi
jne 0x426990
push 0x2a8
call fcn.005120b2
mov esi, eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 4
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0x10
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
mov al, byte [esi + 4]
test al, al
jne 0x4269a1
call fcn.004127a0
jmp 0x426a94
mov eax, dword [0x618d28]
test eax, eax
jne 0x4269d1
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 8
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push str.start_TrayTool.exe_r_n
push 0x37
push 0x58f9f8
push 8
push eax
call fcn.0040a3e0
add esp, 0x14
lea ecx, [ebp - 0x30]
mov edx, str.TrayTool.exe
call fcn.0040e950
mov dword [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x426a04
mov eax, dword [eax]
push 0
push ecx
push 0
push eax
mov edx, 0x58fa28
call fcn.00412ad0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x426a33
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jmp 0x426a94
mov eax, dword [0x618d28]
test eax, eax
jne 0x426a79
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xa
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push str.IsNeedStartApp___old_system_r_n
push 0x3d
push 0x58fa54
push 8
push eax
call fcn.0040a3e0
mov byte [ebp - 0x31], 1
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret