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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2d8
lea rdi, [rsp + 0x30]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f0]
mov rax, qword [0x1801b9d00]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov eax, 4
imul rax, rax, 0x24
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 1
jl 0x18007d1d2
mov edx, dword [rsp + 0x300]
lea rcx, str.TT_Load_Glyph:_glyph_index__d_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x18007d1a9
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x98], 0xffffffff
je 0x18007d685
mov eax, dword [rsp + 0x308]
and eax, 8
test eax, eax
jne 0x18007d685
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax + 8]
mov eax, dword [rax + 4]
and eax, 0x7fff0000
test eax, eax
jne 0x18007d685
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 0x8000
test eax, eax
jne 0x18007d685
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x1a4], eax
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x1a8], eax
mov r9d, dword [rsp + 0x308]
mov r8d, dword [rsp + 0x300]
mov rdx, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2f0]
call fcn.18008af00
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
and eax, 0xff
cmp eax, 0x9d
jne 0x18007d46b
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x18007d466
xor eax, eax
mov word [rsp + 0x1b4], ax
xor eax, eax
mov word [rsp + 0x1d4], ax
xor eax, eax
mov word [rsp + 0x1f4], ax
xor eax, eax
mov word [rsp + 0x214], ax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x42c], 0
jne 0x18007d2f1
mov eax, dword [rsp + 0x38]
jmp 0x18007dcaa
lea r9, [rsp + 0x1f4]
lea r8, [rsp + 0x1b4]
mov edx, dword [rsp + 0x300]
mov rcx, qword [rsp + 0x30]
call fcn.18007ce60
lea rax, [rsp + 0x214]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1d4]
xor r8d, r8d
mov edx, dword [rsp + 0x300]
mov rcx, qword [rsp + 0x30]
call fcn.18007cf20
xor eax, eax
mov rcx, qword [rsp + 0x2f8]
mov word [rcx + 0x9a], ax
xor eax, eax
mov rcx, qword [rsp + 0x2f8]
mov word [rcx + 0x98], ax
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x34], 0
movsx eax, word [rsp + 0x1b4]
mov edx, dword [rsp + 0x1a4]
mov ecx, eax
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x3c], 0
movzx eax, word [rsp + 0x1f4]
mov edx, dword [rsp + 0x1a4]
mov ecx, eax
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x44], 0
movsx eax, word [rsp + 0x1d4]
mov edx, dword [rsp + 0x1a8]
mov ecx, eax
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x48], eax
movzx eax, word [rsp + 0x214]
mov edx, dword [rsp + 0x1a8]
mov ecx, eax
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x60], 0x62697473
mov rax, qword [rsp + 0x2f8]
mov byte [rax + 0x82], 1
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x90], 0
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x94], 0
xor eax, eax
jmp 0x18007dcaa
jmp 0x18007d685
cmp dword [rsp + 0x38], 0
je 0x18007d496
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x18007d491
mov eax, dword [rsp + 0x38]
jmp 0x18007dcaa
jmp 0x18007d685
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x18007d4c8
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 0x20000
test eax, eax
je 0x18007d67e
mov byte [rsp + 0x20], 1
mov r9d, dword [rsp + 0x308]
mov r8, qword [rsp + 0x2f8]
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x50]
call fcn.18008b140
mov r9b, 1
xor r8d, r8d
mov edx, dword [rsp + 0x300]
lea rcx, [rsp + 0x50]
call fcn.1800896b0
lea rcx, [rsp + 0x50]
call fcn.18008b890
mov rax, qword [rsp + 0x2f8]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x2f8]
mov ecx, dword [rsp + 0x15c]
mov dword [rax + 0x54], ecx
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x46c], 3
jne 0x18007d602
movsx eax, word [rsp + 0x84]
test eax, eax
jle 0x18007d602
mov eax, dword [rsp + 0x308]
and eax, 0x10
test eax, eax
je 0x18007d582
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x224], eax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x228], eax
jmp 0x18007d59e
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x224], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x228], eax
mov edx, dword [rsp + 0x1a4]
mov ecx, dword [rsp + 0x224]
call fcn.18004eac0
sar eax, 6
mov rcx, qword [rsp + 0x2f8]
add eax, dword [rcx + 0x90]
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x90], eax
mov edx, dword [rsp + 0x1a8]
mov ecx, dword [rsp + 0x228]
call fcn.18004eac0
sar eax, 6
mov rcx, qword [rsp + 0x2f8]
add eax, dword [rcx + 0x94]
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x2f8]
cmp dword [rax + 0x40], 0
jne 0x18007d640
mov rax, qword [rsp + 0x2f8]
cmp dword [rax + 0x50], 0
je 0x18007d640
mov edx, dword [rsp + 0x1a4]
mov rax, qword [rsp + 0x2f8]
mov ecx, dword [rax + 0x50]
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x2f8]
cmp dword [rax + 0x4c], 0
jne 0x18007d67e
mov rax, qword [rsp + 0x2f8]
cmp dword [rax + 0x54], 0
je 0x18007d67e
mov edx, dword [rsp + 0x1a8]
mov rax, qword [rsp + 0x2f8]
mov ecx, dword [rax + 0x54]
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x4c], eax
xor eax, eax
jmp 0x18007dcaa
mov eax, dword [rsp + 0x308]
and eax, 0x4000
test eax, eax
je 0x18007d6b7
lea r8, [0x180193370]
mov edx, 0xb1c
mov ecx, 6
call fcn.18012c620
or eax, 6
mov dword [rsp + 0x38], eax
jmp 0x18007dc73
mov eax, dword [rsp + 0x308]
and eax, 1
test eax, eax
jne 0x18007d6fa
mov rax, qword [rsp + 0x2f0]
movzx eax, byte [rax + 0x88]
test eax, eax
jne 0x18007d6fa
lea r8, [0x1801933e0]
mov edx, 0xb25
mov ecx, 0x24
call fcn.18012c620
or eax, 0x24
mov dword [rsp + 0x38], eax
jmp 0x18007dc73
mov eax, dword [rsp + 0x308]
and eax, 0x100000
test eax, eax
je 0x18007d8e1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4e0], 0
je 0x18007d8e1
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x2d0]
mov qword [rsp + 0x230], rax
mov eax, 4
imul rax, rax, 0x24
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 3
jl 0x18007d757
lea rcx, [0x180193450]
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x18007d735
mov edx, dword [rsp + 0x300]
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [rsp + 0x230]
call qword [rax + 0x168]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x18007d8b9
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x238], eax
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x23c], eax
mov eax, 4
imul rax, rax, 0x24
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 3
jl 0x18007d7cf
lea rcx, [0x180193318]
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x18007d7ad
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x60], 0x53564720
lea rax, [rsp + 0x284]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x244]
mov r8d, dword [rsp + 0x300]
xor edx, edx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x230]
call qword [rax + 0x140]
lea rax, [rsp + 0x2a4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x264]
mov r8d, dword [rsp + 0x300]
mov dl, 1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x230]
call qword [rax + 0x140]
movzx eax, word [rsp + 0x284]
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x50], eax
movzx eax, word [rsp + 0x2a4]
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x54], eax
movzx eax, word [rsp + 0x284]
mov edx, dword [rsp + 0x238]
mov ecx, eax
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x40], eax
movzx eax, word [rsp + 0x2a4]
mov edx, dword [rsp + 0x23c]
mov ecx, eax
call fcn.18004eac0
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x4c], eax
mov eax, dword [rsp + 0x38]
jmp 0x18007dcaa
mov eax, 4
imul rax, rax, 0x24
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 3
jl 0x18007d8db
lea rcx, [0x180193470]
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x18007d8b9
mov eax, dword [rsp + 0x308]
and eax, 0x800000
test eax, eax
je 0x18007d913
lea r8, str.C:UserskaDesktopinternal_skinchangercs2_sdk_1cs2cheatdependencies_freetype_2.13.0_src_truetype_ttgload.c
mov edx, 0xb5d
mov ecx, 6
call fcn.18012c620
or eax, 6
mov dword [rsp + 0x38], eax
jmp 0x18007dc73
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x308]
mov r8, qword [rsp + 0x2f8]
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x50]
call fcn.18008b140
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x18007d94a
jmp 0x18007dc73
mov eax, dword [rsp + 0x308]
and eax, 0x100
test eax, eax
je 0x18007d999
mov eax, dword [rsp + 0x308]
and eax, 0x10
test eax, eax
jne 0x18007d999
cmp qword [rsp + 0x190], 0
je 0x18007d999
mov eax, dword [rsp + 0x300]
mov rcx, qword [rsp + 0x190]
movzx eax, byte [rcx + rax]
imul eax, eax, 0x40
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0x40], eax
jmp 0x18007dc69
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0x60], 0x6f75746c
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0xc0], 0
mov rax, qword [rsp + 0x2f8]
mov dword [rax + 0xb8], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x300]
lea rcx, [rsp + 0x50]
call fcn.1800896b0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x18007dbc0
mov rax, qword [rsp + 0x2f8]
cmp dword [rax + 0x60], 0x636f6d70
jne 0x18007da33
mov rax, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x50]
mov dword [rax + 0xc0], ecx
mov rax, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x58]
mov qword [rax + 0xc8], rcx
jmp 0x18007da9e
mov rax, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x68]
lea rdi, [rax + 0x98]
lea rsi, [rcx + 0x18]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x2f8]
mov eax, dword [rax + 0xb8]
btr eax, 9
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0xb8], eax
cmp dword [rsp + 0xa8], 0
je 0x18007da9e
mov eax, dword [rsp + 0xa8]
neg eax
mov rcx, qword [rsp + 0x2f8]
add rcx, 0x98
xor r8d, r8d
mov edx, eax
call fcn.18005af90
mov eax, dword [rsp + 0x308]
and eax, 2
test eax, eax
jne 0x18007dbab
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x1f5]
test eax, eax
je 0x18007db8c
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 0x1f8]
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0
je 0x18007db06
cmp dword [rsp + 0x2c0], 1
je 0x18007db27
cmp dword [rsp + 0x2c0], 4
je 0x18007db29
cmp dword [rsp + 0x2c0], 5
je 0x18007db4a
jmp 0x18007db6b
mov rax, qword [rsp + 0x2f8]
mov eax, dword [rax + 0xb8]
or eax, 0x20
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0xb8], eax
jmp 0x18007db8a
jmp 0x18007db8a
mov rax, qword [rsp + 0x2f8]
mov eax, dword [rax + 0xb8]
or eax, 0x30
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0xb8], eax
jmp 0x18007db8a
mov rax, qword [rsp + 0x2f8]
mov eax, dword [rax + 0xb8]
or eax, 0x10
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0xb8], eax
jmp 0x18007db8a
mov rax, qword [rsp + 0x2f8]
mov eax, dword [rax + 0xb8]
or eax, 8
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0xb8], eax
jmp 0x18007dbab
mov rax, qword [rsp + 0x2f8]
mov eax, dword [rax + 0xb8]
or eax, 8
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0xb8], eax
mov edx, dword [rsp + 0x300]
lea rcx, [rsp + 0x50]
call fcn.18008aaf0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x308]
and eax, 1
test eax, eax
jne 0x18007dc03
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x40]
movzx eax, word [rax + 2]
cmp eax, 0x18
jge 0x18007dc03
mov rax, qword [rsp + 0x2f8]
mov eax, dword [rax + 0xb8]
bts eax, 8
mov rcx, qword [rsp + 0x2f8]
mov dword [rcx + 0xb8], eax
mov eax, 4
imul rax, rax, 0x24
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 1
jl 0x18007dc63
mov rax, qword [rsp + 0x2f8]
movsx eax, word [rax + 0x9a]
mov rcx, qword [rsp + 0x2f8]
movsx ecx, word [rcx + 0x98]
mov rdx, qword [rsp + 0x2f8]
mov edx, dword [rdx + 0xb8]
mov dword [rsp + 0x20], edx
mov r9d, eax
mov r8d, ecx
mov rax, qword [rsp + 0x68]
mov edx, dword [rax + 0x50]
lea rcx, str.__subglyphs___u__contours___hd__points___hd__flags__0x_.3x_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x18007dc03
lea rcx, [rsp + 0x50]
call fcn.18008b890
cmp dword [rsp + 0x38], 0
je 0x18007dca6
mov eax, 4
imul rax, rax, 0x24
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 1
jl 0x18007dca0
mov edx, dword [rsp + 0x38]
lea rcx, str.__failed__error_code_0x_x__n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x18007dc7a
mov eax, dword [rsp + 0x38]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180146060]
call fcn.180138610
mov rax, rdi
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.180137ad0
add rsp, 0x2d8
pop rdi
pop rsi
ret