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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4afced
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 0x4af72f
cmp ecx, edx
ja 0x4afce7
mov dword [eax + 0x5c], ecx
jmp 0x4af7cd
mov ebp, ecx
sub ecx, ebx
test ecx, ecx
jl 0x4afce2
mov ebx, dword [eax + 0x58]
cmp ebp, edx
jbe 0x4af776
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, [0x4ea0c0]
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 [0x5efab0]
test eax, eax
jne 0x4af7b7
mov eax, dword [esp + 0x78]
jmp 0x4af7c8
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 0x4af8ee
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp dword [0x5c4a80], ecx
jne 0x4af854
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x20]
mov edx, dword [0x5c4a84]
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 0x4af84c
mov eax, dword [0x5c4a88]
mov edx, dword [0x5c4a8c]
jmp 0x4af854
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], eax
cmp dword [0x5c4a80], eax
jne 0x4af88d
mov ecx, dword [0x5c4a84]
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 0x4af88d
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
jmp 0x4af8dc
lea eax, [0x4f1c20]
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 [0x5efab0]
test ecx, ecx
jne 0x4af8c8
mov ecx, dword [esp + 0x64]
jmp 0x4af8d3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
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 0x4afcc8
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 [0x5efab0]
test esi, esi
je 0x4af98b
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 0x4afcae
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4afc4d
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
cmp ecx, eax
jl 0x4afb7f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4afab1
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 0x4afa3b
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, [0x4ea0c0]
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 [0x5efab0]
test eax, eax
jne 0x4afa83
mov eax, dword [esp + 0x78]
jmp 0x4afa94
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, [0x4edd20]
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, [0x50c149]
mov dword [eax], ecx
lea ecx, [0x530fa4]
cmp dword [0x5c4a80], ecx
jne 0x4afb0f
mov edx, dword [0x5c4a84]
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 0x4afb0f
lea ecx, [0x530fa4]
mov eax, dword [esp + 0x74]
jmp 0x4afb6d
lea eax, [0x4f1c20]
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, [0x530fa4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4afb59
mov ecx, dword [esp + 0x74]
jmp 0x4afb64
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
lea eax, [0x4edd20]
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, [0x50da97]
mov dword [eax], ecx
lea ecx, [0x530fa4]
cmp dword [0x5c4a80], ecx
jne 0x4afbdd
mov edx, dword [0x5c4a84]
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 0x4afbdd
lea ecx, [0x530fa4]
mov eax, dword [esp + 0x70]
jmp 0x4afc3b
lea eax, [0x4f1c20]
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, [0x530fa4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4afc27
mov ecx, dword [esp + 0x70]
jmp 0x4afc32
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
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