Function at 0x4b0370
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 0x4b0bf4
sub esp, 0x6c
mov eax, dword [esp + 0x84]
cmp eax, 3
jae 0x4b0be9
imul ebx, eax, 0x1c
mov dword [esp + 0x58], ebx
movzx ebp, byte [esp + 0x88]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
ja 0x4b0703
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4b0430
mov ecx, dword [esp + 0x70]
test byte [ecx], al
lea edx, [eax + eax*2]
lea ebp, [0x5c7360]
mov esi, dword [ebp + ebx + 4]
mov edi, dword [ebp + ebx + 8]
mov eax, dword [ebp + ebx]
mov dword [ecx + edx*4 + 0x74], esi
mov dword [ecx + edx*4 + 0x78], edi
mov esi, dword [0x5efab0]
test esi, esi
je 0x4b03f2
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ecx + edx*4 + 0x70]
mov dword [edi + 4], esi
mov dword [ecx + edx*4 + 0x70], eax
mov eax, dword [ebp + ebx + 0xc]
mov edx, dword [esp + 0x84]
mov byte [ecx + edx + 0x94], al
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x6c
ret
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
cmp ecx, edx
jg 0x4b0501
mov eax, dword [0x5c4a88]
mov dword [esp + 0x40], eax
mov ecx, dword [0x5c4a8c]
mov dword [esp + 0x5c], ecx
cmp dword [0x5c4a80], eax
jne 0x4b0488
mov edx, dword [0x5c4a84]
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 0x4b0488
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
jmp 0x4b04e4
lea eax, [0x4f1c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x80]
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 + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4b04d0
mov ecx, dword [esp + 0x5c]
jmp 0x4b04db
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x6c
ret
jbe 0x4b0be2
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + edx]
mov byte [esp + 0x3b], al
lea ecx, [0x4e9960]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x3b]
mov byte [eax], cl
mov byte [eax + 1], 0
mov word [eax + 2], 0
mov ecx, dword [esp + 0x70]
test byte [ecx], al
mov edx, dword [esp + 0x84]
lea ebx, [edx + edx*2]
mov dword [esp + 0x54], ebx
mov ebp, dword [ecx + ebx*4 + 0xa0]
test ebp, ebp
jne 0x4b05ee
lea ebp, [0x5c7360]
mov esi, dword [esp + 0x58]
mov edi, dword [esi + ebp + 0x14]
test edi, edi
jl 0x4b0bdd
mov dword [esp + 0x68], eax
lea eax, [0x4f6580]
mov dword [esp], eax
mov ecx, edi
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb edx, edx
and eax, edx
mov dword [esp + 0x50], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x70]
mov dword [ebp + edx*4 + 0x9c], ebx
mov dword [ebp + edx*4 + 0xa0], ebx
mov ebx, dword [0x5efab0]
test ebx, ebx
je 0x4b05d6
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [ebp + edx*4 + 0x98]
mov dword [edi + 4], ebx
mov dword [ebp + edx*4 + 0x98], eax
mov eax, dword [esp + 0x68]
mov ecx, ebp
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x54]
lea ebp, [ecx + ebx*4 + 0x98]
cmp dword [ebp + 8], 1
jb 0x4b0bd1
mov dword [ecx + ebx*4 + 0x9c], 1
mov ebp, dword [esp + 0x80]
inc ebp
mov dword [esp + 0x50], ebp
lea esi, [0x5c7360]
mov edi, dword [esp + 0x58]
mov edx, dword [edi + esi + 0x18]
mov esi, dword [edx]
mov edi, dword [ecx + ebx*4 + 0x98]
mov ebx, dword [ecx + ebx*4 + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
call esi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4b06de
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax*4 + 0x9c]
mov ebx, dword [ecx + eax*4 + 0xa0]
mov ebp, dword [ecx + eax*4 + 0x98]
mov dword [ecx + eax*4 + 0x74], edx
mov dword [ecx + eax*4 + 0x78], ebx
mov edx, dword [0x5efab0]
test edx, edx
je 0x4b06a6
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov edx, dword [ecx + eax*4 + 0x70]
mov dword [edi + 4], edx
mov dword [ecx + eax*4 + 0x70], ebp
mov eax, dword [esp + 0x84]
mov byte [ecx + eax + 0x94], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x6c
ret
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x4b0a6d
lea ebp, [0x5c7360]
mov ecx, dword [ebx + ebp + 0x14]
test ecx, ecx
jl 0x4b0bcc
mov esi, dword [esp + 0x70]
mov edi, dword [esi + 0xd4]
mov edx, eax
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb ecx, ecx
and eax, ecx
cmp edi, eax
jge 0x4b07a5
mov dword [esp + 0x54], eax
lea ecx, [0x4f51a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
mov dword [edx + 0xd0], ecx
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
je 0x4b078a
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [edx + 0xcc]
mov dword [edi + 4], ebx
mov dword [edx + 0xcc], eax
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x58]
lea ebp, [0x5c7360]
mov esi, dword [esp + 0x70]
mov ecx, dword [ebx + ebp + 0x14]
test ecx, ecx
jl 0x4b0bc7
mov eax, dword [esi + 0xd4]
mov edi, 1
shl edi, cl
cmp ecx, 0x20
sbb ecx, ecx
and ecx, edi
cmp eax, ecx
jb 0x4b0bc0
mov dword [esi + 0xd0], ecx
mov eax, dword [ebp + ebx + 0x10]
mov edx, dword [ebx + ebp + 0x14]
mov edi, dword [esi + 0xcc]
mov ebx, dword [esi + 0xd4]
mov dword [esp], esi
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
call sym.internal_zstd._Reader_.readFSE
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x4b0a48
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x4b0bbb
mov ebx, dword [esp + 0x70]
mov edx, dword [ebx + 0xd4]
mov ebp, ecx
mov ecx, eax
mov esi, 1
shl esi, cl
cmp eax, 0x20
sbb edi, edi
and esi, edi
cmp edx, esi
jb 0x4b0bb4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], esi
mov dword [ebx + 0xd0], esi
mov edi, dword [esp + 0x84]
lea edx, [edi + edi*2]
mov dword [esp + 0x4c], edx
mov eax, dword [ebx + edx*4 + 0xa0]
test eax, eax
jne 0x4b0928
lea eax, [0x5c7360]
mov edi, dword [esp + 0x58]
mov ecx, dword [edi + eax + 0x14]
test ecx, ecx
jl 0x4b0baf
lea eax, [0x4f6580]
mov dword [esp], eax
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb edx, edx
and eax, edx
mov dword [esp + 0x48], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x70]
mov dword [ebp + edx*4 + 0x9c], ebx
mov dword [ebp + edx*4 + 0xa0], ebx
mov ebx, dword [0x5efab0]
test ebx, ebx
je 0x4b090c
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [ebp + edx*4 + 0x98]
mov dword [edi + 4], ebx
mov dword [ebp + edx*4 + 0x98], eax
mov ecx, dword [esp + 0x3c]
mov ebx, ebp
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x84]
mov eax, dword [ebx + edx*4 + 0xa0]
cmp eax, esi
jb 0x4b0ba6
mov dword [ebx + edx*4 + 0x9c], esi
lea eax, [0x5c7360]
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + eax + 0x18]
mov dword [esp + 0x64], eax
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov edi, dword [ebx + 0xcc]
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xd4]
mov esi, dword [ebx + edx*4 + 0x98]
mov edx, dword [ebx + edx*4 + 0xa0]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4b0a23
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax*4 + 0x9c]
mov ebx, dword [ecx + eax*4 + 0xa0]
mov ebp, dword [ecx + eax*4 + 0x98]
mov dword [ecx + eax*4 + 0x74], edx
mov dword [ecx + eax*4 + 0x78], ebx
mov edx, dword [0x5efab0]
test edx, edx
je 0x4b09e8
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov edx, dword [ecx + eax*4 + 0x70]
mov dword [edi + 4], edx
mov dword [ecx + eax*4 + 0x70], ebp
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x3c]
mov byte [ecx + eax + 0x94], dl
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x6c
ret
xchg ebp, eax
cmp al, 3
xchg ebp, eax
jne 0x4b0b8e
mov ecx, dword [esp + 0x70]
test byte [ecx], al
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 0x74]
test eax, eax
jne 0x4b0b66
lea eax, [0x4edd20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov dword [eax + 4], 0x21
lea ecx, [0x50d7cf]
mov dword [eax], ecx
lea ecx, [0x530fa4]
cmp dword [0x5c4a80], ecx
jne 0x4b0aeb
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 0x4b0aeb
lea ecx, [0x530fa4]
mov eax, dword [esp + 0x60]
jmp 0x4b0b49
lea eax, [0x4f1c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x80]
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 0x4b0b35
mov ecx, dword [esp + 0x60]
jmp 0x4b0b40
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x6c
ret
lea eax, [0x4e9d80]
mov dword [esp], eax
lea eax, [0x530ba4]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov ecx, esi
mov edx, eax
call sym.runtime.panicSliceAcap
call sym.runtime.panicshift
mov ecx, esi
call sym.runtime.panicSliceAcap
call sym.runtime.panicshift
mov edx, eax
call sym.runtime.panicSliceAcap
call sym.runtime.panicshift
call sym.runtime.panicshift
mov ecx, 1
xor edx, edx
call sym.runtime.panicSliceAcap
call sym.runtime.panicshift
mov eax, edx
call sym.runtime.panicIndex
mov ecx, 3
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.setSeqTable