Function at 0x1000fed0
Capabilities:
Create process on windows
Create thread
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044ee2
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x87c], edx
mov edi, ecx
movq xmm0, qword [0x10050f70]
mov ax, word [0x10050f78]
mov byte [ebp - 0x871], 0
movq qword [0x1005bb10], xmm0
mov word [0x1005bb18], ax
mov dword [0x1005bb44], 0x10050f7c
mov dword [0x1005bb48], 0x10050f88
test edx, edx
jne 0x1000ff47
xor al, al
jmp 0x100101ab
push 0x18
call fcn.10013718
add esp, 4
mov dword [ebp - 0x878], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
call fcn.1000ad10
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ecx
push 0
push eax
push 0x1000aeb0
push 0
push 0
mov dword [ebp - 0x878], eax
call esi
lea eax, [ebp - 0x814]
push eax
push 0
push dword [ebp - 0x878]
push 0x1000aea0
push 0
push 0
call esi
call fcn.1000b060
mov esi, dword [ebp - 0x878]
mov dword [ebp - 0x828], 0xffffffff
mov dword [ebp - 0x82c], 0xffffffff
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0xffffffff
je 0x1000ffd1
lea eax, [ebp - 0x828]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10010177
mov ecx, dword [ebp - 0x828]
mov edx, 0x10050ff8
call fcn.1000b7a0
mov ecx, dword [ebp - 0x828]
mov edx, 0x10051028
call fcn.1000b7a0
lea eax, [ebp - 0x82c]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esi + 8]
push 0x1005bb38
push dword [eax]
call dword [sym.imp.Secur32.dll_QuerySecurityContextToken]
push 0x1005bb34
push 1
push 2
push 0
push 0xf01ff
push dword [0x1005bb38]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x10010170
push 0x44
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.10017bc0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x870], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x868], str.winsta0default
push 0
push eax
movups xmmword [ebp - 0x824], xmm0
call fcn.10017bc0
push 0x400
push dword [ebp - 0x87c]
lea eax, [ebp - 0x810]
push eax
call fcn.10019163
add esp, 0x24
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x870]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push dword [0x1005bb34]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x1001014b
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x870]
push eax
push 0x100510a0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
push 0
push dword [0x1005bb34]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1001012f
push str.CreateProcessAsUser_Succesfully
jmp 0x10010150
cmp byte [ebp - 0x871], 0
jne 0x10010160
push str.Fail_To_Create_Process
push edi
call fcn.10007760
add esp, 8
jmp 0x1000ffd1
push str.CreateProcessAsToken_Succesfully
push edi
call fcn.10007760
mov byte [ebp - 0x871], 1
add esp, 8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000ffd1
push 0x10051064
jmp 0x1001017c
push 0x10050fd8
push edi
call fcn.10007760
mov eax, dword [ebp - 0x828]
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10010198
push eax
call esi
mov eax, dword [ebp - 0x82c]
test eax, eax
je 0x100101a5
push eax
call esi
mov al, byte [ebp - 0x871]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret