Function at 0x78ac35ae
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
cmp eax, ebx
jne 0x78ad828c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
cmp word [eax], bx
je 0x78ac35ec
add eax, 2
cmp word [eax], bx
jne 0x78ac35d3
cmp word [eax + 2], bx
je 0x78ac35ce
push 0x20
pop edx
mov word [eax], dx
add eax, 2
jmp 0x78ac35ce
push esi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x68]
push ebx
push eax
call sym.MSVCR100.dll_memset
mov dword [ebp - 0x68], esi
mov esi, dword [0x78b54e74]
add esp, 0xc
cmp esi, ebx
je 0x78ac3636
lea eax, [esi - 1]
mov ecx, eax
mov edx, eax
sar ecx, 5
mov ecx, dword [ecx*4 + sym.MSVCR100.dll___pioinfo]
and edx, 0x1f
shl edx, 6
cmp byte [ecx + edx + 4], bl
jne 0x78ac362e
dec esi
dec eax
cmp esi, ebx
jne 0x78ac360e
cmp esi, ebx
jl 0x78ac3755
cmp esi, 0x3332
jae 0x78ac3755
mov eax, esi
imul eax, eax, 5
add eax, 4
mov word [ebp - 0x36], ax
movzx eax, ax
push 1
push eax
call sym.MSVCR100.dll__calloc_crt
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x78ac3755
mov dword [eax], esi
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 4]
lea edi, [eax + esi + 4]
mov dword [ebp - 8], ebx
cmp esi, ebx
jle 0x78ac36af
mov eax, dword [ebp - 8]
mov edx, eax
and eax, 0x1f
sar edx, 5
shl eax, 6
add eax, dword [edx*4 + sym.MSVCR100.dll___pioinfo]
mov dl, byte [eax + 4]
test dl, 0x10
jne 0x78ac3740
mov byte [ecx], dl
mov eax, dword [eax]
mov dword [edi], eax
inc dword [ebp - 8]
inc ecx
add edi, 4
cmp dword [ebp - 8], esi
jl 0x78ac3679
mov eax, dword [ebp - 0x34]
cmp byte [ebp - 1], bl
jne 0x78ad82cd
mov esi, ebx
call sym.MSVCR100.dll___doserrno
mov dword [eax], ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp + 0x14]
or esi, 0x400
push esi
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x34]
mov edi, eax
call sym.MSVCR100.dll_free
pop ecx
cmp esi, ebx
je 0x78ad82fa
cmp dword [ebp + 8], 2
je 0x78ad8303
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
jne 0x78ac374a
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret
mov byte [ecx], bl
or dword [edi], 0xffffffff
jmp 0x78ac36a0
cmp dword [ebp + 8], 4
je 0x78ac372f
jmp 0x78ad8309
call sym.MSVCR100.dll__errno
jmp 0x78ad8311
cmp eax, 1
je 0x78ac35c8
jle 0x78ad82ae
cmp eax, 3
jle 0x78ac35c8
cmp eax, 4
jne 0x78ad82ae
mov byte [ebp - 1], 1
jmp 0x78ac35c8
call sym.MSVCR100.dll___doserrno
mov dword [eax], ebx
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
jmp 0x78ac373c
lea ecx, [eax + 4]
xor edx, edx
lea eax, [eax + esi + 4]
cmp esi, 3
jge 0x78ad82df
mov edi, esi
jmp 0x78ad82e2
push 3
pop edi
cmp edx, edi
jge 0x78ad82f2
mov byte [ecx], bl
or dword [eax], 0xffffffff
inc edx
inc ecx
add eax, 4
jmp 0x78ad82d6
push 8
pop esi
jmp 0x78ac36ba
push edi
call sym.MSVCR100.dll__dosmaperr
pop ecx
jmp 0x78ad8317
push ebx
call sym.MSVCR100.dll__exit
mov ebx, dword [ebp - 0x24]
jmp 0x78ac3734
mov dword [eax], 0xc
or eax, 0xffffffff
jmp 0x78ac373b