Function at 0x18006b3a0
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 [0x1800cc040]
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.18006a560
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.18006aef0
mov dword [rsp + 0x20], eax
lea r8, str.loca
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.18006aef0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x18], eax
lea r8, [0x1800c1608]
mov edx, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x288]
call fcn.18006aef0
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.18006aef0
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.18006aef0
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.18006aef0
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.18006aef0
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x2c], eax
cmp dword [rsp + 0x20], 0
je 0x18006b569
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x1c], 0
je 0x18006b569
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x24], 0
je 0x18006b569
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x28], 0
jne 0x18006b570
xor eax, eax
jmp 0x18006bc91
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x20], 0
je 0x18006b598
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x18], 0
jne 0x18006b593
xor eax, eax
jmp 0x18006bc91
jmp 0x18006bac9
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.18006aef0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x18006b5f1
xor eax, eax
jmp 0x18006bc91
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.18006a560
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.18006a560
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.18006a560
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.18006a4c0
lea rcx, [rsp + 0x228]
call fcn.18006a3d0
movzx eax, al
mov edx, eax
lea rcx, [rsp + 0x228]
call fcn.18006a470
nop
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x170]
call fcn.18006a640
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.18006a640
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.18006aa90
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.18006a640
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.18006a640
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.18006a9b0
lea r9, [rsp + 0x240]
mov r8d, 1
mov edx, 0x106
lea rcx, [rsp + 0x248]
call fcn.18006a9b0
lea r9, [rsp + 0x238]
mov r8d, 1
mov edx, 0x124
lea rcx, [rsp + 0x248]
call fcn.18006a9b0
lea r9, [rsp + 0x220]
mov r8d, 1
mov edx, 0x125
lea rcx, [rsp + 0x248]
call fcn.18006a9b0
nop
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.18006b1c0
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 0x18006b97d
xor eax, eax
jmp 0x18006bc91
cmp dword [rsp + 0x23c], 0
jne 0x18006b98e
xor eax, eax
jmp 0x18006bc91
cmp dword [rsp + 0x238], 0
je 0x18006ba6c
cmp dword [rsp + 0x220], 0
jne 0x18006b9ad
xor eax, eax
jmp 0x18006bc91
mov edx, dword [rsp + 0x238]
lea rcx, [rsp + 0x228]
call fcn.18006a470
nop
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x1f0]
call fcn.18006a640
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.18006a5a0
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.18006a470
nop
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x210]
call fcn.18006a640
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.18006aef0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x18006bb18
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 4]
mov rcx, rax
call fcn.18006ab60
movzx eax, ax
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x14], eax
jmp 0x18006bb27
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.18006ab60
movzx eax, ax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x280]
mov dword [rax + 0x30], 0
mov dword [rsp + 0x24], 0
jmp 0x18006bb6a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x24], eax
jge 0x18006bc4b
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.18006ab60
movzx eax, ax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18006bc1a
cmp dword [rsp + 0x30], 3
je 0x18006bbbc
jmp 0x18006bc46
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 2]
mov rcx, rax
call fcn.18006ab60
movzx eax, ax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
je 0x18006bbec
cmp dword [rsp + 0x34], 0xa
je 0x18006bbec
jmp 0x18006bc18
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 4]
mov rcx, rax
call fcn.18006aba0
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x30], eax
jmp 0x18006bc46
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x288]
lea rax, [rcx + rax + 4]
mov rcx, rax
call fcn.18006aba0
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x280]
mov dword [rcx + 0x30], eax
jmp 0x18006bb60
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x30], 0
jne 0x18006bc5d
xor eax, eax
jmp 0x18006bc91
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.18006ab60
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.180082020
add rsp, 0x268
pop rdi
pop rsi
ret