Function at 0x433f20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x433f7a
lea ecx, [ebp - 0x30]
push ecx
call eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x20], eax
mov edi, 1
cmp dword [0x6d138c], edi
jl 0x433fae
push eax
push str.WD_session:__u
push str.Helper::runAsTI
push edi
call fcn.00552bc2
add esp, 0x10
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x434235
call fcn.00433d70
mov esi, eax
cmp dword [0x6d138c], edi
jl 0x433fda
push esi
push str.WD_TI_pid__u
push str.Helper::runAsTI
push edi
call fcn.00552bc2
add esp, 0x10
cmp esi, 0xffffffff
je 0x434235
push esi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x434204
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x1c]
call fcn.004382c0
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4341ce
cmp dword [ebp - 0x1c], 0
je 0x4341f0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x18]
call fcn.004382c0
push eax
mov esi, 1
push esi
push esi
push 0
push 0x1f0fff
push edi
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x434198
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4341ba
push 4
lea edx, [ebp - 0x20]
push edx
push 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x434182
mov eax, dword [ebp - 0x20]
push eax
call fcn.00433dc0
add esp, 4
mov esi, eax
cmp dword [0x6d138c], 1
jl 0x4340bc
xor ecx, ecx
test esi, esi
setne cl
push ecx
push str.WD_env__i
push str.Helper::runAsTI
push 1
call fcn.00552bc2
add esp, 0x10
mov edi, 0x30
mov dword [ebp - 0x24], edi
xor eax, eax
cmp esi, eax
je 0x4340d2
mov edi, 0x430
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x8c], eax
push 0x40
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.005985f0
add esp, 0xc
mov dword [ebp - 0x8c], 0x44
mov dword [ebp - 0x84], str.winsta0default
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0
push esi
push edi
push 0
push 0
push 0
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x434159
cmp dword [0x6d138c], 1
jl 0x434159
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_CreateProcessAsUser__i
push str.Helper::runAsTI
push 1
call fcn.00552bc2
add esp, 0x10
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x434167
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x434175
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4341ba
push esi
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x4341ba
cmp dword [0x6d138c], esi
jl 0x4341ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_SetTokenInformation__i
jmp 0x4341ac
cmp dword [0x6d138c], esi
jl 0x4341ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_DuplicateTokenEx__i
push str.Helper::runAsTI
push esi
call fcn.00552bc2
add esp, 0x10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4341f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4341f0
cmp dword [0x6d138c], edi
jl 0x4341f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_OpenProcessToken__i
push str.Helper::runAsTI
push edi
call fcn.00552bc2
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x434226
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x434226
cmp dword [0x6d138c], edi
jl 0x434226
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_OpenProcess__i
push str.Helper::runAsTI
push edi
call fcn.00552bc2
add esp, 0x10
mov byte [ebp - 4], 1
test ebx, ebx
je 0x434235
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0
je 0x43426a
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43426a
mov ecx, dword [ebp - 0x30]
push ecx
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret