Function at 0x42fe40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e97
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x44eca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x10], 0x20
push 0x44
push 0
lea edx, [ebp - 0x74]
push edx
call fcn.00414840
add esp, 0xc
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x6c], str.winsta0default
push 0x10
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00414840
add esp, 0xc
mov dword [ebp - 0x2c], 0
push 1
mov ecx, dword [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42fed4
mov eax, dword [ebp - 0x10]
or eax, 0x400
mov dword [ebp - 0x10], eax
jmp 0x42ff17
mov dword [ebp - 0x2c], 0
push str.CreateEnvironmentBlock_failed
lea ecx, [ebp - 0x84]
call fcn.004026b0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x84]
push ecx
push 1
call fcn.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00407a90
mov edx, dword [ebp + 0xc]
push edx
push str._Skip
lea eax, [ebp - 0x14]
push eax
call fcn.00403010
add esp, 0xc
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004031f0
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00408443
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x42ffd3
push str.new_wchar_t_failed
lea ecx, [ebp - 0x8c]
call fcn.004026b0
mov byte [ebp - 4], 2
push 0x372
lea ecx, [ebp - 0x8c]
push ecx
push 1
call fcn.004381a0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00407a90
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x90], 0x372
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407a90
mov eax, dword [ebp - 0x90]
jmp 0x43010a
lea ecx, [ebp - 0x14]
call fcn.00403210
push eax
lea ecx, [ebp - 0x14]
call fcn.004031f0
add eax, 1
push eax
mov eax, dword [ebp - 0x78]
push eax
call fcn.004152fe
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x74]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403210
push eax
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x43006f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], eax
push str.CreateProcessAsUser_failed
lea ecx, [ebp - 0x94]
call fcn.004026b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x94]
push edx
push 1
call fcn.004381a0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00407a90
jmp 0x4300a5
push str.CreateProcessAsUser_succeeded
lea ecx, [ebp - 0x98]
call fcn.004026b0
mov byte [ebp - 4], 4
push 0
lea eax, [ebp - 0x98]
push eax
push 1
call fcn.004381a0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00407a90
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0040844e
add esp, 4
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407a90
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret