Function at 0x10233900
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
mov cl, byte [ebp - 2]
mov byte [ebp - 0x71], cl
mov edx, dword [ebp + 8]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 4
ja case.default.0x10233938
mov eax, dword [ebp - 0x90]
jmp dword [eax*4 + 0x10233c68]
mov byte [ebp - 0x71], 1
jmp 0x10233971
jmp 0x10233971
mov byte [ebp - 2], 1
jmp 0x10233971
mov byte [ebp - 1], 1
jmp 0x10233971
call sym.MSVCR71D.dll__errno
mov dword [eax], 0x16
call sym.MSVCR71D.dll___doserrno
mov dword [eax], 0
or eax, 0xffffffff
jmp 0x10233c64
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
test eax, eax
je 0x102339b4
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
test edx, edx
je 0x10233996
mov eax, dword [ebp + 0x10]
add eax, 2
mov dword [ebp + 0x10], eax
jmp 0x10233981
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 2]
test edx, edx
je 0x102339b2
mov eax, dword [ebp + 0x10]
mov word [eax], 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 2
mov dword [ebp + 0x10], ecx
jmp 0x10233977
push 0x44
push 0
lea edx, [ebp - 0x50]
push edx
call sym.MSVCR71D.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
mov eax, dword [0x1027f5bc]
mov dword [ebp - 0x7c], eax
jmp 0x102339de
mov ecx, dword [ebp - 0x7c]
sub ecx, 1
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0
je 0x10233a0b
mov edx, dword [ebp - 0x7c]
sub edx, 1
sar edx, 5
mov eax, dword [ebp - 0x7c]
sub eax, 1
and eax, 0x1f
imul eax, eax, 0x24
mov ecx, dword [edx*4 + sym.MSVCR71D.dll___pioinfo]
movsx edx, byte [ecx + eax + 4]
test edx, edx
jne 0x10233a0b
jmp 0x102339d5
mov eax, dword [ebp - 0x7c]
imul eax, eax, 5
add eax, 4
mov word [ebp - 0x1e], ax
push 0x78
push str.f:_vs70builds3077_vccrtbldcrt_srcdospawn.c
push 2
push 1
movzx ecx, word [ebp - 0x1e]
push ecx
call sym.MSVCR71D.dll__calloc_dbg
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
mov dword [edx], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x8c], ecx
jmp 0x10233a7e
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 4
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x7c]
jge 0x10233ae8
mov eax, dword [ebp - 0x54]
sar eax, 5
mov ecx, dword [ebp - 0x54]
and ecx, 0x1f
imul ecx, ecx, 0x24
add ecx, dword [eax*4 + sym.MSVCR71D.dll___pioinfo]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
movsx eax, byte [edx + 4]
and eax, 0x10
jne 0x10233ad1
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
mov al, byte [edx + 4]
mov byte [ecx], al
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
mov dword [ecx], eax
jmp 0x10233ae3
mov ecx, dword [ebp - 0x80]
mov byte [ecx], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0xffffffff
jmp 0x10233a5d
movsx eax, byte [ebp - 1]
test eax, eax
je 0x10233b7a
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x8c], ecx
jmp 0x10233b37
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 4
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x7c], 3
jge 0x10233b48
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x94], edx
jmp 0x10233b52
mov dword [ebp - 0x94], 3
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x94]
jge 0x10233b71
mov ecx, dword [ebp - 0x80]
mov byte [ecx], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0xffffffff
jmp 0x10233b16
mov eax, dword [ebp - 8]
or eax, 8
mov dword [ebp - 8], eax
call sym.MSVCR71D.dll__errno
mov dword [eax], 0
call sym.MSVCR71D.dll___doserrno
mov dword [eax], 0
mov ecx, dword [ebp - 8]
or ecx, 0x400
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x50]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
push 2
mov edx, dword [ebp - 0x1c]
push edx
call sym.MSVCR71D.dll__free_dbg
add esp, 8
cmp dword [ebp - 0x84], 0
jne 0x10233bf9
mov eax, dword [ebp - 0x70]
push eax
call fcn.102048f0
add esp, 4
or eax, 0xffffffff
jmp 0x10233c64
cmp dword [ebp + 8], 2
jne 0x10233c06
push 0
call sym.MSVCR71D.dll__exit
cmp dword [ebp + 8], 0
jne 0x10233c38
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10233c57
cmp dword [ebp + 8], 4
jne 0x10233c51
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
jmp 0x10233c57
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x68]
mov esp, ebp
pop ebp
ret