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

Disassembly:
mov ecx, dword [0x6e06e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x514a28
sub esp, 0x5c
mov ebx, dword [esp + 0x60]
jmp 0x5145ef
mov ebx, esi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
cmp ecx, eax
jne 0x51496f
movzx ebp, byte [ebx + 0x40]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x514955
mov ebp, dword [ebx + 0x38]
cmp dword [ebx + 0x3c], ebp
jne 0x51461e
mov ebp, dword [ebx + 0x10]
test ebp, ebp
je 0x514879
mov dword [ebx + 0x24], 0
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x3c]
cmp edx, ecx
jb 0x514a22
mov eax, dword [ebx + 0x38]
cmp ecx, eax
jb 0x514a1d
mov ebp, dword [ebx + 0x2c]
sub edx, eax
mov dword [esp + 0x40], edx
neg edx
sar edx, 0x1f
and edx, eax
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0x18]
mov dword [esp + 0x58], esi
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x3c], esi
mov esi, dword [ebx + 0x20]
sub ecx, eax
lea eax, [ebp + edx]
cmp dword [0x6b0378], edi
je 0x514674
xor edx, edx
jmp 0x5146b0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], esi
mov eax, dword [ebx + 0x14]
mov ecx, dword [0x6b037c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov edx, eax
mov eax, dword [esp + 0x54]
mov ebp, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebp + 0x14]
mov dword [esp], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], dl
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x38]
add ecx, eax
mov dword [esi + 0x38], ecx
test edx, edx
je 0x51483b
mov dword [esp + 0x50], edi
cmp dword [0x6b0458], ebx
je 0x51472d
xor ecx, ecx
jmp 0x51476a
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebp
mov eax, dword [0x6b045c]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [esp + 0x30]
test cl, cl
je 0x514781
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x5145ed
test eax, eax
jne 0x5145ed
cmp dword [0x6b0460], ebx
je 0x51478d
xor eax, eax
jmp 0x5147b0
mov eax, dword [0x6b0464]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
test al, al
je 0x5147ca
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x38]
cmp dword [esi + 0x30], ebx
je 0x5147ca
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x51487b
mov byte [esi + 0x40], 1
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x51480f
cmp dword [0x6b0378], ebx
je 0x5147e1
xor eax, eax
jmp 0x514807
mov eax, dword [esi + 0x14]
mov ecx, dword [0x6b037c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
test al, al
je 0x5145ed
mov dword [esi + 0x10], edi
mov ebx, dword [0x6e0840]
test ebx, ebx
jne 0x514822
mov ebx, dword [esp + 0x48]
jmp 0x514833
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x48]
mov dword [edi], ebx
mov ebp, dword [esi + 0x14]
mov dword [edi + 4], ebp
mov dword [esi + 0x14], ebx
jmp 0x5145ed
cmp dword [esi + 0x3c], ecx
je 0x514869
mov ebx, dword [0x6b0468]
mov ebp, dword [0x6b046c]
mov dword [esi + 0x10], ebx
mov ebx, dword [0x6e0840]
test ebx, ebx
je 0x514866
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [esi + 0x14]
mov dword [edi + 4], ebx
mov dword [esi + 0x14], ebp
mov ebx, dword [esi + 0x10]
test ebx, ebx
setne bl
mov byte [esi + 0x40], bl
jmp 0x5145ed
mov esi, ebx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x5148dc
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x3c]
cmp ecx, edx
ja 0x514a18
cmp ecx, eax
jb 0x514a13
mov ebx, dword [esi + 0x2c]
mov ebp, dword [esi + 0x30]
sub ecx, eax
sub edx, eax
neg edx
sar edx, 0x1f
and edx, eax
lea edi, [ebx + edx]
cmp ebp, ecx
jg 0x5148b2
mov ecx, ebp
test edx, edx
je 0x5148d2
mov dword [esp + 0x40], ecx
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x60]
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
ja 0x514a0e
mov edx, dword [esi]
mov ebx, dword [esi + 4]
mov edx, dword [edx + 0x10]
mov ebp, dword [esi + 0x2c]
mov edi, dword [esi + 0x34]
mov dword [esp], ebx
sub edi, eax
sub ecx, eax
mov ebx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, eax
lea eax, [ebp + edi]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x10], eax
mov eax, dword [0x6e0840]
test eax, eax
je 0x514948
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x14]
mov dword [edi + 4], ebp
mov dword [ebx + 0x14], ecx
add dword [ebx + 0x3c], edx
mov esi, ebx
jmp 0x5145ed
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x5c
ret
mov edx, dword [ebx + 0x20]
cmp edx, ecx
jb 0x514a09
cmp ecx, eax
jb 0x514a04
mov ebp, dword [ebx + 0x18]
sub ecx, eax
sub edx, eax
neg edx
sar edx, 0x1f
and edx, eax
lea eax, [edx + ebp]
mov edx, dword [esp + 0x68]
cmp edx, ecx
jg 0x51499d
mov ecx, edx
mov edx, dword [esp + 0x64]
cmp edx, eax
je 0x5149c1
mov dword [esp + 0x30], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x24]
add eax, ecx
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x28], eax
jne 0x5149ec
movzx eax, byte [ebx + 0x40]
test al, al
je 0x5149ec
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
add esp, 0x5c
ret
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
call sym.runtime.panicSliceB
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.golang.org_x_text_transform._Reader_.Read