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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov qword [rcx + 8], rdx
mov rsi, rdx
mov r12d, r8d
mov rbx, rcx
mov dword [rcx + 0x10], r8d
mov edx, r12d
lea r8, str.cmap
mov qword [rcx + 0x40], 0
mov qword [rcx + 0x48], 0
mov rcx, rsi
call fcn.680b04e0
lea r8, str.loca
mov edx, r12d
mov rcx, rsi
mov r15d, eax
call fcn.680b04e0
lea r8, [0x680b9bd6]
mov edx, r12d
mov rcx, rsi
mov dword [rbx + 0x18], eax
mov dword [rsp + 0x2c], eax
call fcn.680b04e0
lea r8, str.glyf
mov edx, r12d
mov rcx, rsi
mov dword [rbx + 0x1c], eax
mov ebp, eax
call fcn.680b04e0
lea r8, str.hhea
mov edx, r12d
mov rcx, rsi
mov dword [rbx + 0x20], eax
mov r13d, eax
call fcn.680b04e0
lea r8, str.hmtx
mov edx, r12d
mov rcx, rsi
mov dword [rbx + 0x24], eax
mov edi, eax
call fcn.680b04e0
lea r8, str.kern
mov edx, r12d
mov rcx, rsi
mov dword [rbx + 0x28], eax
mov r14d, eax
call fcn.680b04e0
mov edx, r12d
mov rcx, rsi
lea r8, str.GPOS
mov dword [rbx + 0x2c], eax
call fcn.680b04e0
test ebp, ebp
mov dword [rbx + 0x30], eax
sete al
test edi, edi
sete dl
or eax, edx
test r15d, r15d
sete cl
or al, cl
jne 0x680a844a
test r14d, r14d
mov r8d, dword [rsp + 0x2c]
jne 0x680a8468
xor r13d, r13d
mov eax, r13d
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test r13d, r13d
je 0x680a8688
test r8d, r8d
je 0x680a844a
mov rcx, rsi
lea r8, str.maxp
mov edx, r12d
call fcn.680b04e0
mov ecx, 0xffff
test eax, eax
jne 0x680a88a0
mov r10d, r15d
mov dword [rbx + 0x14], ecx
lea rbp, [rsi + r10 + 2]
mov dword [rbx + 0x34], 0xffffffff
movzx r11d, byte [rbp]
movzx r8d, byte [rbp + 1]
mov dword [rbx + 0x38], 0
shl r11d, 8
add r8w, r11w
je 0x680a844a
movzx r9d, r8w
lea eax, [r15 + 4]
lea r13d, [rax + r9*8]
and r9d, 1
je 0x680a85ec
mov r12d, eax
lea r14, [rsi + r12]
movzx edx, byte [r14]
movzx edi, byte [r14 + 1]
shl edx, 8
add dx, di
je 0x680a8648
cmp dx, 3
jne 0x680a85e0
lea rcx, [rsi + r12 + 2]
movzx r10d, byte [rcx]
movzx ebp, byte [rcx + 1]
shl r10d, 8
add r10d, ebp
cmp r10w, 1
je 0x680a8524
cmp r10w, 0xa
jne 0x680a85e0
lea r11, [rsi + r12 + 4]
movzx r8d, byte [r11]
movzx r9d, byte [r11 + 1]
movzx r12d, byte [r11 + 2]
movzx r14d, byte [r11 + 3]
shl r8d, 0x18
shl r9d, 0x10
add r8d, r9d
shl r12d, 8
add r8d, r12d
add r8d, r14d
add r8d, r15d
mov dword [rbx + 0x38], r8d
jmp 0x680a85e0
cmp dx, 3
jne 0x680a8590
lea rbp, [rsi + rdi + 2]
movzx r11d, byte [rbp]
movzx r8d, byte [rbp + 1]
shl r11d, 8
add r11d, r8d
cmp r11w, 1
je 0x680a8607
cmp r11w, 0xa
je 0x680a8607
nop
lea r12d, [rax + 8]
lea rbp, [rsi + r12]
mov rax, r12
movzx r11d, byte [rbp]
movzx r8d, byte [rbp + 1]
shl r11d, 8
add r11w, r8w
je 0x680a8648
cmp r11w, 3
jne 0x680a85e0
lea r9, [rsi + r12 + 2]
movzx r14d, byte [r9]
movzx edi, byte [r9 + 1]
shl r14d, 8
add r14d, edi
cmp r14w, 1
je 0x680a8648
cmp r14w, 0xa
je 0x680a8648
nop dword [rax]
add eax, 8
cmp eax, r13d
je 0x680a8860
mov edi, eax
lea rcx, [rsi + rdi]
movzx edx, byte [rcx]
movzx r10d, byte [rcx + 1]
shl edx, 8
add dx, r10w
jne 0x680a8560
lea r12, [rsi + rdi + 4]
movzx r9d, byte [r12]
movzx edi, byte [r12 + 1]
movzx edx, byte [r12 + 2]
movzx r10d, byte [r12 + 3]
shl r9d, 0x18
shl edi, 0x10
lea ecx, [r9 + rdi]
shl edx, 8
add edx, ecx
add edx, r10d
add edx, r15d
mov dword [rbx + 0x38], edx
jmp 0x680a8590
lea r12, [rsi + r12 + 4]
movzx r9d, byte [r12]
movzx edx, byte [r12 + 1]
movzx ebp, byte [r12 + 2]
movzx r11d, byte [r12 + 3]
shl r9d, 0x18
shl edx, 0x10
lea r10d, [r9 + rdx]
shl ebp, 8
add ebp, r10d
add ebp, r11d
add ebp, r15d
mov dword [rbx + 0x38], ebp
jmp 0x680a85e0
lea r8, str.CFF
mov edx, r12d
mov rcx, rsi
mov dword [rsp + 0x60], 2
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
call fcn.680b04e0
test eax, eax
je 0x680a844d
mov r10d, eax
xor r9d, r9d
mov dword [rbx + 0x4c], 0x20000000
mov qword [rbx + 0x80], 0
add r10, rsi
mov qword [rbx + 0x40], r10
movdqu xmm0, xmmword [rbx + 0x40]
mov qword [rbx + 0x88], 0
movups xmmword [rsp + 0x70], xmm0
mov r11d, dword [rsp + 0x7c]
mov qword [rbx + 0x90], 0
mov qword [rbx + 0x98], 0
cmp r11d, 2
jg 0x680a88c8
cmp r11d, r9d
lea r14, [rsp + 0x50]
lea rdi, [rsp + 0x70]
cmovg r11d, r9d
mov rdx, rdi
mov rcx, r14
lea rbp, [rsp + 0x80]
mov dword [rsp + 0x78], r11d
call fcn.680af0f0
mov rcx, r14
call fcn.680af0f0
mov r8d, dword [rsp + 0x5c]
xor r9d, r9d
mov rcx, r14
mov rdx, qword [rsp + 0x50]
call fcn.680af410
movdqu xmm1, xmmword [rsp + 0x50]
mov rdx, rdi
mov rcx, r14
movups xmmword [rsp + 0x80], xmm1
call fcn.680af0f0
mov rcx, r14
call fcn.680af0f0
movdqu xmm2, xmmword [rsp + 0x50]
lea r8, [rsp + 0x64]
mov rcx, rbp
mov edx, 0x11
movups xmmword [rbx + 0x60], xmm2
call fcn.680b0370
lea r8, [rsp + 0x60]
mov edx, 0x106
mov rcx, rbp
call fcn.680b0370
lea r8, [rsp + 0x68]
mov edx, 0x124
mov rcx, rbp
call fcn.680b0370
lea r8, [rsp + 0x6c]
mov edx, 0x125
mov rcx, rbp
call fcn.680b0370
movdqu xmm3, xmmword [rsp + 0x70]
lea rdx, [rsp + 0x40]
mov rcx, r14
movdqu xmm4, xmmword [rsp + 0x80]
lea r8, [rsp + 0x30]
movups xmmword [rsp + 0x40], xmm3
movups xmmword [rsp + 0x30], xmm4
call fcn.680b0a60
movdqu xmm5, xmmword [rsp + 0x50]
cmp dword [rsp + 0x60], 2
movups xmmword [rbx + 0x70], xmm5
jne 0x680a844d
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x680a844d
mov edx, dword [rsp + 0x68]
test edx, edx
jne 0x680a88d8
mov r10d, dword [rsp + 0x7c]
cmp eax, r10d
jg 0x680a883c
test eax, eax
cmovns r10d, eax
mov rdx, rdi
mov rcx, r14
mov dword [rsp + 0x78], r10d
call fcn.680af0f0
movdqu xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x680a8476
mov r15d, dword [rbx + 0x38]
test r15d, r15d
je 0x680a844a
movsxd rax, dword [rbx + 0x1c]
lea rsi, [rsi + rax + 0x32]
movzx r13d, byte [rsi]
movzx r8d, byte [rsi + 1]
shl r13d, 8
add r13d, r8d
movzx r14d, r13w
mov r13d, 1
mov dword [rbx + 0x3c], r14d
jmp 0x680a844d
mov r13d, eax
lea r12, [rsi + r13 + 4]
movzx r14d, byte [r12]
movzx edi, byte [r12 + 1]
shl r14d, 8
add r14d, edi
movzx ecx, r14w
jmp 0x680a8495
movzx r9d, byte [r10 + 2]
jmp 0x680a871b
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x680a844d
mov ecx, dword [rsp + 0x7c]
cmp edx, ecx
jg 0x680a88f1
test edx, edx
cmovns ecx, edx
mov dword [rsp + 0x78], ecx
mov rdx, rdi
mov rcx, r14
call fcn.680af0f0
mov r10d, dword [rsp + 0x7c]
movsxd rdx, dword [rsp + 0x6c]
movdqu xmm0, xmmword [rsp + 0x50]
mov ebp, r10d
mov r11d, edx
sub ebp, edx
shr r11d, 0x1f
movups xmmword [rbx + 0x80], xmm0
mov r8d, ebp
mov r9d, r11d
shr r8d, 0x1f
or r9b, r8b
jne 0x680a8937
cmp r10d, edx
jge 0x680a895a
xor edx, edx
mov qword [rbx + 0x90], rdx
mov eax, dword [rsp + 0x64]
mov dword [rbx + 0x98], 0
mov dword [rbx + 0x9c], r13d
jmp 0x680a8831
add rdx, qword [rsp + 0x70]
mov r13d, ebp
jmp 0x680a8939