Function at 0x50e2f0
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 0x50e8ed
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ebx, dword [eax + 0x5c]
mov edx, dword [eax + 0x60]
mov ecx, dword [esp + 0x84]
cmp ecx, ebx
jg 0x50e32f
cmp ecx, edx
ja 0x50e8e7
mov dword [eax + 0x5c], ecx
jmp 0x50e3cd
mov ebp, ecx
sub ecx, ebx
test ecx, ecx
jl 0x50e8e2
mov ebx, dword [eax + 0x58]
cmp ebp, edx
jbe 0x50e376
mov dword [esp + 0x3c], ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x550e00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x58], edx
sub ebp, ecx
add ebp, ebx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym.runtime.memclrNoHeapPointers
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x5c], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x60], eax
mov eax, dword [0x6ddfe0]
test eax, eax
jne 0x50e3b7
mov eax, dword [esp + 0x78]
jmp 0x50e3c8
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov edx, dword [ecx + 0x58]
mov dword [edi + 4], edx
mov dword [ecx + 0x58], eax
mov eax, ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x58]
mov esi, dword [eax + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x50e4ee
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp dword [0x688198], ecx
jne 0x50e454
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x20]
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 0x50e44c
mov eax, dword [0x6881a0]
mov edx, dword [0x6881a4]
jmp 0x50e454
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], eax
cmp dword [0x688198], eax
jne 0x50e48d
mov ecx, dword [0x68819c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x50e48d
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
jmp 0x50e4dc
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x50e4c8
mov ecx, dword [esp + 0x64]
jmp 0x50e4d3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x6c], edx
mov ebx, dword [eax + 0x60]
mov dword [esp + 0x54], ebx
mov dword [eax + 0x20], 0
mov ebp, dword [eax + 0x64]
mov esi, dword [eax + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], esi
call sym.internal_zstd._Reader_.readLiterals
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x50e8c8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x80]
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x6c], eax
mov esi, dword [0x6ddfe0]
test esi, esi
je 0x50e58b
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [ebp + 0x64]
mov dword [edi + 4], esi
mov dword [esp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [esp], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov esi, dword [esp + 0x54]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call sym.internal_zstd._Reader_.initSeqs
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50e8ae
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x50e84d
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
cmp ecx, eax
jl 0x50e77f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x50e6b1
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx + eax]
mov esi, dword [ecx + 0x1c]
cmp edx, ebp
jae 0x50e63b
mov dword [esp + 0x5c], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x550e00]
mov dword [esp + 0x10], ecx
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x78], esi
lea ecx, [esi + ebx]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x24], eax
mov eax, dword [0x6ddfe0]
test eax, eax
jne 0x50e683
mov eax, dword [esp + 0x78]
jmp 0x50e694
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
lea eax, [0x555b00]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [eax + 4], 0x1c
lea ecx, [0x58944b]
mov dword [eax], ecx
lea ecx, [0x5b76e0]
cmp dword [0x688198], ecx
jne 0x50e70f
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 0x50e70f
lea ecx, [0x5b76e0]
mov eax, dword [esp + 0x74]
jmp 0x50e76d
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x38]
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 0x50e759
mov ecx, dword [esp + 0x74]
jmp 0x50e764
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
lea eax, [0x555b00]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov dword [eax + 4], 0x22
lea ecx, [0x58ae3d]
mov dword [eax], ecx
lea ecx, [0x5b76e0]
cmp dword [0x688198], ecx
jne 0x50e7dd
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 0x50e7dd
lea ecx, [0x5b76e0]
mov eax, dword [esp + 0x70]
jmp 0x50e83b
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x38]
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 0x50e827
mov ecx, dword [esp + 0x70]
jmp 0x50e832
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call sym.internal_zstd._Reader_.execSeqs
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
call sym.runtime.panicmakeslicelen
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.compressedBlock