Function at 0x1000ba60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.10012b10
mov eax, dword [0x1003b06c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x200c], ebx
mov dword [ebp - 0x2014], eax
je 0x1000bea0
call fcn.10011c80
test al, al
je 0x1000bab6
push ebp
push ebx
pop ebx
pop ebx
push ebx
push edi
pop eax
push esp
push edi
push esp
push ebx
push esp
pop eax
pop edi
push ebp
pop edi
pop esp
mov ebx, dword [ebp - 0x200c]
call fcn.10011f90
test al, al
je 0x1000badd
pop edx
push ecx
pop edi
push eax
pop esp
pop ecx
push ecx
push edx
push ebp
push eax
push esp
pop esi
push ecx
push edi
push ebp
pop edi
push esi
push esp
pop ebp
push edx
pop edi
pop esi
pop edx
pop ecx
pop edi
push edi
push eax
pop edx
push edx
pop esp
push 0x2000
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x2010], 0
push 0
push eax
mov dword [ebp - 0x2008], 0
call fcn.10015870
push dword [ebp - 0x2014]
lea eax, [ebp - 0x2004]
push ebx
push str.__s___s
push eax
call fcn.10002dc0
add esp, 0x1c
call fcn.10011a50
test al, al
je 0x1000bb3d
pop ebp
pop edi
push esi
push ebp
push esi
push esp
push esi
pop ebp
pop ebp
push eax
pop ebx
push esp
pop ebx
push esp
pop eax
push ebx
pop esi
pop ebp
push esp
pop eax
push ecx
call fcn.100115f0
test al, al
je 0x1000bb58
pop eax
pop edx
push edx
pop esi
pop ecx
push eax
push eax
pop edx
push esi
push edx
push esp
push edx
pop ebx
push esi
push ecx
push esi
pop ecx
pop edi
call fcn.10011d60
test al, al
je 0x1000bb7b
pop ecx
push ecx
push edx
pop edx
push edi
push esi
pop ecx
pop esp
pop esp
push esp
push edx
push edx
push ecx
pop edx
push eax
pop edx
push esi
pop eax
push ebp
push edi
pop ecx
push eax
pop eax
pop eax
pop eax
push edx
push str.EXPLORER.EXE
call fcn.1000c280
add esp, 4
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2018], eax
test eax, eax
je 0x1000bd6a
lea ecx, [ebp - 0x2010]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000bd6a
lea eax, [ebp - 0x2008]
push eax
push 1
push 1
push 0
push 0xf01ff
push dword [ebp - 0x2010]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1000bd6a
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000bc34
push str.WTSGetActiveConsoleSessionId
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000bc2d
call eax
push 4
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2014]
push eax
push 0xc
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x1000bd6a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44
lea eax, [ebp - 0x206c]
push 0
push eax
call fcn.10015870
add esp, 0xc
mov dword [ebp - 0x206c], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x2028], xmm0
call fcn.10011d60
test al, al
je 0x1000bc82
pop ebx
push esi
push esp
pop eax
pop ebp
pop eax
push ebx
push ebx
push ebp
pop esi
pop esi
push ecx
pop ecx
push edi
pop esp
push edx
push edi
pop edx
pop edx
pop esp
push edx
push edx
pop ebp
pop edx
push esp
pop edx
pop edi
pop esp
push edi
pop esp
mov eax, 5
mov dword [ebp - 0x2064], str.WinSta0Default
mov word [ebp - 0x203c], ax
mov dword [ebp - 0x2040], 1
mov dword [ebp - 0x200c], 0
call fcn.10011a50
test al, al
je 0x1000bcca
pop ebp
pop edi
push esi
push ebp
push esi
push esp
push esi
pop ebp
pop ebp
push eax
pop ebx
push esp
pop ebx
push esp
pop eax
push ebx
pop esi
pop ebp
push esp
pop eax
push ecx
call fcn.100115f0
test al, al
je 0x1000bce5
pop eax
pop edx
push edx
pop esi
pop ecx
push eax
push eax
pop edx
push esi
push edx
push esp
push edx
pop ebx
push esi
push ecx
push esi
pop ecx
pop edi
call fcn.10011d60
test al, al
je 0x1000bd08
pop ecx
push ecx
push edx
pop edx
push edi
push esi
pop ecx
pop esp
pop esp
push esp
push edx
push edx
push ecx
pop edx
push eax
pop edx
push esi
pop eax
push ebp
push edi
pop ecx
push eax
pop eax
pop eax
pop eax
push edx
push 0
push dword [ebp - 0x2008]
lea eax, [ebp - 0x200c]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1000bd6a
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x206c]
push eax
push 0
push dword [ebp - 0x200c]
lea eax, [ebp - 0x2004]
push 0x430
push 0
push 0
push 0
push eax
push 0
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1000bd6a
mov eax, dword [ebp - 0x200c]
test eax, eax
je 0x1000bd6a
push eax
call sub.USERENV.dll_DestroyEnvironmentBlock
call fcn.100116d0
test al, al
je 0x1000bd91
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.10011740
test al, al
je 0x1000bdae
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.10011c80
test al, al
je 0x1000bdd0
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
mov eax, dword [ebp - 0x2008]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000bde8
cmp eax, 0xffffffff
je 0x1000bde8
push eax
call esi
call fcn.10011900
test al, al
je 0x1000be08
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
mov eax, dword [ebp - 0x2010]
test eax, eax
je 0x1000be1a
cmp eax, 0xffffffff
je 0x1000be1a
push eax
call esi
cmp dword [ebp - 0x2018], 0
jne 0x1000be27
push 0
call esi
call fcn.100116d0
test al, al
je 0x1000be4e
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.10011740
test al, al
je 0x1000be6b
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.10011c80
test al, al
je 0x1000be8d
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012ad9
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push eax
push ebx
call fcn.1000b710
mov ecx, dword [ebp - 4]
add esp, 0x14
test eax, eax
setne al
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10012ad9
mov esp, ebp
pop ebp
ret