Function at 0x100775d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3b11
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
xor ebx, ebx
xor ecx, ecx
mov edi, 7
push 0xe
mov eax, str.SeTcbPrivilege
lea esi, [ebp - 0x30]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
call fcn.10019760
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.100781f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 8
jb 0x1007764c
mov edx, dword [ebp - 0x30]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x1007778a
lea edx, [ebp - 0x16c]
push edx
call fcn.10013470
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x16c]
push str.QUT_FAILED._GetLastError:
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1006fa80
push 0x23
mov esi, 0xf
push str.CProcUtility::FXCreateProcessAsUser
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.100191b0
mov byte [ebp - 4], 2
push esi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.100191b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x16c]
push edx
call fcn.10013570
mov byte [ebp - 4], 4
push eax
push 0x156
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x30]
call fcn.10072520
mov byte [ebp - 4], 3
cmp dword [ebp - 0x54], 8
jb 0x10077724
mov eax, dword [ebp - 0x68]
push eax
call fcn.1009c0c0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
mov byte [ebp - 4], 2
mov edi, 0x10
cmp dword [ebp - 0x1c], edi
jb 0x1007774a
mov edx, dword [ebp - 0x30]
push edx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], edi
jb 0x10077768
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10002af0
xor al, al
jmp 0x10077ada
push 0x40
xor eax, eax
lea ecx, [ebp - 0xd0]
push ebx
push ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
call fcn.100a39b0
mov eax, dword [0x100ee994]
xor edx, edx
mov word [ebp - 0xa4], dx
xor ecx, ecx
inc eax
add esp, 0xc
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0xd4], 0x44
mov dword [ebp - 0xcc], str.winsta0default
mov dword [ebp - 0xa8], 1
neg ecx
or ecx, eax
push ecx
call fcn.1009b929
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100778fb
lea eax, [ebp - 0x16c]
push eax
call fcn.10013470
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x16c]
push str.new_FAILED.
push ecx
call fcn.1001c530
add esp, 8
push 0x23
mov esi, 0xf
push str.CProcUtility::FXCreateProcessAsUser
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.100191b0
mov byte [ebp - 4], 6
push esi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.100191b0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.10013570
mov byte [ebp - 4], 8
push eax
push 0x165
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.10072520
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], 8
jb 0x100778a5
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.1009c0c0
add esp, 4
xor edx, edx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
mov byte [ebp - 4], 6
mov edi, 0x10
cmp dword [ebp - 0x38], edi
jb 0x100778cf
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], edi
jb 0x100778ed
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
jmp 0x10077771
mov edx, dword [0x100ee994]
inc edx
push edx
push ebx
push edi
call fcn.100a39b0
mov eax, dword [0x100ee984]
mov esi, 8
add esp, 0xc
cmp dword [0x100ee998], esi
jae 0x10077924
mov eax, 0x100ee984
push eax
push 0x100d9ad8
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x70]
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0x78]
push ecx
mov dword [ebp - 0x78], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov eax, dword [ebp - 0x74]
mov byte [ebp - 0x69], 1
cmp dword [eax + 0x14], esi
jb 0x10077954
mov eax, dword [eax]
lea edx, [ebp - 0x88]
push edx
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0xd4]
push ecx
push ebx
push edx
push 0x420
push ebx
push ebx
push ebx
push edi
push eax
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x10077a97
lea ecx, [ebp - 0x16c]
push ecx
call fcn.10014670
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x16c]
push str.CPAU_FAILED._GetLastError:
push edx
call fcn.1001d5a0
add esp, 0xc
push eax
call fcn.10078d50
push 0x23
mov esi, 0xf
push str.CProcUtility::FXCreateProcessAsUser
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.100191b0
mov byte [ebp - 4], 0xa
push esi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.100191b0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10014770
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xc
push 0x17c
lea ecx, [ebp - 0x4c]
push ecx
push ebx
call fcn.10013c70
mov edx, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x30]
call fcn.10072000
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x54], 0x10
jb 0x10077a3b
mov edx, dword [ebp - 0x68]
push edx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x38], 0x10
jb 0x10077a5a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1c], 0x10
jb 0x10077a79
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10003e90
mov byte [ebp - 0x69], bl
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp - 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x84]
push ecx
mov dword [ebp - 0x88], ebx
call esi
mov edx, dword [ebp - 0x70]
push edx
mov dword [ebp - 0x84], ebx
call esi
push edi
mov dword [ebp - 0x70], ebx
call fcn.1009d8d4
mov al, byte [ebp - 0x69]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret