Function at 0x4696c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4696c9
mov eax, dword [ebp - 4]
add esp, 0xffffff7c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x2034], 0xc
xor eax, eax
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x202c], 0xffffffff
push 0
lea eax, [ebp - 0x2034]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [0x46f2b4]
mov eax, dword [eax]
call eax
push 0
lea eax, [ebp - 0x2034]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x46f2b4]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x2078]
push eax
mov eax, dword [0x46ee58]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x203c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2038], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2040], eax
mov dword [ebp - 0x204c], 0x101
mov word [ebp - 0x2048], 0
lea eax, [ebp - 0x2088]
push eax
lea eax, [ebp - 0x2078]
push eax
push 0
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
push 0x469948
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x18]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
push eax
call fcn.00457ffc
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetNamedPipeHandleState
jmp 0x4698c1
xor edx, edx
push ebp
push 0x4698b7
push dword fs:[edx]
mov dword fs:[edx], esp
push 2
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2088]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x24], 0x103
je 0x469825
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4698e0
lea eax, [ebp - 0x2028]
mov edx, 0x2000
call fcn.004071c8
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x46ed94]
push eax
lea eax, [ebp - 0x2028]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x46f03c]
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x1c], 0
jbe 0x469875
lea edx, [ebp - 0x2028]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x90]
mov ecx, dword [ebp - 0x1c]
call fcn.00459d28
lea edx, [ebp - 0x2028]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x90]
mov ecx, dword [0x46ed94]
call fcn.00459eb0
push 0
lea edx, [ebp - 0x20]
push edx
push eax
lea eax, [ebp - 0x2028]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x46ee4c]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4698c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x90]
cmp byte [eax + 8], 0
je 0x4698e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
je 0x4697ea
xor eax, eax
push ebp
push 0x469923
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2088]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x24], 0x103
jne 0x469919
push 0
mov eax, dword [ebp - 0x2088]
push eax
mov eax, dword [0x46ef34]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46992d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret