Function at 0x4ed680
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ed90f
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rsp + 0x88], rbx
movsd qword [rsp + 0x98], xmm1
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x80], rax
mulsd xmm0, xmm1
movzx edx, byte [0x00680e71]
nop
test edx, edx
je 0x4ed6cc
roundsd xmm2, xmm0, 2
jmp 0x4ed6e0
movsd qword [rsp + 0x58], xmm0
call sym.math.Ceil
movups xmm2, xmm0
movsd xmm0, qword [rsp + 0x58]
movsd xmm1, qword [0x00561bd0]
divsd xmm1, xmm0
movsd qword [rsp + 0x28], xmm1
movsd qword [rsp], xmm2
movsd xmm0, qword [0x00561bd0]
movsd qword [rsp + 8], xmm0
call sym.math.archMax.abi0
xorps xmm15, xmm15
mov r14, qword [0x00681130]
mov r14, qword gs:[r14]
mov r14, qword [r14]
movsd xmm0, qword [rsp + 0x10]
cvttsd2si rax, xmm0
mov rcx, qword [rsp + 0x88]
imul rax, rcx
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x80]
imul rcx, rax
mov qword [rsp + 0x40], rcx
movsd xmm0, qword [rsp + 0x28]
movsd qword [rsp], xmm0
movsd xmm0, qword [0x00561bd0]
movsd qword [rsp + 8], xmm0
call sym.math.archMin.abi0
xorps xmm15, xmm15
mov r14, qword [0x00681130]
mov r14, qword gs:[r14]
mov r14, qword [r14]
movsd xmm0, qword [rsp + 0x10]
movsd qword [rsp + 0x18], xmm0
lea rax, [0x00509800]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sym.runtime.makeslice
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
lea rax, [0x00509780]
call sym.runtime.makeslice
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
movsd xmm0, qword [rsp + 0x18]
movsd xmm1, qword [rsp + 0x98]
xor esi, esi
jmp 0x4ed7e8
inc rsi
mov rdx, r9
cmp rbx, rsi
jle 0x4ed842
mov qword [rsp + 0x20], rsi
xorps xmm2, xmm2
cvtsi2sd xmm2, rsi
movsd xmm3, qword [0x00561c08]
addsd xmm2, xmm3
mulsd xmm2, xmm1
subsd xmm2, xmm3
cvttsd2si r10, xmm2
mov r9, rdx
shr rdx, 0x3f
lea r11, [rdx + r9]
sar r11, 1
sub r10, r11
inc r10
mov qword [rax + rsi*8], r10
xorps xmm4, xmm4
cvtsi2sd xmm4, r10
subsd xmm2, xmm4
movsd qword [rsp + 0x30], xmm2
xor edx, edx
nop
jmp 0x4ed8b3
mov rcx, qword [rsp + 0x40]
mov rdi, rax
mov rsi, rbx
mov r8, rsi
mov r9, rdx
mov rax, qword [rsp + 0x68]
mov rbx, rcx
add rsp, 0x70
pop rbp
ret
cvttsd2si r10d, xmm0
mov r11, qword [rsp + 0x68]
mov dword [r11 + rax*4], r10d
mov rdx, qword [rsp + 0x38]
inc rdx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x20]
mov r9, qword [rsp + 0x50]
movsd xmm0, qword [rsp + 0x18]
movsd xmm1, qword [rsp + 0x98]
movsd xmm2, qword [rsp + 0x30]
movsd xmm3, qword [0x00561c08]
cmp rdx, r9
jge 0x4ed7e2
mov qword [rsp + 0x38], rdx
xorps xmm1, xmm1
cvtsi2sd xmm1, rdx
subsd xmm2, xmm1
mulsd xmm2, xmm0
imul rsi, r9
lea rbx, [rsi + rdx]
mov qword [rsp + 0x48], rbx
mov rsi, qword [rcx]
movups xmm0, xmm2
mov rdx, rcx
call rsi
movsd xmm1, qword [0x00561c78]
mulsd xmm0, xmm1
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
nop
cmp rcx, rax
ja 0x4ed861
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
movsd qword [rsp + 0x18], xmm0
movsd qword [rsp + 0x20], xmm1
mov qword [rsp + 0x28], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movsd xmm0, qword [rsp + 0x18]
movsd xmm1, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
jmp sym.github.com_nfnt_resize.createWeights16