Function at 0x4c5e50
Capabilities:
Query environment variable

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp + 4], 0x4ff792
mov dword [esp], 0
call sym.zsh.exe_newkeymap
mov dword [esp + 4], 0x4ff798
mov dword [esp], 0
mov esi, eax
call sym.zsh.exe_newkeymap
mov dword [esp + 4], 0x4ff676
mov dword [esp], 0
mov ebx, eax
call sym.zsh.exe_newkeymap
mov dword [esp + 4], 0x4ff79e
mov dword [esp], 0
mov edi, eax
call sym.zsh.exe_newkeymap
mov dword [esp + 4], 0x4ff7a4
mov dword [esp], 0
mov dword [esp + 0x14], eax
call sym.zsh.exe_newkeymap
mov dword [esp + 4], str..safe
mov dword [esp], 0
mov dword [esp + 0x18], eax
call sym.zsh.exe_newkeymap
mov dword [esp + 0x10], eax
lea esi, [esi]
nop
mov eax, dword [ebp*4 + 0x4ebbe0]
lea eax, [eax + eax*2]
lea eax, [eax*8 + sym.zsh.exe_thingies]
mov dword [esp], eax
call sym.zsh.exe_refthingy
mov dword [esi + ebp*4], eax
mov eax, dword [ebp*4 + 0x4ebe60]
lea eax, [eax + eax*2]
lea eax, [eax*8 + sym.zsh.exe_thingies]
mov dword [esp], eax
call sym.zsh.exe_refthingy
mov dword [ebx + ebp*4], eax
add ebp, 1
cmp ebp, 0x20
jne 0x4c5ee8
lea esi, [esi]
nop
mov dword [esp], 0x4ec840
call sym.zsh.exe_refthingy
mov dword [esi + ebp*4], eax
mov dword [esp], 0x4ec840
call sym.zsh.exe_refthingy
mov dword [ebx + ebp*4], eax
add ebp, 1
cmp ebp, 0x100
jne 0x4c5f30
mov dword [esp], 0x4ec840
xor ebp, ebp
call fcn.004d7ce0
mov dword [esp], 0x4ec840
call fcn.004d7ce0
mov eax, dword [esi + 0x20]
mov dword [esp], eax
call sym.zsh.exe_refthingy
mov dword [esi + 0x1fc], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call sym.zsh.exe_refthingy
mov dword [ebx + 0x1fc], eax
lea esi, [esi]
mov eax, dword [ebp*4 + str.mmmmHmmIxm]
lea eax, [eax + eax*2]
lea eax, [eax*8 + sym.zsh.exe_thingies]
mov dword [esp], eax
call sym.zsh.exe_refthingy
mov dword [edi + ebp*4], eax
add ebp, 1
cmp ebp, 0x80
jne 0x4c5f98
lea ebp, [edi + 0x200]
lea eax, [edi + 0x400]
mov dword [esp + 0x1c], ebx
mov ebx, ebp
mov ebp, eax
lea esi, [esi]
nop
mov dword [esp], 0x4ec918
add ebx, 4
call sym.zsh.exe_refthingy
mov dword [ebx - 4], eax
cmp ebx, ebp
jne 0x4c5fd8
mov eax, dword [esp + 0x10]
mov ebp, eax
add eax, 0x400
mov ebx, ebp
mov ebp, eax
lea esi, [esi]
mov dword [esp], 0x4eda58
add ebx, 4
call sym.zsh.exe_refthingy
mov dword [ebx - 4], eax
cmp ebx, ebp
jne 0x4c6000
mov dword [esp], 0x4eda58
mov ebx, dword [esp + 0x1c]
call fcn.004d7ce0
mov dword [esp], 0x4eda58
call fcn.004d7ce0
mov dword [esp], 0x4ed140
call sym.zsh.exe_refthingy
mov ebp, dword [esp + 0x10]
mov dword [ebp + 0x28], eax
mov dword [esp], 0x4ed140
call sym.zsh.exe_refthingy
mov dword [esp + 0x34], edi
mov dword [ebp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov ebp, eax
mov ebx, esi
mov ecx, 0x4ec9a8
mov edx, 0x19
mov eax, ebx
add ebp, 4
mov dword [esp], 0x41
call fcn.004c5d10
mov dword [esp], 0x42
mov ecx, 0x4ec240
mov eax, ebx
mov edx, 0x1a
call fcn.004c5d10
mov dword [esp], 0x44
mov ecx, 0x4eca20
mov eax, ebx
mov edx, 0x1b
call fcn.004c5d10
mov dword [esp], 0x43
mov eax, ebx
mov ecx, 0x4ecc90
mov edx, 0x1c
call fcn.004c5d10
lea eax, [esp + 0x38]
cmp eax, ebp
je 0x4c60d4
mov ebx, dword [ebp]
jmp 0x4c6064
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov ebx, eax
mov ecx, 0x4ec990
mov edx, 0x19
mov eax, ebp
add ebx, 4
mov dword [esp], 0x41
call fcn.004c5d10
mov dword [esp], 0x42
mov ecx, 0x4ec228
mov eax, ebp
mov edx, 0x1a
call fcn.004c5d10
mov dword [esp], 0x4ec990
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7ab
mov dword [esp], ebp
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec228
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7ad
mov dword [esp], ebp
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec810
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7af
mov dword [esp], ebp
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec828
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7b2
mov dword [esp], ebp
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec7b0
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7b5
mov dword [esp], ebp
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec7c8
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7b8
mov dword [esp], ebp
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec7e0
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7bb
mov dword [esp], ebp
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec7f8
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7be
mov dword [esp], ebp
call sym.zsh.exe_bindkey
lea eax, [esp + 0x40]
cmp ebx, eax
je 0x4c6268
mov ebp, dword [ebx]
jmp 0x4c60e6
mov dword [esp], 0x4ecb28
mov ebx, dword [esp + 0x1c]
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], 0x4ff7c1
mov dword [esp], eax
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec168
call sym.zsh.exe_refthingy
mov ebp, dword [esp + 0x18]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], ebp
mov dword [esp + 4], 0x4ff7c1
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec318
call sym.zsh.exe_refthingy
mov dword [esp], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7c3
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec6a8
call sym.zsh.exe_refthingy
mov dword [esp], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7c5
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecb88
call sym.zsh.exe_refthingy
mov dword [esp], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7c7
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecfd8
call sym.zsh.exe_refthingy
mov dword [esp], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7c9
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecb40
call sym.zsh.exe_refthingy
mov dword [esp], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7cb
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ece28
call sym.zsh.exe_refthingy
mov dword [esp], ebp
mov ebp, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7cd
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ed080
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7cf
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp], 0x4eca80
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7d2
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp], 0x4eca98
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7d5
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec060
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7d8
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecb88
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7db
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecfd8
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7de
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ece28
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7e1
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp + 0xc], str.gg
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff7e9
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp + 0xc], str.gugu
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff7f2
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp + 0xc], str.gUgU
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff7fb
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov dword [esp], 0x41
mov eax, ebx
mov ecx, 0x4ec9a8
mov edx, 0x19
call fcn.004c5d10
mov dword [esp], 0x42
mov eax, ebx
mov ecx, 0x4ec240
mov edx, 0x1a
call fcn.004c5d10
mov dword [esp], 0x44
mov eax, ebx
mov ecx, 0x4ebfb8
mov edx, 0x1b
call fcn.004c5d10
mov dword [esp], 0x43
mov ecx, 0x4ec3d8
mov eax, ebx
mov edx, 0x1c
call fcn.004c5d10
mov dword [esp], 0x4ec3c0
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff7ff
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec5b8
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff802
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec5b8
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff805
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec4f8
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff808
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec528
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff80b
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecbe8
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff80e
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec630
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff811
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec930
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff814
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecb28
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff817
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecd98
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff81a
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ecde0
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff81d
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec480
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff820
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec468
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff823
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec930
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff826
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec318
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff829
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ed080
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ff82c
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec0c0
call sym.zsh.exe_refthingy
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], str.e_200
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec0c0
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], str.e_200
mov dword [esp], esi
call sym.zsh.exe_bindkey
mov dword [esp], 0x4ec0c0
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], str.e_200
mov dword [esp], edi
call sym.zsh.exe_bindkey
mov byte [esp + 0x2d], 0x1b
xor eax, eax
mov byte [esp + 0x2f], 0
mov ebx, eax
lea esi, [esi]
mov eax, dword [ebx*4 + 0x4ebc60]
cmp eax, 0x6d
je 0x4c68d6
lea eax, [eax + eax*2]
mov byte [esp + 0x2e], bl
lea eax, [eax*8 + sym.zsh.exe_thingies]
mov dword [esp], eax
call sym.zsh.exe_refthingy
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x2d]
mov dword [esp + 4], eax
mov dword [esp], ebp
call sym.zsh.exe_bindkey
add ebx, 1
cmp ebx, 0x80
jne 0x4c6898
mov dword [esp + 8], 0
mov ebx, ebp
mov dword [esp + 4], 0x4ff792
mov dword [esp], esi
call sym.zsh.exe_linkkeymap
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff798
mov dword [esp], ebp
call sym.zsh.exe_linkkeymap
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff676
mov dword [esp], edi
call sym.zsh.exe_linkkeymap
mov eax, dword [esp + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff79e
mov dword [esp], eax
call sym.zsh.exe_linkkeymap
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff7a4
mov dword [esp], eax
call sym.zsh.exe_linkkeymap
mov eax, dword [esp + 0x10]
mov dword [esp + 8], 1
mov dword [esp + 4], str..safe
mov dword [esp], eax
call sym.zsh.exe_linkkeymap
mov dword [esp], str.VISUAL
call sym.zsh.exe_zgetenv
test eax, eax
je 0x4c6a78
mov dword [esp + 4], 0x4ff83d
mov dword [esp], eax
call sub.cygwin1.dll_strstr
test eax, eax
je 0x4c6a78
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff660
mov dword [esp], esi
call sym.zsh.exe_linkkeymap
mov eax, dword [esp + 0x10]
or dword [eax + 0x408], 2
mov dword [esp + 4], str.isearch
mov dword [esp], 0
call sym.zsh.exe_newkeymap
mov dword [esp + 8], 0
mov dword [esp + 4], str.isearch
mov dword [esp], eax
mov dword [0x52992c], eax
call sym.zsh.exe_linkkeymap
mov dword [esp + 4], str.command
mov dword [esp], 0
call sym.zsh.exe_newkeymap
mov dword [esp], 0x4ebf28
mov ebx, eax
mov dword [0x529a88], eax
call sym.zsh.exe_refthingy
mov dword [ebx + 0x28], eax
mov ebx, dword [0x529a88]
mov dword [esp], 0x4ebf28
call sym.zsh.exe_refthingy
mov dword [ebx + 0x34], eax
mov ebx, dword [0x529a88]
mov dword [esp], 0x4ec870
call sym.zsh.exe_refthingy
mov dword [ebx + 0x1c], eax
mov eax, dword [0x529a88]
mov dword [esp + 8], 0
mov dword [esp + 4], str.command
mov dword [esp], eax
call sym.zsh.exe_linkkeymap
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.EDITOR
call sym.zsh.exe_zgetenv
test eax, eax
je 0x4c6aa0
mov dword [esp + 4], 0x4ff83d
mov dword [esp], eax
call sub.cygwin1.dll_strstr
test eax, eax
jne 0x4c69ab
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ff660
mov dword [esp], ebx
call sym.zsh.exe_linkkeymap
jmp 0x4c69c3