Function at 0x4aa870
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 0x4aae6d
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ebx, dword [eax + 0x5c]
mov edx, dword [eax + 0x60]
mov ecx, dword [esp + 0x84]
cmp ecx, ebx
jg 0x4aa8af
cmp ecx, edx
ja 0x4aae67
mov dword [eax + 0x5c], ecx
jmp 0x4aa94d
mov ebp, ecx
sub ecx, ebx
test ecx, ecx
jl 0x4aae62
mov ebx, dword [eax + 0x58]
cmp ebp, edx
jbe 0x4aa8f6
mov dword [esp + 0x3c], ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
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 eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x58], edx
sub ebp, ecx
add ebp, ebx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym.runtime.memclrNoHeapPointers
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x5c], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x60], eax
mov eax, dword [0x5e3a60]
test eax, eax
jne 0x4aa937
mov eax, dword [esp + 0x78]
jmp 0x4aa948
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov edx, dword [ecx + 0x58]
mov dword [edi + 4], edx
mov dword [ecx + 0x58], eax
mov eax, ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x58]
mov esi, dword [eax + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4aaa6e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp dword [0x5b8a20], ecx
jne 0x4aa9d4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x20]
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 0x4aa9cc
mov eax, dword [0x5b8a28]
mov edx, dword [0x5b8a2c]
jmp 0x4aa9d4
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], eax
cmp dword [0x5b8a20], eax
jne 0x4aaa0d
mov ecx, dword [0x5b8a24]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4aaa0d
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
jmp 0x4aaa5c
lea eax, [0x4ea3a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [0x5e3a60]
test ecx, ecx
jne 0x4aaa48
mov ecx, dword [esp + 0x64]
jmp 0x4aaa53
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5284a0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x6c], edx
mov ebx, dword [eax + 0x60]
mov dword [esp + 0x54], ebx
mov dword [eax + 0x20], 0
mov ebp, dword [eax + 0x64]
mov esi, dword [eax + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], esi
call sym.internal_zstd._Reader_.readLiterals
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x4aae48
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x80]
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x6c], eax
mov esi, dword [0x5e3a60]
test esi, esi
je 0x4aab0b
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [ebp + 0x64]
mov dword [edi + 4], esi
mov dword [esp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [esp], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov esi, dword [esp + 0x54]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call sym.internal_zstd._Reader_.initSeqs
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4aae2e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4aadcd
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
cmp ecx, eax
jl 0x4aacff
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4aac31
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx + eax]
mov esi, dword [ecx + 0x1c]
cmp edx, ebp
jae 0x4aabbb
mov dword [esp + 0x5c], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x4e2b00]
mov dword [esp + 0x10], ecx
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x78], esi
lea ecx, [esi + ebx]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5e3a60]
test eax, eax
jne 0x4aac03
mov eax, dword [esp + 0x78]
jmp 0x4aac14
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
lea eax, [0x4e6560]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [eax + 4], 0x1c
lea ecx, [0x504143]
mov dword [eax], ecx
lea ecx, [0x5281f8]
cmp dword [0x5b8a20], ecx
jne 0x4aac8f
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 0x4aac8f
lea ecx, [0x5281f8]
mov eax, dword [esp + 0x74]
jmp 0x4aaced
lea eax, [0x4ea3a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x38]
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 0x4aacd9
mov ecx, dword [esp + 0x74]
jmp 0x4aace4
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5284a0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
lea eax, [0x4e6560]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov dword [eax + 4], 0x22
lea ecx, [0x505a74]
mov dword [eax], ecx
lea ecx, [0x5281f8]
cmp dword [0x5b8a20], ecx
jne 0x4aad5d
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 0x4aad5d
lea ecx, [0x5281f8]
mov eax, dword [esp + 0x70]
jmp 0x4aadbb
lea eax, [0x4ea3a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x38]
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 0x4aada7
mov ecx, dword [esp + 0x70]
jmp 0x4aadb2
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5284a0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call sym.internal_zstd._Reader_.execSeqs
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
call sym.runtime.panicmakeslicelen
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.compressedBlock