Function at 0x100e75a0
Capabilities:
Create process on windows

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 0x10151844
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x1019a128]
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 - 0x94], ecx
mov eax, dword [ebx + 0x10]
xor ecx, ecx
mov dl, byte [ebx + 8]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
call fcn.100e6db0
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x100e7652
push str.ExecuteProcessInSession
lea edx, [eax + 8]
lea ecx, [ebp - 0x140]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 4], 0
cmp byte [eax + 0x48], 0
je 0x100e7633
mov edx, str.get_user_token_failed
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x140]
call fcn.1000ad70
mov dword [edi], 0x1f
xor eax, eax
mov dword [edi + 4], 0x1019abc0
jmp 0x100e79dc
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0x44
push 1
push eax
lea eax, [ebp - 0x7c]
movlpd qword [ebp - 0x74], xmm0
push eax
movlpd qword [ebp - 0x6c], xmm0
mov esi, 0x8000020
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
mov dword [ebp - 0x20], 0
mov ecx, 0x8000420
mov dword [ebp - 0x20], 0
cmovne esi, ecx
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x28]
push 0x7fff
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10002350
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], esi
call fcn.10117ff0
add esp, 0xc
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x94]
xor ecx, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x28]
mov word [eax], cx
cmp word [esi], 0x22
je 0x100e7738
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub ecx, eax
sar ecx, 1
push 0x101676f4
push ecx
push eax
call fcn.1012317d
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub ecx, eax
sar ecx, 1
push esi
push ecx
push eax
call fcn.1012317d
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e7752
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x22
je 0x100e7782
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub ecx, eax
sar ecx, 1
push 0x101676f4
push ecx
push eax
call fcn.1012317d
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub ecx, eax
sar ecx, 1
push 0x10166bd0
push ecx
push eax
call fcn.1012317d
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov eax, dword [ebp - 0x28]
sub ecx, eax
sar ecx, 1
push str.get_module_status
push ecx
push eax
call fcn.1012317d
add esp, 0xc
lea ecx, [ebp - 0x140]
mov edx, 0x10
push str.ExecuteProcessInSession
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
mov al, byte [esi + 0x48]
test al, al
je 0x100e77f6
mov edx, str.Run
mov ecx, esi
call fcn.10020800
mov al, byte [esi + 0x48]
test al, al
je 0x100e77f6
mov edx, dword [ebp - 0x28]
mov ecx, esi
call fcn.100205a0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.1000ad70
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push dword [ebp - 0x7c]
push dword [ebp - 0x98]
push 0
push 0
push 0
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x100e789c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.ExecuteProcessInSession
mov edx, 4
mov dword [edi], eax
lea ecx, [ebp - 0x140]
mov dword [edi + 4], 0x1019abc0
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
mov al, byte [esi + 0x48]
test al, al
je 0x100e788d
mov edx, str.CreateProcessAsUser_failed_err
mov ecx, esi
call fcn.10020800
mov al, byte [esi + 0x48]
test al, al
je 0x100e788d
push dword [edi]
mov ecx, esi
call fcn.10026c90
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.1000ad70
mov eax, dword [ebp - 0x8c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100e79b7
mov ecx, dword [ebp - 0x18]
push dword [ebx + 0x14]
test ecx, ecx
je 0x100e78d0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0
push eax
push 2
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jmp 0x100e78d7
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
test esi, esi
jne 0x100e790c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x100e78ff
mov dword [edi], esi
mov dword [edi + 4], 0x1019ab88
jmp 0x100e79a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x100e799a
lea ecx, [ebp - 0x140]
push str.ExecuteProcessInSession
cmp esi, 1
jne 0x100e7950
lea edx, [esi + 0xf]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 4
cmp byte [eax + 0x48], 0
je 0x100e793d
mov edx, 0x10167ab8
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x140]
call fcn.1000ad70
mov dword [edi], 0
jmp 0x100e799a
mov edx, 4
call fcn.1000aed0
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov cl, byte [eax + 0x48]
test cl, cl
je 0x100e7989
mov edx, str.unexpected_wait_result
mov ecx, eax
call fcn.100205a0
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0x48]
test cl, cl
je 0x100e7989
push esi
mov ecx, eax
call fcn.100201d0
lea ecx, [ebp - 0x140]
call fcn.1000ad70
mov dword [edi], 0x1f
mov dword [edi + 4], 0x1019abc0
push dword [ebp - 0x8c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x88]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
call esi
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.100825d0
mov eax, esi
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.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret