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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x516686
push rbp
mov rbp, rsp
sub rsp, 0x18
mov qword [rax + 0x20], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x50], 0
mov qword [rax + 0x68], 0
cmp dword [0x00726b90], 0
je 0x5163d0
nop dword [rax + rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rbx
mov rdx, qword [rax + 0x78]
mov qword [r11 + 8], rdx
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rbx
mov word [rsp + 0x3c], di
mov qword [rsp + 0x28], rax
mov qword [rax + 0x78], rbx
mov qword [rax + 0x88], rsi
mov dword [rax + 0x80], ecx
mov dword [rax + 0x270], 0
movups xmmword [rax + 0x240], xmm15
movups xmmword [rax + 0x250], xmm15
movups xmmword [rax + 0x260], xmm15
mov byte [rax + 0x274], 0
test rsi, rsi
je 0x516445
lea rdx, [rax + 0x90]
mov rax, rdx
call sym.github.com_golang_freetype_truetype._hinter_.init
test rax, rax
jne 0x51648b
mov rax, qword [rsp + 0x28]
movzx edi, word [rsp + 0x3c]
xor ebx, ebx
mov ecx, edi
mov edi, 1
call sym.github.com_golang_freetype_truetype._GlyphBuf_.load
test rax, rax
jne 0x516485
mov rdx, qword [rsp + 0x28]
mov esi, dword [rdx + 0x270]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x516473
mov esi, dword [rdx + 0x240]
test esi, esi
je 0x516491
mov r8, qword [rdx + 0x20]
xor eax, eax
nop dword [rax]
jmp 0x516669
add rsp, 0x18
pop rbp
ret
add rsp, 0x18
pop rbp
ret
mov esi, dword [rdx + 0x24c]
sub esi, dword [rdx + 0x240]
nop dword [rax]
test rdi, rdi
je 0x516505
mov r8, qword [rsp + 0x30]
mov r9, qword [r8 + 0x68]
cmp r9, 8
jl 0x5165d7
mov r10, qword [r8 + 0x60]
movzx r11d, word [rsp + 0x3c]
movzx r12d, r11w
add r12d, 3
mov r13d, dword [r10 + 4]
bswap r13d
cmp r13d, r12d
jbe 0x5165d7
mov r8, qword [r8 + 0x70]
add r8, 0xfffffffffffffff8
mov r12, r8
neg r8
sar r8, 0x3f
and r8d, 8
add r8, r10
add r9, 0xfffffffffffffff8
mov r10d, dword [rsp + 0x38]
nop dword [rax]
jmp 0x516600
mov dword [rdx], esi
cmp qword [rdx + 0x20], 0
je 0x516554
mov rsi, qword [rdx + 0x18]
mov r8d, dword [rsi + 4]
mov esi, dword [rsi]
mov dword [rdx + 4], esi
mov dword [rdx + 0xc], esi
mov dword [rdx + 8], r8d
mov dword [rdx + 0x10], r8d
mov rsi, qword [rdx + 0x20]
cmp rsi, 1
jb 0x5165cb
mov rcx, qword [rdx + 0x18]
mov r8, qword [rdx + 0x28]
dec r8
neg r8
sar r8, 0x3f
and r8d, 0xc
add rcx, r8
dec rsi
xor eax, eax
jmp 0x51656a
movups xmmword [rdx + 4], xmm15
xor eax, eax
xor ebx, ebx
add rsp, 0x18
pop rbp
ret
add rcx, 0xc
inc rax
cmp rax, rsi
jge 0x5165a4
mov r8d, dword [rcx]
mov r9d, dword [rcx + 4]
cmp dword [rdx + 4], r8d
jle 0x516582
mov dword [rdx + 4], r8d
jmp 0x51658c
cmp dword [rdx + 0xc], r8d
jge 0x51658c
mov dword [rdx + 0xc], r8d
cmp dword [rdx + 8], r9d
jle 0x516598
mov dword [rdx + 8], r9d
jmp 0x516563
cmp dword [rdx + 0x10], r9d
jge 0x516563
mov dword [rdx + 0x10], r9d
jmp 0x516563
test rdi, rdi
je 0x516559
and dword [rdx + 4], 0xffffffc0
and dword [rdx + 8], 0xffffffc0
mov ecx, dword [rdx + 0xc]
add ecx, 0x3f
and ecx, 0xffffffc0
mov dword [rdx + 0xc], ecx
mov ecx, dword [rdx + 0x10]
add ecx, 0x3f
and ecx, 0xffffffc0
mov dword [rdx + 0x10], ecx
jmp 0x516559
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
add esi, 0x20
and esi, 0xffffffc0
nop dword [rax]
jmp 0x516505
sub r12, r10
mov r15, r12
neg r15
sar r15, 0x3f
and r15, r10
sub r9, r10
add r8, r15
mov r10d, eax
nop
cmp r9d, r13d
jb 0x5165d7
test r9, r9
jbe 0x516650
movzx r15d, byte [r8]
mov eax, r10d
sar r10d, 6
cmp r15d, r10d
je 0x516627
mov r10d, r13d
nop dword [rax]
cmp r9, r10
jae 0x5165e5
jmp 0x516645
lea esi, [r11 + 2]
movzx eax, si
cmp r9, rax
jbe 0x51663d
movzx esi, byte [r8 + rax]
shl esi, 6
jmp 0x5165d7
mov rcx, r9
call sym.runtime.panicIndex
mov rax, r10
mov rcx, r9
call sym.runtime.panicSliceB
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
mov r9, qword [rdx + 0x18]
lea r10, [rax + rax*2]
sub dword [r9 + r10*4], esi
inc rax
cmp rax, r8
jge 0x516491
mov rcx, qword [rdx + 0x20]
cmp rax, rcx
jb 0x51665a
nop dword [rax + rax]
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov word [rsp + 0x1c], di
mov qword [rsp + 0x20], rsi
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
movzx edi, word [rsp + 0x1c]
mov rsi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.github.com_golang_freetype_truetype._GlyphBuf_.Load