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

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbx
push rsi
push r13
push r15
sub rsp, 0x58
mov esi, r8d
mov r13d, edx
mov r15, rcx
test rcx, rcx
je 0x14006aa27
cmp qword [rcx + 0x80], 0
je 0x14006aa27
mov rbx, qword [rcx + 0x78]
test rbx, rbx
je 0x14006aa27
mov rcx, qword [rbx + 0xf0]
mov qword [rax + 0x18], rbp
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r14
test rcx, rcx
je 0x14006a11d
test byte [rcx + 8], 1
je 0x14006a11d
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x78]
mov r8, qword [rax + 0x98]
test rdx, rdx
je 0x14006a111
mov rcx, r8
call qword [r8 + 0x10]
mov rcx, qword [rbx + 0xf0]
xor ebp, ebp
mov qword [rbx + 0x78], rbp
and dword [rcx + 8], 0xfffffffe
jmp 0x14006a123
xor ebp, ebp
mov qword [rbx + 0x78], rbp
xor eax, eax
lea r12, [rbx + 0x98]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbx + 0x30], xmm0
mov ecx, esi
movups xmmword [rbx + 0x40], xmm0
or ecx, 0x801
movups xmmword [r12], xmm1
movups xmmword [r12 + 0x10], xmm1
mov qword [r12 + 0x20], rax
mov qword [rbx + 0x68], rax
mov byte [rbx + 0x82], al
mov qword [rbx + 0x90], rax
mov qword [rbx + 0xd8], rax
mov qword [rbx + 0x50], rax
mov dword [rbx + 0x70], ebp
mov dword [rbx + 0xc0], ebp
mov qword [rbx + 0xc8], rbp
mov qword [rbx + 0xd0], rbp
mov qword [rbx + 0xe8], rbp
mov dword [rbx + 0x60], ebp
mov dword [rbx + 0xe0], ebp
mov rdi, qword [r15 + 0x90]
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x130]
mov eax, esi
and eax, 0x400
mov qword [rsp + 0x80], rdx
cmove ecx, esi
test cl, 1
je 0x14006a1c4
and ecx, 0xfffffffb
or ecx, 0xa
mov r14d, ecx
mov eax, ecx
and r14d, 0xfffffffb
and eax, 0x400000
cmove r14d, ecx
test rdx, rdx
je 0x14006a20c
test r14d, 0x8002
jne 0x14006a20c
mov eax, dword [r15 + 8]
and eax, 0x2001
cmp eax, 1
jne 0x14006a20c
bt r14d, 0xb
jb 0x14006a264
mov rax, qword [r15 + 0xd0]
cmp dword [rax + 8], 0
mov ecx, dword [rax]
jne 0x14006a260
test ecx, ecx
jne 0x14006a264
mov rax, qword [rdi + 0x18]
mov r9d, r14d
mov rdx, qword [r15 + 0x80]
mov r8d, r13d
mov rcx, rbx
call qword [rax + 0x78]
mov r13d, eax
test eax, eax
jne 0x14006a9f7
cmp dword [rbx + 0x60], 0x6f75746c
jne 0x14006a4a1
test r12, r12
je 0x14006a7d0
movsx r9d, word [r12 + 2]
movsx rax, word [r12]
test r9d, r9d
jne 0x14006a39a
test ax, ax
jmp 0x14006a3ea
test ecx, ecx
jne 0x14006a20c
test r14b, 0x20
jne 0x14006a318
mov rax, qword [rdi]
test dword [rax], 0x400
je 0x14006a318
mov r8, qword [rax + 0x30]
mov rcx, rbp
test r8, r8
je 0x14006a299
lea rdx, str.font_format
mov rcx, rdi
call r8
mov rcx, rax
lea rdx, str.Type_1
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x14006a2b4
cmp dword [rdi + 0x38], 1
jne 0x14006a2b4
mov cl, 1
jmp 0x14006a2b6
xor cl, cl
mov eax, r14d
and eax, 0xf0000
cmp eax, 0x10000
jne 0x14006a2d4
mov rax, qword [rdi]
test dword [rax], 0x800
jne 0x14006a2d4
test cl, cl
je 0x14006a318
test byte [r15 + 8], 8
je 0x14006a20c
cmp dword [r15 + 0x434], 0
je 0x14006a20c
cmp word [r15 + 0x18a], 0
jne 0x14006a20c
cmp dword [r15 + 0x3b0], 0
jne 0x14006a20c
cmp dword [r15 + 0x3c0], 0
jne 0x14006a20c
test byte [r15 + 8], 2
je 0x14006a35d
test r14b, 8
jne 0x14006a35d
mov rax, qword [rdi + 0x18]
mov r9d, r14d
mov rdx, qword [r15 + 0x80]
bts r9d, 0xe
mov r8d, r13d
mov rcx, rbx
call qword [rax + 0x78]
mov r13d, eax
test eax, eax
jne 0x14006a355
cmp dword [rbx + 0x60], 0x62697473
je 0x14006a4a1
mov r13d, dword [rsp + 0x88]
mov rsi, qword [r15 + 0xd0]
mov r9d, r13d
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
mov dword [rsp + 0x20], r14d
mov edi, dword [rsi + 0x18]
mov dword [rsi + 0x18], ebp
mov rax, qword [rcx]
mov r8, qword [r15 + 0x80]
mov r10, qword [rax + 0x18]
call qword [r10 + 0x18]
mov r13d, eax
mov dword [rsi + 0x18], edi
jmp 0x14006a4a1
jle 0x14006a7d0
test ax, ax
jle 0x14006a7d0
mov r10, rax
mov r8d, 0xffffffff
mov rax, qword [r12 + 0x18]
mov rdx, rbp
nop word [rax + rax]
movsx ecx, word [rax]
cmp ecx, r8d
jle 0x14006a7d0
cmp ecx, r9d
jge 0x14006a7d0
inc rdx
add rax, 2
mov r8d, ecx
cmp rdx, r10
jl 0x14006a3c0
lea eax, [r9 - 1]
cmp ecx, eax
jne 0x14006a7d0
mov r13d, ebp
test r14b, 2
jne 0x14006a4a1
mov ecx, dword [rbx + 0x38]
mov eax, r14d
mov esi, dword [rbx + 0x44]
mov r10d, ecx
mov edx, dword [rbx + 0x3c]
and r10d, 0xffffffc0
mov r11d, dword [rbx + 0x30]
mov r8d, esi
and r8d, 0xffffffc0
mov dword [rsp + 0x80], ecx
mov dword [rbx + 0x44], r8d
mov r13d, dword [rbx + 0x48]
lea ecx, [rdx + 0x3f]
mov edi, dword [rbx + 0x34]
and ecx, 0xffffffc0
mov dword [rbx + 0x38], r10d
mov r9d, r13d
and r9d, 0xffffffc0
shr eax, 4
mov dword [rbx + 0x3c], ecx
mov dword [rbx + 0x48], r9d
and al, 1
je 0x14006a466
lea ecx, [rdi + 0x3f]
add ecx, r13d
lea eax, [r11 + 0x3f]
and ecx, 0xffffffc0
add eax, esi
sub ecx, r9d
and eax, 0xffffffc0
sub eax, r8d
jmp 0x14006a480
mov eax, dword [rsp + 0x80]
sub edx, edi
add eax, 0x3f
and edx, 0xffffffc0
add eax, r11d
sub ecx, edx
and eax, 0xffffffc0
sub eax, r10d
mov dword [rbx + 0x30], eax
mov r13d, ebp
mov dword [rbx + 0x34], ecx
mov eax, dword [rbx + 0x40]
add eax, 0x20
and eax, 0xffffffc0
mov dword [rbx + 0x40], eax
mov eax, dword [rbx + 0x4c]
add eax, 0x20
and eax, 0xffffffc0
mov dword [rbx + 0x4c], eax
test r14b, 0x10
je 0x14006a4ae
mov eax, dword [rbx + 0x4c]
mov ecx, ebp
jmp 0x14006a4b3
mov ecx, dword [rbx + 0x40]
mov eax, ebp
mov dword [rbx + 0x58], ecx
mov dword [rbx + 0x5c], eax
bt r14d, 0xd
jb 0x14006a582
test byte [r15 + 8], 1
je 0x14006a582
movsxd r8, dword [rbx + 0x50]
mov rdi, qword [r15 + 0x80]
mov r9d, r8d
sar r9d, 0x1f
mov rax, r8
and r9d, 0xfffffffe
inc r9d
movsxd r11, dword [rdi + 0x1c]
mov ecx, r9d
mov r10, r11
neg r10
test r11d, r11d
cmovns r10, r11
neg rax
test r8d, r8d
cmovns rax, r8
movsxd r8, dword [rbx + 0x54]
imul r10, rax
neg ecx
add r10, 0x20
shr r10, 6
mov eax, r10d
test r11d, r11d
cmovns ecx, r9d
neg eax
test ecx, ecx
mov r9d, r8d
cmovns eax, r10d
sar r9d, 0x1f
mov dword [rbx + 0x50], eax
and r9d, 0xfffffffe
movsxd r11, dword [rdi + 0x20]
inc r9d
mov r10, r11
mov rax, r8
neg r10
mov ecx, r9d
test r11d, r11d
cmovns r10, r11
neg rax
test r8d, r8d
cmovns rax, r8
neg ecx
imul r10, rax
add r10, 0x20
shr r10, 6
test r11d, r11d
mov eax, r10d
cmovns ecx, r9d
neg eax
test ecx, ecx
cmovns eax, r10d
mov dword [rbx + 0x54], eax
bt r14d, 0xb
jb 0x14006a748
mov rdi, qword [r15 + 0xd0]
mov edx, dword [rdi + 0x18]
test edx, edx
je 0x14006a748
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x90]
mov r9, qword [rcx + 8]
mov r10, qword [r9 + 0x128]
test r10, r10
je 0x14006a5c3
mov eax, dword [rbx + 0x60]
cmp dword [r10 + 0x20], eax
je 0x14006a5f3
mov rax, qword [r9 + 0x118]
mov r10, rbp
mov r8d, dword [rbx + 0x60]
test rax, rax
je 0x14006a5ee
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x20], r8d
je 0x14006a5eb
mov rax, qword [rax + 8]
test rax, rax
jne 0x14006a5d6
jmp 0x14006a5ee
mov r10, rcx
test r10, r10
je 0x14006a60f
mov rax, qword [r10 + 0x18]
lea r9, [rdi + 0x10]
mov r8, rdi
mov rdx, rbx
mov rcx, r10
call qword [rax + 0x48]
mov r13d, eax
jmp 0x14006a73c
cmp r8d, 0x6f75746c
jne 0x14006a73c
mov eax, edx
test dl, 1
je 0x14006a6f3
test r12, r12
je 0x14006a6f3
mov r10, qword [r12 + 8]
test r10, r10
je 0x14006a6f3
movsx rax, word [r12 + 2]
lea r11, [r10 + rax*8]
mov eax, edx
cmp r10, r11
jae 0x14006a6f3
test r10, r10
je 0x14006a6e3
movsxd rax, dword [r10 + 4]
movsxd rcx, dword [r10]
movsxd rdx, dword [rdi + 4]
movsxd r8, dword [rdi]
movsxd r9, dword [rdi + 8]
imul rdx, rax
imul r8, rcx
imul r9, rcx
movsxd rcx, dword [rdi + 0xc]
imul rcx, rax
mov rax, rdx
shr rax, 0x3f
sub rdx, rax
mov rax, r8
shr rax, 0x3f
add rdx, 0x8000
sub r8, rax
sar rdx, 0x10
mov rax, rcx
add r8, 0x8000
shr rax, 0x3f
sub rcx, rax
sar r8, 0x10
mov rax, r9
add rcx, 0x8000
shr rax, 0x3f
add edx, r8d
sub r9, rax
sar rcx, 0x10
add r9, 0x8000
mov dword [r10], edx
sar r9, 0x10
add ecx, r9d
mov dword [r10 + 4], ecx
add r10, 8
cmp r10, r11
jb 0x14006a653
mov eax, dword [rdi + 0x18]
test al, 2
je 0x14006a73c
mov r10d, dword [rdi + 0x14]
mov r11d, dword [rdi + 0x10]
test r12, r12
je 0x14006a73c
movzx edx, bp
mov r9, qword [r12 + 8]
cmp bp, word [r12 + 2]
jge 0x14006a73c
nop dword [rax]
nop dword [rax + rax]
add dword [r9], r11d
inc dx
add dword [r9 + 4], r10d
lea r9, [r9 + 8]
movsx r8d, word [r12 + 2]
movzx eax, dx
cmp eax, r8d
jl 0x14006a720
mov rdx, rdi
lea rcx, [rbx + 0x58]
call fcn.14006e3b0
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x18], eax
mov rax, qword [rbx + 0xf0]
mov dword [rax + 0x30], r14d
test r13d, r13d
jne 0x14006a9f7
test r14b, 1
jne 0x14006a9f7
mov eax, dword [rbx + 0x60]
cmp eax, 0x62697473
je 0x14006a9f7
cmp eax, 0x636f6d70
je 0x14006a9f7
mov r10d, r14d
lea edi, [r13 + 2]
sar r10d, 0x10
and r10d, 0xf
jne 0x14006a7a3
bt r14d, 0xc
cmovb r10d, edi
test r14b, 4
je 0x14006a7db
mov rax, qword [rbx + 8]
test rax, rax
je 0x14006a7d0
mov rax, qword [rax + 0x90]
mov r8d, r10d
mov rdx, rbx
mov rcx, qword [rax + 8]
call fcn.14006c8e0
mov r13d, eax
jmp 0x14006a9f7
mov r13d, 6
jmp 0x14006a9f7
cmp eax, 0x6f75746c
jne 0x14006a9f7
test r12, r12
je 0x14006a851
movsx rax, word [r12 + 2]
test ax, ax
jne 0x14006a7ff
mov r9d, ebp
mov ecx, ebp
mov edx, ebp
jmp 0x14006a862
mov r8, qword [r12 + 8]
mov ecx, dword [r8]
lea rsi, [r8 + rax*8]
mov edx, dword [r8 + 4]
mov ebp, ecx
add r8, 8
mov r9d, edx
cmp r8, rsi
jae 0x14006a862
nop dword [rax]
mov eax, ecx
mov ecx, dword [r8]
cmp ecx, ebp
mov r11d, ecx
cmovge r11d, ebp
cmp ecx, eax
mov ebp, r11d
cmovle ecx, eax
mov eax, dword [r8 + 4]
cmp eax, r9d
cmovl r9d, eax
cmp eax, edx
cmovg edx, eax
add r8, 8
cmp r8, rsi
jb 0x14006a820
jmp 0x14006a862
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x34]
mov ebp, dword [rsp + 0x30]
mov esi, ebp
mov r15d, r9d
mov r14d, ecx
sar esi, 6
mov r12d, edx
sar r15d, 6
and ebp, 0x3f
sar r14d, 6
and r9d, 0x3f
sar r12d, 6
and ecx, 0x3f
mov dword [rsp + 0x30], ebp
and edx, 0x3f
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
test r10d, r10d
je 0x14006a8d4
sub r10d, 1
je 0x14006a8d4
sub r10d, 1
je 0x14006a946
sub r10d, 1
je 0x14006a93b
cmp r10d, 1
jne 0x14006a8d4
lea edi, [r10 + 5]
lea r8d, [r10 + 3]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14006fac0
mov edx, dword [rsp + 0x3c]
mov r10d, edi
mov r8d, dword [rsp + 0x30]
add edx, 0x3f
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x34]
add ecx, 0x3f
sar ecx, 6
sar edx, 6
add edx, r12d
sar r8d, 6
add r8d, esi
sar eax, 6
sub ecx, r8d
mov r9d, edx
sub r9d, eax
add ecx, r14d
sub r9d, r15d
sub r10d, 1
je 0x14006a9c4
sub r10d, 1
je 0x14006a934
sub r10d, 3
je 0x14006aa1c
cmp r10d, 1
jne 0x14006a934
lea r9d, [r9 + r9*2]
mov eax, ecx
jmp 0x14006a9cd
mov edi, 5
lea r8d, [rdi - 2]
jmp 0x14006a8c7
lea r10d, [rcx + 0x20]
mov edi, 1
lea r11d, [rbp + 0x1f]
mov ecx, r10d
shr ecx, 6
mov r8d, r11d
shr r8d, 6
add ecx, r14d
add r8d, esi
cmp r8d, ecx
jne 0x14006a983
and r10d, 0x3f
and r11d, 0x3f
add r10d, r11d
cmp r10d, 0x3f
jae 0x14006a981
dec r8d
jmp 0x14006a983
inc ecx
lea r11d, [r9 + 0x1f]
lea r9d, [rdx + 0x20]
mov r10d, r11d
shr r10d, 6
mov edx, r9d
shr edx, 6
add r10d, r15d
add edx, r12d
cmp r10d, edx
jne 0x14006a9bb
and r9d, 0x3f
and r11d, 0x3f
add r9d, r11d
cmp r9d, 0x3f
jae 0x14006a9b9
dec r10d
jmp 0x14006a9bb
inc edx
sub ecx, r8d
mov r9d, edx
sub r9d, r10d
lea eax, [rcx + 0xf]
sar eax, 3
and eax, 0xfffffffe
mov dword [rbx + 0x94], edx
mov edx, 0x100
mov dword [rbx + 0x90], r8d
mov word [rbx + 0x80], dx
mov byte [rbx + 0x82], dil
mov dword [rbx + 0x6c], ecx
mov dword [rbx + 0x68], r9d
mov dword [rbx + 0x70], eax
mov r14, qword [rsp + 0x40]
mov eax, r13d
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x90]
add rsp, 0x58
pop r15
pop r13
pop rsi
pop rbx
ret
lea ecx, [rcx + rcx*2]
lea eax, [rcx + 3]
and eax, 0xfffffffc
jmp 0x14006a9cd
mov eax, 0x23
add rsp, 0x58
pop r15
pop r13
pop rsi
pop rbx
ret