Function at 0x40ffa0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4609d0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x478424]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478424]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
xor ebx, ebx
push 0xffffffffffffffff
add eax, 0x1c
push ebx
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.00401bb0
push 1
push 0x468b14
lea eax, [esp + 0x6c]
mov dword [esp + 0xb0], ebx
call fcn.00404450
mov eax, dword [edi + 8]
add eax, 0x38
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x6c]
call fcn.00404540
mov eax, dword [esp + 0x68]
mov ebp, 0x10
cmp dword [esp + 0x7c], ebp
jae 0x410046
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.00447490
add esp, 8
cmp eax, ebx
jne 0x4102db
push 0x3c
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.0044bc10
mov eax, dword [edi + 8]
add esp, 0xc
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x440
mov dword [esp + 0x24], str.Open
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], 5
cmp dword [eax + 0x50], ebp
jb 0x4100b5
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x28], ecx
jmp 0x4100bc
lea edx, [eax + 0x3c]
mov dword [esp + 0x28], edx
cmp dword [eax + 0x34], ebp
jb 0x4100ca
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x30], ecx
jmp 0x4100d1
lea edx, [eax + 0x20]
mov dword [esp + 0x30], edx
cmp dword [eax + 0xbc], ebx
je 0x4100f9
cmp dword [eax + 0xc0], ebp
jb 0x4100ed
mov ecx, dword [eax + 0xac]
mov dword [esp + 0x2c], ecx
jmp 0x4100fd
lea edx, [eax + 0xac]
mov dword [esp + 0x2c], edx
jmp 0x4100fd
mov dword [esp + 0x2c], ebx
cmp byte [eax + 0x134], bl
je 0x410242
push 1
push 0x468a7c
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.00401d40
push ebx
lea eax, [esp + 0x68]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
mov byte [esp + 0xb0], 1
call fcn.00404540
push 2
push 0x468a80
mov eax, esi
call fcn.00404450
mov ecx, dword [edi + 8]
push ebx
add ecx, 0xa8
push ecx
or eax, 0xffffffff
call fcn.00404540
cmp dword [esp + 0x98], ebp
mov ecx, dword [esp + 0x84]
jae 0x41018a
lea ecx, [esp + 0x84]
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x410198
lea eax, [esp + 0x68]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.00403be0
test eax, eax
je 0x41020a
push str.DTL_CreateProcessAsUser_failed_n
push 2
call fcn.00411a20
mov ecx, eax
call fcn.00411cc0
add esp, 8
cmp dword [esp + 0x98], ebp
jb 0x4101d7
mov eax, dword [esp + 0x84]
push eax
call fcn.0042a2ef
add esp, 4
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x410203
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042a2ef
add esp, 4
xor al, al
jmp 0x4102f0
push str.DTL_CreateProcessAsUser_OK_n
push 2
call fcn.00411a20
mov ecx, eax
call fcn.00411cc0
add esp, 8
cmp dword [esp + 0x98], ebp
jb 0x4102db
mov edx, dword [esp + 0x84]
push edx
call fcn.0042a2ef
add esp, 4
jmp 0x4102db
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edi, dword [edi + 8]
add edi, 0xa8
test eax, eax
jne 0x4102a8
cmp dword [edi + 0x18], ebp
jb 0x410264
mov edi, dword [edi + 4]
jmp 0x410267
add edi, 4
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x410275
lea eax, [esp + 0x68]
push edi
push eax
push 0x4694ac
push 2
call fcn.00411a20
mov ecx, eax
call fcn.00411cc0
add esp, 0x10
cmp dword [esp + 0x7c], ebp
jb 0x410203
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042a2ef
add esp, 4
xor al, al
jmp 0x4102f0
cmp dword [edi + 0x18], ebp
jb 0x4102b2
mov edi, dword [edi + 4]
jmp 0x4102b5
add edi, 4
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x4102c3
lea eax, [esp + 0x68]
push edi
push eax
push 0x4694c4
push 2
call fcn.00411a20
mov ecx, eax
call fcn.00411cc0
add esp, 0x10
cmp dword [esp + 0x7c], ebp
jb 0x4102ee
mov edx, dword [esp + 0x68]
push edx
call fcn.0042a2ef
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00445276
add esp, 0x98
ret