Function at 0x4a7650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [esp + 0x2c], eax
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x38], edx
mov edi, eax
mov dword [esp + 0x7c], ecx
neg edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x50], edi
test edx, edx
je 0x4a7687
mov edi, dword [sym.zsh.exe_wb]
sub edi, eax
mov dword [esp + 0x50], edi
mov ebp, dword [sym.zsh.exe_hasmatched]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0
test ebp, ebp
mov dword [esp], eax
je 0x4a779d
call fcn.004a1b10
mov dword [esp + 0x2c], eax
mov ebx, eax
test eax, eax
je 0x4a778e
xor esi, esi
lea esi, [esi]
mov ecx, dword [ebx + 0x18]
mov edx, ebx
mov ebx, dword [ebx]
test ecx, ecx
je 0x4a78e0
mov ecx, dword [edx + 0x28]
mov eax, ebx
test ecx, ecx
je 0x4a7900
test ebx, ebx
jne 0x4a76c0
test eax, eax
jne 0x4a7928
test esi, esi
je 0x4a895a
mov eax, dword [esi + 0x18]
xor edi, edi
test eax, eax
je 0x4a88ac
mov edx, dword [esp + 0x2c]
xor esi, esi
xor ecx, ecx
mov ebp, 1
lea esi, [esi]
mov eax, dword [edx + 0x24]
test byte [edx + 4], 3
cmovne ecx, ebp
test eax, eax
jne 0x4a7726
jmp 0x4a7730
mov eax, dword [eax]
test eax, eax
je 0x4a7730
test byte [eax + 4], 0x40
je 0x4a7720
mov ebx, edx
xor esi, esi
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x4a7746
jmp 0x4a7753
mov eax, dword [eax]
test eax, eax
je 0x4a7753
test byte [eax + 4], 0x40
je 0x4a7740
mov ebx, edx
mov esi, 1
mov edx, dword [edx]
test edx, edx
jne 0x4a7710
test ebx, ebx
je 0x4a778a
test ecx, ecx
jne 0x4a8969
mov edx, dword [ebx + 0x28]
test esi, esi
cmove edx, dword [ebx + 0x24]
jmp 0x4a7786
mov eax, dword [edx]
test eax, eax
je 0x4a8863
test byte [eax + 4], 0x40
jne 0x4a8863
mov edx, eax
test edx, edx
jne 0x4a7770
test edi, edi
jne 0x4a77a2
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004a1ce0
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4a79cb
mov ebp, dword [sym.zsh.exe_brbeg]
mov eax, dword [sym.zsh.exe_we]
sub eax, dword [sym.zsh.exe_wb]
mov edi, eax
test ebp, ebp
je 0x4a8876
mov esi, dword [0x529068]
mov ebx, ebp
mov dword [esp + 0x10], esi
lea esi, [esi]
mov eax, dword [ebx + 0x10]
test esi, esi
cmovne eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov ebx, dword [ebx]
sub edi, eax
test ebx, ebx
jne 0x4a77d8
mov eax, dword [sym.zsh.exe_lastbrend]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a787a
mov ebx, dword [sym.zsh.exe_brend]
test ebx, ebx
je 0x4a787a
mov esi, ebx
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov esi, dword [esi]
mov edx, eax
mov eax, edi
sub eax, edx
mov edi, eax
test esi, esi
jne 0x4a7810
mov esi, dword [esp + 0x10]
lea esi, [esi]
mov edx, dword [ebx + 0x10]
test esi, esi
cmovne edx, dword [ebx + 0xc]
mov ecx, eax
sub ecx, edx
mov dword [ebx + 0x14], ecx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4a7830
test ebp, ebp
je 0x4a788d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x4a7881
lea esi, [esi]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov ebp, dword [ebp]
test ebp, ebp
je 0x4a7881
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4a7858
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4a8a0d
mov ebx, dword [esp + 0x1c]
mov esi, 0xffffffff
jmp 0x4a78cb
mov dword [esp + 8], 0xffffffff
test esi, esi
cmovs esi, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 4], 1
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x4a78d2
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4a78a0
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
jmp 0x4a79dd
mov edi, dword [edx + 0x1c]
test edi, edi
jne 0x4a76cf
mov ecx, dword [edx + 0x28]
test byte [edx + 4], 0x10
cmove eax, ebx
test ecx, ecx
jne 0x4a76dc
lea esi, [esi]
mov ebp, dword [edx + 0x14]
test ebp, ebp
jne 0x4a7912
mov edi, dword [edx + 0xc]
test edi, edi
je 0x4a85fe
mov esi, edx
jmp 0x4a76dc
test eax, eax
je 0x4a76fd
mov edx, dword [eax + 4]
mov ecx, eax
mov eax, dword [eax]
mov edi, edx
and edi, 1
je 0x4a7920
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x4a7952
jmp 0x4a8962
mov eax, dword [eax]
test eax, eax
je 0x4a76fd
mov edi, dword [eax + 4]
and edi, 1
je 0x4a7948
xor eax, eax
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x10], 0
mov ebx, eax
mov dword [esp + 0x18], edi
jmp 0x4a799a
add ebp, dword [esi + 0x30]
cmp ebp, ebx
jle 0x4a798d
mov dword [esp + 0x10], esi
mov ebx, ebp
mov esi, dword [esi]
test esi, esi
je 0x4a881b
mov edx, dword [esi + 4]
and edx, 1
je 0x4a7980
mov dword [esp], esi
call fcn.004a1c10
cmp eax, 2
jle 0x4a86da
mov edi, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
lea ecx, [edi + edx]
sar ecx, 1
cmp eax, ecx
jle 0x4a86dd
sub edi, eax
sub eax, edi
add ebp, eax
jmp 0x4a7983
mov dword [esp + 0x1c], 0
xor ebp, ebp
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a8990
xor ecx, ecx
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
lea esi, [esi]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x24]
test eax, eax
je 0x4a8108
test byte [ebx + 4], 4
jne 0x4a8108
test esi, esi
je 0x4a85a0
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x28]
jmp 0x4a7b5b
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov edx, dword [sym.zsh.exe_zlemetacs]
mov ecx, dword [esi + 4]
mov eax, edx
test cl, 2
je 0x4a7b50
cmp dword [esp + 0x3c], 0
je 0x4a7ae3
test cl, 0x80
je 0x4a7b50
mov eax, dword [esp + 0xa0]
and ecx, 0x80
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x4a7b90
mov eax, dword [esp + 0x50]
lea ecx, [eax + edx]
cmp ecx, dword [esp + 0x44]
je 0x4a7b90
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.zsh.exe_insertlinknode
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ecx
lea esi, [esi]
nop
add edi, dword [esi + 0xc]
mov esi, dword [esi]
test esi, esi
je 0x4a7b9f
mov ebp, eax
mov ebx, dword [esi + 0xc]
test byte [esi + 4], 0x20
jne 0x4a7ab0
mov eax, dword [esi + 0x14]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
jmp 0x4a7ac7
add edi, dword [esi + 0xc]
mov esi, dword [esi]
mov dword [esp + 0x4c], edx
mov eax, edx
test esi, esi
jne 0x4a7b59
mov ecx, eax
mov eax, ebp
mov dword [esp + 0x14], edx
mov ebp, dword [esp + 0x1c]
add ebx, eax
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a8120
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
and eax, 5
cmp eax, 1
je 0x4a8308
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
test byte [ebx + 4], 0x20
je 0x4a80c0
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov ecx, dword [esp + 0x10]
mov eax, dword [sym.zsh.exe_zlemetacs]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x4a8410
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
test al, 1
jne 0x4a8230
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x24], edx
test eax, eax
je 0x4a80f0
test byte [ebx + 4], 4
je 0x4a80f0
test edx, edx
je 0x4a8560
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0
jmp 0x4a7cd7
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov eax, dword [ebx + 0xc]
mov ebx, dword [sym.zsh.exe_zlemetacs]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
add dword [esp + 0x34], eax
add eax, ebx
mov dword [esp + 0x14], eax
test esi, esi
jne 0x4a7d30
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], ebx
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
test edx, edx
je 0x4a7e60
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
test ebx, ebx
jns 0x4a7cfc
mov edx, dword [esp + 0x40]
test al, 2
cmovne ebx, dword [esp + 0x34]
cmovne edx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edx
test al, 0x20
jne 0x4a7c80
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x14]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov eax, dword [esi + 0x14]
jmp 0x4a7ca1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add eax, dword [edx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x4a7dbe
mov edx, ebx
mov dword [esp + 0x48], edi
mov ebx, dword [esp + 0x18]
jmp 0x4a7dab
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], edx
mov dword [esp], ecx
mov dword [esp + 0x18], ecx
call sub.cygwin1.dll_strlen
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], 1
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], esi
mov dword [esp], ecx
sub eax, edi
add eax, ebx
add ebx, esi
mov dword [sym.zsh.exe_zlemetacs], eax
call sym.zsh.exe_inststrlen
mov edx, dword [esp + 0x1c]
mov ebp, dword [ebp]
add dword [esp + 0x14], esi
add edx, esi
mov dword [sym.zsh.exe_zlemetacs], edx
test ebp, ebp
je 0x4a7db4
mov edi, dword [ebp + 0x14]
cmp edi, dword [esp + 0x10]
jle 0x4a7d58
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], ebx
mov ebx, edx
test edi, edi
je 0x4a7cbd
mov edx, ebx
mov dword [esp + 0x48], ebp
mov ebx, dword [esp + 0x20]
jmp 0x4a7e33
mov ecx, dword [edi + 8]
mov dword [esp + 0x20], edx
mov dword [esp], ecx
mov dword [esp + 0x1c], ecx
call sub.cygwin1.dll_strlen
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], 1
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], esi
sub eax, ebp
mov dword [esp], ecx
mov ebp, dword [esp + 0x14]
sub ebp, eax
test ebx, ebx
cmovs ebx, ebp
mov dword [sym.zsh.exe_zlemetacs], ebp
call sym.zsh.exe_inststrlen
mov edx, dword [esp + 0x20]
mov edi, dword [edi + 4]
add dword [esp + 0x18], esi
add edx, esi
mov dword [sym.zsh.exe_zlemetacs], edx
test edi, edi
je 0x4a7e3c
mov ebp, dword [edi + 0x14]
cmp ebp, dword [esp + 0x10]
jle 0x4a7dd8
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov ebx, edx
mov dword [esp + 0x18], edx
mov ebp, dword [esp + 0x48]
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
test edx, edx
jne 0x4a7cd7
mov ecx, dword [esp + 0x30]
add ebx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov dword [sym.zsh.exe_zlemetacs], ebx
test ecx, ecx
js 0x4a7ef0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
and eax, 0x80
test edx, edx
je 0x4a7e92
test eax, eax
je 0x4a7ef0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
test eax, eax
je 0x4a7ef0
mov ebx, dword [esp + 0x50]
add ebx, edx
cmp dword [esp + 0x44], ebx
je 0x4a7ef0
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.zsh.exe_insertlinknode
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4a7a70
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4a7f23
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x44]
jne 0x4a860b
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a7fbe
mov eax, dword [esp + 0x54]
test eax, eax
js 0x4a86c5
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
sub esi, edi
lea eax, [esi + 1]
mov dword [esp], eax
call sym.zsh.exe_zalloc
mov dword [esp + 8], esi
mov ebx, eax
mov eax, dword [sym.zsh.exe_zlemetaline]
mov dword [esp], ebx
add eax, edi
mov dword [esp + 4], eax
call sub.cygwin1.dll_memcpy
mov byte [ebx + esi], 0
mov dword [esp + 4], 4
mov dword [esp], esi
mov dword [sym.zsh.exe_zlemetacs], edi
call sym.zsh.exe_foredel
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4a7f93
mov eax, dword [esp + 0x54]
sub eax, edi
mov dword [ecx], eax
add esp, 0x8c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4a7fa0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4a8007
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
lea esi, [esi]
mov dword [esp + 8], 0xffffffff
test esi, esi
cmovs esi, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 4], 1
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4a7fd8
mov dword [esp + 0x20], esi
mov ecx, dword [sym.zsh.exe_zlemetacs]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0xa0]
mov eax, ecx
sub eax, edi
cmp edi, ebx
lea edx, [ebx + eax]
cmovg edx, ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x54], edx
cmp edi, ebx
lea edx, [ebx + eax]
cmovg edx, ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x60], edx
cmp edi, ebx
lea edx, [ebx + eax]
cmovg edx, ebx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x4c]
add eax, edx
cmp edi, edx
cmovg eax, edx
mov dword [esp + 0x4c], eax
test esi, esi
je 0x4a8084
mov eax, dword [esp + 0xa0]
mov eax, dword [eax]
test eax, eax
je 0x4a8084
mov ebx, dword [esp + 0x18]
mov edx, dword [eax + 8]
cmp ebx, edx
jg 0x4a807e
add edx, ecx
sub edx, ebx
mov dword [eax + 8], edx
mov eax, dword [eax]
test eax, eax
jne 0x4a8070
mov ebx, dword [esp + 0x54]
test ebx, ebx
js 0x4a86a8
cmp dword [esp + 0x38], 1
jne 0x4a88a3
mov eax, dword [esp + 0x54]
xor ebx, ebx
mov dword [sym.zsh.exe_lastend], ecx
mov dword [sym.zsh.exe_zlemetacs], eax
add esp, 0x8c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x14]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov ecx, dword [esp + 0x10]
jmp 0x4a7c0c
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a7c60
mov dword [esp + 0x10], ecx
jmp 0x4a7ef0
test esi, esi
jne 0x4a7a94
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x4a7bc5
test ebp, ebp
je 0x4a8193
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x10]
jmp 0x4a8186
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp], edx
mov dword [esp + 0x10], edx
call sub.cygwin1.dll_strlen
mov edx, dword [esp + 0x10]
mov dword [esp + 4], 1
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp], edx
sub eax, esi
mov esi, edi
add edi, ebx
sub esi, eax
mov dword [sym.zsh.exe_zlemetacs], esi
call sym.zsh.exe_inststrlen
mov ecx, dword [esp + 0x18]
mov ebp, dword [ebp]
add dword [esp + 0x14], ebx
add ecx, ebx
mov dword [sym.zsh.exe_zlemetacs], ecx
test ebp, ebp
je 0x4a818f
mov esi, dword [ebp + 0x14]
cmp esi, dword [esp + 0x28]
jle 0x4a8130
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
and eax, 5
cmp eax, 1
je 0x4a8308
test edi, edi
je 0x4a7bdc
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
jmp 0x4a8217
mov edx, dword [edi + 8]
mov dword [esp + 0x18], ecx
mov dword [esp], edx
mov dword [esp + 0x10], edx
call sub.cygwin1.dll_strlen
mov edx, dword [esp + 0x10]
mov dword [esp + 4], 1
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
sub eax, esi
mov dword [esp], edx
mov esi, dword [esp + 0x14]
sub esi, eax
test ebp, ebp
cmovs ebp, esi
mov dword [sym.zsh.exe_zlemetacs], esi
call sym.zsh.exe_inststrlen
mov ecx, dword [esp + 0x18]
mov edi, dword [edi + 4]
add ecx, ebx
mov dword [sym.zsh.exe_zlemetacs], ecx
test edi, edi
je 0x4a8220
mov esi, dword [edi + 0x14]
cmp esi, dword [esp + 0x28]
jle 0x4a81c0
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x1c]
jmp 0x4a7bdc
test al, 8
jne 0x4a85d0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
test al, 4
je 0x4a82f2
mov edx, dword [esp + 0xa0]
test edx, edx
je 0x4a8265
mov ebx, dword [esp + 0x50]
add ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x44]
jne 0x4a863a
mov edx, dword [esp + 0x2c]
and eax, 0x80
mov dword [esp + 0x10], eax
mov ebx, dword [edx + 0x2c]
mov edx, dword [edx + 0x30]
mov esi, ebx
sub esi, edx
cmp esi, dword [esp + 0x6c]
jge 0x4a85e1
cmp ebx, edx
je 0x4a8296
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4a85e1
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4a82f2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a82f2
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x4a867c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
call fcn.004a1c10
mov dword [esp + 0x6c], esi
mov ecx, dword [esp + 0x1c]
cmp ebx, eax
sete al
movzx eax, al
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a7c38
jmp 0x4a84c3
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4a834b
mov eax, dword [esp + 0x50]
lea ebx, [eax + ecx]
cmp dword [esp + 0x44], ebx
je 0x4a834b
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.zsh.exe_insertlinknode
mov dword [esp + 0x44], ebx
mov ecx, dword [sym.zsh.exe_zlemetacs]
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x2c]
mov esi, dword [esi + 4]
mov edx, eax
mov dword [esp + 0x10], esi
sub edx, ebx
and esi, 0x80
cmp edx, dword [esp + 0x58]
jge 0x4a83e0
cmp eax, ebx
je 0x4a8378
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a83e0
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4a83c8
test esi, esi
je 0x4a83c8
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x24], 0
je 0x4a83f2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp], eax
call fcn.004a1c10
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], esi
cmp ebx, eax
sete al
mov dword [esp + 0x58], edx
movzx eax, al
mov dword [esp + 0x60], ecx
mov ecx, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4a7bdc
jmp 0x4a81aa
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4a8380
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x24], 0
jne 0x4a838e
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x4a838e
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0
jmp 0x4a83c8
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x4a84a8
mov dword [esp + 0x24], edi
mov esi, ecx
jmp 0x4a8499
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 0x1c], edx
call sub.cygwin1.dll_strlen
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], ebx
sub ecx, edi
mov dword [esp + 4], 1
mov dword [esp], edx
add eax, esi
add esi, ebx
sub eax, ecx
mov dword [sym.zsh.exe_zlemetacs], eax
call sym.zsh.exe_inststrlen
add dword [esp + 0x18], ebx
mov ebp, dword [ebp]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], ebx
mov dword [sym.zsh.exe_zlemetacs], eax
test ebp, ebp
je 0x4a84a2
mov edi, dword [ebp + 0x14]
cmp edi, dword [esp + 0x10]
jle 0x4a8440
mov edi, dword [esp + 0x24]
mov ecx, esi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
test al, 1
je 0x4a84c3
test al, 8
je 0x4a8240
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
test edi, edi
je 0x4a7c38
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x20]
jmp 0x4a853b
mov ecx, dword [edi + 8]
mov dword [esp + 0x18], edx
mov dword [esp], ecx
mov dword [esp + 0x10], ecx
call sub.cygwin1.dll_strlen
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], 1
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
sub eax, esi
mov dword [esp], ecx
mov esi, dword [esp + 0x14]
sub esi, eax
test ebp, ebp
cmovs ebp, esi
mov dword [sym.zsh.exe_zlemetacs], esi
call sym.zsh.exe_inststrlen
mov edx, dword [esp + 0x18]
mov edi, dword [edi + 4]
add dword [esp + 0x1c], ebx
add edx, ebx
mov dword [sym.zsh.exe_zlemetacs], edx
test edi, edi
je 0x4a8544
mov esi, dword [edi + 0x14]
cmp esi, dword [esp + 0x28]
jle 0x4a84e0
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov ebp, dword [esp + 0x24]
jmp 0x4a7c38
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a86fb
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x18], eax
jmp 0x4a7ef0
mov ebx, dword [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
add ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sym.zsh.exe_inststrlen
mov ecx, dword [sym.zsh.exe_zlemetacs]
jmp 0x4a7bb9
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], eax
jmp 0x4a7c38
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4a829e
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x24]
test edx, edx
jne 0x4a82b5
jmp 0x4a867c
mov ecx, dword [edx + 0x24]
test ecx, ecx
cmovne esi, edx
jmp 0x4a76dc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.zsh.exe_insertlinknode
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x18], eax
jmp 0x4a7f23
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.zsh.exe_insertlinknode
mov eax, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
jmp 0x4a8265
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x4a82b5
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
jmp 0x4a82f2
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
test eax, eax
jns 0x4a8090
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], eax
jmp 0x4a892c
mov eax, dword [esp + 0x20]
test eax, eax
js 0x4a8920
mov dword [esp + 0x54], eax
jmp 0x4a7f3b
mov edx, dword [esi + 0x2c]
cmp eax, edx
jge 0x4a7983
add edx, dword [esi + 0x30]
sar edx, 1
sub edx, eax
cmp eax, 1
setle cl
shl edx, cl
sub ebp, edx
jmp 0x4a7983
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, dword [ecx + 0x1c]
mov ecx, dword [sym.zsh.exe_zlemetacs]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x4a8783
mov dword [esp + 0x24], edi
mov edi, ecx
jmp 0x4a8774
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 0x1c], edx
call sub.cygwin1.dll_strlen
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, dword [edx + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], ebx
sub ecx, esi
mov dword [esp + 4], 1
sub eax, ecx
add edi, ebx
mov dword [esp], edx
mov dword [sym.zsh.exe_zlemetacs], eax
call sym.zsh.exe_inststrlen
mov ebp, dword [ebp]
add dword [esp + 0x18], ebx
mov dword [sym.zsh.exe_zlemetacs], edi
test ebp, ebp
je 0x4a877d
mov esi, dword [ebp + 0x14]
cmp esi, dword [esp + 0x10]
jle 0x4a8720
mov ecx, edi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4a8a1a
mov dword [esp + 0x24], ebp
mov ebp, ecx
jmp 0x4a87fb
mov edx, dword [edi + 8]
mov dword [esp], edx
mov dword [esp + 0x1c], edx
call sub.cygwin1.dll_strlen
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
sub ecx, esi
sub eax, ecx
test edx, edx
mov ecx, eax
mov dword [sym.zsh.exe_zlemetacs], eax
cmovns ecx, edx
mov edx, dword [esp + 0x1c]
add ebp, ebx
mov dword [esp], edx
mov dword [esp + 0x20], ecx
call sym.zsh.exe_inststrlen
mov edi, dword [edi + 4]
add dword [esp + 0x18], ebx
mov dword [sym.zsh.exe_zlemetacs], ebp
test edi, edi
je 0x4a8804
mov esi, dword [edi + 0x14]
cmp esi, dword [esp + 0x10]
jle 0x4a8798
mov eax, dword [esp + 0x18]
mov ecx, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x4a7ef0
mov eax, ebx
mov esi, ebx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x4a89bd
xor edi, edi
mov eax, dword [esp + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 8], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
jmp 0x4a76fd
mov dword [edx], 0
test edi, edi
jne 0x4a77a2
jmp 0x4a778e
mov eax, dword [sym.zsh.exe_lastbrend]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a8a0d
mov ebx, dword [sym.zsh.exe_brend]
test ebx, ebx
je 0x4a788d
mov eax, dword [0x529068]
mov dword [esp + 0x10], eax
jmp 0x4a780e
mov dword [esp + 0x18], ecx
jmp 0x4a7f3b
mov edi, dword [esi + 0x1c]
test edi, edi
jne 0x4a8962
mov eax, dword [esi + 4]
test al, 1
je 0x4a76fd
test al, 0x80
je 0x4a88dc
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4a76fd
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4a76fd
mov ebp, dword [esi + 0x10]
test ebp, ebp
je 0x4a8a2b
cmp dword [esi + 0x14], 2
setle al
test al, al
je 0x4a76fd
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
jmp 0x4a76fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x60]
test edx, edx
jns 0x4a8090
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
test eax, eax
jns 0x4a8090
mov eax, dword [esp + 0x4c]
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x54], eax
jmp 0x4a8090
test eax, eax
jne 0x4a7928
xor edi, edi
jmp 0x4a76fd
mov dword [esp], ebx
call fcn.004a1c10
cmp eax, dword [ebx + 0x2c]
je 0x4a7765
test edi, edi
jne 0x4a77a2
jmp 0x4a778e
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
jmp 0x4a7f06
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004a1ce0
mov eax, dword [esp + 0x14]
mov edx, esi
add edx, dword [eax + 0x2c]
mov eax, dword [eax]
test eax, eax
jne 0x4a89d7
mov eax, dword [0x528f90]
mov esi, edx
mov edx, 0x55555556
lea ecx, [eax + eax]
mov eax, ecx
sar ecx, 0x1f
imul edx
sub edx, ecx
cmp esi, edx
jg 0x4a76fd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x4a8831
mov dword [esp + 0x20], 0xffffffff
jmp 0x4a79dd
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x4a7ef0
cmp dword [esi + 0xc], 2
setle al
jmp 0x4a88ee