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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1005b00c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, edx
push edi
mov edi, dword [esp + 0x60]
mov ecx, ebp
push str.cmap
mov dword [esi + 4], ebp
mov edx, edi
mov dword [esi + 8], edi
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esp + 0x30], ebp
mov dword [esi + 0x3c], 0
call fcn.1002b090
push str.loca
mov edx, edi
mov ecx, ebp
mov ebx, eax
call fcn.1002b090
push str.head
mov edx, edi
mov dword [esp + 0x34], eax
mov ecx, ebp
mov dword [esi + 0x10], eax
call fcn.1002b090
push str.glyf
mov edx, edi
mov dword [esp + 0x4c], eax
mov ecx, ebp
mov dword [esi + 0x14], eax
call fcn.1002b090
push str.hhea
mov edx, edi
mov dword [esp + 0x60], eax
mov ecx, ebp
mov dword [esi + 0x18], eax
call fcn.1002b090
push str.hmtx
mov edx, edi
mov dword [esp + 0x6c], eax
mov ecx, ebp
mov dword [esi + 0x1c], eax
call fcn.1002b090
push str.kern
mov edx, edi
mov dword [esp + 0x6c], eax
mov ecx, ebp
mov dword [esi + 0x20], eax
call fcn.1002b090
push str.GPOS
mov edx, edi
mov dword [esi + 0x24], eax
mov ecx, ebp
call fcn.1002b090
add esp, 0x20
mov dword [esi + 0x28], eax
test ebx, ebx
je 0x1002b532
cmp dword [esp + 0x3c], 0
je 0x1002b532
cmp dword [esp + 0x54], 0
je 0x1002b532
cmp dword [esp + 0x50], 0
je 0x1002b532
cmp dword [esp + 0x4c], 0
je 0x1002b547
cmp dword [esp + 0x28], 0
jne 0x1002b8b1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10049096
add esp, 0x4c
ret
push str.CFF
mov edx, edi
mov dword [esp + 0x54], 2
mov ecx, ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], 0
call fcn.1002b090
add esp, 4
test eax, eax
je 0x1002b532
mov dword [esi + 0x64], 0
add eax, ebp
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0x20000000
vmovq xmm0, qword [esi + 0x34]
mov edx, dword [esi + 0x3c]
vmovq qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], edx
lea ecx, [eax + 2]
cmp ecx, edx
jg 0x1002b5e7
test ecx, ecx
js 0x1002b5e7
cmp ecx, edx
jge 0x1002b5e7
mov eax, dword [esp + 0x30]
mov al, byte [eax + ecx]
jmp 0x1002b5e9
xor al, al
movzx eax, al
lea ecx, [esp + 0x30]
cmp eax, edx
cmovle edx, eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x38], edx
call fcn.1002ab20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.1002ab20
push ecx
mov ecx, esp
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x1c]
push eax
xor ecx, ecx
call fcn.1002af70
lea ecx, [esp + 0x40]
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x20]
push eax
vmovq qword [esp + 0x54], xmm0
call fcn.1002ab20
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.1002ab20
mov edx, 0x11
lea ecx, [esp + 0x58]
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [esp + 0x34]
push eax
call fcn.1002adb0
add esp, 0x1c
xor edi, edi
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jge 0x1002b6b2
lea ecx, [esp + 0x10]
call fcn.1002ac10
mov dword [esp + edi*4 + 0x4c], eax
inc edi
cmp edi, 1
jge 0x1002b6b2
mov eax, dword [esp + 0x18]
jmp 0x1002b693
lea eax, [esp + 0x1c]
mov edx, 0x106
push eax
lea ecx, [esp + 0x44]
call fcn.1002adb0
add esp, 4
xor edi, edi
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
nop dword [eax + eax]
cmp dword [esp + 0x14], eax
jge 0x1002b6ff
lea ecx, [esp + 0x10]
call fcn.1002ac10
mov dword [esp + edi*4 + 0x50], eax
inc edi
cmp edi, 1
jge 0x1002b6ff
mov eax, dword [esp + 0x18]
jmp 0x1002b6e0
lea eax, [esp + 0x1c]
mov edx, 0x124
push eax
lea ecx, [esp + 0x44]
call fcn.1002adb0
add esp, 4
xor edi, edi
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jge 0x1002b747
lea ecx, [esp + 0x10]
call fcn.1002ac10
mov dword [esp + edi*4 + 0x54], eax
inc edi
cmp edi, 1
jge 0x1002b747
mov eax, dword [esp + 0x18]
jmp 0x1002b728
lea eax, [esp + 0x1c]
mov edx, 0x125
push eax
lea ecx, [esp + 0x44]
call fcn.1002adb0
add esp, 4
xor edi, edi
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jge 0x1002b78f
lea ecx, [esp + 0x10]
call fcn.1002ac10
mov dword [esp + edi*4 + 0x3c], eax
inc edi
cmp edi, 1
jge 0x1002b78f
mov eax, dword [esp + 0x18]
jmp 0x1002b770
vmovq xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x48]
sub esp, 0xc
mov edi, dword [esp + 0x44]
mov ecx, esp
sub esp, 0xc
vmovq qword [ecx], xmm0
vmovq xmm0, qword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, esp
vmovq qword [eax], xmm0
mov dword [eax + 8], edi
lea eax, [esp + 0x34]
push eax
call fcn.1002b260
add esp, 0x1c
cmp dword [esp + 0x50], 2
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x1002b532
cmp dword [esp + 0x4c], 0
je 0x1002b532
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1002b879
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x1002b532
cmp eax, edi
jg 0x1002b811
mov dword [esp + 0x34], eax
test eax, eax
jns 0x1002b815
mov dword [esp + 0x34], edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.1002ab20
mov edi, dword [esp + 0x3c]
add esp, 4
mov ecx, edi
mov dword [esp + 0x10], 0
sub ecx, ebp
mov dword [esp + 0x14], 0
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
xor eax, eax
test ebp, ebp
js 0x1002b867
test ecx, ecx
js 0x1002b867
cmp ebp, edi
jg 0x1002b867
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, ecx
vmovq xmm0, qword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
vmovq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x4c]
cmp eax, edi
jg 0x1002b889
mov dword [esp + 0x34], eax
test eax, eax
jns 0x1002b88d
mov dword [esp + 0x34], edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.1002ab20
mov edi, dword [esp + 0x64]
add esp, 4
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
vmovq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
push str.maxp
mov edx, edi
mov ecx, ebp
call fcn.1002b090
add esp, 4
test eax, eax
je 0x1002b8d7
movzx ecx, byte [eax + ebp + 4]
movzx eax, byte [eax + ebp + 5]
shl ecx, 8
add ecx, eax
jmp 0x1002b8dc
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 0x1002b956
lea eax, [ebx + 9]
add eax, ebp
nop dword [eax]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x1002b92b
cmp ecx, 3
jne 0x1002b94e
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x1002b92b
sub edx, 9
jne 0x1002b94e
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 0x1002b900
cmp dword [esi + 0x2c], 0
je 0x1002b532
mov eax, dword [esi + 0x14]
pop edi
movzx ecx, byte [eax + ebp + 0x32]
movzx eax, byte [eax + ebp + 0x33]
shl ecx, 8
add ecx, eax
mov eax, 1
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10049096
add esp, 0x4c
ret