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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c4d9
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x613384]
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 0x4666f4
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x466739
push dword [eax]
call fcn.00464fe0
add esp, 4
test al, al
je 0x466739
cmp byte [edi + 0x10], 0
mov byte [edi + 0x38], 1
mov eax, dword [edi]
mov dword [ebp - 0x2b8], eax
je 0x466264
call fcn.004b03a0
test al, al
je 0x466264
cmp dword [edi + 0x18], 0
jne 0x466264
push str.runas
mov ecx, edi
call fcn.00465e40
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.00544c5a
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x2e], 0
je 0x466271
push str.open
jmp 0x466242
push 0x40
lea eax, [ebp - 0x334]
mov dword [ebp - 0x338], 0x44
push 0
push eax
call fcn.00546c70
add esp, 0xc
cmp byte [edi + 0x2c], 0
jne 0x4662a4
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.00449300
mov dword [ebp - 4], 0
cmp esi, dword [ebp - 0x2b4]
je 0x46630e
mov edi, dword [ebp - 0x2b4]
nop
push dword [esi]
lea eax, [ebp - 0x2c0]
push eax
call fcn.00448070
add esi, 4
add esp, 8
cmp esi, edi
jne 0x4662f0
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.0054454b
push dword [ebp - 0x2c0]
mov dword [ebp - 0x2f0], esi
call fcn.0054454b
push esi
push str.Launching__s
push 0x617858
mov dword [ebp - 4], 1
call fcn.00406750
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 0x466544
cmp eax, 0xffffffff
je 0x466544
mov dword [ebp - 0x2c4], 0
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x466405
push 4
call fcn.0054450d
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4663d6
push dword [edi + 0x30]
mov ecx, eax
call fcn.004b0b80
mov esi, eax
jmp 0x4663d8
xor esi, esi
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2c4], esi
call fcn.00465cc0
mov eax, dword [esi]
mov esi, dword [ebp - 0x2b4]
mov dword [ebp - 0x2ac], eax
push str.__using_CreateProcessAsUser
push 0x617858
call fcn.00406750
add esp, 8
lea ecx, [ebp - 0x2ec]
push 1
push 0xffffffffffffffff
push esi
call fcn.00465c50
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.00465c50
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.004139c0
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 2
call fcn.004139c0
test esi, esi
je 0x466711
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 1
call fcn.00465cc0
push dword [ebp - 0x2cc]
push str.Process_id__d
push 0x617858
call fcn.00406750
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.004b0820
mov ecx, dword [edi + 0x3c]
lea eax, [edi + 0x3c]
mov dword [eax], esi
test ecx, ecx
je 0x4664f6
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x3c]
cmp dword [edi + 0xc], 2
jne 0x466503
mov ecx, eax
call fcn.00465d80
cmp dword [edi + 0x18], 0
je 0x4666df
cmp byte [edi + 0x10], 0
je 0x4666df
cmp dword [edi + 0x3c], 0
lea ecx, [edi + 0x3c]
jne 0x4666a6
push str.LaunchProcess:_process_detached_or_not_started
lea ecx, [ebp - 0x154]
call fcn.00406130
push 0x5f4710
lea eax, [ebp - 0x154]
jmp 0x466733
mov eax, dword [edi + 0x18]
test eax, eax
je 0x466607
push eax
push str.__using_CreateProcessWithLogonW_for__s
push 0x617858
call fcn.00406750
mov eax, dword [ebp - 0x2b8]
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [0x6178a0]
cmp byte [eax + 0xd], 0
je 0x46657a
mov eax, dword [eax + 8]
jmp 0x4665bf
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x4665a9
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x46659f
nop dword [eax + eax]
cmp eax, dword [ecx]
jne 0x46659f
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x466590
cmp byte [eax + 0xd], 0
jne 0x4665bf
mov eax, ecx
jmp 0x4665bf
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x4665bf
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x4665b4
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.004b0eb0
add esp, 0x28
test al, al
jne 0x4664a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5b9850
jmp 0x46671d
push str.__using_CreateProcess
push 0x617858
call fcn.00406750
add esp, 8
lea ecx, [ebp - 0x2e0]
push 1
push 0xffffffffffffffff
push esi
call fcn.00465c50
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.00465c50
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.004139c0
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 1
call fcn.004139c0
test esi, esi
jne 0x4664a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess
jmp 0x46671d
mov eax, dword [edi]
push dword [eax]
lea eax, [ebp - 0x2b0]
push 0xffffffffffffffff
push eax
call fcn.004b0820
mov esi, dword [ebp - 0x2f4]
test al, al
push dword [ebp - 0x2b4]
cmovne esi, dword [ebp - 0x2b0]
call fcn.0054454b
add esp, 4
test esi, esi
sete al
jmp 0x466249
push dword [ebp - 0x2b4]
call fcn.0054454b
add esp, 4
mov al, 1
jmp 0x466249
push 0x2e
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64_rvcore_baseoswinlaunchprocess.cxx
push str._used
lea ecx, [ebp - 0x2a8]
call fcn.00465850
push eax
call fcn.004658d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcessAsUser
lea ecx, [ebp - 0x158]
call fcn.0040a6b0
push 0x5f5000
lea eax, [ebp - 0x158]
push eax
call fcn.005461fc
push 0x2f
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64_rvcore_baseoswinlaunchprocess.cxx
push str._cfg.args.empty____isAbsolutePath_cfg.args_0__
lea ecx, [ebp - 0x2a8]
call fcn.00465850
push eax
call fcn.004658d0
int3