Function at 0x432da0
Capabilities:
Query environment variable

Disassembly:
push ebp
xor eax, eax
mov ecx, 0xa
push edi
push esi
push ebx
sub esp, 0x5c
lea ebx, [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
xor edi, edi
mov dword [esp], eax
call sub.cygwin1.dll_pipe
test eax, eax
jne 0x432e27
mov edi, 0xffffffff
jmp 0x432de5
mov dword [esp + eax*4 + 0x28], 1
cmp edi, 8
jg 0x432e0b
mov eax, dword [esp + 0x20]
cmp eax, edi
jg 0x432df9
mov eax, dword [esp + 0x24]
cmp eax, edi
jle 0x433470
cmp edi, eax
cmovl edi, eax
cmp eax, 9
jle 0x432dd8
mov dword [esp], eax
call fcn.004e5db0
mov eax, dword [esp + 0x20]
cmp eax, edi
jg 0x4335d8
mov eax, dword [esp + 0x24]
cmp edi, eax
jl 0x4335c8
mov edi, dword [esp + 0x28]
mov dword [esp + 8], 4
mov dword [esp + 4], sym.zsh.exe_zshhooks
mov dword [esp], 0
call sym.zsh.exe_addhookdefs
call fcn.0045c470
mov dword [0x522c20], 1
mov dword [sym.zsh.exe_zero_mnumber], 0
mov dword [0x522c1c], 0
mov dword [0x522c28], 0
mov dword [sym.zsh.exe_curhist], 0
mov dword [0x5214d4], 0
mov dword [0x521480], 0x1e
mov dword [0x521484], 0
call fcn.0042e1a0
mov dword [esp], 0x100
call sym.zsh.exe_zalloc
mov dword [esp], 0x522dec
mov dword [0x523084], eax
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov dword [0x523080], 0
mov byte [sym.zsh.exe_bangchar], 0x21
mov byte [0x522df5], 0x23
mov byte [0x522df6], 0x5e
mov dword [sym.zsh.exe_termflags], 2
mov dword [sym.zsh.exe_coprocout], 0xffffffff
mov dword [sym.zsh.exe_coprocin], 0xffffffff
mov dword [sym.zsh.exe_prevjob], 0xffffffff
mov dword [sym.zsh.exe_curjob], 0xffffffff
call sub.cygwin1.dll_gettimeofday
mov eax, dword [0x522df0]
add eax, dword [0x522dec]
mov dword [esp], eax
call sub.cygwin1.dll_srand
mov dword [esp], 0x14
call sym.zsh.exe_zalloc
mov dword [esp], 0x4f3775
mov esi, eax
mov dword [sym.zsh.exe_path], eax
call sym.zsh.exe_ztrdup
mov dword [esi], eax
mov esi, dword [sym.zsh.exe_path]
mov dword [esp], 0x4f377a
call sym.zsh.exe_ztrdup
mov dword [esi + 4], eax
mov esi, dword [sym.zsh.exe_path]
mov dword [esp], 0x4f3783
call sym.zsh.exe_ztrdup
mov dword [esi + 8], eax
mov esi, dword [sym.zsh.exe_path]
mov dword [esp], 0x4f378c
call sym.zsh.exe_ztrdup
mov dword [esi + 0xc], eax
mov eax, dword [sym.zsh.exe_path]
mov dword [eax + 0x10], 0
mov dword [esp], 0
call sym.zsh.exe_mkarray
mov dword [esp], 0
mov dword [sym.zsh.exe_cdpath], eax
call sym.zsh.exe_mkarray
mov dword [esp], 0
mov dword [sym.zsh.exe_manpath], eax
call sym.zsh.exe_mkarray
mov dword [esp], 0x10
mov dword [sym.zsh.exe_fignore], eax
call sym.zsh.exe_zalloc
mov dword [esp], 0x4f379c
mov esi, eax
mov dword [sym.zsh.exe_fpath], eax
call sym.zsh.exe_ztrdup
mov dword [esi], eax
mov dword [esp], 0x4f37c0
call sym.zsh.exe_ztrdup
mov dword [esi + 4], eax
mov dword [esp], str._usr_share_zsh_5.8.1_functions
call sym.zsh.exe_ztrdup
mov dword [esi + 0xc], 0
mov dword [esi + 8], eax
mov dword [esp], 0
call sym.zsh.exe_mkarray
mov dword [esp], 0
mov dword [sym.zsh.exe_mailpath], eax
call sym.zsh.exe_mkarray
mov dword [esp], 0
mov dword [sym.zsh.exe_watch], eax
call sym.zsh.exe_mkarray
mov dword [esp], str._usr_lib_zsh_5.8.1
mov dword [sym.zsh.exe_psvar], eax
call sym.zsh.exe_ztrdup
mov dword [esp], eax
call sym.zsh.exe_mkarray
mov dword [esp + 4], 0x4f3812
mov dword [esp], 0x11
mov dword [0x522c90], eax
call fcn.00446870
mov dword [sym.zsh.exe_modulestab], eax
call sym.zsh.exe_znewlinklist
cmp byte [0x522d1f], 0
mov dword [0x522c94], eax
je 0x4334f8
test byte [sym.zsh.exe_emulation], 0xc
jne 0x433490
mov dword [esp], str._m_
call sym.zsh.exe_ztrdup
mov dword [esp], 0x4f3823
mov dword [sym.zsh.exe_prompt], eax
call sym.zsh.exe_ztrdup
mov dword [esp], 0x4f3828
mov dword [sym.zsh.exe_prompt2], eax
call sym.zsh.exe_ztrdup
mov dword [sym.zsh.exe_prompt3], eax
test byte [sym.zsh.exe_emulation], 0xc
je 0x4334e0
mov dword [esp], 0x4f382c
call sym.zsh.exe_ztrdup
mov dword [esp], str.zsh:_correct__R_to__r__nyae__
mov dword [sym.zsh.exe_prompt4], eax
call sym.zsh.exe_ztrdup
mov dword [sym.zsh.exe_sprompt], eax
test byte [sym.zsh.exe_emulation], 0xc
je 0x4334c8
mov dword [esp], 0x4f385b
call sym.zsh.exe_ztrdup
mov dword [esp], 0x4f3865
mov dword [sym.zsh.exe_ifs], eax
call sym.zsh.exe_ztrdup
mov dword [esp], 0x4f3390
mov dword [sym.zsh.exe_wordchars], eax
call sym.zsh.exe_ztrdup
mov dword [esp], 0x20
mov dword [sym.zsh.exe_postedit], eax
mov dword [0x5216f8], 0x20
call sym.zsh.exe_zalloc
mov dword [0x5216f4], 1
mov dword [0x5216fc], eax
mov byte [eax], 0
mov dword [esp], 0x4f3390
call sym.zsh.exe_ztrdup
mov dword [0x522e00], 1
mov dword [sym.zsh.exe_zoptarg], eax
mov dword [0x522e04], 0
call sub.cygwin1.dll_getppid
mov dword [sym.zsh.exe_ppid], eax
sar eax, 0x1f
mov dword [0x522e1c], eax
call sub.cygwin1.dll_getpid
mov dword [esp], 0x4f3390
mov dword [sym.zsh.exe_mypid], eax
sar eax, 0x1f
mov dword [0x522e44], eax
call sym.zsh.exe_ztrdup
mov dword [esp], 0x4f387d
mov dword [sym.zsh.exe_term], eax
call sym.zsh.exe_ztrdup
mov dword [esp], str.more
mov dword [sym.zsh.exe_nullcmd], eax
call sym.zsh.exe_ztrdup
mov dword [sym.zsh.exe_readnullcmd], eax
call sub.cygwin1.dll__getuid32
mov dword [esp], eax
mov dword [0x523b88], eax
call sub.cygwin1.dll__getpwuid32
mov esi, eax
test eax, eax
je 0x433538
test byte [sym.zsh.exe_emulation], 0x10
jne 0x4335a0
mov eax, dword [esi]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [0x523b84], eax
mov esi, dword [sym.zsh.exe_home]
test byte [sym.zsh.exe_emulation], 0x10
je 0x433520
test esi, esi
je 0x433239
mov dword [esp], esi
call fcn.00477200
test eax, eax
jne 0x43358a
mov dword [esp], 0x4f388d
call sym.zsh.exe_zgetenv
mov esi, eax
test eax, eax
je 0x43325e
mov dword [esp], eax
call sub.cygwin1.dll_strlen
cmp eax, 0xfff
jbe 0x433560
mov dword [sym.zsh.exe_pwd], 0
call fcn.00413120
mov dword [esp + 8], 3
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym.zsh.exe_metafy
mov dword [esp], eax
xor esi, esi
mov dword [sym.zsh.exe_pwd], eax
call sym.zsh.exe_ztrdup
mov dword [sym.zsh.exe_oldpwd], eax
call fcn.0047d930
call fcn.0043bbf0
call fcn.00429d30
call fcn.00429e70
call fcn.00429a70
call fcn.00429b50
call fcn.0040dba0
call fcn.0042a8d0
call fcn.00455b00
mov dword [esp], 0
mov dword [sym.zsh.exe_condtab], 0
mov dword [0x522c88], 0
call fcn.00477550
lea esi, [esi]
lea esi, [esi]
lea eax, [esi*8 + sym.zsh.exe_current_limits]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.cygwin1.dll_getrlimit
mov eax, dword [esi*8 + sym.zsh.exe_current_limits]
mov edx, dword [esi*8 + 0x51f1c4]
mov dword [esi*8 + sym.zsh.exe_limits], eax
mov dword [esi*8 + 0x51f184], edx
add esi, 1
cmp esi, 7
jne 0x4332f0
mov dword [esp], 0
xor esi, esi
mov dword [0x522bf0], 0
mov dword [sym.zsh.exe_breaks], 0
call sub.cygwin1.dll_time
mov dword [0x5216f0], 0
mov dword [0x523b7c], eax
mov dword [sym.zsh.exe_locallevel], 0
mov dword [sym.zsh.exe_sfcontext], 0
mov dword [0x51f23c], 0
mov dword [0x51f240], 0
mov dword [0x51f254], 0xb
mov dword [0x51f248], 1
call sym.zsh.exe_znewlinklist
mov dword [sym.zsh.exe_dirstack], eax
call sym.zsh.exe_znewlinklist
mov dword [0x521454], 0
mov dword [sym.zsh.exe_bufstack], eax
mov dword [0x521458], 0
mov dword [sym.zsh.exe_lastpid], 0
mov dword [0x522e3c], 0
call fcn.00437080
jmp 0x4333eb
add esi, 1
cmp esi, 0xa
je 0x4333ff
mov edi, dword [ebx + esi*4]
test edi, edi
je 0x4333e0
mov dword [esp], esi
add esi, 1
call fcn.004e5db0
cmp esi, 0xa
jne 0x4333e8
call fcn.00464870
test ebp, ebp
je 0x433420
mov dword [esp], ebp
call sym.zsh.exe_ztrdup
mov dword [esp], str.ZSH_EXECUTION_STRING
mov dword [esp + 4], eax
call sym.zsh.exe_setsparam
mov eax, dword [esp + 0x74]
test eax, eax
je 0x433444
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [esp], str.ZSH_SCRIPT
mov dword [esp + 4], eax
call sym.zsh.exe_setsparam
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [esp], str.ZSH_NAME
mov dword [esp + 4], eax
call sym.zsh.exe_setsparam
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
call sub.cygwin1.dll_dup
cmp eax, 0xffffffff
jne 0x432df9
jmp 0x432e0b
call fcn.004817f0
mov edx, 0x4f3772
test eax, eax
mov eax, 0x4f376f
cmove eax, edx
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [esp], 0x4f381a
mov dword [sym.zsh.exe_prompt], eax
call sym.zsh.exe_ztrdup
jmp 0x4330b1
mov dword [esp], 0x4f385f
call sym.zsh.exe_ztrdup
jmp 0x43310f
mov dword [esp], str._N:_i_
call sym.zsh.exe_ztrdup
jmp 0x4330e0
mov dword [esp], 0x4f3390
call sym.zsh.exe_ztrdup
mov dword [esp], 0x4f3390
mov dword [sym.zsh.exe_prompt], eax
call sym.zsh.exe_ztrdup
jmp 0x4330b1
mov dword [esp], 0x4f3888
call sym.zsh.exe_zgetenv
mov esi, eax
jmp 0x433225
test byte [sym.zsh.exe_emulation], 0x10
jne 0x4335ee
mov dword [esp], 0x4f3390
call sym.zsh.exe_ztrdup
jmp 0x43320d
mov dword [esp], esi
mov dword [esp + 8], 2
mov dword [esp + 4], 0xffffffff
call sym.zsh.exe_metafy
mov dword [esp], eax
mov esi, eax
call fcn.00477200
test eax, eax
je 0x43325e
mov dword [esp], esi
call sym.zsh.exe_ztrdup
jmp 0x433285
mov dword [esp + 8], 3
mov dword [esp + 4], 0xffffffff
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sym.zsh.exe_metafy
mov dword [sym.zsh.exe_home], eax
jmp 0x433203
mov dword [esp], eax
call fcn.004e5db0
jmp 0x432e23
mov dword [esp], eax
call fcn.004e5db0
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x432e23
jmp 0x4335c8
mov dword [esp], 0x4f3886
call sym.zsh.exe_ztrdup
mov dword [sym.zsh.exe_home], eax
jmp 0x433545