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

Disassembly:
mov ecx, dword [0x5c5164]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x4ab17c
sub esp, 0xf4
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.0045fb38
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov edx, dword [esp + 0xfc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x104]
mov dword [esp + 0xc], ebx
dec edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0x14], edx
call sym.internal_zstd._Reader_.makeReverseBitReader
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
lea edi, [esp + 0xd4]
lea esi, [esp + 0x18]
call fcn.00460000
lea edi, [esp + 0xb4]
lea esi, [esp + 0xd4]
call fcn.00460000
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4aa7e9
mov eax, dword [esp + 0xf8]
movzx ecx, byte [eax + 0x94]
lea edx, [esp + 0xb4]
mov dword [esp], edx
mov byte [esp + 4], cl
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4aa7cc
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0xf8]
movzx ecx, byte [eax + 0x95]
lea edx, [esp + 0xb4]
mov dword [esp], edx
mov byte [esp + 4], cl
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4aa7af
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0xf8]
movzx ecx, byte [eax + 0x96]
lea edx, [esp + 0xb4]
mov dword [esp], edx
mov byte [esp + 4], cl
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4aa792
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x118]
mov ebp, dword [esp + 0xf8]
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0x10c]
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
jmp 0x4aa821
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], ebx
add esp, 0xf4
ret
mov eax, dword [esp + 0x118]
mov ebp, dword [esp + 0xf8]
mov ebx, eax
mov ecx, dword [esp + 0x54]
mov eax, esi
mov edi, dword [esp + 0xb0]
mov esi, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0xb0], edi
mov esi, dword [esp + 0x40]
cmp ebx, esi
jle 0x4aaf9b
mov edi, dword [ebp + 0x20]
add edi, eax
cmp edi, 0x20000
jg 0x4aaea5
mov edi, dword [ebp + 0x80]
mov ebx, dword [esp + 0x44]
cmp ebx, edi
jae 0x4ab172
mov edi, dword [ebp + 0x8c]
mov eax, dword [ebp + 0x88]
cmp edx, edi
jae 0x4ab169
mov edi, dword [ebp + 0x74]
mov esi, dword [ebp + 0x70]
cmp ecx, edi
jae 0x4ab160
mov dword [esp + 0xac], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0xa4], eax
lea ecx, [eax + ebx*8 + 4]
mov dword [esp + 0xa0], ecx
movzx edx, byte [ecx]
lea esi, [esp + 0xb4]
mov dword [esp], esi
mov byte [esp + 4], dl
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4aae88
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xa4]
lea ebx, [edx + ecx*8]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0xa8]
lea edi, [esi + ebp*8 + 4]
movzx edi, byte [edi]
add eax, dword [ebx]
mov dword [esp + 0x48], eax
lea ebx, [esp + 0xb4]
mov dword [esp], ebx
xchg edi, eax
mov byte [esp + 4], al
xchg edi, eax
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4aae6b
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xa8]
lea ebx, [edx + ecx*8]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0xac]
lea edi, [esi + ebp*8 + 4]
movzx edi, byte [edi]
add eax, dword [ebx]
mov dword [esp + 0x50], eax
lea ebx, [esp + 0xb4]
mov dword [esp], ebx
xchg edi, eax
mov byte [esp + 4], al
xchg edi, eax
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4aae4e
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0xac]
lea esi, [ebp + ebx*8]
add edx, dword [esi]
mov esi, dword [esp + 0xa0]
cmp byte [esi], 1
jbe 0x4aa9a4
mov esi, dword [esp + 0xf8]
mov edi, dword [esi + 0x30]
mov dword [esi + 0x34], edi
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x30], edi
mov eax, dword [esp + 0x48]
mov dword [esi + 0x2c], eax
jmp 0x4aaa2f
test edx, edx
jne 0x4aa9b1
mov esi, dword [esp + 0x48]
lea eax, [esi + 1]
jmp 0x4aa9b5
mov eax, dword [esp + 0x48]
cmp eax, 2
ja 0x4aa9e5
cmp eax, 1
jne 0x4aa9cb
mov esi, dword [esp + 0xf8]
mov eax, dword [esi + 0x2c]
jmp 0x4aaa2f
cmp eax, 2
jne 0x4aaa28
mov esi, dword [esp + 0xf8]
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], eax
jmp 0x4aaa2f
cmp eax, 3
jne 0x4aaa05
mov esi, dword [esp + 0xf8]
mov eax, dword [esi + 0x34]
mov edi, dword [esi + 0x30]
mov dword [esi + 0x34], edi
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], eax
jmp 0x4aaa2f
cmp eax, 4
jne 0x4aaa28
mov esi, dword [esp + 0xf8]
mov edi, dword [esi + 0x2c]
lea eax, [edi - 1]
mov edi, dword [esi + 0x30]
mov dword [esi + 0x34], edi
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], eax
jmp 0x4aaa2f
mov esi, dword [esp + 0xf8]
mov dword [esp + 0x58], edx
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0x40]
inc edi
mov dword [esp + 0x40], edi
mov ecx, ebp
mov ebp, dword [esp + 0x118]
cmp ebp, edi
jg 0x4aaa56
mov ecx, dword [esp + 0x44]
jmp 0x4aab75
lea eax, [ecx + ebx*8 + 5]
movzx eax, byte [eax]
lea edx, [esp + 0xb4]
mov dword [esp], edx
mov byte [esp + 4], al
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4aae31
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xac]
lea ecx, [edx + ecx*8 + 6]
movzx ecx, word [ecx]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xa8]
lea ebp, [ebx + edx*8 + 5]
movzx ebp, byte [ebp]
lea esi, [esp + 0xb4]
mov dword [esp], esi
xchg ebp, eax
mov byte [esp + 4], al
xchg ebp, eax
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
add ecx, edx
test eax, eax
jne 0x4aae14
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xa8]
lea ecx, [edx + ecx*8 + 6]
movzx ecx, word [ecx]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0xa4]
lea ebp, [ebx + edx*8 + 5]
movzx ebp, byte [ebp]
lea esi, [esp + 0xb4]
mov dword [esp], esi
xchg ebp, eax
mov byte [esp + 4], al
xchg ebp, eax
call sym.internal_zstd._reverseBitReader_.val
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
add ecx, edx
test eax, eax
jne 0x4aadf7
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xa4]
lea ebp, [esi + ebp*8 + 6]
movzx ebp, word [ebp]
add ebx, ebp
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x118]
mov esi, dword [esp + 0xf8]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x78]
cmp esi, edx
jb 0x4aad01
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], ecx
test edx, edx
ja 0x4aab96
mov edx, dword [esp + 0x7c]
jmp 0x4aac8d
mov eax, dword [esp + 0xf8]
mov ebp, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
lea ebx, [edx + ecx]
mov edi, dword [eax + 0x1c]
cmp ebp, ebx
jae 0x4aabe3
mov dword [esp + 0x70], ecx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x4d8400]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x9c], edi
lea eax, [edi + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.memmove
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5c5260]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x58]
sub edx, ebx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ebx
mov esi, dword [esp + 0xb0]
add edx, esi
mov esi, dword [esp + 0x78]
sub esi, ebx
test eax, eax
jne 0x4aac56
mov ebx, dword [esp + 0x9c]
jmp 0x4aac6a
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x9c]
mov dword [edi], ebx
mov eax, dword [ecx + 0x1c]
mov dword [edi + 4], eax
mov dword [ecx + 0x1c], ebx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x40]
mov dword [esp + 0xb0], edx
mov edx, ebp
mov ebp, dword [esp + 0x118]
mov ebp, dword [esp + 0x50]
test ebp, ebp
jbe 0x4aa7fe
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
lea edx, [esp + 0xb4]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call sym.internal_zstd._Reader_.copyFromWindow
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4aace4
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x40]
jmp 0x4aa7fe
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x74], ecx
lea edx, [0x4db200]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov dword [eax + 4], 0x15
lea ecx, [0x4f1070]
mov dword [eax], ecx
lea ecx, [0x5149c8]
cmp dword [0x59be78], ecx
jne 0x4aad7e
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 0x4aad7e
lea ecx, [0x5149c8]
mov eax, dword [esp + 0x98]
jmp 0x4aade2
lea eax, [0x4de980]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x74]
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 0x4aadcb
mov ecx, dword [esp + 0x98]
jmp 0x4aadd9
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x514c0c]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x74], ecx
lea edx, [0x4db200]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x94], eax
mov dword [eax + 4], 0x19
lea ecx, [0x4f2637]
mov dword [eax], ecx
lea ecx, [0x5149c8]
cmp dword [0x59be78], ecx
jne 0x4aaf22
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 0x4aaf22
lea ecx, [0x5149c8]
mov eax, dword [esp + 0x94]
jmp 0x4aaf86
lea eax, [0x4de980]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x74]
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 0x4aaf6f
mov ecx, dword [esp + 0x94]
jmp 0x4aaf7d
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x514c0c]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
add esp, 0xf4
ret
test eax, eax
je 0x4ab052
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
lea ebx, [eax + edx]
mov esi, dword [ebp + 0x1c]
cmp ecx, ebx
jae 0x4aaff0
mov dword [esp + 0x7c], edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea ecx, [0x4d8400]
mov dword [esp + 0x10], ecx
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0xb0], esi
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5c5260]
test eax, eax
jne 0x4ab039
mov eax, dword [esp + 0xb0]
jmp 0x4ab04d
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0xb0]
mov dword [edi], eax
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov dword [ecx + 0x1c], eax
jmp 0x4ab054
mov ecx, ebp
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x4ab143
lea eax, [0x4db200]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov dword [eax + 4], 0x1f
lea ecx, [0x4f3f39]
mov dword [eax], ecx
lea ecx, [0x5149c8]
cmp dword [0x59be78], ecx
jne 0x4ab0c7
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 0x4ab0c7
lea ecx, [0x5149c8]
mov eax, dword [esp + 0x90]
jmp 0x4ab12e
lea eax, [0x4de980]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x108]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ebx, ecx
mov dword [eax + 4], ebx
lea ecx, [0x5149c8]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c5260]
test ecx, ecx
jne 0x4ab117
mov ecx, dword [esp + 0x90]
jmp 0x4ab125
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x90]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x514c0c]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
add esp, 0xf4
ret
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0xf4
ret
mov eax, ecx
mov ecx, edi
call sym.runtime.panicIndexU
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndexU
mov eax, ebx
mov ecx, edi
call sym.runtime.panicIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.execSeqs