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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x4a4dc4
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x94], 1
test eax, eax
je 0x4a4e16
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x77], 0
mov dword [esp + 0xa8], 0
test ecx, ecx
je 0x4a60b8
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
add eax, eax
mov dword [esp + 0x60], 0
mov esi, edi
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xa0], 0
test eax, eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x38]
sete byte [esp + 0xb2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x88], eax
jmp 0x4a4968
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x94]
add dword [esp + 0xe0], eax
mov eax, 2
add dword [esp + 0xe4], edx
sub esi, 1
add dword [esp + 0x68], 1
add dword [esp + 0x60], eax
sub dword [esp + 0x24], eax
add dword [esp + 0x88], 1
add dword [esp + 0x84], 1
add dword [esp + 0xa0], eax
cmp byte [esp + 0x77], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
jne 0x4a5e70
test esi, esi
je 0x4a4c57
lea esi, [esi]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a49df
cmp byte [esp + 0xb2], 0
je 0x4a49df
mov ebp, dword [esp + 0xfc]
test ebp, ebp
je 0x4a4990
mov edi, dword [esp + 0xf8]
test edi, edi
je 0x4a49df
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xe0]
movzx eax, byte [eax + ecx]
cmp byte [edx + ecx], al
je 0x4a5c28
cmp al, 0x5c
jne 0x4a49df
cmp dword [esp + 0x24], 1
jle 0x4a49df
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x9c]
movzx eax, byte [eax]
cmp byte [ecx + edx + 1], al
je 0x4a48f6
movzx eax, byte [esp + 0x8c]
xor eax, 1
mov byte [esp + 0xb3], al
mov eax, dword [sym.zsh.exe_mstack]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4a4f34
mov eax, dword [esp + 0x68]
or eax, dword [esp + 0x60]
mov ebp, esi
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 4]
test edi, edi
je 0x4a4f20
mov esi, dword [esp + 0x28]
test esi, esi
setne byte [esp + 0x2c]
jmp 0x4a4a73
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
mov ebx, dword [edi + 0x20]
and eax, 2
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
je 0x4a4fd0
lea eax, [edx + ebx]
mov dword [esp + 0x40], eax
cmp ebp, eax
jl 0x4a4a68
cmp dword [esp + 0x24], ebx
jge 0x4a5550
lea esi, [esi]
mov edi, dword [edi + 4]
test edi, edi
je 0x4a4f20
cmp dword [esp + 0x28], edi
sete al
and al, byte [esp + 0x2c]
mov byte [esp + 0x30], al
jne 0x4a4a68
cmp ebp, dword [esp + 0x34]
je 0x4a4ed0
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x24], ecx
je 0x4a4ed0
mov ebx, dword [edi + 0x18]
test ebx, ebx
js 0x4a4a30
mov esi, dword [edi + 0x10]
cmp ebx, dword [esp + 0x24]
jg 0x4a4a68
cmp esi, ebp
jg 0x4a4a68
mov ecx, dword [edi + 8]
test cl, 6
jne 0x4a4ac0
cmp ebx, esi
je 0x4a54c0
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x4a5508
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x30], edx
test cl, 2
jne 0x4a5390
test cl, 4
jne 0x4a53f0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a4a68
cmp byte [esp + 0x77], 0
mov esi, ebp
mov ebp, edi
je 0x4a5888
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0x90]
test edx, edx
je 0x4a5bb4
cmp eax, dword [esp + 0xe4]
mov eax, dword [esp + 0xf4]
mov dword [esp + 4], eax
jae 0x4a601c
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp], eax
mov eax, edi
call fcn.004a09e0
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, ebp
mov dword [esp], ebx
mov edx, edi
call fcn.004a4650
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0xe4], ebx
add dword [esp + 0x68], eax
add dword [esp + 0x60], edx
sub esi, eax
sub dword [esp + 0x24], edx
add dword [esp + 0x88], eax
mov dword [esp + 0xe0], edi
mov ebx, dword [esp + 0xa8]
test ebx, ebx
je 0x4a58c8
mov edx, dword [0x529064]
mov ecx, dword [0x529110]
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0xec]
jmp 0x4a4c0f
add eax, ecx
sub eax, edi
add eax, ebp
mov dword [ebx + 0x14], eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x4a4c1c
mov eax, dword [ebx + 0x10]
test edx, edx
cmove eax, dword [ebx + 0xc]
cmp eax, edi
jle 0x4a4c00
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x90], eax
test esi, esi
jne 0x4a4968
mov ebx, dword [esp + 0xf8]
test ebx, ebx
jne 0x4a60b8
mov ebx, dword [esp + 0xf0]
test ebx, ebx
je 0x4a4ca5
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xf4]
sub eax, esi
mov edx, esi
sub edx, dword [esp + 0xe4]
test ecx, ecx
cmovne eax, edx
mov edx, dword [esp + 0x60]
sub edx, eax
mov eax, dword [esp + 0xf0]
mov dword [eax], edx
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4a4d8f
mov edx, dword [0x52910c]
test edx, edx
je 0x4a4d8f
mov eax, dword [edx + 0x24]
test eax, eax
je 0x4a619e
mov eax, dword [sym.zsh.exe_freecl]
test eax, eax
je 0x4a62a7
mov ecx, dword [eax]
mov dword [sym.zsh.exe_freecl], ecx
mov dword [eax + 0x24], 0
mov ecx, dword [edx + 0x24]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 4], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x2c], 0
mov dword [eax], edx
test ecx, ecx
je 0x4a61bf
mov dword [eax + 0x24], 1
mov ecx, dword [edx + 0x24]
xor esi, esi
mov dword [0x52910c], eax
jmp 0x4a4d6d
test esi, esi
je 0x4a4d78
mov ebx, dword [edx]
mov dword [eax + 0x28], ecx
test ebx, ebx
je 0x4a4d81
mov ecx, dword [ebx + 0x24]
mov esi, dword [edx + 0x28]
mov eax, edx
mov edx, ebx
test ecx, ecx
jne 0x4a4d56
mov ecx, dword [edx + 0x28]
test esi, esi
jne 0x4a4d5a
mov ebx, dword [edx]
mov dword [eax + 0x24], ecx
test ebx, ebx
jne 0x4a4d63
mov dword [edx + 0x28], 0
mov dword [edx + 0x24], 0
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0xa8]
mov dword [eax], esi
mov eax, dword [esp + 0xfc]
test eax, eax
mov eax, dword [esp + 0x60]
cmovne eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x4a4e00
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x34]
mov dword [esp + 0x94], 0xffffffff
add dword [esp + 0xe0], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0xe4], eax
jmp 0x4a4854
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x94], 0xffffffff
mov eax, dword [0x529118]
test eax, eax
je 0x4a4e22
mov byte [eax], 0
mov eax, dword [esp + 0xe8]
mov dword [0x529110], 0
mov dword [0x529100], 0
mov dword [0x529104], 0
mov eax, dword [eax]
mov dword [0x529108], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xf4]
mov dword [0x52910c], 0
test eax, eax
jne 0x4a60cf
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4a4e96
mov esi, dword [esp + 0xec]
cmp dword [eax + 0xc], esi
jg 0x4a4e96
mov dword [eax + 0x14], esi
mov eax, dword [eax]
mov dword [esp + 0xa8], eax
mov edx, dword [esp + 0x34]
mov byte [esp + 0x77], 1
test edx, edx
jne 0x4a4870
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x90], eax
jmp 0x4a4c66
cmp dword [esp + 0xf8], 1
je 0x4a4f00
mov ebx, dword [esp + 0xf8]
test ebx, ebx
je 0x4a4a9c
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jne 0x4a4a9c
mov edx, dword [edi + 0x24]
test edx, edx
jne 0x4a4a9c
nop
mov ebx, dword [edi + 0x18]
test ebx, ebx
jns 0x4a4aa3
mov edi, dword [edi + 4]
test edi, edi
jne 0x4a4a73
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x4a4a13
mov esi, ebp
mov ebp, dword [esp + 0xf4]
test ebp, ebp
jne 0x4a5904
cmp byte [esp + 0x77], 0
jne 0x4a5904
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4a60ea
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a610b
mov edx, dword [esp + 0xfc]
test edx, edx
jne 0x4a610b
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x94]
add esi, eax
mov dword [esp + 0xa0], 0
sub dword [esp + 0x68], eax
sub dword [esp + 0x88], eax
imul eax, edx
sub dword [esp + 0xe0], eax
mov eax, ecx
imul eax, edx
sub dword [esp + 0x60], ecx
add dword [esp + 0x24], ecx
sub dword [esp + 0xe4], eax
mov dword [esp + 0x84], 0
jmp 0x4a49f1
mov eax, dword [esp + 0x3c]
add eax, esi
mov dword [esp + 0x40], eax
cmp ebp, eax
jl 0x4a4a68
cmp dword [esp + 0x24], esi
jl 0x4a4a68
mov eax, dword [edi + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4a5710
mov eax, esi
mov dword [esp + 0x44], 1
neg eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a4a68
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a55a0
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0xe0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x5c], ecx
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a4a68
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a5106
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], 0
add edx, dword [esp + 0xe4]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x64], edx
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a4a68
test ebx, ebx
mov edx, dword [esp + 0x64]
je 0x4a50e9
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x54]
cmp eax, ebx
jge 0x4a5d64
mov eax, dword [esp + 0xfc]
mov ecx, esi
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
call fcn.004a62e0
test eax, eax
je 0x4a4a68
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x4a55da
mov byte [esp + 0xb1], 0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x6c], edi
sub eax, esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
sub ecx, esi
mov dword [esp + 0x78], ebx
mov edi, ecx
add eax, ebx
mov dword [esp + 0xac], ecx
xor ebx, ebx
sub edx, eax
mov eax, esi
mov esi, dword [esp + 0x94]
neg eax
mov ebp, edx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x5c], eax
movzx eax, byte [esp + 0x44]
xor eax, 1
mov byte [esp + 0xb0], al
jmp 0x4a5207
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea edx, [eax + ebp]
mov eax, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x80], edx
call sym.zsh.exe_pattern_match
mov edx, dword [esp + 0x80]
test eax, eax
je 0x4a51f0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4a57aa
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x4c]
add eax, ebx
cmp dword [esp + 0x78], eax
jle 0x4a5774
lea esi, [esi]
add dword [esp + 0x5c], esi
lea eax, [ebx + 1]
add ebp, esi
add edi, esi
cmp dword [esp + 0x64], ebx
je 0x4a5830
mov ebx, eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a5190
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a52a0
cmp byte [esp + 0x77], 0
jne 0x4a52a0
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a52a0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a51f0
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x54]
add eax, ebx
cmp eax, dword [esp + 0x78]
jl 0x4a51f0
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x78]
mov dword [esp + 0xc], 0
add eax, dword [esp + 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
jne 0x4a51f0
lea esi, [esi]
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4a5db0
movzx edx, byte [edi]
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe0]
sub ecx, dword [esp + 0x24]
sub eax, dword [esp + 0x7c]
test dl, dl
mov byte [esp + 0x80], dl
jne 0x4a5600
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x18], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004a47f0
test eax, eax
jne 0x4a5657
lea esi, [esi]
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x18], 0xffffffff
jne 0x4a51f0
cmp byte [esp + 0xb0], 0
je 0x4a51f0
mov ebp, dword [esp + 0x7c]
mov edi, eax
lea esi, [esi]
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4a4a68
cmp byte [esp + 0xb1], 0
je 0x4a4a68
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0xe0]
movzx ecx, byte [esp + 0xb1]
neg eax
mov byte [esi + eax], cl
jmp 0x4a4a68
mov ebx, dword [edi + 0x20]
cmp ebx, eax
jg 0x4a4a68
mov eax, dword [edi + 0x28]
lea edx, [ebx + eax]
cmp edx, dword [esp + 0x44]
jg 0x4a4a68
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4a583d
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
sub eax, ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.zsh.exe_pattern_match
test eax, eax
jne 0x4a5cb0
mov ecx, dword [edi + 8]
test cl, 4
je 0x4a4a68
mov esi, dword [edi + 0x10]
nop
mov eax, dword [edi + 0x28]
lea edx, [eax + esi]
cmp edx, dword [esp + 0x40]
jg 0x4a4a68
add eax, dword [edi + 0x18]
add eax, dword [edi + 0x20]
cmp eax, dword [esp + 0x48]
jg 0x4a4a68
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4a5950
add esi, dword [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a4a68
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 0
add eax, dword [edi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x24]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a4a68
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4a4b0f
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
add eax, dword [edi + 0x28]
sub edx, eax
mov eax, dword [edi + 0x18]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
jne 0x4a4b0f
jmp 0x4a4a68
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x30], ecx
mov dword [esp + 8], esi
test eax, eax
mov eax, dword [esp + 0xe4]
je 0x4a58e0
sub eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe0]
sub eax, esi
mov dword [esp], eax
call sub.cygwin1.dll_strncmp
mov ecx, dword [esp + 0x30]
test eax, eax
je 0x4a4a68
lea esi, [esi]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0x24]
sub eax, esi
sub edx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x68]
sub eax, ebx
add ebx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
add edx, esi
mov eax, ebp
mov dword [esp + 0x40], edx
sub eax, esi
mov dword [esp + 0x48], ebx
jmp 0x4a4afd
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x4a5730
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], 0
add eax, ebx
mov dword [esp + 0x44], 1
mov dword [esp + 0x58], eax
mov eax, ebx
mov ebx, esi
mov esi, eax
jmp 0x4a5028
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a4a68
mov eax, dword [edi + 8]
test al, 8
je 0x4a5760
test al, 1
je 0x4a5988
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x4a4a68
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4a5115
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0x40]
movzx ecx, byte [eax]
mov byte [esp + 0xb1], cl
test cl, cl
je 0x4a511d
mov byte [eax], 0
jmp 0x4a511d
mov edx, dword [esp + 0xfc]
mov byte [edi], 0
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004a47f0
movzx edx, byte [esp + 0x80]
mov byte [edi], dl
test eax, eax
je 0x4a5328
cmp byte [esp + 0xb1], 0
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0xa4]
je 0x4a568c
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0xe0]
movzx ecx, byte [esp + 0xb1]
neg eax
mov byte [esi + eax], cl
movzx eax, byte [esp + 0x77]
mov byte [esp + 0x30], al
test al, al
jne 0x4a59bf
mov esi, dword [esp + 0x28]
add esi, ebx
mov eax, dword [esp + 0x40]
sub dword [esp + 0xe0], eax
sub dword [esp + 0xe4], esi
mov edx, dword [esp + 0x40]
add edx, dword [esp + 0x88]
cmp byte [esp + 0x77], 0
jne 0x4a5cfd
mov eax, dword [esp + 0x40]
or eax, esi
mov dword [esp + 0x84], eax
jne 0x4a5b7f
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x4a5e40
mov dword [esp + 0x28], edi
mov esi, ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 1
jmp 0x4a4c36
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
jmp 0x4a5028
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], 0
neg eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, ebx
mov ebx, esi
mov esi, eax
jmp 0x4a5028
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x4a4a68
jmp 0x4a5106
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x80], edx
call sym.zsh.exe_pattern_match
mov edx, dword [esp + 0x80]
test eax, eax
je 0x4a51f0
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0xe0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x18], 0xffffffff
je 0x4a5807
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xbc], edx
mov dword [esp], eax
mov eax, dword [esp + 0x80]
call fcn.004a62e0
mov edx, dword [esp + 0xbc]
test eax, eax
je 0x4a51f0
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x18], 0xffffffff
jne 0x4a52a0
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
call fcn.004a62e0
test eax, eax
jne 0x4a52a0
lea esi, [esi]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
jmp 0x4a5350
mov ebx, dword [esp + 0xf4]
mov edx, ecx
and edx, 4
test ebx, ebx
jne 0x4a587b
test cl, 8
je 0x4a5870
test cl, 1
je 0x4a607b
mov ebx, dword [esp + 0x60]
test ebx, ebx
jne 0x4a587b
test edx, edx
jne 0x4a53f3
jmp 0x4a4b0f
mov ebx, dword [esp + 0x98]
test ebx, ebx
je 0x4a5863
test edx, edx
jne 0x4a53f3
jmp 0x4a4a68
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
mov edi, dword [esp + 0xf4]
add dword [esp + 0x88], eax
sub dword [esp + 0x24], edx
sub esi, eax
add dword [esp + 0x68], eax
add dword [esp + 0x60], edx
test edi, edi
je 0x4a5999
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xe0], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
jmp 0x4a4c36
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call sub.cygwin1.dll_strncmp
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x4a4acf
jmp 0x4a4a68
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4a5c42
mov ebp, dword [esp + 0xf8]
mov edi, esi
test ebp, ebp
jne 0x4a60ec
mov esi, dword [esp + 0xfc]
test esi, esi
jne 0x4a4c66
test edi, edi
je 0x4a4c66
call fcn.004a1a80
mov dword [esp + 0x68], 0xffffffff
jmp 0x4a4db5
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4a4a68
test cl, 8
je 0x4a5ee5
and ecx, 1
je 0x4a6094
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4a4b0f
jmp 0x4a4a68
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x4a4a68
jmp 0x4a5106
add dword [esp + 0xe0], eax
add dword [esp + 0xe4], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x28], 0
jmp 0x4a4c36
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x4a59d5
cmp byte [esp + 0xb3], 0
je 0x4a5b57
mov eax, dword [edi + 8]
mov edx, eax
and edx, 2
cmp byte [esp + 0x30], 0
je 0x4a5ef9
mov esi, dword [esp + 0x90]
sub esi, dword [esp + 0xe4]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xe0]
sub esi, dword [esp + 0x40]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x5c]
add ecx, esi
test edx, edx
cmove esi, ecx
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0xac]
cmovne esi, ecx
mov dword [esp + 0xac], esi
test al, 1
jne 0x4a60a5
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
lea esi, [ebx + edx]
add eax, edx
xor edx, edx
add eax, ebx
mov dword [esp], eax
xor eax, eax
call fcn.004a09e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov dword [esp], ebx
add ecx, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
mov edx, ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, edi
call fcn.004a4410
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 4], edx
xor edx, edx
mov dword [esp], eax
xor eax, eax
call fcn.004a4650
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
jmp 0x4a56ae
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0xf4]
xor edx, edx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], esi
call fcn.004a09e0
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
xor eax, eax
call fcn.004a09e0
mov edx, dword [esp + 0x90]
mov ecx, esi
xor eax, eax
mov dword [esp + 4], esi
mov dword [esp], edx
xor edx, edx
call fcn.004a4650
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 4], eax
mov ecx, eax
xor eax, eax
mov dword [esp], esi
call fcn.004a4650
mov esi, dword [esp + 0x28]
add esi, ebx
cmp byte [esp + 0x30], 0
jne 0x4a56a3
mov eax, dword [esp + 0x40]
add dword [esp + 0xe4], esi
add dword [esp + 0xe0], eax
jmp 0x4a56b5
mov ecx, dword [esp + 0x40]
mov ebx, esi
mov esi, ebp
add dword [esp + 0x68], ecx
sub dword [esp + 0x24], ebx
add dword [esp + 0x60], ebx
sub esi, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
jmp 0x4a4c36
cmp eax, dword [esp + 0xe4]
mov dword [esp + 4], 0
jbe 0x4a5fcf
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp], eax
mov eax, edi
call fcn.004a09e0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, ebp
call fcn.004a4650
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
add dword [esp + 0xe0], eax
add dword [esp + 0xe4], edx
sub esi, eax
add dword [esp + 0x68], eax
add dword [esp + 0x60], edx
sub dword [esp + 0x24], edx
add dword [esp + 0x88], eax
jmp 0x4a4bd2
mov eax, dword [esp + 0x94]
add dword [esp + 0xe0], eax
mov edx, eax
mov eax, 1
jmp 0x4a4910
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xe0]
movzx eax, byte [eax + edx]
cmp byte [ebx + edx], al
je 0x4a61d0
cmp al, 0x5c
jne 0x4a4f5a
cmp ecx, 1
jle 0x4a4f5a
mov ecx, dword [esp + 0xe4]
movzx eax, byte [ebx]
cmp byte [ecx + edx + 1], al
jne 0x4a4f5a
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xb8]
add dword [esp + 0xe0], eax
mov eax, 2
jmp 0x4a61e5
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 0
sub eax, dword [edi + 0x20]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
test eax, eax
je 0x4a53e0
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4a6131
mov ecx, dword [edi + 8]
test cl, 4
je 0x4a4b0f
mov esi, dword [edi + 0x10]
jmp 0x4a53f3
mov eax, dword [esp + 0xa8]
mov ecx, dword [0x529064]
mov ebx, dword [0x529110]
test eax, eax
je 0x4a5fbf
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0xa8]
jmp 0x4a5d43
add eax, ebx
sub eax, edx
add eax, ebp
mov dword [edi + 0x14], eax
mov edi, dword [edi]
test edi, edi
je 0x4a5fb7
mov eax, dword [edi + 0x10]
test ecx, ecx
cmove eax, dword [edi + 0xc]
cmp eax, edx
jle 0x4a5d30
mov dword [esp + 0xa8], edi
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x4a56cb
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
sub eax, ebx
add eax, dword [esp + 0xe4]
mov dword [esp + 0x64], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
mov edx, dword [esp + 0x64]
test eax, eax
jne 0x4a50e9
jmp 0x4a4a68
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], 0
add eax, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 0
add eax, ecx
add eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.004a47f0
test eax, eax
je 0x4a5328
cmp byte [esp + 0x77], 0
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0xa4]
jne 0x4a59bf
mov esi, dword [esp + 0x28]
add esi, ebx
jmp 0x4a5b68
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x4a4a13
jmp 0x4a4f32
mov ebx, dword [esp + 0xa8]
test ebx, ebx
je 0x4a495c
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe4]
add edx, dword [0x529110]
sub eax, dword [esp + 0x90]
add edx, eax
mov ecx, dword [0x529064]
mov edi, dword [esp + 0x88]
mov eax, ebx
jmp 0x4a5eb9
mov dword [eax + 0x14], edx
mov eax, dword [eax]
test eax, eax
je 0x4a5ec6
mov ebx, dword [eax + 0x10]
test ecx, ecx
cmove ebx, dword [eax + 0xc]
cmp ebx, edi
jle 0x4a5eb0
mov dword [esp + 0xa8], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
jmp 0x4a495c
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4a4b0f
jmp 0x4a4a68
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0xe4]
sub esi, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], esi
test edx, edx
je 0x4a5f2d
mov esi, dword [esp + 0xe4]
add esi, ebx
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0xe4]
mov dword [esp + 0x5c], esi
test al, 1
jne 0x4a5ad8
mov esi, dword [esp + 0x2c]
add esi, dword [esp + 0x28]
mov dword [esp + 4], 0
xor edx, edx
lea eax, [esi + ebx]
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
xor eax, eax
call fcn.004a09e0
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4a6172
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp], ebx
add edx, dword [esp + 0xe0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, edi
call fcn.004a4410
mov esi, dword [esp + 0x28]
add esi, ebx
jmp 0x4a5b68
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xa8], 0
jmp 0x4a56cb
mov ebx, dword [esp + 0xe4]
mov edi, eax
mov ecx, eax
xor edx, edx
sub ebx, eax
xor eax, eax
mov dword [esp], ebx
call fcn.004a09e0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
mov eax, ebp
call fcn.004a09e0
mov dword [esp + 4], ebx
xor ecx, ecx
xor edx, edx
mov dword [esp], edi
xor eax, eax
call fcn.004a4650
jmp 0x4a5bde
mov ebx, dword [esp + 0x90]
sub ebx, dword [esp + 0xe4]
xor edx, edx
xor eax, eax
mov dword [esp], ebx
mov ecx, dword [esp + 0xe4]
call fcn.004a09e0
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
mov eax, edi
call fcn.004a09e0
mov eax, dword [esp + 0xe4]
xor ecx, ecx
xor edx, edx
mov dword [esp + 4], ebx
mov dword [esp], eax
xor eax, eax
call fcn.004a4650
jmp 0x4a4b8b
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x4a587b
test edx, edx
jne 0x4a53f3
jmp 0x4a4b0f
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x4a4b0f
jmp 0x4a4a68
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x90], eax
jmp 0x4a5ae3
mov dword [esp + 0x68], 1
mov eax, dword [esp + 0x68]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x34]
add dword [esp + 0xe0], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0xe4], eax
jmp 0x4a4e73
mov edi, esi
test edi, edi
mov edi, dword [esp + 0xfc]
sete al
test edi, edi
setne dl
or eax, edx
movzx eax, al
mov dword [esp + 0x68], eax
jmp 0x4a4db5
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x4a5938
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x68]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
add eax, dword [edi + 0x20]
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [edi + 0x24]
mov dword [esp], eax
call sym.zsh.exe_pattern_match
mov ecx, dword [edi + 8]
test eax, eax
je 0x4a53e3
test cl, 4
je 0x4a4b0f
jmp 0x4a53ec
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], ecx
call fcn.004a4650
mov dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 0x28]
jmp 0x4a5f67
mov esi, dword [edx + 0x28]
test esi, esi
jne 0x4a4ccd
mov ebx, dword [edx]
test ebx, ebx
je 0x4a4d81
mov eax, edx
mov ecx, dword [ebx + 0x24]
mov edx, ebx
jmp 0x4a4d6d
mov dword [eax + 0x28], 1
mov esi, 1
jmp 0x4a4d4f
mov eax, dword [esp + 0x94]
add dword [esp + 0xe0], eax
mov edx, eax
mov eax, 1
add dword [esp + 0xe4], edx
sub esi, 1
add dword [esp + 0x68], 1
add dword [esp + 0x60], eax
sub dword [esp + 0x24], eax
add dword [esp + 0x88], 1
cmp byte [esp + 0x77], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
je 0x4a495c
mov ebx, dword [esp + 0xa8]
test ebx, ebx
je 0x4a495c
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0xe4]
mov edi, dword [esp + 0xf4]
mov edx, dword [0x529064]
sub eax, ecx
sub ecx, dword [esp + 0xe4]
test edi, edi
cmovne eax, ecx
mov ecx, dword [esp + 0xec]
add ecx, dword [0x529110]
add eax, ecx
mov ecx, ebx
jmp 0x4a6276
mov dword [ecx + 0x14], eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x4a62be
mov ebx, dword [ecx + 0x10]
test edx, edx
cmove ebx, dword [ecx + 0xc]
cmp ebx, dword [esp + 0x88]
jle 0x4a626d
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x8c], 0
jmp 0x4a495c
mov dword [esp], 0x34
call sym.zsh.exe_zhalloc
mov edx, dword [0x52910c]
jmp 0x4a4ce2
mov dword [esp + 0x28], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0x8c], 0
jmp 0x4a495c