Function at 0x417b90
Capabilities:
Acquire debug privileges
Create process on windows
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d131b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
call fcn.00417b20
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x270], eax
push ecx
xor edi, edi
mov dword [ebp - 0x268], 0
push eax
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], edi
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x417d76
xor eax, eax
push eax
push 2
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x417d64
push 0x632a00
lea ecx, [ebp - 0x24c]
call fcn.00406470
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
push edi
mov dword [ebp - 0x248], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x417d04
push str.plor
lea ecx, [ebp - 0x24c]
call fcn.004063b0
push str.er.e
lea ecx, [ebp - 0x24c]
call fcn.004063b0
push 0x632a20
lea ecx, [ebp - 0x24c]
call fcn.004063b0
nop dword [eax]
push dword [ebp - 0x24c]
lea eax, [ebp - 0x224]
push eax
call fcn.005ab399
add esp, 8
test eax, eax
jne 0x417ce4
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x417ce4
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x264], eax
je 0x417cf8
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x417ca0
jmp 0x417d04
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x258], eax
push edi
call esi
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x417d3f
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x417d3f
lea eax, [ebp - 0x254]
push eax
push 0xf00ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x417d6b
push edi
call esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417d64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x417ef3
lea ecx, [ebp - 0x24c]
call fcn.00406450
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x417d64
lea ecx, [ebp - 0x268]
push ecx
push 4
lea ecx, [ebp - 0x26c]
push ecx
push 0x13
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x417dd7
lea eax, [ebp - 0x274]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [ebp - 0x250]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, dword [ebp - 0x250]
jmp 0x417de3
mov esi, dword [ebp - 0x26c]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0x2000000
test esi, esi
je 0x417e21
push 1
push esi
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov esi, dword [ebp - 0x250]
test eax, eax
je 0x417e21
mov dword [ebp - 0x258], 0x2000400
jmp 0x417e2b
mov dword [ebp - 0x25c], 0
push 0x44
lea eax, [ebp - 0x2d0]
push 0
push eax
call fcn.005a3020
add esp, 0xc
mov dword [ebp - 0x2d0], 0x44
xor eax, eax
mov dword [ebp - 0x2a4], 1
mov word [ebp - 0x2a0], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 0
push dword [ebp - 0x25c]
movups xmmword [ebp - 0x284], xmm0
push dword [ebp - 0x258]
push 0
push 0
push 0
push dword [ebp - 0x260]
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x284], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x260], eax
je 0x417ebb
push dword [ebp - 0x280]
call esi
push dword [ebp - 0x284]
call esi
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x417ec8
push eax
call esi
test edi, edi
je 0x417ecf
push edi
call esi
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x417edc
push eax
call esi
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x417eed
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret