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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x268
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x288]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x280]
mov ecx, dword [rsp + 0x290]
mov dword [rax + 0x10], ecx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x130]
call fcn.140045070
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0xa0]
lea rdi, [rax + 0x38]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, str.cmap
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov dword [rsp + 0x20], eax
lea r8, str.loca
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x18], eax
lea r8, [0x1400a0318]
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x1c], eax
lea r8, str.glyf
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x20], eax
lea r8, str.hhea
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x24], eax
lea r8, str.hmtx
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x28], eax
lea r8, str.kern
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x2c], eax
cmp dword [rsp + 0x20], 0
je 0x140046069
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x1c], 0
je 0x140046069
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x24], 0
je 0x140046069
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x28], 0
jne 0x140046070
xor eax, eax
jmp 0x14004678d
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x20], 0
je 0x140046098
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x18], 0
jne 0x140046093
xor eax, eax
jmp 0x14004678d
jmp 0x1400465c5
mov dword [rsp + 0x240], 2
mov dword [rsp + 0x23c], 0
mov dword [rsp + 0x238], 0
mov dword [rsp + 0x220], 0
lea r8, str.CFF
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1400460f1
xor eax, eax
jmp 0x14004678d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.140045070
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0xb0]
lea rdi, [rax + 0x78]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.140045070
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0xc0]
lea rdi, [rax + 0x88]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov r8d, 0x20000000
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140045070
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0xd0]
lea rdi, [rax + 0x38]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x228]
mov rcx, qword [rsp + 0x280]
mov rdi, rax
lea rsi, [rcx + 0x38]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 2
lea rcx, [rsp + 0x228]
call fcn.140044fd0
lea rcx, [rsp + 0x228]
call fcn.140044ee0
movzx eax, al
mov edx, eax
lea rcx, [rsp + 0x228]
call fcn.140044f80
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x170]
call fcn.140045150
lea rcx, [rsp + 0x180]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x190]
call fcn.140045150
lea rcx, [rsp + 0xe0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0xe0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0xf0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r8d, r8d
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x1a0]
call fcn.140045590
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x248]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x1b0]
call fcn.140045150
lea rcx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x1d0]
call fcn.140045150
lea rcx, [rsp + 0x120]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0x120]
lea rdi, [rax + 0x58]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x23c]
mov r8d, 1
mov edx, 0x11
lea rcx, [rsp + 0x248]
call fcn.1400454b0
lea r9, [rsp + 0x240]
mov r8d, 1
mov edx, 0x106
lea rcx, [rsp + 0x248]
call fcn.1400454b0
lea r9, [rsp + 0x238]
mov r8d, 1
mov edx, 0x124
lea rcx, [rsp + 0x248]
call fcn.1400454b0
lea r9, [rsp + 0x220]
mov r8d, 1
mov edx, 0x125
lea rcx, [rsp + 0x248]
call fcn.1400454b0
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x248]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x228]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1e0]
call fcn.140045cc0
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0x60]
lea rdi, [rax + 0x68]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x240], 2
je 0x14004647b
xor eax, eax
jmp 0x14004678d
cmp dword [rsp + 0x23c], 0
jne 0x14004648c
xor eax, eax
jmp 0x14004678d
cmp dword [rsp + 0x238], 0
je 0x140046569
cmp dword [rsp + 0x220], 0
jne 0x1400464ab
xor eax, eax
jmp 0x14004678d
mov edx, dword [rsp + 0x238]
lea rcx, [rsp + 0x228]
call fcn.140044f80
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x1f0]
call fcn.140045150
lea rcx, [rsp + 0x70]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0x70]
lea rdi, [rax + 0x78]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x220]
mov ecx, dword [rsp + 0x234]
sub ecx, eax
mov eax, ecx
mov r9d, eax
mov r8d, dword [rsp + 0x220]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x200]
call fcn.1400450b0
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0x80]
lea rdi, [rax + 0x88]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, dword [rsp + 0x23c]
lea rcx, [rsp + 0x228]
call fcn.140044f80
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x210]
call fcn.140045150
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0x90]
lea rdi, [rax + 0x48]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, str.maxp
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.1400459f0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x140046614
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 4]
mov rcx, rax
call fcn.140045660
movzx eax, ax
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x14], eax
jmp 0x140046623
mov rax, qword [rsp + 0x280]
mov dword [rax + 0x14], 0xffff
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 2]
mov rcx, rax
call fcn.140045660
movzx eax, ax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x280]
mov dword [rax + 0x30], 0
mov dword [rsp + 0x24], 0
jmp 0x140046666
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x24], eax
jge 0x140046747
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx*8 + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140045660
movzx eax, ax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140046716
cmp dword [rsp + 0x30], 3
je 0x1400466b8
jmp 0x140046742
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 2]
mov rcx, rax
call fcn.140045660
movzx eax, ax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
je 0x1400466e8
cmp dword [rsp + 0x34], 0xa
je 0x1400466e8
jmp 0x140046714
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 4]
mov rcx, rax
call fcn.1400456a0
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x30], eax
jmp 0x140046742
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 4]
mov rcx, rax
call fcn.1400456a0
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x30], eax
jmp 0x14004665c
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x30], 0
jne 0x140046759
xor eax, eax
jmp 0x14004678d
mov rax, qword [rsp + 0x280]
movsxd rax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 0x32]
mov rcx, rax
call fcn.140045660
movzx eax, ax
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x34], eax
mov eax, 1
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.14005f9e0
add rsp, 0x268
pop rdi
pop rsi
ret