Function at 0x417710
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a579
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x56d370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2b0], edi
cmp byte [edi + 0x38], 0
jne 0x417c44
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x417c89
push dword [eax]
call fcn.0040e220
add esp, 4
test al, al
je 0x417c89
cmp byte [edi + 0x10], 0
mov byte [edi + 0x38], 1
mov eax, dword [edi]
mov dword [ebp - 0x2b8], eax
je 0x4177b4
call fcn.004302c0
test al, al
je 0x4177b4
cmp dword [edi + 0x18], 0
jne 0x4177b4
push str.runas
mov ecx, edi
call fcn.00417390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047fc61
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x2e], 0
je 0x4177c1
push 0x52cc00
jmp 0x417792
push 0x40
lea eax, [ebp - 0x334]
mov dword [ebp - 0x338], 0x44
push 0
push eax
call fcn.00481640
add esp, 0xc
cmp byte [edi + 0x2c], 0
jne 0x4177f4
xor eax, eax
or dword [ebp - 0x30c], 1
mov word [ebp - 0x308], ax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x2c0]
mov esi, dword [edi]
mov dword [ebp - 0x2b4], eax
sub eax, esi
sar eax, 2
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.00407640
mov dword [ebp - 4], 0
cmp esi, dword [ebp - 0x2b4]
je 0x41785e
mov edi, dword [ebp - 0x2b4]
nop
push dword [esi]
lea eax, [ebp - 0x2c0]
push eax
call fcn.00416cd0
add esi, 4
add esp, 8
cmp esi, edi
jne 0x417840
mov edi, dword [ebp - 0x2b0]
mov esi, dword [ebp - 0x2c0]
push 0
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
call fcn.0047f552
push dword [ebp - 0x2c0]
mov dword [ebp - 0x2f0], esi
call fcn.0047f552
push esi
push str.Launching__s
push 0x571e64
mov dword [ebp - 4], 1
call fcn.004172b0
add esp, 0x14
mov ecx, 0x410
cmp byte [edi + 0x2d], 0
mov eax, 0x8000400
xorps xmm0, xmm0
cmovne eax, ecx
mov ecx, dword [edi + 0x34]
mov dword [ebp - 0x2b0], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x2ac], ecx
movups xmmword [ebp - 0x2d4], xmm0
test eax, eax
je 0x417a94
cmp eax, 0xffffffff
je 0x417a94
mov dword [ebp - 0x2c4], 0
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x417955
push 4
call fcn.0047f514
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x417926
push dword [edi + 0x30]
mov ecx, eax
call fcn.00430af0
mov esi, eax
jmp 0x417928
xor esi, esi
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2c4], esi
call fcn.004170f0
mov eax, dword [esi]
mov esi, dword [ebp - 0x2b4]
mov dword [ebp - 0x2ac], eax
push str.__using_CreateProcessAsUser
push 0x571e64
call fcn.004172b0
add esp, 8
lea ecx, [ebp - 0x2ec]
push 1
push 0xffffffffffffffff
push esi
call fcn.00417080
mov esi, eax
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2e0]
push 1
push 0xffffffffffffffff
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00417080
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x338]
push ecx
push 0
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push 0
push 0
push 0
push dword [esi + 4]
push dword [eax + 4]
push dword [edi + 0x30]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
lea ecx, [ebp - 0x2e0]
mov esi, eax
call fcn.0040ec10
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 2
call fcn.0040ec10
test esi, esi
je 0x417c61
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 1
call fcn.004170f0
push dword [ebp - 0x2cc]
push str.Process_id__d
push 0x571e64
call fcn.004172b0
add esp, 0xc
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2d4]
lea ecx, [edi + 0x3c]
push 0
push 0xffffffffffffffff
push 0
call fcn.00430740
mov ecx, dword [edi + 0x3c]
lea eax, [edi + 0x3c]
mov dword [eax], esi
test ecx, ecx
je 0x417a46
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x3c]
cmp dword [edi + 0xc], 2
jne 0x417a53
mov ecx, eax
call fcn.00417290
cmp dword [edi + 0x18], 0
je 0x417c2f
cmp byte [edi + 0x10], 0
je 0x417c2f
cmp dword [edi + 0x3c], 0
lea ecx, [edi + 0x3c]
jne 0x417bf6
push str.LaunchProcess:_process_detached_or_not_started
lea ecx, [ebp - 0x154]
call fcn.0040e5c0
push 0x559148
lea eax, [ebp - 0x154]
jmp 0x417c83
mov eax, dword [edi + 0x18]
test eax, eax
je 0x417b57
push eax
push str.__using_CreateProcessWithLogonW_for__s
push 0x571e64
call fcn.004172b0
mov eax, dword [ebp - 0x2b8]
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [0x571eac]
cmp byte [eax + 0xd], 0
je 0x417aca
mov eax, dword [eax + 8]
jmp 0x417b0f
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x417af9
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x417aef
nop dword [eax + eax]
cmp eax, dword [ecx]
jne 0x417aef
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x417ae0
cmp byte [eax + 0xd], 0
jne 0x417b0f
mov eax, ecx
jmp 0x417b0f
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x417b0f
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x417b04
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x338]
push ecx
push 0
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push esi
push edx
push dword [eax + 0x14]
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.00430ea0
add esp, 0x28
test al, al
jne 0x4179f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x52cc70
jmp 0x417c6d
push str.__using_CreateProcess
push 0x571e64
call fcn.004172b0
add esp, 8
lea ecx, [ebp - 0x2e0]
push 1
push 0xffffffffffffffff
push esi
call fcn.00417080
mov esi, eax
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2ec]
push 1
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push dword [eax]
call fcn.00417080
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x338]
push ecx
push 0
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push 0
push 0
push 0
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x2ec]
mov esi, eax
call fcn.0040ec10
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 1
call fcn.0040ec10
test esi, esi
jne 0x4179f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess
jmp 0x417c6d
mov eax, dword [edi]
push dword [eax]
lea eax, [ebp - 0x2b0]
push 0xffffffffffffffff
push eax
call fcn.00430740
mov esi, dword [ebp - 0x2f4]
test al, al
push dword [ebp - 0x2b4]
cmovne esi, dword [ebp - 0x2b0]
call fcn.0047f552
add esp, 4
test esi, esi
sete al
jmp 0x417799
push dword [ebp - 0x2b4]
call fcn.0047f552
add esp, 4
mov al, 1
jmp 0x417799
push 0x2e
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.12.xlabelcon_windows_64_rvcore_baseoswinlaunchprocess.cxx
push str._used
lea ecx, [ebp - 0x2a8]
call fcn.00428e20
push eax
call fcn.00428ea0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcessAsUser
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x5582d8
lea eax, [ebp - 0x158]
push eax
call fcn.00481150
push 0x2f
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.12.xlabelcon_windows_64_rvcore_baseoswinlaunchprocess.cxx
push str._cfg.args.empty____isAbsolutePath_cfg.args_0__
lea ecx, [ebp - 0x2a8]
call fcn.00428e20
push eax
call fcn.00428ea0
int3