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

Disassembly:
mov ecx, dword [0x5c5164]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a96fd
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 0x4a913f
cmp ecx, edx
ja 0x4a96f7
mov dword [eax + 0x5c], ecx
jmp 0x4a91dd
mov ebp, ecx
sub ecx, ebx
test ecx, ecx
jl 0x4a96f2
mov ebx, dword [eax + 0x58]
cmp ebp, edx
jbe 0x4a9186
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, [0x4d8400]
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 [0x5c5260]
test eax, eax
jne 0x4a91c7
mov eax, dword [esp + 0x78]
jmp 0x4a91d8
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 0x4a92fe
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp dword [0x59be78], ecx
jne 0x4a9264
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x20]
mov edx, dword [0x59be7c]
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 0x4a925c
mov eax, dword [0x59be80]
mov edx, dword [0x59be84]
jmp 0x4a9264
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], eax
cmp dword [0x59be78], eax
jne 0x4a929d
mov ecx, dword [0x59be7c]
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 0x4a929d
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
jmp 0x4a92ec
lea eax, [0x4de980]
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 [0x5c5260]
test ecx, ecx
jne 0x4a92d8
mov ecx, dword [esp + 0x64]
jmp 0x4a92e3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x514c0c]
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 0x4a96d8
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 [0x5c5260]
test esi, esi
je 0x4a939b
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 0x4a96be
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4a965d
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
cmp ecx, eax
jl 0x4a958f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a94c1
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 0x4a944b
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, [0x4d8400]
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 [0x5c5260]
test eax, eax
jne 0x4a9493
mov eax, dword [esp + 0x78]
jmp 0x4a94a4
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, [0x4db200]
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, [0x4f3357]
mov dword [eax], ecx
lea ecx, [0x5149c8]
cmp dword [0x59be78], ecx
jne 0x4a951f
mov edx, dword [0x59be7c]
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 0x4a951f
lea ecx, [0x5149c8]
mov eax, dword [esp + 0x74]
jmp 0x4a957d
lea eax, [0x4de980]
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, [0x5149c8]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c5260]
test ecx, ecx
jne 0x4a9569
mov ecx, dword [esp + 0x74]
jmp 0x4a9574
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x514c0c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
lea eax, [0x4db200]
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, [0x4f4a5f]
mov dword [eax], ecx
lea ecx, [0x5149c8]
cmp dword [0x59be78], ecx
jne 0x4a95ed
mov edx, dword [0x59be7c]
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 0x4a95ed
lea ecx, [0x5149c8]
mov eax, dword [esp + 0x70]
jmp 0x4a964b
lea eax, [0x4de980]
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, [0x5149c8]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c5260]
test ecx, ecx
jne 0x4a9637
mov ecx, dword [esp + 0x70]
jmp 0x4a9642
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x514c0c]
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