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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x78]
call sub.cygwin1.dll___locale_mb_cur_max
imul eax, dword [esp + 0x74]
add eax, 1
mov dword [esp], eax
call sym.zsh.exe_zalloc
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x80], 0x522870
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], 0
sete byte [esp + 0x24]
test esi, esi
jle 0x4df0d0
mov eax, ebx
xor ebp, ebp
sub eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x18], ebp
jmp 0x4ded4f
mov byte [ebp], al
add edi, 1
add esi, 2
cmp ebx, dword [esp + 0x20]
je 0x4dedb2
mov eax, dword [esp + 0x18]
test ebx, ebx
cmove eax, edi
sub ebx, 1
mov dword [esp + 0x18], eax
mov eax, dword [0x529bf0]
test eax, eax
je 0x4ded73
cmp byte [esp + 0x24], 0
jne 0x4dee30
movzx eax, word [esi]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 0x2000]
lea ebp, [ecx + edi]
cmp dx, 0xff
jbe 0x4ded40
lea edx, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebp
call sub.cygwin1.dll_wcrtomb
cmp eax, 0xffffffff
je 0x4deea8
add edi, eax
add esi, 2
cmp ebx, dword [esp + 0x20]
jne 0x4ded4f
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
lea esi, [eax + edi]
mov ebx, dword [esp + 0x20]
mov ecx, dword [0x529bf0]
test ebx, ebx
cmove ebp, dword [esp + 0x18]
test ecx, ecx
je 0x4dede1
cmp byte [esp + 0x24], 0
jne 0x4deec8
mov eax, dword [esp + 0x80]
or eax, dword [esp + 0x7c]
mov byte [esi], 0
jne 0x4def1c
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4defd0
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.zsh.exe_metafy
add esp, 0x5c
mov ebx, eax
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x529bec]
lea edx, [eax + 0x80]
shl ecx, 5
lea ebp, [eax + ecx]
cmp edx, ebp
jae 0x4ded73
mov eax, dword [0x529bf8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], ebx
mov ebx, eax
lea esi, [esi]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 8]
and eax, 1
cmovne eax, ebx
cmp ecx, eax
jne 0x4dee76
lea esi, [ecx + edi]
mov dword [edx + 0xc], esi
sub ecx, 1
mov dword [edx + 8], ecx
mov ecx, dword [edx + 0x10]
cmp ecx, eax
jne 0x4dee88
add eax, edi
mov dword [edx + 0x14], eax
sub ecx, 1
add edx, 0x20
mov dword [edx - 0x10], ecx
cmp edx, ebp
jb 0x4dee60
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x4ded73
mov byte [ebp], 0x3f
add edi, 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x4ded46
mov eax, dword [0x529bec]
lea edx, [ecx + 0x80]
shl eax, 5
add ecx, eax
cmp edx, ecx
jae 0x4def19
mov dword [esp + 0x20], ebp
mov ebx, dword [0x529bf8]
lea esi, [esi]
lea esi, [esi]
mov eax, dword [edx + 0x18]
and eax, 1
cmovne eax, ebx
cmp dword [edx + 8], eax
jne 0x4def04
lea ebp, [eax + edi]
mov dword [edx + 0xc], ebp
cmp dword [edx + 0x10], eax
jne 0x4def0e
add eax, edi
mov dword [edx + 0x14], eax
add edx, 0x20
cmp edx, ecx
jb 0x4deef0
mov ebp, dword [esp + 0x20]
mov byte [esi], 0
mov edi, dword [0x529bf0]
mov ebx, dword [esp + 0x1c]
test edi, edi
lea eax, [ebx + ebp]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
setne al
and al, byte [esp + 0x24]
mov byte [esp + 0x20], al
jne 0x4df018
mov eax, dword [0x529bec]
shl eax, 5
add edi, eax
cmp ebx, esi
jae 0x4df0e9
mov eax, dword [0x529bf8]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov edi, ebx
lea esi, [esi]
movzx edx, byte [eax]
test byte [edx + edx + 0x523921], 0x10
je 0x4def92
cmp eax, dword [esp + 0x28]
adc ebp, 0
cmp byte [esp + 0x20], 0
jne 0x4df060
add edi, 1
add eax, 1
cmp eax, esi
jb 0x4def70
mov esi, edi
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4defaf
mov eax, dword [esp + 0x80]
mov dword [eax], ebp
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4dedf5
mov eax, dword [esp + 0x7c]
mov dword [eax], esi
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4dee04
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 6
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.zsh.exe_metafy
mov ebx, eax
call sub.cygwin1.dll___locale_mb_cur_max
imul eax, dword [esp + 0x74]
mov dword [esp], esi
add eax, 1
mov dword [esp + 4], eax
call sym.zsh.exe_zfree
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x529bec]
mov edi, dword [esp + 0x2c]
shl edx, 5
lea eax, [edi + 0x80]
add edi, edx
cmp eax, edi
jae 0x4df04b
lea esi, [esi]
mov edx, dword [eax + 0xc]
add eax, 0x20
mov dword [eax - 0x18], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0x10], edx
cmp eax, edi
jb 0x4df038
cmp dword [esp + 0x1c], esi
jb 0x4def56
mov esi, dword [esp + 0x18]
jmp 0x4defa6
mov ebx, dword [esp + 0x2c]
lea edx, [ebx + 0x80]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jae 0x4def8f
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x38], edi
mov edi, ebx
lea esi, [esi]
mov ecx, dword [edx + 0x18]
mov ebx, ebp
and ecx, 1
cmovne ecx, esi
sub ebx, ecx
add ebx, dword [edx + 8]
cmp eax, ebx
jae 0x4df0a8
add dword [edx + 0xc], 1
mov ebx, ebp
sub ebx, ecx
add ebx, dword [edx + 0x10]
cmp eax, ebx
jae 0x4df0b7
add dword [edx + 0x14], 1
add edx, 0x20
cmp edx, edi
jb 0x4df090
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
jmp 0x4def8f
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x1c]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], 0
jmp 0x4dedc1
mov esi, dword [esp + 0x18]
jmp 0x4def9b