Function at 0x412890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x412898
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004038a4
xor eax, eax
push ebp
push 0x412c53
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40ec8c]
call fcn.00402af4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x412a42
lea eax, [ebp - 0x14]
push eax
mov cl, 0x2e
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0040ed9c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 8]
call fcn.00406b08
mov eax, dword [ebp - 8]
mov edx, 0x412c6c
call fcn.00403800
jne 0x412923
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x412c78
call fcn.0040373c
mov eax, dword [ebp - 0x18]
call fcn.004038b4
push 0xa
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x412a42
mov eax, dword [ebp - 8]
mov edx, 0x412c90
call fcn.00403800
jne 0x412957
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x412c9c
call fcn.0040373c
mov eax, dword [ebp - 0x1c]
call fcn.004038b4
push 0xa
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x412a42
mov eax, dword [ebp - 8]
mov edx, 0x412cac
call fcn.00403800
jne 0x41298b
lea eax, [ebp - 0x20]
mov ecx, 0x412cb8
mov edx, dword [ebp - 4]
call fcn.0040373c
mov eax, dword [ebp - 0x20]
call fcn.004038b4
push 0xa
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x412a42
mov eax, dword [ebp - 8]
mov edx, 0x412cc4
call fcn.00403800
jne 0x4129c6
push 0x412cd0
push dword [ebp - 4]
push 0x412ce8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004037b0
mov eax, dword [ebp - 0x24]
call fcn.004038b4
push 0xa
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x412a42
mov eax, dword [ebp - 8]
mov edx, 0x412cf4
call fcn.00403800
jne 0x4129f7
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, 0x412c78
call fcn.0040373c
mov eax, dword [ebp - 0x28]
call fcn.004038b4
push 0xa
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x412a42
mov eax, dword [ebp - 8]
mov edx, 0x412d00
call fcn.00403800
jne 0x412a32
push 0x412ce8
push dword [ebp - 4]
push 0x412ce8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004037b0
mov eax, dword [ebp - 0x2c]
call fcn.004038b4
push 0xa
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x412a42
mov eax, dword [ebp - 4]
call fcn.004038b4
push 0xa
push eax
call sub.KERNEL32.DLL_WinExec
mov eax, ebx
call fcn.00402b24
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x41634c]
mov edx, dword [0x416348]
mov eax, 0x80000000
call fcn.00410da4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0040f79c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
call fcn.0040352c
cmp dword [ebp - 0xc], 0
je 0x412a8b
mov eax, dword [ebp - 0xc]
call fcn.00406e34
test al, al
jne 0x412a95
call fcn.004127ec
call fcn.00410bec
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x416350]
mov edx, dword [0x416348]
mov eax, 0x80000000
call fcn.00410da4
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0040f79c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.0040352c
cmp dword [ebp - 0x10], 0
je 0x412ad7
mov eax, dword [ebp - 0x10]
call fcn.00406e34
test al, al
jne 0x412b11
lea eax, [ebp - 0x10]
call fcn.00412644
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.0040f540
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x10]
call fcn.0040352c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x416350]
mov edx, dword [0x416348]
mov eax, 0x80000000
call fcn.00410cd4
jmp 0x412b1b
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00412558
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x41634c]
mov edx, dword [0x416348]
mov eax, 0x80000000
call fcn.00410da4
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0040f79c
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
call fcn.0040352c
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.00406ed4
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00406b08
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
call fcn.00410c9c
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00406ed4
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00406b08
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00403800
jne 0x412baa
mov eax, dword [0x416358]
call fcn.00414c2c
call fcn.00410e64
cmp al, 1
jne 0x412bee
xor eax, eax
call fcn.004033f8
jmp 0x412bee
xor eax, eax
push ebp
push 0x412be4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x417708]
push eax
call sub.KERNEL32.DLL_ReleaseMutex
push 0xa
mov eax, dword [ebp - 0xc]
call fcn.004038b4
push eax
call sub.KERNEL32.DLL_WinExec
xor eax, eax
call fcn.004033f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412bee
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0xc]
call fcn.00406ed4
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00406b08
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
call fcn.00410c9c
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00406ed4
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00406b08
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.00403800
je 0x412c38
xor eax, eax
call fcn.004033f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412c5a
lea eax, [ebp - 0x64]
mov edx, 0x19
call fcn.004034b8
ret