Function at 0x456410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00456950
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x4564bf
call fcn.0044f060
push 1
lea ecx, [ebp - 0x198]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.UserProcessLauncher.cpp
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x14], 0x31
call fcn.0041a580
mov edx, str.UserToken_is_null
lea ecx, [ebp - 0x198]
call fcn.0041a5e0
lea ecx, [ebp - 0x140]
call fcn.0044dd10
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
xor al, al
jmp 0x456926
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
push ecx
push 1
push 2
push 0
push 0xf01ff
push eax
mov dword [ebp - 0x40], 0
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ecx, dword [ebp - 0x40]
mov edi, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 2
test eax, eax
jne 0x456584
call fcn.0044f060
push 1
lea ecx, [ebp - 0x198]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.UserProcessLauncher.cpp
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x14], 0x40
call fcn.0041a580
mov edx, str.DuplicateTokenEx_failed:
lea ecx, [ebp - 0x198]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x198]
call fcn.004301e0
lea ecx, [ebp - 0x140]
call fcn.0044dd10
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
xor bl, bl
jmp 0x456910
cmp dword [ebx + 0xbc], 0
je 0x456788
cmp dword [ebx + 0xc0], 8
lea eax, [ebx + 0xac]
jb 0x4565a2
mov eax, dword [eax]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
jne 0x456645
call fcn.0044f060
push 1
lea ecx, [ebp - 0x198]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.SessionUtils.cpp
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x14], 0x85
call fcn.0041a580
mov edx, str.ConvertStringSidToSid_failed:
lea ecx, [ebp - 0x198]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x198]
call fcn.004301e0
lea ecx, [ebp - 0x140]
call fcn.0044dd10
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov byte [ebp - 4], 2
jmp 0x45670a
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
push esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x20
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x48]
push eax
push 0x19
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x45677a
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], str.SessionUtils.cpp
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x50], 0x8d
call fcn.0041a580
mov edx, str.SetTokenInformation_failed:
lea ecx, [ebp - 0xf8]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0xf8]
call fcn.004301e0
lea ecx, [ebp - 0xa0]
call fcn.0044dd10
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov byte [ebp - 4], 2
test esi, esi
je 0x45670a
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], str.UserProcessLauncher.cpp
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x44], 0x46
call fcn.0041a580
mov edx, str.AddIntegrityToToken_failed
lea ecx, [ebp - 0xf8]
call fcn.0041a5e0
lea ecx, [ebp - 0xa0]
call fcn.0044dd10
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
xor bl, bl
jmp 0x456910
test esi, esi
je 0x456785
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x40]
push 0
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
mov dword [ebp - 0x3c], 0x30
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
test eax, eax
je 0x4567ba
mov dword [ebp - 0x3c], 0x430
jmp 0x4567c1
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00457220
mov byte [ebp - 4], 9
cmp dword [ebp - 0x28], 0
jne 0x45682b
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], str.UserProcessLauncher.cpp
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x44], 0x5d
call fcn.0041a580
mov edx, str.cmd_is_empty
lea ecx, [ebp - 0xf8]
call fcn.0041a5e0
lea ecx, [ebp - 0xa0]
call fcn.0044dd10
mov byte [ebp - 4], 0xa
jmp 0x4568de
cmp dword [ebx + 0x44], 0
jne 0x456835
xor edx, edx
jmp 0x456840
cmp dword [ebx + 0x48], 8
lea edx, [ebx + 0x34]
jb 0x456840
mov edx, dword [edx]
cmp dword [ebp - 0x24], 8
lea eax, [ebx + 0x94]
push eax
lea eax, [ebx + 0x50]
push eax
push edx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x38]
push dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x38]
push 0
push 0
push 0
push ecx
push 0
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4568fb
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], str.UserProcessLauncher.cpp
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x44], 0x66
call fcn.0041a580
mov edx, str.CreateProcessAsUser_failed:
lea ecx, [ebp - 0xf8]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0xf8]
call fcn.004301e0
lea ecx, [ebp - 0xa0]
call fcn.0044dd10
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], vtable.std::ios_base.0
push eax
call fcn.004f317c
add esp, 4
xor bl, bl
jmp 0x4568fd
mov bl, 1
lea ecx, [ebp - 0x38]
call fcn.004196c0
test esi, esi
je 0x456910
push esi
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test edi, edi
je 0x45691b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
ret