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

Disassembly:
push 0x68
mov eax, 0x4b3598
call fcn.0046c418
mov ebx, edx
mov dword [ebp - 0x20], ecx
push str.LaunchProcessAsUser...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x10]
push edi
push 2
pop eax
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x44
pop esi
push esi
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.00484bc0
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x74], esi
push edi
push eax
mov dword [ebp - 0x6c], str.winsta0default
call fcn.00484bc0
add esp, 0x18
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x20
pop esi
push 1
push dword [edi]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x438fa0
mov esi, 0x420
jmp 0x438fda
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
push str.CreateEnvironmentBlock_failed
call fcn.00402829
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea edx, [ebp - 0x10]
push eax
inc ecx
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
lea eax, [ebp - 0x18]
push str._Skip
push eax
call fcn.004023f1
push 2
pop edx
mov dword [ebp - 4], edx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451ec2
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x439041
push str.operator_new_failed
lea ecx, [ebp - 0x10]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
push ebx
lea edx, [ebp - 0x10]
inc ecx
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 8
pop edi
jmp 0x439189
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push ebx
call fcn.0048d053
add esp, 0xc
call fcn.00452601
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
and dword [ebp - 0x1c], 0
mov edx, 0x4ce610
push eax
lea eax, [ebp - 0x10]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.tProcessToLaunch
call fcn.004417f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x43909e
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
call fcn.00402e14
push str.Will_launch:
lea ecx, [ebp - 0x1c]
call fcn.00402829
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
xor ecx, ecx
lea edx, [ebp - 0x1c]
push 0
push eax
inc ecx
call fcn.00414600
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0
push str.notepad
lea ecx, [ebp - 0x10]
call fcn.0040a9fe
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
cmovne ebx, ecx
push eax
xor eax, eax
push eax
push dword [ebp - 0x14]
push esi
mov esi, dword [ebp - 0x10]
push eax
push eax
push eax
push ebx
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
xor edi, edi
test eax, eax
jne 0x43914e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateProcessAsUser_failed:
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 6
push edi
lea edx, [ebp - 0x1c]
inc ecx
call fcn.00414d4f
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0
push str.CreateProcessAsUserError
call fcn.004032da
cmp dword [ebp - 0x14], 0
je 0x43915d
push dword [ebp - 0x14]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00451ebd
pop ecx
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
call fcn.0046c3e1
ret