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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
mov dword [esi + 0x34], eax
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
mov ecx, str.cmap
mov eax, ebx
mov edx, edi
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
call fcn.100ff0b0
mov dword [ebp - 4], eax
mov ecx, str.loca
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
mov dword [ebp - 8], eax
mov dword [esi + 0x10], eax
mov ecx, str.head
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], eax
mov ecx, str.glyf
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
mov dword [ebp - 0xc], eax
mov dword [esi + 0x18], eax
mov ecx, str.hhea
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
mov dword [ebp - 0x14], eax
mov dword [esi + 0x1c], eax
mov ecx, str.hmtx
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
mov dword [ebp - 0x10], eax
mov dword [esi + 0x20], eax
mov ecx, str.kern
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
mov dword [esi + 0x24], eax
mov ecx, str.GPOS
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [ebp - 4], eax
je 0x100ff342
cmp dword [ebp - 0x18], eax
je 0x100ff342
cmp dword [ebp - 0x14], eax
je 0x100ff342
cmp dword [ebp - 0x10], eax
je 0x100ff342
cmp dword [ebp - 0xc], eax
je 0x100ff34b
cmp dword [ebp - 8], eax
jne 0x100ff57d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov ecx, str.CFF
mov eax, ebx
mov edx, edi
mov dword [ebp - 0x10], 2
call fcn.100ff0b0
test eax, eax
je 0x100ff342
xor ecx, ecx
add edi, eax
xor edx, edx
xor ebx, ebx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x70], ecx
mov eax, 0x20000000
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x74], ebx
push 2
lea ecx, [ebp - 0x24]
mov dword [esi + 0x6c], edx
mov dword [esi + 0x78], edx
mov dword [esi + 0x3c], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
call fcn.100fea10
add esp, 4
call fcn.100fe9d0
mov ecx, dword [ebp - 0x1c]
movzx eax, al
cmp eax, ecx
jg 0x100ff3c1
test eax, eax
mov dword [ebp - 0x20], eax
jge 0x100ff3c4
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
call fcn.100feab0
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x24]
call fcn.100feab0
mov edx, dword [eax]
add esp, 8
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100fef40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
call fcn.100feab0
lea ecx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x24]
call fcn.100feab0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], edx
lea edx, [ebp - 0x30]
mov edi, 1
mov dword [esi + 0x54], eax
push edx
lea ebx, [ebp - 0xc]
lea eax, [edi + 0x10]
call fcn.100fee90
lea eax, [ebp - 0x30]
push eax
lea ebx, [ebp - 0x10]
mov eax, 0x106
call fcn.100fee90
lea ecx, [ebp - 0x30]
push ecx
lea ebx, [ebp - 0x14]
mov eax, 0x124
call fcn.100fee90
lea edx, [ebp - 0x30]
push edx
lea ebx, [ebp - 8]
mov eax, 0x125
call fcn.100fee90
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
add esp, 0x20
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ecx
lea esi, [ebp - 0x3c]
mov dword [eax + 8], edi
call fcn.100ff150
add esp, 0x18
cmp dword [ebp - 0x10], 2
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
jne 0x100ff342
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100ff342
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100ff549
cmp dword [ebp - 8], 0
je 0x100ff342
cmp eax, edi
jg 0x100ff4fc
test eax, eax
mov dword [ebp - 0x20], eax
jge 0x100ff4ff
mov dword [ebp - 0x20], edi
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x24]
call fcn.100feab0
mov ecx, dword [eax]
mov edi, dword [ebp - 0x1c]
mov dword [esi + 0x64], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [esi + 0x68], edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x24]
mov dword [esi + 0x6c], eax
mov ebx, edi
sub ebx, ecx
push edx
lea eax, [ebp - 0x3c]
call fcn.100fea70
mov ecx, dword [eax]
mov dword [esi + 0x70], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x74], edx
mov eax, dword [eax + 8]
add esp, 8
mov dword [esi + 0x78], eax
cmp ecx, edi
jg 0x100ff554
test ecx, ecx
mov dword [ebp - 0x20], ecx
jge 0x100ff557
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x24]
call fcn.100feab0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
add esp, 4
mov dword [esi + 0x48], eax
mov ecx, str.maxp
mov eax, ebx
mov edx, edi
call fcn.100ff0b0
test eax, eax
je 0x100ff5aa
movzx dx, byte [eax + edi + 4]
movzx ax, byte [eax + edi + 5]
shl dx, 8
add dx, ax
movzx ecx, dx
mov dword [esi + 0xc], ecx
jmp 0x100ff5b1
mov dword [esi + 0xc], 0xffff
mov ecx, dword [ebp - 4]
movzx dx, byte [ecx + edi + 2]
movzx ax, byte [ecx + edi + 3]
shl dx, 8
add dx, ax
movzx eax, dx
test eax, eax
mov dword [esi + 0x2c], 0
jle 0x100ff660
lea ebx, [ecx + 4]
mov dword [ebp + 8], eax
nop
movzx ax, byte [ebx + edi]
movzx dx, byte [ebx + edi + 1]
shl ax, 8
add dx, ax
movzx eax, dx
test eax, eax
je 0x100ff62f
cmp eax, 3
jne 0x100ff657
movzx dx, byte [ebx + edi + 2]
movzx ax, byte [ebx + edi + 3]
shl dx, 8
add dx, ax
movzx eax, dx
sub eax, 1
je 0x100ff61e
sub eax, 9
jne 0x100ff657
lea ecx, [ebx + edi + 4]
call fcn.100ff010
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
jmp 0x100ff654
movzx eax, byte [ebx + edi + 4]
movzx edx, byte [ebx + edi + 5]
shl eax, 8
add edx, eax
movzx eax, byte [ebx + edi + 6]
shl edx, 8
add edx, eax
movzx eax, byte [ebx + edi + 7]
shl edx, 8
add edx, ecx
add eax, edx
mov dword [esi + 0x2c], eax
add ebx, 8
sub dword [ebp + 8], 1
jne 0x100ff5e0
cmp dword [esi + 0x2c], 0
je 0x100ff342
mov eax, dword [ebp - 0x18]
movzx dx, byte [eax + edi + 0x32]
movzx cx, byte [eax + edi + 0x33]
shl dx, 8
add cx, dx
movzx eax, cx
pop edi
mov dword [esi + 0x30], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret