Function at 0x140073970
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 rax, qword [rcx + 8]
test rax, rax
je 0x140073cae
mov rax, qword [rax + 0x2428]
mov rbx, qword [rax + 8]
mov r10d, dword [rbx + 0x74]
test r10d, r10d
jle 0x140073a00
mov rax, qword [rbx + 0x60]
lea edx, [r10 - 1]
lea r8, [0x1402301c0]
lea r9, [rax + rdx*8 + 8]
jmp 0x1400739c9
add rax, 8
cmp r9, rax
je 0x140073a00
mov rdi, qword [rax]
mov ecx, 0x17
lea rsi, [rdi + 0xa0]
mov rdi, r8
repe cmpsb byte [rsi], byte [rdi]
seta dl
sbb dl, 0
test dl, dl
jne 0x1400739c0
mov eax, 1
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rbx + 0x70]
cmp eax, r10d
jg 0x140073a59
test eax, eax
jne 0x140073ca0
mov edx, 0x40
mov eax, 8
mov dword [rbx + 0x70], eax
mov rcx, qword [rbx + 0x60]
call sub.msvcrt.dll_realloc
mov qword [rbx + 0x60], rax
mov rdx, rax
test rax, rax
je 0x140073cae
movsxd rcx, dword [rbx + 0x74]
mov eax, dword [rbx + 0x70]
cmp ecx, eax
jge 0x140073a59
sub eax, 1
sub eax, ecx
lea rcx, [rdx + rcx*8]
xor edx, edx
lea r8, [rax*8 + 8]
call sub.msvcrt.dll_memset
mov edx, 1
mov ecx, 0x568
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x14007403f
mov ecx, 0x2000
call sub.msvcrt.dll_malloc
mov qword [rsi + 0x100], rax
test rax, rax
je 0x14007403f
mov dword [rsi + 0x108], 0x100
mov ebp, dword [rbx + 0x74]
mov rax, qword [rbx + 0x60]
lea edx, [rbp + 1]
mov dword [rbx + 0x74], edx
movsxd rdx, ebp
mov qword [rax + rdx*8], rsi
cmp ebp, 0xffffffff
je 0x140073cae
lea rdi, [rsi + 0x118]
mov eax, esi
xor r8d, r8d
movabs rcx, 0x736e61737576616a
and rdi, 0xfffffffffffffff8
mov qword [rsi + 0xa8], rcx
xor ecx, ecx
movabs rdx, 0x65645f6670645f5f
sub eax, edi
mov qword [rsi + 0xb8], rcx
lea ecx, [rax + 0x510]
mov qword [rsi + 0xa0], rdx
mov rax, 0xffffffffffffffff
movabs rdx, 0x5f5f6674745f
shr ecx, 3
mov qword [rsi + 0xb0], rdx
xor edx, edx
mov word [rsi + 0xdc], r8w
lea r8, str.cmap
mov qword [rsi + 0xc0], 0
mov qword [rsi + 0xc8], 0
mov qword [rsi + 0xd0], 0
mov dword [rsi + 0xd8], 0
mov byte [rsi + 0xde], 0
mov byte [rsi + 0xdf], 0
mov qword [rsi + 0x110], 0xffffffffffffffff
mov qword [rsi + 0x508], 0xffffffffffffffff
rep stosq qword [rdi], rax
lea rdi, [0x140278600]
mov dword [rsi + 0xe8], 0xb50a0
mov qword [rsi + 0xe0], rdi
mov rcx, rdi
mov byte [rsi + 0xec], 0
mov dword [rbx + 0x5088], 0
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov dword [rsi + 0x10], 0
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x48], 0
call fcn.140211180
xor edx, edx
lea r8, str.loca
mov rcx, rdi
mov r14d, eax
call fcn.140211180
xor edx, edx
lea r8, [0x1402301e1]
mov rcx, rdi
mov dword [rsi + 0x18], eax
mov dword [rsp + 0x2c], eax
call fcn.140211180
xor edx, edx
lea r8, str.glyf
mov rcx, rdi
mov dword [rsi + 0x1c], eax
mov r13d, eax
call fcn.140211180
xor edx, edx
lea r8, str.hhea
mov rcx, rdi
mov dword [rsi + 0x20], eax
mov r15d, eax
call fcn.140211180
xor edx, edx
lea r8, str.hmtx
mov rcx, rdi
mov dword [rsi + 0x24], eax
mov r12d, eax
call fcn.140211180
xor edx, edx
lea r8, str.kern
mov rcx, rdi
mov dword [rsi + 0x28], eax
mov dword [rsp + 0x20], eax
call fcn.140211180
xor edx, edx
lea r8, str.GPOS
mov rcx, rdi
mov dword [rsi + 0x2c], eax
call fcn.140211180
test r13d, r13d
mov dword [rsi + 0x30], eax
sete al
test r12d, r12d
sete dl
or eax, edx
test r14d, r14d
sete dl
or al, dl
jne 0x140073c8c
mov r9d, dword [rsp + 0x20]
mov r10d, dword [rsp + 0x2c]
test r9d, r9d
jne 0x140073cb5
mov rcx, rsi
call fcn.1401f2bb0
sub dword [rbx + 0x74], 1
xor eax, eax
jmp 0x1400739ec
add eax, eax
movsxd rdx, eax
shl rdx, 3
jmp 0x140073a1a
xor eax, eax
jmp 0x1400739ec
test r15d, r15d
je 0x140073daa
test r10d, r10d
je 0x140073c8c
xor edx, edx
lea r8, str.maxp
lea rcx, [0x140278600]
call fcn.140211180
mov edx, eax
mov eax, 0xffff
test edx, edx
je 0x140073cf7
lea rdx, [rdi + rdx + 4]
movzx eax, byte [rdx]
movzx edx, byte [rdx + 1]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [rsi + 0x14], eax
mov eax, r14d
mov rcx, qword [0x1402304b0]
lea rdx, [rdi + rax + 2]
movzx eax, byte [rdx]
movzx edx, byte [rdx + 1]
mov qword [rsi + 0x34], rcx
shl eax, 8
add ax, dx
je 0x140073c8c
lea edx, [r14 + 4]
movzx eax, ax
lea ecx, [rdx + rax*8]
jmp 0x140073d5d
cmp ax, 3
jne 0x140073d52
lea r9, [rdi + r8 + 2]
movzx eax, byte [r9]
movzx r9d, byte [r9 + 1]
shl eax, 8
add eax, r9d
cmp ax, 1
je 0x140073d76
cmp ax, 0xa
je 0x140073d76
add edx, 8
cmp ecx, edx
je 0x140073f70
mov r8d, edx
lea r9, [rdi + r8]
movzx eax, byte [r9]
movzx r9d, byte [r9 + 1]
shl eax, 8
add ax, r9w
jne 0x140073d2c
lea r8, [rdi + r8 + 4]
movzx eax, byte [r8]
movzx r9d, byte [r8 + 1]
shl eax, 0x18
shl r9d, 0x10
add eax, r9d
movzx r9d, byte [r8 + 2]
movzx r8d, byte [r8 + 3]
shl r9d, 8
add eax, r9d
add eax, r8d
add eax, r14d
mov dword [rsi + 0x38], eax
jmp 0x140073d52
xor edx, edx
lea r8, str.CFF
mov rcx, rdi
mov dword [rsp + 0x60], 2
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
call fcn.140211180
test eax, eax
je 0x140073c8c
mov eax, eax
lea r12, [rsp + 0x50]
mov dword [rsi + 0x4c], 0x20000000
lea r13, [rsp + 0x70]
add rax, rdi
mov rdx, r13
mov qword [rsi + 0x80], 0
mov rcx, r12
mov qword [rsi + 0x40], rax
movzx eax, byte [rax + 2]
mov qword [rsi + 0x88], 0
movdqu xmm4, xmmword [rsi + 0x40]
mov qword [rsi + 0x90], 0
mov qword [rsi + 0x98], 0
movups xmmword [rsp + 0x70], xmm4
mov dword [rsp + 0x78], eax
call fcn.140210360
mov rdx, r13
mov rcx, r12
call fcn.140210360
mov r8d, dword [rsp + 0x5c]
xor r9d, r9d
mov rcx, r12
mov rdx, qword [rsp + 0x50]
call fcn.1402104d0
movdqu xmm5, xmmword [rsp + 0x50]
mov rdx, r13
mov rcx, r12
movups xmmword [rsp + 0x80], xmm5
call fcn.140210360
mov rdx, r13
mov rcx, r12
call fcn.140210360
movdqu xmm4, xmmword [rsp + 0x50]
lea r8, [rsp + 0x64]
lea rcx, [rsp + 0x80]
mov edx, 0x11
mov qword [rsp + 0x20], rcx
movups xmmword [rsi + 0x60], xmm4
call fcn.140211010
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x60]
mov edx, 0x106
call fcn.140211010
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x68]
mov edx, 0x124
call fcn.140211010
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x6c]
mov edx, 0x125
call fcn.140211010
movdqu xmm5, xmmword [rsp + 0x70]
lea rdx, [rsp + 0x40]
mov rcx, r12
movdqu xmm4, xmmword [rsp + 0x80]
lea r8, [rsp + 0x30]
movups xmmword [rsp + 0x40], xmm5
movups xmmword [rsp + 0x30], xmm4
call fcn.140211230
movdqu xmm5, xmmword [rsp + 0x50]
cmp dword [rsp + 0x60], 2
movups xmmword [rsi + 0x70], xmm5
jne 0x140073c8c
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x140073c8c
mov edx, dword [rsp + 0x68]
test edx, edx
jne 0x14007404e
mov edx, dword [rsp + 0x7c]
test eax, eax
js 0x140073f50
cmp eax, edx
jle 0x140073f52
mov eax, edx
mov rdx, r13
mov rcx, r12
mov dword [rsp + 0x78], eax
call fcn.140210360
movdqu xmm5, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x50], xmm5
jmp 0x140073cc3
mov eax, dword [rsi + 0x38]
test eax, eax
je 0x140073c8c
movsxd rax, dword [rsi + 0x1c]
mov r8, qword [rsi + 8]
pxor xmm0, xmm0
pxor xmm2, xmm2
movss xmm1, dword [0x140230470]
lea rdx, [rdi + rax + 0x32]
movzx eax, byte [rdx]
movzx edx, byte [rdx + 1]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [rsi + 0x3c], eax
movsxd rax, dword [rsi + 0x24]
lea rcx, [r8 + rax + 6]
lea r9, [r8 + rax + 4]
movzx edx, byte [rcx]
movzx ecx, byte [rcx + 1]
lea r8, [r8 + rax + 8]
movzx eax, byte [r9]
shl edx, 8
add ecx, edx
movzx edx, byte [r9 + 1]
shl eax, 8
add eax, edx
movzx edx, byte [r8]
movzx r8d, byte [r8 + 1]
cwde
shl edx, 8
add edx, r8d
movsx edx, dx
add eax, edx
movsx edx, cx
cvtsi2ss xmm0, eax
sub eax, edx
cvtsi2ss xmm2, eax
mov eax, ebp
not eax
shr eax, 0x1f
divss xmm1, xmm2
movups xmm2, xmm0
mulss xmm2, xmm1
movss dword [rsi + 0xf0], xmm2
pxor xmm2, xmm2
cvtsi2ss xmm2, edx
subss xmm0, xmm2
movups xmm3, xmm2
mulss xmm3, xmm1
mulss xmm0, xmm1
movss dword [rsi + 0xf4], xmm3
movss dword [rsi + 0xf8], xmm0
jmp 0x1400739ec
mov rcx, rsi
call fcn.1401f2bb0
xor eax, eax
jmp 0x1400739ec
mov ecx, dword [rsp + 0x6c]
test ecx, ecx
je 0x140073c8c
mov eax, edx
mov edx, dword [rsp + 0x7c]
test eax, eax
js 0x140074068
cmp eax, edx
jle 0x14007406a
mov eax, edx
mov rdx, r13
mov rcx, r12
mov dword [rsp + 0x78], eax
call fcn.140210360
mov edx, dword [rsp + 0x7c]
movsxd rax, dword [rsp + 0x6c]
movdqu xmm4, xmmword [rsp + 0x50]
mov ecx, edx
mov r9d, eax
sub ecx, eax
shr r9d, 0x1f
movups xmmword [rsi + 0x80], xmm4
mov r8d, ecx
mov r11d, r9d
shr r8d, 0x1f
or r11b, r8b
jne 0x1400740ad
cmp edx, eax
jge 0x1400740d0
xor eax, eax
mov qword [rsi + 0x90], rax
mov eax, dword [rsp + 0x64]
mov dword [rsi + 0x98], 0
mov dword [rsi + 0x9c], r15d
jmp 0x140073f48
add rax, qword [rsp + 0x70]
mov r15d, ecx
jmp 0x1400740af