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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3c], 0
mov ebx, edx
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
mov edx, eax
push str.cmap
movq qword [edi + 0x34], xmm0
mov ecx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi + 0x3c], 0
call fcn.10015e20
mov edx, dword [ebp + 8]
mov esi, eax
push str.loca
mov ecx, ebx
mov dword [ebp - 0xc], esi
call fcn.10015e20
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.head
mov dword [ebp - 0x18], eax
mov dword [edi + 0x10], eax
call fcn.10015e20
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.glyf
mov dword [ebp - 0x14], eax
mov dword [edi + 0x14], eax
call fcn.10015e20
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hhea
mov dword [ebp - 4], eax
mov dword [edi + 0x18], eax
call fcn.10015e20
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hmtx
mov dword [ebp - 0x10], eax
mov dword [edi + 0x1c], eax
call fcn.10015e20
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.kern
mov dword [ebp - 8], eax
mov dword [edi + 0x20], eax
call fcn.10015e20
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.GPOS
mov dword [edi + 0x24], eax
call fcn.10015e20
add esp, 0x20
mov dword [edi + 0x28], eax
test esi, esi
je 0x1001614e
cmp dword [ebp - 0x14], 0
je 0x1001614e
cmp dword [ebp - 0x10], 0
je 0x1001614e
cmp dword [ebp - 8], 0
je 0x1001614e
cmp dword [ebp - 4], 0
je 0x10016157
cmp dword [ebp - 0x18], 0
jne 0x10016488
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.CFF
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.10015e20
add esp, 4
test eax, eax
je 0x1001614e
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x38], 0
add eax, ebx
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x64], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x70], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x3c], 0x20000000
mov dword [ebp - 0x1c], 0x20000000
mov dword [ebp - 0x20], 2
call fcn.100158c0
movzx ecx, al
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
cmovle eax, ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10015900
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10015900
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, [ebp - 0x3c]
push eax
xor ecx, ecx
call fcn.10015cf0
lea ecx, [ebp - 0x24]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
movq qword [ebp - 0x30], xmm0
call fcn.10015900
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10015900
mov edx, 0x11
lea ecx, [ebp - 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x4c], xmm0
mov dword [edi + 0x54], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10015b60
add esp, 0x1c
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
nop dword [eax]
cmp dword [ebp - 0x38], eax
jge 0x100162bc
lea ecx, [ebp - 0x3c]
call fcn.100159f0
mov dword [ebp + esi*4 - 8], eax
inc esi
cmp esi, 1
jge 0x100162bc
mov eax, dword [ebp - 0x34]
jmp 0x100162a0
lea eax, [ebp - 0x48]
mov edx, 0x106
push eax
lea ecx, [ebp - 0x30]
call fcn.10015b60
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x100162fd
lea ecx, [ebp - 0x3c]
call fcn.100159f0
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 1
jge 0x100162fd
mov eax, dword [ebp - 0x34]
jmp 0x100162e1
lea eax, [ebp - 0x48]
mov edx, 0x124
push eax
lea ecx, [ebp - 0x30]
call fcn.10015b60
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x1001633e
lea ecx, [ebp - 0x3c]
call fcn.100159f0
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 1
jge 0x1001633e
mov eax, dword [ebp - 0x34]
jmp 0x10016322
lea eax, [ebp - 0x48]
mov edx, 0x125
push eax
lea ecx, [ebp - 0x30]
call fcn.10015b60
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x1001637f
lea ecx, [ebp - 0x3c]
call fcn.100159f0
mov dword [ebp + esi*4 - 4], eax
inc esi
cmp esi, 1
jge 0x1001637f
mov eax, dword [ebp - 0x34]
jmp 0x10016363
movq xmm0, qword [ebp - 0x30]
sub esp, 0xc
mov eax, dword [ebp - 0x28]
mov ecx, esp
mov esi, dword [ebp - 0x1c]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x24]
mov dword [ecx + 8], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], esi
lea eax, [ebp - 0x48]
push eax
call fcn.10015ec0
add esp, 0x1c
cmp dword [ebp - 0x10], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x58], xmm0
mov dword [edi + 0x60], eax
jne 0x1001614e
cmp dword [ebp - 8], 0
je 0x1001614e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10016456
cmp dword [ebp - 4], 0
je 0x1001614e
cmp eax, esi
jg 0x100163f2
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x100163f5
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.10015900
mov esi, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, esi
mov dword [ebp - 0x3c], 0
sub edx, ecx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x64], xmm0
mov dword [edi + 0x6c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
movq xmm0, qword [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
test ecx, ecx
js 0x1001644e
test edx, edx
js 0x1001644e
cmp ecx, esi
jg 0x1001644e
mov eax, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, edx
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x70], xmm0
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 8]
cmp eax, esi
jg 0x10016464
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x10016467
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.10015900
mov esi, dword [ebp - 0xc]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x40], xmm0
mov dword [edi + 0x48], eax
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.maxp
call fcn.10015e20
add esp, 4
test eax, eax
je 0x100164af
movzx ecx, byte [eax + ebx + 4]
movzx eax, byte [eax + ebx + 5]
shl ecx, 8
add ecx, eax
jmp 0x100164b4
mov ecx, 0xffff
mov dword [edi + 0xc], ecx
movzx ecx, byte [esi + ebx + 2]
movzx eax, byte [esi + ebx + 3]
shl ecx, 8
add eax, ecx
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x14], eax
je 0x1001614e
mov edx, ebx
add esi, 5
not edx
add esi, ebx
mov dword [ebp + 8], edx
movzx ecx, byte [esi - 1]
movzx eax, byte [esi]
shl ecx, 8
add eax, ecx
je 0x10016519
cmp eax, 3
jne 0x10016547
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl eax, 8
add eax, ecx
sub eax, 1
je 0x1001650c
sub eax, 9
jne 0x10016547
lea ecx, [esi + 3]
call fcn.10015e00
add eax, dword [ebp - 0xc]
jmp 0x10016541
lea ecx, [edx + esi]
movzx edx, byte [ecx + ebx + 4]
add ecx, ebx
shl edx, 8
movzx eax, byte [ecx + 5]
add edx, eax
movzx eax, byte [ecx + 6]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 7]
shl edx, 8
add edx, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edi + 0x2c], eax
add esi, 8
sub dword [ebp - 0x14], 1
jne 0x100164e2
cmp dword [edi + 0x2c], 0
je 0x1001614e
mov eax, dword [edi + 0x14]
movzx ecx, byte [ebx + eax + 0x32]
movzx eax, byte [ebx + eax + 0x33]
shl ecx, 8
add ecx, eax
mov eax, 1
mov dword [edi + 0x30], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret