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

Disassembly:
mov ecx, dword [0x5e3958]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4b1847
sub esp, 0xb8
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004600b8
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xd0]
lea ebx, [ebx + edx - 1]
mov dword [esp + 0x10], ebx
add edx, 0xfffffffe
mov dword [esp + 0x14], edx
call sym.internal_zstd._Reader_.makeReverseBitReader
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
lea edi, [esp + 0x98]
lea esi, [esp + 0x18]
call fcn.00460580
lea edi, [esp + 0x78]
lea esi, [esp + 0x98]
call fcn.00460580
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x4b1582
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx + 0x44]
mov dword [esp + 0x5c], ecx
mov ebx, 1
shl ebx, cl
mov ebp, dword [edx + 0x3c]
mov dword [esp + 0x48], ebp
mov edx, dword [edx + 0x38]
mov dword [esp + 0x6c], edx
cmp ecx, 0x20
sbb esi, esi
and ebx, esi
lea eax, [ebx - 1]
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
jmp 0x4b15f0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebx
add esp, 0xb8
ret
shr bx, 8
mov byte [edx + edi - 1], bl
movzx ebx, word [esp + 0x42]
and ebx, 0xff
sub dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x44]
inc ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], esi
mov esi, edx
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xd4]
mov edx, dword [esp + 0x44]
cmp ebx, edx
jle 0x4b168f
mov dword [esp + 0x74], edi
nop
jmp 0x4b16f8
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
sub edx, ecx
mov ecx, edx
shr ebx, cl
cmp ecx, 0x20
sbb edx, edx
and ebx, edx
and ebx, eax
cmp ebp, ebx
jbe 0x4b1834
lea edx, [esi + 1]
mov esi, dword [esp + 0x6c]
movzx ebx, word [esi + ebx*2]
mov word [esp + 0x42], bx
mov ecx, esi
mov esi, dword [esp + 0x58]
cmp esi, edx
jae 0x4b15b8
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4e2b00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
movzx ebx, word [esp + 0x42]
mov ebp, dword [esp + 0x48]
mov esi, eax
mov eax, dword [esp + 0x4c]
jmp 0x4b15b8
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], esi
mov eax, dword [esp + 0x58]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xb8
ret
mov edx, dword [esp + 0x7c]
movzx edx, byte [ebx + edx - 1]
mov ebx, dword [esp + 0x90]
shl ebx, 8
or ebx, edx
mov dword [esp + 0x90], ebx
add dword [esp + 0x94], 8
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0xd4]
mov edi, dword [esp + 0x74]
movzx ebx, cl
cmp dword [esp + 0x94], ebx
jae 0x4b1606
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x8c], ebx
jae 0x4b1732
lea edx, [ebx - 1]
mov dword [esp + 0x88], edx
mov edi, dword [esp + 0x80]
cmp edi, edx
ja 0x4b16c5
jmp 0x4b183d
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x54], ecx
lea edx, [0x4e6560]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov dword [eax + 4], 0x23
lea ecx, [0x505d72]
mov dword [eax], ecx
lea ecx, [0x5281f8]
cmp dword [0x5b8a20], ecx
jne 0x4b17a3
mov edx, dword [0x5b8a24]
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 0x4b17a3
lea ecx, [0x5281f8]
mov eax, dword [esp + 0x70]
jmp 0x4b17fe
lea eax, [0x4ea3a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x54]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax], edx
adc ecx, ebx
mov dword [eax + 4], ecx
lea ecx, [0x5281f8]
mov dword [eax + 8], ecx
mov ecx, dword [0x5e3a60]
test ecx, ecx
jne 0x4b17ea
mov ecx, dword [esp + 0x70]
jmp 0x4b17f5
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5284a0]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
add esp, 0xb8
ret
mov eax, ebx
mov ecx, ebp
call sym.runtime.panicIndexU
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.readLiteralsOneStream