Function at 0x42fdb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a314
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x44ec90]
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.004148c0
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.004148c0
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 0x42fe44
mov eax, dword [ebp - 0x10]
or eax, 0x400
mov dword [ebp - 0x10], eax
jmp 0x42fe87
mov dword [ebp - 0x2c], 0
push str.CreateEnvironmentBlock_failed
lea ecx, [ebp - 0x84]
call fcn.00402790
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x84]
push ecx
push 1
call fcn.00438620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00407b20
mov edx, dword [ebp + 0xc]
push edx
push str._Skip
lea eax, [ebp - 0x14]
push eax
call fcn.004030b0
add esp, 0xc
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004032a0
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00408449
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x42ff43
push str.new_wchar_t_failed
lea ecx, [ebp - 0x8c]
call fcn.00402790
mov byte [ebp - 4], 2
push 0x372
lea ecx, [ebp - 0x8c]
push ecx
push 1
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00407b20
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.00407b20
mov eax, dword [ebp - 0x90]
jmp 0x43007a
lea ecx, [ebp - 0x14]
call fcn.004031c0
push eax
lea ecx, [ebp - 0x14]
call fcn.004032a0
add eax, 1
push eax
mov eax, dword [ebp - 0x78]
push eax
call fcn.00415313
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.004031c0
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 0x42ffdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], eax
push str.CreateProcessAsUser_failed
lea ecx, [ebp - 0x94]
call fcn.00402790
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x94]
push edx
push 1
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00407b20
jmp 0x430015
push str.CreateProcessAsUser_succeeded
lea ecx, [ebp - 0x98]
call fcn.00402790
mov byte [ebp - 4], 4
push 0
lea eax, [ebp - 0x98]
push eax
push 1
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00407b20
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.00408454
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.00407b20
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret