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

Disassembly:
mov ecx, dword [0x5e3958]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4acfe9
sub esp, 0x64
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4acdc4
mov ebp, dword [esp + 0x68]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x40], eax
cmp ebx, eax
jbe 0x4accca
mov ecx, dword [ebp + 0x50]
sub ebx, eax
cmp ecx, ebx
jb 0x4acbf4
mov esi, ecx
sub esi, ebx
mov ebx, dword [esp + 0x74]
lea edi, [ebx + esi]
mov edx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x60], ebx
mov ebx, dword [ebp + 0x54]
mov ebp, dword [ebp + 0x4c]
cmp ecx, edi
jae 0x4acb26
cmp ecx, esi
jb 0x4acfe1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], esi
sub ecx, esi
lea edi, [ecx + eax]
sub ebx, esi
neg ebx
sar ebx, 0x1f
and ebx, esi
add ebx, ebp
cmp edx, edi
jb 0x4ac990
mov ebp, dword [esp + 0x60]
jmp 0x4ac9d4
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x4e2b00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov ebp, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], ebp
lea esi, [ebp + eax]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5e3a60]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
sub edx, ebx
mov ebx, dword [esp + 0x70]
sub ebx, edx
mov ebp, dword [esp + 0x74]
sub ebp, edx
test eax, eax
jne 0x4aca2c
mov esi, dword [esp + 0x60]
jmp 0x4aca3d
call sym.runtime.gcWriteBarrier2
mov esi, dword [esp + 0x60]
mov dword [edi], esi
mov eax, dword [ecx + 0x1c]
mov dword [edi + 4], eax
mov dword [ecx + 0x1c], esi
test ebx, ebx
jne 0x4accd0
test ebp, ebp
jbe 0x4accd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
lea edx, [0x4e6560]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 0xe
lea ecx, [0x4febd3]
mov dword [eax], ecx
lea ecx, [0x5281f8]
cmp dword [0x5b8a20], ecx
jne 0x4acabf
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 0x4acabf
lea ecx, [0x5281f8]
mov eax, dword [esp + 0x58]
jmp 0x4acb1a
lea eax, [0x4ea3a0]
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 + 0x30]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ebx, ecx
mov dword [eax + 4], ebx
lea ecx, [0x5281f8]
mov dword [eax + 8], ecx
mov ecx, dword [0x5e3a60]
test ecx, ecx
jne 0x4acb06
mov ecx, dword [esp + 0x58]
jmp 0x4acb11
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5284a0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x64
ret
cmp esi, edi
ja 0x4acfd8
mov ecx, dword [esp + 0x74]
lea edi, [ecx + eax]
sub ebx, esi
neg ebx
sar ebx, 0x1f
and esi, ebx
lea ebx, [ebp + esi]
cmp edx, edi
jb 0x4acb4c
mov ebp, dword [esp + 0x60]
jmp 0x4acb8c
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x4e2b00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov ebp, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x3c], edx
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5e3a60]
test eax, eax
jne 0x4acbcc
mov eax, dword [esp + 0x60]
jmp 0x4acbdd
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
lea edx, [0x4e6560]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0x12
lea ecx, [0x500302]
mov dword [eax], ecx
lea ecx, [0x5281f8]
cmp dword [0x5b8a20], ecx
jne 0x4acc63
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 0x4acc63
lea ecx, [0x5281f8]
mov eax, dword [esp + 0x54]
jmp 0x4accbe
lea eax, [0x4ea3a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x30]
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 0x4accaa
mov ecx, dword [esp + 0x54]
jmp 0x4accb5
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5284a0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x64
ret
mov ecx, ebp
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
sub eax, ebx
cmp ebp, ebx
jbe 0x4acce3
mov dword [esp + 0x24], ebx
jmp 0x4aceb5
mov edx, dword [ecx + 0x24]
lea ebx, [eax + ebp]
cmp edx, ebx
jb 0x4acea1
cmp eax, ebx
ja 0x4ace9a
mov dword [esp + 0x40], edx
mov ebx, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x20]
lea edi, [esi + ebp]
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
add eax, ebx
mov edx, dword [esp + 0x40]
cmp edx, edi
jae 0x4acd5b
mov dword [esp + 0x30], ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], esi
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea eax, [0x4e2b00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], ebx
lea ecx, [ebx + esi]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5e3a60]
test eax, eax
jne 0x4acd9c
mov eax, dword [esp + 0x60]
jmp 0x4acdad
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
lea edx, [0x4e6560]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [eax + 4], 0x13
lea ecx, [0x500acb]
mov dword [eax], ecx
lea ecx, [0x5281f8]
cmp dword [0x5b8a20], ecx
jne 0x4ace33
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 0x4ace33
lea ecx, [0x5281f8]
mov eax, dword [esp + 0x50]
jmp 0x4ace8e
lea eax, [0x4ea3a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x30]
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 0x4ace7a
mov ecx, dword [esp + 0x50]
jmp 0x4ace85
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5284a0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x64
ret
mov ecx, ebx
call sym.runtime.panicSliceBU
mov ecx, ebx
call sym.runtime.panicSliceAcapU
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebp, edx
test ebp, ebp
jbe 0x4acfb4
cmp ebp, ebx
ja 0x4acec5
mov edx, ebp
jmp 0x4acec9
mov edx, ebp
mov ebp, ebx
mov esi, dword [ecx + 0x24]
lea edi, [ebp + eax]
cmp esi, edi
jb 0x4acfcf
cmp eax, edi
ja 0x4acfc8
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], esi
mov ebx, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x20]
lea edx, [ebp + edi]
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
lea eax, [esi + ebx]
mov esi, dword [esp + 0x40]
cmp esi, edx
jae 0x4acf50
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
lea eax, [0x4e2b00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x60], ebx
lea ecx, [ebx + edi]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5e3a60]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
sub edx, ebx
test eax, eax
jne 0x4acf9e
mov ebx, dword [esp + 0x60]
jmp 0x4acea8
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x60]
mov dword [edi], ebx
mov ebp, dword [ecx + 0x1c]
mov dword [edi + 4], ebp
jmp 0x4acea8
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov ecx, edi
call sym.runtime.panicSliceBU
mov ecx, edi
mov edx, esi
call sym.runtime.panicSliceAcapU
mov eax, esi
mov ecx, edi
call sym.runtime.panicSliceBU
mov eax, esi
call sym.runtime.panicSliceBU
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.copyFromWindow