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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10106024]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov ebp, edx
mov dword [esp + 0x10], 0
movq xmm0, qword [esp + 0xc]
mov ecx, ebp
push edi
mov edi, dword [esp + 0x60]
mov edx, edi
movq qword [esi + 0x34], xmm0
push str.cmap
mov dword [esp + 0x30], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], edi
mov dword [esi + 0x3c], 0
call fcn.1001acb0
mov ebx, eax
mov edx, edi
push str.loca
mov ecx, ebp
mov dword [esp + 0x30], ebx
call fcn.1001acb0
push str.head
mov edx, edi
mov dword [esp + 0x48], eax
mov ecx, ebp
mov dword [esi + 0x10], eax
call fcn.1001acb0
mov edx, dword [esp + 0x6c]
mov edi, eax
push str.glyf
mov ecx, ebp
mov dword [esi + 0x14], edi
call fcn.1001acb0
mov edx, dword [esp + 0x70]
mov ecx, ebp
push str.hhea
mov dword [esp + 0x60], eax
mov dword [esi + 0x18], eax
call fcn.1001acb0
mov edx, dword [esp + 0x74]
mov ecx, ebp
push str.hmtx
mov dword [esp + 0x6c], eax
mov dword [esi + 0x1c], eax
call fcn.1001acb0
mov edx, dword [esp + 0x78]
mov ecx, ebp
push str.kern
mov dword [esp + 0x6c], eax
mov dword [esi + 0x20], eax
call fcn.1001acb0
mov edx, dword [esp + 0x7c]
mov ecx, ebp
push str.GPOS
mov dword [esi + 0x24], eax
call fcn.1001acb0
add esp, 0x20
mov dword [esi + 0x28], eax
test ebx, ebx
je 0x1001b048
test edi, edi
je 0x1001b048
cmp dword [esp + 0x54], 0
je 0x1001b048
cmp dword [esp + 0x50], 0
je 0x1001b048
cmp dword [esp + 0x4c], 0
je 0x1001b05d
cmp dword [esp + 0x3c], 0
jne 0x1001b427
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100aa00f
add esp, 0x4c
ret
mov edx, dword [esp + 0x60]
mov ecx, ebp
push str.CFF
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], 0
call fcn.1001acb0
add esp, 4
test eax, eax
je 0x1001b048
mov dword [esp + 0x10], 0
add eax, ebp
mov dword [esp + 0x14], 0
mov edi, 0x20000000
movq xmm0, qword [esp + 0x10]
movq qword [esi + 0x64], xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movq xmm0, qword [esp + 0x10]
mov dword [esp + 0x10], eax
movq qword [esi + 0x70], xmm0
mov dword [esp + 0x14], 0
movq xmm0, qword [esp + 0x10]
movq qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x3c], edi
mov al, byte [eax + 2]
movzx eax, al
mov dword [esp + 0x38], edi
cmp eax, edi
jle 0x1001b12e
push 0x355
push str.C:UserskarolDesktophpp_cs16hppincludesImGuiimstb_truetype.h
push str.__o___b__size__o___0_
call fcn.100b4bce
add esp, 0xc
mov dword [esp + 0x34], edi
jmp 0x1001b132
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
call fcn.1001a610
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.1001a610
push ecx
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x1c]
push eax
xor ecx, ecx
call fcn.1001ab20
lea ecx, [esp + 0x40]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x20]
push eax
movq qword [esp + 0x54], xmm0
call fcn.1001a610
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.1001a610
mov edx, 0x11
lea ecx, [esp + 0x58]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [esp + 0x34]
push eax
call fcn.1001a920
add esp, 0x1c
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jge 0x1001b1ef
lea ecx, [esp + 0x10]
call fcn.1001a760
mov dword [esp + edi*4 + 0x50], eax
inc edi
cmp edi, 1
jge 0x1001b1ef
mov eax, dword [esp + 0x18]
jmp 0x1001b1d0
lea eax, [esp + 0x1c]
mov edx, 0x106
push eax
lea ecx, [esp + 0x44]
call fcn.1001a920
add esp, 4
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jge 0x1001b237
lea ecx, [esp + 0x10]
call fcn.1001a760
mov dword [esp + edi*4 + 0x4c], eax
inc edi
cmp edi, 1
jge 0x1001b237
mov eax, dword [esp + 0x18]
jmp 0x1001b218
lea eax, [esp + 0x1c]
mov edx, 0x124
push eax
lea ecx, [esp + 0x44]
call fcn.1001a920
add esp, 4
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jge 0x1001b27f
lea ecx, [esp + 0x10]
call fcn.1001a760
mov dword [esp + edi*4 + 0x54], eax
inc edi
cmp edi, 1
jge 0x1001b27f
mov eax, dword [esp + 0x18]
jmp 0x1001b260
lea eax, [esp + 0x1c]
mov edx, 0x125
push eax
lea ecx, [esp + 0x44]
call fcn.1001a920
add esp, 4
xor edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jge 0x1001b2c7
lea ecx, [esp + 0x10]
call fcn.1001a760
mov dword [esp + edi*4 + 0x3c], eax
inc edi
cmp edi, 1
jge 0x1001b2c7
mov eax, dword [esp + 0x18]
jmp 0x1001b2a8
movq xmm0, qword [esp + 0x40]
sub esp, 0xc
mov eax, dword [esp + 0x54]
mov ecx, esp
mov edi, dword [esp + 0x44]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], edi
lea eax, [esp + 0x34]
push eax
call fcn.1001ad40
add esp, 0x1c
cmp dword [esp + 0x4c], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x1001b048
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x1001b048
mov ebp, dword [esp + 0x54]
test ebp, ebp
je 0x1001b3d0
cmp dword [esp + 0x3c], 0
je 0x1001b048
cmp ebp, edi
jg 0x1001b345
test ebp, ebp
jns 0x1001b35c
push 0x355
push str.C:UserskarolDesktophpp_cs16hppincludesImGuiimstb_truetype.h
push str.__o___b__size__o___0_
call fcn.100b4bce
add esp, 0xc
cmp ebp, edi
jg 0x1001b368
mov dword [esp + 0x34], ebp
test ebp, ebp
jns 0x1001b36c
mov dword [esp + 0x34], edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.1001a610
mov edi, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esp + 0x3c]
mov edx, edi
sub edx, ecx
mov dword [esp + 0x10], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
xor eax, eax
mov dword [esp + 0x14], 0
test ecx, ecx
js 0x1001b3c2
test edx, edx
js 0x1001b3c2
cmp ecx, edi
jg 0x1001b3c2
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, edx
movq xmm0, qword [esp + 0x10]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
cmp ebx, edi
jg 0x1001b3d8
test ebx, ebx
jns 0x1001b3ef
push 0x355
push str.C:UserskarolDesktophpp_cs16hppincludesImGuiimstb_truetype.h
push str.__o___b__size__o___0_
call fcn.100b4bce
add esp, 0xc
cmp ebx, edi
jg 0x1001b3fb
mov dword [esp + 0x34], ebx
test ebx, ebx
jns 0x1001b3ff
mov dword [esp + 0x34], edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.1001a610
mov ebx, dword [esp + 0x2c]
add esp, 4
mov ebp, dword [esp + 0x2c]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
mov edx, dword [esp + 0x60]
mov ecx, ebp
push str.maxp
call fcn.1001acb0
add esp, 4
test eax, eax
je 0x1001b44f
movzx ecx, byte [eax + ebp + 4]
movzx eax, byte [eax + ebp + 5]
shl ecx, 8
add ecx, eax
jmp 0x1001b454
mov ecx, 0xffff
mov dword [esi + 0xc], ecx
movzx eax, byte [ebx + ebp + 2]
movzx edi, byte [ebx + ebp + 3]
shl eax, 8
mov dword [esi + 0x2c], 0
add edi, eax
je 0x1001b048
lea eax, [ebp + 9]
add eax, ebx
nop dword [eax + eax]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x1001b4ab
cmp ecx, 3
jne 0x1001b4ce
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x1001b4ab
sub edx, 9
jne 0x1001b4ce
movzx edx, byte [eax - 1]
movzx ecx, byte [eax]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
add edx, ebx
add ecx, edx
mov dword [esi + 0x2c], ecx
add eax, 8
sub edi, 1
jne 0x1001b480
cmp dword [esi + 0x2c], edi
je 0x1001b048
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + ebp + 0x32]
movzx eax, byte [eax + ebp + 0x33]
shl ecx, 8
add ecx, eax
lea eax, [edi + 1]
pop edi
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100aa00f
add esp, 0x4c
ret