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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50ef60
sub esp, 0x5c
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
cmp ecx, eax
jg 0x50e9e4
mov ecx, dword [0x6881a0]
mov dword [esp + 0x44], ecx
mov edx, dword [0x6881a4]
mov dword [esp + 0x54], edx
cmp dword [0x688198], ecx
jne 0x50e96c
mov eax, dword [0x68819c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x50e96c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
jmp 0x50e9c5
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x70]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ebx, ecx
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x50e9b1
mov ecx, dword [esp + 0x54]
jmp 0x50e9bc
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
jbe 0x50ef5a
mov edx, dword [esp + 0x64]
movzx ebx, byte [eax + edx]
lea ebp, [eax + 1]
test bl, bl
je 0x50ef1b
cmp bl, 0x80
jae 0x50ea0a
movzx ebx, bl
jmp 0x50ebe9
mov dword [esp + 0x34], ebp
cmp bl, 0xff
jae 0x50eafa
cmp ecx, ebp
jg 0x50eadc
mov eax, dword [0x6881a0]
mov dword [esp + 0x40], eax
mov ecx, dword [0x6881a4]
mov dword [esp + 0x50], ecx
cmp dword [0x688198], eax
jne 0x50ea64
mov edx, dword [0x68819c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x50ea64
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
jmp 0x50eabd
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x34]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x50eaa9
mov ecx, dword [esp + 0x50]
jmp 0x50eab4
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
jbe 0x50ef53
movzx ebx, bl
add ebx, 0xffffff80
shl ebx, 8
movzx ebp, byte [eax + edx + 1]
add ebx, ebp
lea ebp, [eax + 2]
jmp 0x50ebe9
lea ebx, [eax + 2]
cmp ecx, ebx
jg 0x50ebc2
mov eax, dword [0x6881a0]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x6881a4]
mov dword [esp + 0x4c], ecx
cmp dword [0x688198], eax
jne 0x50eb4a
mov edx, dword [0x68819c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x50eb4a
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
jmp 0x50eba3
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x34]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax], edx
adc ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x50eb8f
mov ecx, dword [esp + 0x4c]
jmp 0x50eb9a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
cmp ecx, ebp
jbe 0x50ef4c
movzx ebp, byte [eax + edx + 1]
cmp ecx, ebx
jbe 0x50ef45
movzx esi, byte [eax + edx + 2]
shl esi, 8
lea ebx, [esi + ebp + 0x7f00]
lea ebp, [eax + 3]
mov dword [esp + 0x30], ebp
cmp ecx, ebp
jg 0x50ecb2
mov eax, dword [0x6881a0]
mov dword [esp + 0x38], eax
mov ecx, dword [0x6881a4]
mov dword [esp + 0x48], ecx
cmp dword [0x688198], eax
jne 0x50ec3a
mov edx, dword [0x68819c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x50ec3a
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
jmp 0x50ec93
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x30]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x50ec7f
mov ecx, dword [esp + 0x48]
jmp 0x50ec8a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
jbe 0x50ef3e
movzx eax, byte [ebp + edx]
test al, 3
je 0x50ed9e
lea eax, [0x555b00]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 0x1f
lea ecx, [0x58a1f1]
mov dword [eax], ecx
lea ecx, [0x5b76e0]
cmp dword [0x688198], ecx
jne 0x50ed24
mov edx, dword [0x68819c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x50ed24
lea ecx, [0x5b76e0]
mov eax, dword [esp + 0x58]
jmp 0x50ed7f
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x30]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax], edx
adc ecx, ebx
mov dword [eax + 4], ecx
lea ecx, [0x5b76e0]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x50ed6b
mov ecx, dword [esp + 0x58]
jmp 0x50ed76
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov byte [esp + 0x2b], al
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
inc ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
shr al, 6
and eax, 3
mov byte [esp + 0x18], al
call sym.internal_zstd._Reader_.setSeqTable
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x50eef4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
movzx eax, byte [esp + 0x2b]
shr al, 4
and eax, 3
mov byte [esp + 0x18], al
call sym.internal_zstd._Reader_.setSeqTable
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x50eecd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
movzx eax, byte [esp + 0x2b]
shr al, 2
and eax, 3
mov byte [esp + 0x18], al
call sym.internal_zstd._Reader_.setSeqTable
mov eax, dword [esp + 0x20]
test eax, eax
je 0x50eea6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
mov eax, ebp
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.initSeqs