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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50de13
sub esp, 0x60
mov eax, dword [esp + 0x70]
test eax, eax
jl 0x50da50
mov ecx, dword [esp + 0x6c]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0x6c]
cmp edx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
cmp eax, ecx
setne cl
or ecx, ebp
test cl, cl
je 0x50da8c
mov eax, dword [0x6881a0]
mov ecx, dword [0x6881a4]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
test eax, eax
sete cl
cmp ebx, 0xa00000
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x50dbe8
mov byte [esp + 0x27], cl
lea eax, [0x550e00]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
call sym.runtime.makeslice64
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x50dbb4
mov eax, dword [esp + 0x1c]
cmp dword [0x688198], eax
je 0x50db2f
mov eax, 1
jmp 0x50db61
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x20]
mov edx, dword [0x68819c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
test al, al
jne 0x50db84
mov eax, dword [esp + 0x70]
test eax, eax
seta al
mov ebx, dword [esp + 0x6c]
test ebx, ebx
seta bl
movzx ebp, byte [esp + 0x27]
and ebx, ebp
or eax, ebx
test al, al
je 0x50dbb4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x60
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
lea eax, [0x550e00]
mov dword [esp], eax
mov dword [esp + 4], 0xa00000
mov dword [esp + 8], 0xa00000
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x54], eax
jmp 0x50dc92
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], ebp
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
sub edi, ebx
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
sbb esi, ebp
mov eax, dword [esp + 0x40]
add ebx, eax
mov eax, dword [esp + 0x44]
adc ebp, eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ecx, eax
mov edx, dword [esp + 0x64]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
test esi, esi
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
test edi, edi
seta al
and eax, ebx
or eax, ebp
test al, al
je 0x50ddc0
cmp edi, 0xa00000
seta al
and eax, ebx
or eax, ebp
test al, al
je 0x50dcd1
xor eax, eax
mov ebx, 0xa00000
jmp 0x50dcd5
mov eax, esi
mov ebx, edi
test eax, eax
jne 0x50de04
cmp ebx, 0xa00000
ja 0x50ddf8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x10]
mov dword [esp], ecx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xa00000
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x10], edi
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50dd88
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x50dd49
mov ebp, dword [esp + 0x54]
jmp 0x50dc3e
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
lea ecx, [0x550e00]
mov dword [esp + 0x10], ecx
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x50dc3e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
mov ecx, ebx
mov edx, 0xa00000
call sym.runtime.panicSliceAcapU
mov esi, eax
mov ecx, ebx
mov edx, 0xa00000
call sym.runtime.panicExtendSliceAcapU
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_saferio.ReadDataAt