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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b57a6
sub esp, 0x5c
movzx ebx, byte [esp + 0x74]
mov ebp, ebx
shr bl, 2
and ebx, 3
cmp bl, 1
ja 0x4b51b4
test bl, bl
je 0x4b51b9
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
cmp ecx, eax
jle 0x4b50d8
jbe 0x4b57a0
mov ebx, ebp
xchg ebp, eax
shr al, 4
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov esi, dword [esp + 0x64]
movzx edi, byte [esi + eax]
shl edi, 4
add ebp, edi
lea edi, [eax + 1]
jmp 0x4b5224
mov ecx, dword [0x5c4a88]
mov dword [esp + 0x34], ecx
mov edx, dword [0x5c4a8c]
mov dword [esp + 0x48], edx
cmp dword [0x5c4a80], ecx
jne 0x4b511d
mov eax, dword [0x5c4a84]
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 0x4b511d
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
jmp 0x4b5176
lea eax, [0x4f1c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x70]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax], edx
adc ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4b5162
mov ecx, dword [esp + 0x48]
jmp 0x4b516d
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x5c
ret
cmp bl, 2
jne 0x4b51d3
mov ebx, ebp
xchg ebp, eax
shr al, 3
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
jmp 0x4b5224
mov eax, dword [esp + 0x70]
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
jle 0x4b560a
cmp ecx, eax
jbe 0x4b579b
mov esi, ebp
xchg ebp, eax
shr al, 4
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov edi, dword [esp + 0x64]
movzx edx, byte [edi + eax]
shl edx, 4
add ebp, edx
cmp ecx, ebx
jbe 0x4b5794
movzx ebx, byte [eax + edi + 1]
shl ebx, 0xc
add ebp, ebx
lea ebx, [eax + 2]
mov eax, ebx
mov ebx, esi
mov esi, edi
mov edi, eax
mov dword [esp + 0x28], edi
cmp ebp, 0x20000
jg 0x4b5513
mov dword [esp + 0x24], ebp
test bl, 3
je 0x4b5360
cmp ecx, edi
jle 0x4b5269
jbe 0x4b578d
movzx eax, byte [esi + edi]
mov byte [esp + 0x23], al
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
xor esi, esi
jmp 0x4b5731
lea eax, [0x4edd20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 0x13
lea ecx, [0x508ae2]
mov dword [eax], ecx
lea ecx, [0x530fa4]
cmp dword [0x5c4a80], ecx
jne 0x4b52c7
mov edx, dword [0x5c4a84]
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 0x4b52c7
lea ecx, [0x530fa4]
mov eax, dword [esp + 0x58]
jmp 0x4b5322
lea eax, [0x4f1c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ecx, ebx
mov dword [eax + 4], ecx
lea ecx, [0x530fa4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4b530e
mov ecx, dword [esp + 0x58]
jmp 0x4b5319
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x5c
ret
lea ebx, [edi + ebp]
cmp ecx, ebx
jl 0x4b541c
mov edx, dword [esp + 0x6c]
cmp edx, ebx
jb 0x4b5725
cmp edi, ebx
ja 0x4b571c
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x7c]
lea ecx, [eax + ebp]
sub edx, edi
neg edx
sar edx, 0x1f
and edi, edx
lea edx, [esi + edi]
mov esi, dword [esp + 0x80]
cmp esi, ecx
jb 0x4b53a7
mov edi, dword [esp + 0x78]
jmp 0x4b53e9
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
lea eax, [0x4ea0c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], edi
add eax, edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
jmp 0x4b56e6
lea eax, [0x4edd20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [eax + 4], 0x1a
lea ecx, [0x50b7bf]
mov dword [eax], ecx
lea ecx, [0x530fa4]
cmp dword [0x5c4a80], ecx
jne 0x4b547a
mov edx, dword [0x5c4a84]
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 0x4b547a
lea ecx, [0x530fa4]
mov eax, dword [esp + 0x50]
jmp 0x4b54d5
lea eax, [0x4f1c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ecx, ebx
mov dword [eax + 4], ecx
lea ecx, [0x530fa4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4b54c1
mov ecx, dword [esp + 0x50]
jmp 0x4b54cc
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x5c
ret
lea eax, [0x4edd20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov dword [eax + 4], 0x16
lea ecx, [0x509e6d]
mov dword [eax], ecx
lea ecx, [0x530fa4]
cmp dword [0x5c4a80], ecx
jne 0x4b5571
mov edx, dword [0x5c4a84]
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 0x4b5571
lea ecx, [0x530fa4]
mov eax, dword [esp + 0x4c]
jmp 0x4b55cc
lea eax, [0x4f1c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, ebx
sar ebx, 0x1f
add ebp, edx
mov dword [eax], ebp
adc ecx, ebx
mov dword [eax + 4], ecx
lea ecx, [0x530fa4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4b55b8
mov ecx, dword [esp + 0x4c]
jmp 0x4b55c3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x5c
ret
mov ecx, dword [0x5c4a88]
mov dword [esp + 0x30], ecx
mov edx, dword [0x5c4a8c]
mov dword [esp + 0x44], edx
cmp dword [0x5c4a80], ecx
jne 0x4b564f
mov eax, dword [0x5c4a84]
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 0x4b564f
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
jmp 0x4b56a8
lea eax, [0x4f1c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x70]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax], edx
adc ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4b5694
mov ecx, dword [esp + 0x44]
jmp 0x4b569f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x531260]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x5c
ret
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x5c
ret
mov eax, edi
mov ecx, ebx
call sym.runtime.panicSliceB
mov ecx, ebx
call sym.runtime.panicSliceAcap
mov byte [ecx + edx - 1], al
inc esi
cmp esi, ebp
jge 0x4b577f
inc ecx
cmp ebx, ecx
jae 0x4b572c
mov dword [esp + 0x2c], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4ea0c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx eax, byte [esp + 0x23]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x4b572c
lea ebp, [edi + 1]
mov eax, ebx
mov ebx, edx
mov edx, ebp
jmp 0x4b56e6
mov eax, edi
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
call sym.runtime.panicIndex
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.readRawRLELiterals