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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5152c7
sub esp, 0xb8
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00460ba8
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.00461070
lea edi, [esp + 0x78]
lea esi, [esp + 0x98]
call fcn.00461070
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x515002
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 0x515070
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 0x51510f
mov dword [esp + 0x74], edi
nop
jmp 0x515178
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 0x5152b4
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 0x515038
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x550e00]
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 0x515038
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 0x515086
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x8c], ebx
jae 0x5151b2
lea edx, [ebx - 1]
mov dword [esp + 0x88], edx
mov edi, dword [esp + 0x80]
cmp edi, edx
ja 0x515145
jmp 0x5152bd
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x54], ecx
lea edx, [0x555b00]
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, [0x58b15e]
mov dword [eax], ecx
lea ecx, [0x5b76e0]
cmp dword [0x688198], ecx
jne 0x515223
mov edx, dword [0x68819c]
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 0x515223
lea ecx, [0x5b76e0]
mov eax, dword [esp + 0x70]
jmp 0x51527e
lea eax, [0x55bb60]
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, [0x5b76e0]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x51526a
mov ecx, dword [esp + 0x70]
jmp 0x515275
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5b7a28]
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