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

Disassembly:
sub esp, 0x3c
mov eax, dword [0x10103040]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0x1017489e
push edi
mov edi, edx
call fcn.100b6430
mov ebx, dword [esp + 0x50]
mov ecx, edi
mov dword [esi + 4], edi
mov edx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push str.cmap
mov dword [esi + 0x3c], 0
call fcn.1005f830
push str.loca
mov edx, ebx
mov ecx, edi
mov ebp, eax
call fcn.1005f830
push str.head
mov edx, ebx
mov dword [esi + 0x10], eax
mov ecx, edi
call fcn.1005f830
push str.glyf
mov edx, ebx
mov dword [esi + 0x14], eax
mov ecx, edi
call fcn.1005f830
push str.hhea
mov edx, ebx
mov dword [esi + 0x18], eax
mov ecx, edi
call fcn.1005f830
push str.hmtx
mov edx, ebx
mov dword [esi + 0x1c], eax
mov ecx, edi
call fcn.1005f830
push str.kern
mov edx, ebx
mov dword [esi + 0x20], eax
mov ecx, edi
call fcn.1005f830
push str.GPOS
mov edx, ebx
mov dword [esi + 0x24], eax
mov ecx, edi
call fcn.1005f830
add esp, 0x20
mov dword [esi + 0x28], eax
test ebp, ebp
je 0x1005fcbf
cmp dword [esi + 0x14], 0
je 0x1005fcbf
cmp dword [esi + 0x1c], 0
je 0x1005fcbf
cmp dword [esi + 0x20], 0
je 0x1005fcbf
cmp dword [esi + 0x18], 0
je 0x1005fcd4
cmp dword [esi + 0x10], 0
jne 0x1005ffbe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100b3fd0
add esp, 0x3c
ret
push str.CFF
mov edx, ebx
mov dword [esp + 0x48], 2
mov ecx, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
call fcn.1005f830
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1005fcbf
lea eax, [esp + 0x2c]
xor edx, edx
push eax
xor ecx, ecx
call fcn.1005ee50
xor edx, edx
xor ecx, ecx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
lea eax, [esp + 0x30]
push eax
call fcn.1005ee50
mov ecx, dword [esp + 0x24]
mov edx, 0x20000000
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
lea ecx, [edi + ecx]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
lea eax, [esp + 0x34]
push eax
call fcn.1005ee50
mov edx, 2
lea ecx, [esp + 0x2c]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], eax
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], eax
call fcn.1005ed90
lea ecx, [esp + 0x2c]
call fcn.1005ecf0
movzx edx, al
lea ecx, [esp + 0x2c]
call fcn.1005ed40
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
call fcn.1005eed0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
call fcn.1005eed0
add esp, 8
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.1005f550
lea ecx, [esp + 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
movq qword [esp + 0x40], xmm0
call fcn.1005eed0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
call fcn.1005eed0
mov edx, 0x11
lea ecx, [esp + 0x44]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [esp + 0x54]
push eax
push 1
call fcn.1005f460
lea eax, [esp + 0x64]
push eax
push 1
mov edx, 0x106
lea ecx, [esp + 0x54]
call fcn.1005f460
lea eax, [esp + 0x68]
mov edx, 0x124
push eax
push 1
lea ecx, [esp + 0x5c]
call fcn.1005f460
lea eax, [esp + 0x68]
mov edx, 0x125
push eax
push 1
lea ecx, [esp + 0x64]
call fcn.1005f460
movq xmm0, qword [esp + 0x64]
add esp, 0x2c
mov eax, dword [esp + 0x40]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x40]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [esp + 0x28]
push eax
call fcn.1005fa20
add esp, 0x1c
cmp dword [esp + 0x44], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x1005fcbf
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1005fcbf
mov edx, dword [esp + 0x40]
test edx, edx
je 0x1005ff62
cmp dword [esp + 0x38], 0
je 0x1005fcbf
mov eax, dword [esp + 0x28]
cmp edx, eax
jg 0x1005fee6
test edx, edx
jns 0x1005ff06
push 0x46c
push 0x100f30e0
push str.__o___b__size__o___0_
call dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x40]
cmp edx, eax
jg 0x1005ff12
mov dword [esp + 0x24], edx
test edx, edx
jns 0x1005ff16
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.1005eed0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
sub ecx, edx
push ecx
movq xmm0, qword [eax]
lea ecx, [esp + 0x28]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
lea eax, [esp + 0x18]
push eax
call fcn.1005ee80
mov ecx, dword [esp + 0x48]
add esp, 0xc
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jg 0x1005ff6e
test ecx, ecx
jns 0x1005ff8e
push 0x46c
push 0x100f30e0
push str.__o___b__size__o___0_
call dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jg 0x1005ff9a
mov dword [esp + 0x24], ecx
test ecx, ecx
jns 0x1005ff9e
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.1005eed0
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
push str.maxp
mov edx, ebx
mov ecx, edi
call fcn.1005f830
add esp, 4
test eax, eax
je 0x1005ffe2
lea ecx, [edi + 4]
add ecx, eax
call fcn.1005f6e0
movzx eax, ax
jmp 0x1005ffe7
mov eax, 0xffff
lea ecx, [edi + 2]
mov dword [esi + 0xc], eax
add ecx, ebp
call fcn.1005f6e0
movzx ebx, ax
mov dword [esi + 0x2c], 0
test ebx, ebx
je 0x10060066
lea eax, [edi + 9]
add eax, ebp
nop word [eax + eax]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x1006003b
cmp ecx, 3
jne 0x1006005e
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x1006003b
sub edx, 9
jne 0x1006005e
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, ebp
add ecx, edx
mov dword [esi + 0x2c], ecx
add eax, 8
sub ebx, 1
jne 0x10060010
cmp dword [esi + 0x2c], 0
je 0x1005fcbf
mov ecx, dword [esi + 0x14]
add ecx, 0x32
add ecx, edi
call fcn.1005f6e0
mov ecx, dword [esp + 0x48]
movzx eax, ax
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b3fd0
add esp, 0x3c
ret