Function at 0x102331e0
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.0x10233218
mov eax, dword [ebp - 0x90]
jmp dword [eax*4 + 0x1023353a]
mov byte [ebp - 0x71], 1
jmp 0x10233251
jmp 0x10233251
mov byte [ebp - 2], 1
jmp 0x10233251
mov byte [ebp - 1], 1
jmp 0x10233251
call sym.MSVCR71D.dll__errno
mov dword [eax], 0x16
call sym.MSVCR71D.dll___doserrno
mov dword [eax], 0
or eax, 0xffffffff
jmp 0x10233536
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x10233292
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
test edx, edx
je 0x10233276
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
jmp 0x10233261
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + 1]
test edx, edx
je 0x10233290
mov eax, dword [ebp + 0x10]
mov byte [eax], 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
jmp 0x10233257
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 0x102332bc
mov ecx, dword [ebp - 0x7c]
sub ecx, 1
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0
je 0x102332e9
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 0x102332e9
jmp 0x102332b3
mov eax, dword [ebp - 0x7c]
imul eax, eax, 5
add eax, 4
mov word [ebp - 0x1e], ax
push 0x78
push str.dospawn.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 0x1023335c
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 0x102333c6
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 0x102333af
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 0x102333c1
mov ecx, dword [ebp - 0x80]
mov byte [ecx], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0xffffffff
jmp 0x1023333b
movsx eax, byte [ebp - 1]
test eax, eax
je 0x10233458
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 0x10233415
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 0x10233426
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x94], edx
jmp 0x10233430
mov dword [ebp - 0x94], 3
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x94]
jge 0x1023344f
mov ecx, dword [ebp - 0x80]
mov byte [ecx], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0xffffffff
jmp 0x102333f4
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
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
push 2
mov ecx, dword [ebp - 0x1c]
push ecx
call sym.MSVCR71D.dll__free_dbg
add esp, 8
cmp dword [ebp - 0x84], 0
jne 0x102334cb
mov edx, dword [ebp - 0x70]
push edx
call fcn.102048f0
add esp, 4
or eax, 0xffffffff
jmp 0x10233536
cmp dword [ebp + 8], 2
jne 0x102334d8
push 0
call sym.MSVCR71D.dll__exit
cmp dword [ebp + 8], 0
jne 0x1023350a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10233529
cmp dword [ebp + 8], 4
jne 0x10233523
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
jmp 0x10233529
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x68]
mov esp, ebp
pop ebp
ret