Function at 0x41a1c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x481630]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, ebp
push edi
mov dword [esp + 0x290], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push str._WinSessionThread_CreateProcess_begin_dwSessionID___d_
push 0x80
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edx
call fcn.004047c0
mov eax, dword [esi + 0x108]
add esp, 0xc
test eax, eax
je 0x41a222
push edi
mov ecx, esi
call fcn.00418d10
mov esi, eax
test esi, esi
jne 0x41a23b
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, ebp
call fcn.0045856e
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
push str.Userenv.DLL
mov dword [esp + 0x1c], edi
call dword [0x471334]
mov edx, eax
test edx, edx
mov dword [esp + 0x14], edx
je 0x41a3e5
mov dword [esp + 0xc], edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov edi, dword [0x471338]
push str.CreateEnvironmentBlock
push edx
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], str.WinSta0Default
call edi
mov ebx, eax
mov eax, dword [esp + 0x14]
push str.DestroyEnvironmentBlock
push eax
call edi
mov edi, eax
push str.WinSessionThread_CreateProcess_SetTokenInformation_return_value:4
push 0x40
mov dword [esp + 0x2c], edi
call fcn.004047c0
add esp, 8
test ebx, ebx
je 0x41a3c5
test edi, edi
je 0x41a3c5
xor eax, eax
mov byte [esp + 0x80], 0
mov ecx, 0x81
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x41a323
push 0x104
push edi
lea ecx, [esp + 0x88]
push ecx
call dword [0x4712f0]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41a33b
push 0x472a54
lea edx, [esp + 0x84]
push edx
call dword [0x471128]
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x84]
push ecx
call dword [0x471128]
jmp 0x41a33b
mov edx, dword [esp + 0x10]
push 0x208
push edx
lea eax, [esp + 0x88]
push eax
call dword [0x4712f0]
push 0
push esi
lea ecx, [esp + 0x14]
push ecx
call ebx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
push 0x400
push 0
push 0
push 0
lea eax, [esp + 0xa0]
push eax
push edi
push esi
call dword [0x47106c]
mov edi, eax
call dword [0x4712b4]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push str._WinSessionThread_CreateProcess_pid___d__CreateProcessAsUser__err___d__
push 0x80
call fcn.004047c0
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call dword [esp + 0x28]
test edi, edi
je 0x41a3d4
mov eax, dword [esp + 0x2c]
push eax
call dword [0x471340]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push edx
mov dword [esp + 0x1c], ecx
call dword [0x471330]
mov edi, dword [esp + 0x18]
jmp 0x41a3f4
push str._WinSessionThread_CreateProcess_LoadLibrary__GetProcAddress_err__
push 1
call fcn.004047c0
add esp, 8
mov edx, dword [esp + 0x14]
push edx
call dword [0x471330]
mov edi, dword [esp + 0x18]
jmp 0x41a3f4
push str._WinSessionThread_CreateProcess_LoadLibrary__Userenv_err__
push 1
call fcn.004047c0
add esp, 8
push esi
call dword [0x471340]
push edi
push str._WinSessionThread_CreateProcess_ret___d_end___
push 0x80
call fcn.004047c0
mov ecx, dword [esp + 0x298]
add esp, 0xc
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045856e
mov esp, ebp
pop ebp
ret 0x10