Function at 0x434c70
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov dword [esp + 4], 0x4f3390
mov esi, dword [esp + 0xc4]
mov dword [esp], 0
call sub.cygwin1.dll_setlocale
mov eax, dword [0x52a064]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00439450
mov eax, 0x523a28
or word [sym.zsh.exe_typtab], 0x1000
or word [0x523a26], 0x1000
or word [0x523a64], 0x1000
lea esi, [esi]
lea esi, [esi]
or word [eax], 0x1010
add eax, 2
cmp eax, 0x523a64
jne 0x434cd0
mov edi, dword [esi]
mov ebx, esi
mov eax, edi
test edi, edi
je 0x434d0f
mov dword [esp + 8], 4
add ebx, 4
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym.zsh.exe_metafy
mov dword [ebx - 4], eax
mov eax, dword [ebx]
test eax, eax
jne 0x434ce9
mov edi, dword [esi]
mov dword [esp + 4], 0x2f
mov dword [esp], edi
call sub.cygwin1.dll_strrchr
test eax, eax
lea ebx, [eax + 1]
cmove ebx, edi
xor eax, eax
cmp byte [ebx], 0x2d
sete al
add ebx, eax
cmp byte [ebx], 0x73
je 0x434e40
call sym.zsh.exe_zopenmax
mov dword [esp], eax
mov dword [0x51f228], eax
call sym.zsh.exe_zshcalloc
mov dword [sym.zsh.exe_fdtable], eax
mov byte [eax + 2], 2
mov eax, dword [sym.zsh.exe_fdtable]
mov byte [eax + 1], 2
mov eax, dword [sym.zsh.exe_fdtable]
mov byte [eax], 2
call fcn.0044b2b0
mov edx, dword [esi]
xor eax, eax
cmp byte [edx], 0x2d
mov dword [esp + 0x10], 0
sete al
mov dword [esp], ebx
add esi, 4
lea eax, [eax + eax + 1]
mov dword [esp + 8], sym.zsh.exe_opts
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 0x40], esi
mov dword [sym.zsh.exe_posixzero], edx
mov dword [sym.zsh.exe_argzero], edx
mov dword [0x52234c], 0
call sym.zsh.exe_parseopts
test eax, eax
jne 0x435264
cmp byte [0x522d62], 0
je 0x434de5
cmp byte [0x522d74], 0
jne 0x435207
mov byte [0x522d74], al
call sym.zsh.exe_znewlinklist
mov edx, dword [esp + 0x40]
mov edi, eax
mov eax, dword [esp + 0x38]
mov esi, dword [edx]
mov dword [esp + 0x28], eax
test esi, esi
je 0x4351bb
cmp byte [0x522d62], 0
jne 0x434e80
mov dword [sym.zsh.exe_posixzero], esi
test eax, eax
je 0x434e1d
mov dword [sym.zsh.exe_argzero], esi
xor esi, esi
lea eax, [edx + 4]
and byte [0x522d1f], 1
mov edx, dword [edx + 4]
mov dword [esp + 0x40], eax
test edx, edx
je 0x434eb8
mov dword [esp + 0x2c], esi
mov esi, edx
mov edx, eax
jmp 0x434e88
cmp byte [ebx + 1], 0x75
jne 0x434d3a
cmp byte [ebx + 2], 0
jne 0x434d3a
mov dword [esp], 0x4f3d7a
call sym.zsh.exe_zgetenv
test eax, eax
je 0x434d3a
cmp byte [eax], 0
je 0x434d3a
cmp edi, eax
je 0x434d3a
mov edi, eax
jmp 0x434d0f
mov dword [esp + 0x2c], 0
lea ebp, [edx + 4]
mov dword [esp], esi
mov dword [esp + 0x40], ebp
add ebp, 4
call sym.zsh.exe_ztrdup
mov dword [esp + 8], eax
mov eax, dword [edi + 4]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.zsh.exe_zinsertlinknode
mov esi, dword [ebp - 4]
test esi, esi
jne 0x434e8b
mov esi, dword [esp + 0x2c]
cmp byte [0x522d67], 0
je 0x434ec8
and byte [0x522d1f], 1
cmp byte [0x522d1f], 0
setne al
cmp byte [0x522d36], 2
mov byte [0x522d1f], al
jne 0x434ee5
mov byte [0x522d36], al
cmp byte [0x522d06], 2
jne 0x434ef3
mov byte [0x522d06], al
mov dword [esp], edi
call sym.zsh.exe_countlinknodes
lea eax, [eax*4 + 4]
mov dword [esp], eax
call sym.zsh.exe_zshcalloc
mov dword [sym.zsh.exe_pparams], eax
mov ebp, eax
mov dword [esp], edi
add ebp, 4
call sym.zsh.exe_getlinknode
mov dword [ebp - 4], eax
test eax, eax
jne 0x434f11
mov dword [esp], edi
call fcn.004e5e70
mov eax, dword [sym.zsh.exe_argzero]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [sym.zsh.exe_argzero], eax
mov eax, dword [sym.zsh.exe_posixzero]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov edi, dword [esp + 0x28]
mov dword [sym.zsh.exe_SHTTY], 0xffffffff
mov dword [sym.zsh.exe_posixzero], eax
mov dword [esp], edi
call sym.zsh.exe_init_io
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00432da0
call fcn.00433610
call fcn.00434270
call fcn.0040dc40
call fcn.00433f20
test esi, esi
je 0x435038
mov dword [esp], esi
mov dword [esp + 0x3c], 0
call sym.zsh.exe_unmeta
mov dword [esp + 4], 0
mov dword [esp], eax
mov edi, eax
call sub.cygwin1.dll_access
test eax, eax
je 0x4351d2
cmp byte [0x522d41], 0
je 0x434fdc
mov dword [esp + 4], 0x2f
mov dword [esp], esi
call sub.cygwin1.dll_strchr
test eax, eax
je 0x43524d
cmp dword [esp + 0x3c], 0
je 0x435270
mov dword [esp + 4], 0x8000
mov dword [esp], edi
call sub.cygwin1.dll__open64
mov dword [esp], eax
call sym.zsh.exe_movefd
mov dword [0x52234c], eax
cmp eax, 0xffffffff
je 0x435270
mov eax, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [sym.zsh.exe_scriptfilename], eax
mov eax, dword [sym.zsh.exe_argzero]
mov dword [esp + 0x3c], eax
call sym.zsh.exe_ztrdup
mov dword [sym.zsh.exe_argzero], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.zsh.exe_zsfree
mov dword [0x522e08], 1
mov dword [0x522e0c], 0
call fcn.004354b0
cmp byte [0x522d62], 0
je 0x435070
cmp dword [0x52234c], 0
jne 0x435070
cmp byte [0x522d1f], 0
je 0x435220
mov eax, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov esi, str.use_exit_to_exit.
mov ebx, str.use_logout_to_logout.
mov dword [esp], eax
call fcn.004337c0
lea esi, [esi]
call fcn.00439750
lea esi, [esi]
mov dword [esp + 4], 0
mov dword [esp], 1
mov dword [sym.zsh.exe_retflag], 0
call fcn.00431790
mov edx, dword [sym.zsh.exe_errflag]
test edx, edx
je 0x4350cf
movzx eax, byte [0x522d1f]
or al, byte [0x522cea]
je 0x4350e7
mov eax, dword [sym.zsh.exe_tok]
cmp eax, 0x25
je 0x435129
cmp eax, 0x26
jne 0x435098
cmp byte [0x522d62], 0
jne 0x435098
mov eax, dword [sym.zsh.exe_lastval]
mov ecx, eax
or ecx, dword [0x522e4c]
jne 0x43510f
mov dword [sym.zsh.exe_lastval], 1
mov eax, 1
mov dword [0x522e4c], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [sym.zsh.exe_stopmsg], 1
call sym.zsh.exe_zexit
cmp byte [0x522d1c], 0
je 0x435180
cmp byte [0x522d1f], 0
je 0x435180
mov eax, dword [0x521700]
add eax, 1
mov dword [0x521700], eax
cmp eax, 9
jg 0x43519a
mov eax, dword [sym.zsh.exe_use_exit_printed]
test eax, eax
jne 0x435090
cmp byte [0x522d30], 0
mov eax, ebx
mov dword [esp], 0x4f3692
cmove eax, esi
mov dword [esp + 4], eax
call sym.zsh.exe_zerrnam
jmp 0x435090
mov eax, dword [sym.zsh.exe_lastval]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.zsh.exe_zexit
jmp 0x435090
mov eax, dword [sym.zsh.exe_lastval]
mov dword [esp + 4], 0
mov dword [sym.zsh.exe_stopmsg], 1
mov dword [esp], eax
call sym.zsh.exe_zexit
jmp 0x43514d
cmp dword [esp + 0x28], 0
jne 0x434eb8
mov byte [0x522d62], 1
jmp 0x434eb8
lea eax, [esp + 0x40]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.cygwin1.dll__stat64
test eax, eax
js 0x434fbb
mov eax, dword [esp + 0x50]
and eax, 0xf000
cmp eax, 0x4000
je 0x434fbb
mov dword [esp + 0x3c], esi
jmp 0x434fe7
mov dword [esp], 0
call sub.cygwin1.dll_isatty
test eax, eax
setne al
movzx eax, al
jmp 0x434de0
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.cygwin1.dll_setvbuf
jmp 0x435070
lea eax, [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00477100
mov edi, eax
jmp 0x434fdc
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov dword [esp + 4], esi
mov dword [esp], str.cant_open_input_file:__s
call sym.zsh.exe_zerr
mov dword [esp], 0x7f
call sub.cygwin1.dll_exit
nop
nop
nop
nop