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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x541b86
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
lea ebx, [eax + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x14], 4
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5413f0
mov ecx, dword [esp + 0x20]
cmp dword [0x786140], eax
jne 0x541353
mov dword [esp + 0x80], ecx
mov dword [esp + 0x54], eax
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x541348
mov eax, dword [0x786148]
mov ecx, dword [0x78614c]
jmp 0x541353
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], ecx
cmp dword [0x786140], eax
jne 0x54138c
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x54138c
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x7c]
jmp 0x5413db
lea eax, [0x5faf40]
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 dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x5413c7
mov ecx, dword [esp + 0x7c]
jmp 0x5413d2
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x66e4e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0xc0]
nop
test ecx, ecx
je 0x541831
mov dword [esp + 0x58], ecx
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x60], ebx
test edx, edx
je 0x54143f
mov eax, dword [edx + 4]
lea ecx, [0x787370]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
test edx, edx
jne 0x541451
xor edx, edx
xor ebx, ebx
mov ebp, 4
jmp 0x541883
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
add ecx, 4
mov dword [eax + 0x14], ecx
adc ebp, 0
mov dword [eax + 0x18], ebp
mov ecx, dword [edx + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x54153f
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
cmp dword [0x786140], eax
jne 0x5414db
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5414db
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x78]
jmp 0x54152a
lea eax, [0x5faf40]
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 dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x541516
mov ecx, dword [esp + 0x78]
jmp 0x541521
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x66e4e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 2
call ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x54161f
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
cmp dword [0x786140], eax
jne 0x5415bb
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5415bb
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x78]
jmp 0x54160a
lea eax, [0x5faf40]
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 dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x5415f6
mov ecx, dword [esp + 0x78]
jmp 0x541601
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x66e4e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
mov ebx, eax
sub eax, edx
mov ebp, ecx
sbb ecx, 0
mov esi, dword [esp + 0x34]
cmp esi, ecx
sete cl
xchg edi, ebx
setg bl
xchg edi, ebx
mov edx, dword [esp + 0x30]
cmp eax, edx
setb al
and ecx, eax
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x54171f
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
sub ebx, edx
sbb ebp, esi
add ecx, ebx
mov dword [eax + 0x14], ecx
adc ebp, edi
mov dword [eax + 0x18], ebp
mov ecx, dword [0x786148]
mov dword [esp + 0x48], ecx
mov edx, dword [0x78614c]
mov dword [esp + 0x74], edx
cmp dword [0x786140], ecx
jne 0x5416bb
mov eax, dword [0x786144]
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 0x5416bb
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x74]
jmp 0x54170a
lea eax, [0x5faf40]
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 dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x5416f6
mov ecx, dword [esp + 0x74]
jmp 0x541701
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x66e4e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
add edx, ecx
mov dword [esp + 4], edx
adc esi, 0
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5417f8
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
cmp dword [0x786140], eax
jne 0x541794
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x541794
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x78]
jmp 0x5417e3
lea eax, [0x5faf40]
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 dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x5417cf
mov ecx, dword [esp + 0x78]
jmp 0x5417da
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x66e4e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x58]
add ebx, ecx
mov dword [eax + 0x14], ebx
adc edx, 0
mov dword [eax + 0x18], edx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x88
ret
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
add ecx, 4
mov dword [eax + 0x14], ecx
adc edx, 0
mov dword [eax + 0x18], edx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x88
ret
mov esi, dword [esp + 0x2c]
lea ebp, [esi + 0x100000]
mov esi, dword [esp + 0x28]
lea ecx, [esi - 0x100000]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebp
cmp ecx, 0x100000
jb 0x5419f1
test edx, edx
jne 0x5418c9
lea eax, [0x5ed720]
mov dword [esp], eax
mov dword [esp + 4], 0x100000
mov dword [esp + 8], 0x100000
call sym.runtime.makeslice
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x8c]
mov edx, 0x100000
mov dword [esp + 0x24], edx
mov dword [esp + 0x5c], ebx
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x541860
mov ecx, dword [esp + 0x20]
cmp dword [0x786140], eax
jne 0x541947
mov dword [esp + 0x70], ecx
mov dword [esp + 0x44], eax
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x54193f
mov eax, dword [0x786148]
mov ecx, dword [0x78614c]
jmp 0x541947
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ecx
cmp dword [0x786140], eax
jne 0x541980
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x541980
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x6c]
jmp 0x5419dc
lea eax, [0x5faf40]
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 + 0x2c]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x5419c8
mov ecx, dword [esp + 0x6c]
jmp 0x5419d3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x66e4e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
test ecx, ecx
jbe 0x541b54
test edx, edx
jne 0x541a22
lea eax, [0x5ed720]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x541b42
mov ecx, dword [esp + 0x20]
cmp dword [0x786140], eax
jne 0x541a98
mov dword [esp + 0x68], ecx
mov dword [esp + 0x3c], eax
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x541a90
mov eax, dword [0x786148]
mov ecx, dword [0x78614c]
jmp 0x541a98
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ecx
cmp dword [0x786140], eax
jne 0x541ad1
mov edx, dword [0x786144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x541ad1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x64]
jmp 0x541b2d
lea eax, [0x5faf40]
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 + 0x2c]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x541b19
mov ecx, dword [esp + 0x64]
jmp 0x541b24
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x66e4e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea ebp, [ecx + eax]
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, ebp
sar ebp, 0x1f
add ebx, ecx
mov dword [eax + 0x14], ebx
adc ebp, edx
mov dword [eax + 0x18], ebp
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x88
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.skipFrame