Function at 0x417fc0
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44256b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4511b0]
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 dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push str.explorer.exe
call fcn.00417d00
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x418041
jmp 0x418208
lea eax, [ebp - 0x1c]
push eax
push 0xf01ff
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41805d
jmp 0x418208
cmp dword [ebp - 0x1c], 0
jne 0x418068
jmp 0x418208
push 0x48
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.0042a550
add esp, 0xc
mov dword [ebp - 0x78], 0x48
mov dword [ebp - 0x4c], 1
xor eax, eax
mov word [ebp - 0x48], ax
mov dword [ebp - 0x70], 0x4470dc
push 0x10
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.0042a550
add esp, 0xc
call fcn.00417df0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x418117
lea eax, [ebp - 0x28]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov eax, dword [ebp - 0x28]
push eax
call fcn.0042a5ca
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x418117
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 1
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
push 0
push 0
push 4
lea eax, [ebp - 0x20]
push eax
push 0x20000
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x418117
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0
je 0x418123
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004064c0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00405ba0
add esp, 4
test eax, eax
jne 0x418168
push 0x4470d8
lea ecx, [ebp - 0xa4]
call fcn.004185c0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004185c0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
or edx, 0x80000
push edx
push 0
push 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.004065d0
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4181b7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00406570
jmp 0x418208
cmp dword [ebp - 0x88], 0
je 0x4181cb
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
cmp dword [ebp - 0x84], 0
je 0x4181df
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00406570
xor eax, eax
jne 0x418026
cmp dword [ebp - 0x24], 0
je 0x41821a
mov eax, dword [ebp - 0x24]
push eax
call fcn.0042a511
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x41822a
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x41823a
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x41824a
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
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.0042a65e
mov esp, ebp
pop ebp
ret