Function at 0x41c8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
shr edx, 5
push edi
mov ebp, edx
mov edi, ecx
push esi
mov ecx, ebp
push ebx
mov ebx, eax
and ecx, 8
sub esp, 0x7c
mov eax, dword [0x51f164]
mov dword [esp + 0x24], eax
mov eax, edx
and eax, 0x1c
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
lea edx, [eax + 4]
mov dword [ebx + 4], edx
mov edx, dword [eax]
mov eax, edx
and eax, 0x1f
cmp eax, 3
je 0x41c950
mov dword [0x522e4c], 0
xor eax, eax
test ecx, ecx
setne al
mov dword [sym.zsh.exe_lastval], eax
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
test ecx, ecx
cmove eax, dword [esp + 0x90]
mov dword [esp + 0x28], edx
add dword [sym.zsh.exe_queueing_enabled], 1
mov dword [esp + 0x90], eax
mov eax, dword [sym.zsh.exe_thisjob]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x2c], eax
mov eax, dword [sym.zsh.exe_sigchld_mask]
mov dword [esp + 0x58], 0
mov dword [esp], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
call sym.zsh.exe_signal_block
call fcn.00439590
mov edx, dword [esp + 0x28]
cmp eax, 0xffffffff
mov dword [sym.zsh.exe_thisjob], eax
mov esi, eax
je 0x41cd90
test edi, 1
je 0x41c9d3
mov ecx, dword [sym.zsh.exe_jobtab]
lea eax, [eax + eax*8]
or dword [ecx + eax*4 + 8], 4
test ebp, 4
jne 0x41cc40
mov ebp, edi
and ebp, 4
mov eax, dword [0x5212d8]
lea ecx, [eax + 1]
mov dword [0x5212d8], ecx
test eax, eax
jne 0x41ca20
mov eax, edx
mov dword [0x5212d0], esi
mov dword [0x5212e8], 0
shr eax, 5
mov dword [0x5212dc], 0
xor eax, 1
and eax, 1
mov dword [0x51f164], eax
mov eax, dword [esp + 0x90]
mov ecx, edi
mov dword [0x521268], 0
mov dword [0x521264], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, ebx
call fcn.0041c6f0
mov eax, dword [0x5212d8]
lea edx, [eax - 1]
mov dword [0x5212d8], edx
test ebp, ebp
jne 0x41ce10
cmp dword [0x521264], esi
je 0x41cc90
mov ecx, dword [sym.zsh.exe_jobtab]
lea eax, [esi + esi*8]
lea ebx, [ecx + eax*4]
mov ecx, dword [0x5212d0]
cmp ecx, esi
je 0x41d230
mov ebp, dword [0x51f168]
mov dword [sym.zsh.exe_thisjob], esi
mov dword [0x521264], esi
mov eax, dword [0x5212dc]
test ebp, ebp
jne 0x41cf38
test edx, edx
je 0x41d250
and edi, 1
jne 0x41cacd
mov edx, dword [ebx + 8]
test dh, 8
jne 0x41cacd
or edx, 0x20
mov dword [ebx + 8], edx
test eax, eax
je 0x41cf44
cmp ecx, esi
je 0x41d3c0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00437320
mov eax, dword [0x5212dc]
mov dword [0x522784], 0
test eax, eax
je 0x41cf4e
lea esi, [esi]
mov eax, dword [sym.zsh.exe_sigchld_mask]
mov dword [esp], eax
call sym.zsh.exe_signal_unblock
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x41cb7d
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
je 0x41cb7d
lea esi, [esi]
nop
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov esi, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], esi
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x41cb30
mov esi, dword [0x51f168]
test esi, esi
je 0x41cbb0
mov eax, dword [sym.zsh.exe_lastval]
mov edx, dword [0x522e4c]
shrd eax, edx, 7
and eax, 1
test al, al
je 0x41cbb0
mov edi, dword [esp + 0x2c]
test edi, edi
jns 0x41d350
lea esi, [esi]
mov edi, dword [0x5212d4]
test edi, edi
jne 0x41cbcf
mov eax, dword [ebx + 8]
test al, 8
je 0x41cbdf
mov esi, dword [0x51f168]
test esi, esi
je 0x41d330
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00437320
mov edx, dword [0x5212d8]
mov eax, dword [esp + 0x2c]
mov dword [sym.zsh.exe_thisjob], eax
mov eax, dword [sym.zsh.exe_lastval]
mov ecx, dword [0x522e4c]
test byte [esp + 0x20], 8
je 0x41cc21
mov ebx, dword [sym.zsh.exe_errflag]
test ebx, ebx
jne 0x41cc21
mov dword [0x522e4c], 0
or eax, ecx
sete al
movzx eax, al
mov dword [sym.zsh.exe_lastval], eax
test edx, edx
jne 0x41c942
mov edi, dword [esp + 0x24]
mov dword [0x51f164], edi
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.zsh.exe_coprocin]
test eax, eax
jns 0x41cd68
lea eax, [esp + 0x50]
mov dword [esp + 0x28], edx
call fcn.00416120
mov edx, dword [esp + 0x28]
test eax, eax
jns 0x41cd10
and ebp, 0x18
mov edi, 4
mov dword [sym.zsh.exe_coprocout], 0xffffffff
mov dword [esp + 0x20], ebp
mov ebp, 4
mov dword [sym.zsh.exe_coprocin], 0xffffffff
jmp 0x41c9e4
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x41cbee
mov eax, dword [sym.zsh.exe_queue_front]
cmp dword [sym.zsh.exe_queue_rear], eax
je 0x41cbee
nop
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov ebx, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], ebx
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x41ccb0
mov edx, dword [0x5212d8]
jmp 0x41cbee
lea eax, [esp + 0x58]
mov dword [esp + 0x28], edx
call fcn.00416120
mov edx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x50]
js 0x41d3d0
mov dword [sym.zsh.exe_coprocin], eax
mov eax, dword [esp + 0x5c]
mov ebp, 4
mov edi, 4
mov ecx, dword [sym.zsh.exe_fdtable]
mov dword [sym.zsh.exe_coprocout], eax
mov byte [ecx + eax], 0
mov ecx, dword [sym.zsh.exe_fdtable]
mov eax, dword [sym.zsh.exe_coprocin]
mov byte [ecx + eax], 0
jmp 0x41c9e4
mov dword [esp], eax
mov dword [esp + 0x28], edx
call sym.zsh.exe_zclose
mov eax, dword [sym.zsh.exe_coprocout]
mov dword [esp], eax
call sym.zsh.exe_zclose
mov edx, dword [esp + 0x28]
jmp 0x41cc4d
mov eax, dword [sym.zsh.exe_sigchld_mask]
mov dword [esp], eax
call sym.zsh.exe_signal_unblock
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x41ce05
mov eax, dword [sym.zsh.exe_queue_front]
cmp dword [sym.zsh.exe_queue_rear], eax
je 0x41ce05
lea esi, [esi]
nop
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov ebx, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], ebx
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x41cdb8
mov eax, 1
jmp 0x41c942
mov dword [0x521264], esi
mov eax, dword [sym.zsh.exe_thisjob]
cmp eax, dword [0x5212d0]
jne 0x41ce2d
mov dword [0x5212d0], 0
lea edx, [eax + eax*8]
mov eax, dword [sym.zsh.exe_jobtab]
or dword [eax + edx*4 + 8], 0x800
test byte [esp + 0x20], 4
jne 0x41d3a0
and edi, 8
je 0x41d220
mov eax, dword [sym.zsh.exe_thisjob]
mov edx, dword [sym.zsh.exe_jobtab]
mov dword [esp + 4], 0
lea eax, [eax + eax*8]
lea eax, [edx + eax*4]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00437280
mov eax, dword [sym.zsh.exe_thisjob]
mov dword [esp + 4], 1
lea edx, [eax + eax*8]
mov eax, dword [sym.zsh.exe_jobtab]
lea eax, [eax + edx*4]
mov dword [esp], eax
call fcn.00437320
mov dword [sym.zsh.exe_thisjob], 0xffffffff
mov eax, dword [sym.zsh.exe_sigchld_mask]
mov dword [esp], eax
call sym.zsh.exe_signal_unblock
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x41cf15
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
je 0x41cf15
lea esi, [esi]
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov ebx, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], ebx
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x41cec8
mov dword [sym.zsh.exe_lastval], 0
xor eax, eax
mov dword [0x522e4c], 0
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
or dword [ebx + 8], 0x20
test eax, eax
jne 0x41d320
mov dword [0x522784], 0
mov ecx, dword [0x5212d4]
test ecx, ecx
jne 0x41d10a
lea esi, [esi]
test byte [ebx + 8], 0x10
je 0x41d120
mov eax, dword [0x5212d0]
test eax, eax
jne 0x41d160
mov ebp, dword [0x5212d4]
test ebp, ebp
jne 0x41d0a0
mov edi, dword [0x521268]
mov eax, dword [0x51f238]
test edi, edi
jne 0x41d0d0
test eax, eax
jne 0x41d0de
cmp byte [0x522d36], 0
je 0x41cb08
mov edx, dword [0x5212d8]
mov eax, dword [0x51f168]
or eax, edx
or eax, dword [esp + 0x90]
je 0x41cb08
test byte [ebx + 8], 2
jne 0x41cff8
mov eax, dword [0x5212d0]
test eax, eax
je 0x41cb08
test edx, edx
je 0x41cb08
mov edx, dword [sym.zsh.exe_jobtab]
lea eax, [eax + eax*8]
lea eax, [edx + eax*4]
test byte [eax + 8], 2
je 0x41cb08
lea eax, [esp + 0x60]
mov dword [esp], eax
call sub.cygwin1.dll_pipe
test eax, eax
js 0x41d412
lea eax, [esp + 0x68]
call fcn.00416f70
cmp eax, 0xffffffff
jne 0x41d4b7
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004e5db0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004e5db0
mov dword [esp], 3
call sym.zsh.exe_zleentry
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp], str.zsh:_job_cant_be_suspended_n
call sub.cygwin1.dll_fwrite
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fflush
mov dword [esp], ebx
call fcn.00436f20
mov dword [esp + 4], 0x13
mov dword [esp], ebx
call fcn.00467910
mov dword [sym.zsh.exe_thisjob], esi
jmp 0x41d0ee
test byte [ebx + 8], 8
je 0x41d0d0
mov eax, dword [0x51f230]
test al, 0x80
je 0x41d0d0
and al, 0x7f
mov dword [esp + 4], eax
mov eax, dword [sym.zsh.exe_mypgrp]
mov dword [esp], eax
call sub.cygwin1.dll_killpg
mov ecx, dword [0x5212d4]
test ecx, ecx
je 0x41cf85
mov ebp, dword [0x51f238]
test ebp, ebp
je 0x41cb08
test byte [ebx + 8], 2
je 0x41cb08
mov dword [sym.zsh.exe_thisjob], esi
mov edi, dword [0x5212dc]
test edi, edi
jne 0x41cb08
mov ecx, dword [0x5212d4]
test ecx, ecx
je 0x41cf60
or dword [ebx + 8], 0x20
mov dword [esp], ebx
call fcn.00436f20
test byte [ebx + 8], 0x10
jne 0x41cf6a
mov eax, dword [sym.zsh.exe_thisjob]
mov dword [esp], eax
call fcn.00437040
mov edi, eax
call fcn.004390b0
mov eax, dword [sym.zsh.exe_sigchld_mask]
mov dword [esp], eax
call sym.zsh.exe_signal_block
test edi, edi
jne 0x41cf77
mov eax, dword [0x5212d0]
test eax, eax
je 0x41cf77
lea esi, [esi]
lea esi, [esi]
mov dword [esp], eax
call fcn.00437040
test eax, eax
je 0x41cf77
mov eax, dword [0x5212d0]
mov edx, dword [sym.zsh.exe_jobtab]
lea eax, [eax + eax*8]
lea eax, [edx + eax*4]
test byte [eax + 8], 2
jne 0x41cf77
mov eax, dword [sym.zsh.exe_sigchld_mask]
mov edi, dword [sym.zsh.exe_queueing_enabled]
mov dword [esp], eax
call sym.zsh.exe_signal_unblock
mov eax, dword [sym.zsh.exe_sigchld_mask]
mov dword [esp], eax
call sym.zsh.exe_signal_block
mov eax, dword [sym.zsh.exe_queue_front]
mov dword [sym.zsh.exe_queueing_enabled], 0
cmp dword [sym.zsh.exe_queue_rear], eax
je 0x41d215
lea esi, [esi]
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov ebp, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], ebp
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x41d1c8
mov dword [sym.zsh.exe_queueing_enabled], edi
jmp 0x41cf77
call fcn.00439170
jmp 0x41ce9f
mov eax, dword [0x5212d4]
test eax, eax
je 0x41ca93
mov dword [esp], 0
call sub.cygwin1.dll__exit
lea esi, [esi]
test eax, eax
je 0x41cf44
mov eax, dword [0x5212e8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp], eax
mov dword [esp + 0xc], 0x5212e0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x521280
mov dword [sym.zsh.exe_curjob], esi
call fcn.00438dc0
mov edi, dword [ebx + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x41d42e
cmp dword [0x521268], 2
je 0x41d42e
mov ecx, dword [sym.zsh.exe_jobtab]
mov ebp, dword [ebx + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x28]
lea edx, [edx + edx*8]
mov edx, dword [ecx + edx*4 + 0x10]
test edx, edx
jne 0x41d2d6
jmp 0x41d2eb
mov edx, dword [edx]
test edx, edx
je 0x41d2eb
mov ecx, dword [edx + 0x58]
cmp cl, 0x7f
jne 0x41d2d0
jmp 0x41d2e4
mov edi, eax
mov eax, dword [eax]
test eax, eax
jne 0x41d2e0
mov dword [edi + 0x58], ecx
and ebp, 0xffffffd7
xor eax, eax
or ebp, 0x53
mov dword [ebx + 8], ebp
cmp byte [0x522d31], 0
setne al
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004373a0
mov eax, dword [0x5212dc]
jmp 0x41caf2
test edx, edx
jne 0x41cad5
jmp 0x41d258
mov edx, dword [0x5212d8]
test edx, edx
je 0x41cbe5
test ah, 1
jne 0x41cbe5
jmp 0x41cbcf
mov eax, dword [ebx + 8]
and eax, 0x48
cmp eax, 0x40
je 0x41cbb0
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.00437320
mov edx, dword [sym.zsh.exe_jobtab]
lea eax, [edi + edi*8]
lea ebx, [edx + eax*4]
mov ebp, dword [ebx]
test ebp, ebp
je 0x41cbb0
mov eax, dword [sym.zsh.exe_lastval]
mov dword [esp], ebx
and al, 0x7f
mov dword [esp + 4], eax
call fcn.00467910
jmp 0x41cbb0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sym.zsh.exe_zclose
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.zsh.exe_zclose
jmp 0x41ce48
mov dword [0x521264], 0xffffffff
jmp 0x41caf2
mov dword [esp], eax
and ebp, 0x18
mov edi, 4
call fcn.004e5db0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.004e5db0
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x28]
mov ebp, 4
mov dword [sym.zsh.exe_coprocout], 0xffffffff
mov dword [sym.zsh.exe_coprocin], 0xffffffff
jmp 0x41c9e4
call sub.cygwin1.dll___errno
mov eax, dword [eax]
mov dword [esp], str.pipe_failed:__e
mov dword [esp + 4], eax
call sym.zsh.exe_zerr
jmp 0x41d036
mov ecx, dword [0x5212e8]
mov ebp, dword [ebx + 8]
mov edx, dword [sym.zsh.exe_jobtab]
mov dword [esp + 0x30], ecx
or ebp, 0x2000
mov dword [ebx], ecx
mov ecx, dword [sym.zsh.exe_maxjob]
mov dword [ebx + 8], ebp
mov dword [esp + 0x28], edx
test ecx, ecx
jle 0x41d2ba
add ecx, 1
mov dword [esp + 0x38], edi
add edx, 0x2c
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x34]
mov ecx, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
lea esi, [esi]
test dword [edx], 0x8000
je 0x41d4a0
or ebp, 0x80
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [edx - 4], eax
and dword [edx], 0xffff7fff
mov ebp, dword [ebx + 8]
add ecx, 1
add edx, 0x24
cmp ecx, edi
jne 0x41d480
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
jmp 0x41d2ba
mov edi, eax
test eax, eax
je 0x41d5af
imul eax, dword [0x5212d0], 0x24
add eax, dword [sym.zsh.exe_jobtab]
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_killpg
mov edx, dword [esp + 0x6c]
mov dword [0x5212e8], edi
mov dword [0x5212dc], 1
add eax, 1
sete al
mov dword [0x5212e4], edx
movzx eax, al
or dword [sym.zsh.exe_errflag], 1
add eax, 1
mov dword [0x521268], eax
mov eax, dword [esp + 0x68]
mov dword [0x5212e0], eax
mov eax, dword [0x522bf0]
mov dword [sym.zsh.exe_breaks], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004e5db0
lea eax, [esp + 0x4f]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.zsh.exe_read_loop
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004e5db0
test byte [ebx + 8], 8
je 0x41d64c
mov eax, dword [esp + 0x90]
or eax, dword [0x51f168]
je 0x41cb08
mov eax, dword [0x5212d0]
mov dword [esp], eax
call fcn.00437040
test eax, eax
je 0x41cb08
imul eax, dword [0x5212d0], 0x24
add eax, dword [sym.zsh.exe_jobtab]
mov dword [esp + 4], 0x11
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_killpg
jmp 0x41cb08
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004e5db0
xor edx, edx
mov eax, 1
call fcn.00415aa0
call sub.cygwin1.dll_getpid
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [sym.zsh.exe_mypgrp], eax
call sub.cygwin1.dll_setpgid
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004e5db0
call sub.cygwin1.dll_getpid
mov dword [esp + 4], 0x11
mov dword [esp], eax
call sub.cygwin1.dll_kill
cmp dword [0x522784], 0
mov dword [0x51f168], 0
mov dword [0x5212d4], 1
mov byte [0x522d1f], 0
je 0x41cb08
mov eax, dword [sym.zsh.exe_errflag]
and eax, 2
or eax, dword [0x52278c]
mov dword [sym.zsh.exe_errflag], eax
mov eax, dword [0x522788]
mov dword [sym.zsh.exe_breaks], eax
jmp 0x41cb08
mov edx, dword [0x5212d0]
imul eax, edx, 0x24
add eax, dword [sym.zsh.exe_jobtab]
or dword [eax + 8], 0x80
mov dword [eax + 4], esi
mov eax, dword [0x5212e8]
or dword [ebx + 8], 0x120
mov dword [ebx + 4], eax
mov dword [esp], edx
call fcn.00437040
test eax, eax
je 0x41d563
imul eax, dword [0x5212d0], 0x24
add eax, dword [sym.zsh.exe_jobtab]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x41d563