Function at 0x513a60
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 0x513c58
sub esp, 0x44
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
cmp ecx, eax
jg 0x513b51
mov ecx, dword [0x6881a0]
mov dword [esp + 0x3c], ecx
mov edx, dword [0x6881a4]
mov dword [esp + 0x40], edx
cmp dword [0x688198], ecx
jne 0x513acc
mov eax, dword [0x68819c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x513acc
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
jmp 0x513b25
lea eax, [0x55bb60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x58]
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 + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x513b11
mov ecx, dword [esp + 0x40]
jmp 0x513b1c
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x44
ret
jbe 0x513c52
mov edx, dword [esp + 0x4c]
movzx ebx, byte [edx + eax]
mov ebp, ebx
and ebx, 3
inc eax
test bl, bl
je 0x513b6e
cmp bl, 1
jne 0x513be0
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
xchg ebp, eax
mov byte [esp + 0x14], al
xchg ebp, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
call sym.internal_zstd._Reader_.readRawRLELiterals
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
add esp, 0x44
ret
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
xchg ebp, eax
mov byte [esp + 0x14], al
xchg ebp, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
call sym.internal_zstd._Reader_.readHuffLiterals
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
add esp, 0x44
ret
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.readLiterals