Function at 0x40c890
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x452da0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469424]
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.004019c0
push 1
push 0x45a8d0
lea eax, [esp + 0x6c]
mov dword [esp + 0xb0], ebx
call fcn.00402990
mov eax, dword [edi + 8]
add eax, 0x38
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x6c]
call fcn.00402a80
mov eax, dword [esp + 0x68]
mov ebp, 0x10
cmp dword [esp + 0x7c], ebp
jae 0x40c936
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.0043c0b0
add esp, 8
cmp eax, ebx
jne 0x40cbcb
push 0x3c
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.004401b0
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 0x40c9a5
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x28], ecx
jmp 0x40c9ac
lea edx, [eax + 0x3c]
mov dword [esp + 0x28], edx
cmp dword [eax + 0x34], ebp
jb 0x40c9ba
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x30], ecx
jmp 0x40c9c1
lea edx, [eax + 0x20]
mov dword [esp + 0x30], edx
cmp dword [eax + 0xbc], ebx
je 0x40c9e9
cmp dword [eax + 0xc0], ebp
jb 0x40c9dd
mov ecx, dword [eax + 0xac]
mov dword [esp + 0x2c], ecx
jmp 0x40c9ed
lea edx, [eax + 0xac]
mov dword [esp + 0x2c], edx
jmp 0x40c9ed
mov dword [esp + 0x2c], ebx
cmp byte [eax + 0x12c], bl
je 0x40cb32
push 1
push 0x45a830
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.00401b50
push ebx
lea eax, [esp + 0x68]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
mov byte [esp + 0xb0], 1
call fcn.00402a80
push 2
push 0x45a834
mov eax, esi
call fcn.00402990
mov ecx, dword [edi + 8]
push ebx
add ecx, 0xa8
push ecx
or eax, 0xffffffff
call fcn.00402a80
cmp dword [esp + 0x98], ebp
mov ecx, dword [esp + 0x84]
jae 0x40ca7a
lea ecx, [esp + 0x84]
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x40ca88
lea eax, [esp + 0x68]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.00402230
test eax, eax
je 0x40cafa
push str.DTL_CreateProcessAsUser_failed_n
push 2
call fcn.0040ed90
mov ecx, eax
call fcn.0040f030
add esp, 8
cmp dword [esp + 0x98], ebp
jb 0x40cac7
mov eax, dword [esp + 0x84]
push eax
call fcn.0041edce
add esp, 4
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x40caf3
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0041edce
add esp, 4
xor al, al
jmp 0x40cbe0
push str.DTL_CreateProcessAsUser_OK_n
push 2
call fcn.0040ed90
mov ecx, eax
call fcn.0040f030
add esp, 8
cmp dword [esp + 0x98], ebp
jb 0x40cbcb
mov edx, dword [esp + 0x84]
push edx
call fcn.0041edce
add esp, 4
jmp 0x40cbcb
lea eax, [esp + 0x18]
push eax
call dword [0x455388]
mov edi, dword [edi + 8]
add edi, 0xa8
test eax, eax
jne 0x40cb98
cmp dword [edi + 0x18], ebp
jb 0x40cb54
mov edi, dword [edi + 4]
jmp 0x40cb57
add edi, 4
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x40cb65
lea eax, [esp + 0x68]
push edi
push eax
push 0x45b1d4
push 2
call fcn.0040ed90
mov ecx, eax
call fcn.0040f030
add esp, 0x10
cmp dword [esp + 0x7c], ebp
jb 0x40caf3
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0041edce
add esp, 4
xor al, al
jmp 0x40cbe0
cmp dword [edi + 0x18], ebp
jb 0x40cba2
mov edi, dword [edi + 4]
jmp 0x40cba5
add edi, 4
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x40cbb3
lea eax, [esp + 0x68]
push edi
push eax
push 0x45b1ec
push 2
call fcn.0040ed90
mov ecx, eax
call fcn.0040f030
add esp, 0x10
cmp dword [esp + 0x7c], ebp
jb 0x40cbde
mov edx, dword [esp + 0x68]
push edx
call fcn.0041edce
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.00439d55
add esp, 0x98
ret