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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100d4480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push str.cmap
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0x34], 0
push eax
mov dword [esi + 0x38], 0
push edi
mov dword [esi + 0x3c], 0
call fcn.10043250
push str.loca
push dword [ebp + 0x10]
mov ebx, eax
push edi
mov dword [ebp - 0x34], ebx
call fcn.10043250
push str.head
push dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
push edi
mov dword [esi + 0x10], eax
call fcn.10043250
push str.glyf
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push edi
mov dword [esi + 0x14], eax
call fcn.10043250
push str.hhea
push dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push edi
mov dword [esi + 0x18], eax
call fcn.10043250
push str.hmtx
push dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push edi
mov dword [esi + 0x1c], eax
call fcn.10043250
add esp, 0x48
mov dword [ebp - 8], eax
mov dword [esi + 0x20], eax
push str.kern
push dword [ebp + 0x10]
push edi
call fcn.10043250
push str.GPOS
push dword [ebp + 0x10]
mov dword [esi + 0x24], eax
push edi
call fcn.10043250
add esp, 0x18
mov dword [esi + 0x28], eax
test ebx, ebx
je 0x100406da
cmp dword [ebp - 0x10], 0
je 0x100406da
cmp dword [ebp - 0xc], 0
je 0x100406da
cmp dword [ebp - 8], 0
je 0x100406da
cmp dword [ebp - 0x14], 0
je 0x100406ed
cmp dword [ebp - 0x30], 0
jne 0x1004096c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c76c
mov esp, ebp
pop ebp
ret
push str.CFF
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 2
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.10043250
add esp, 0xc
test eax, eax
je 0x100406da
mov dword [esi + 0x64], 0
add eax, edi
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
mov eax, dword [esi + 0x3c]
movq xmm0, qword [esi + 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push 2
push eax
movq qword [ebp - 0x20], xmm0
call fcn.10041650
lea eax, [ebp - 0x20]
push eax
call fcn.100415b0
movzx eax, al
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10041630
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10041680
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10041680
add esp, 0x24
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
push 0
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x40]
push eax
call fcn.10041750
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x2c], xmm0
push eax
call fcn.10041680
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10041680
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x11
push eax
call fcn.10041f00
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x106
push eax
call fcn.10041f00
add esp, 0x44
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x124
push eax
call fcn.10041f00
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x125
push eax
call fcn.10041f00
movq xmm0, qword [ebp - 0x2c]
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x18]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x40]
push eax
call fcn.10043310
add esp, 0x1c
cmp dword [ebp - 0xc], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x100406da
mov eax, dword [ebp - 8]
test eax, eax
je 0x100406da
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004093c
cmp dword [ebp - 0x14], 0
je 0x100406da
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jg 0x100408ca
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jns 0x100408cd
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10041680
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0
test edx, edx
js 0x10040927
test eax, eax
js 0x10040927
cmp edx, ecx
jg 0x10040927
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
jmp 0x1004092a
mov eax, dword [ebp - 0x14]
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 8]
jmp 0x1004093f
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jg 0x1004094a
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x1004094d
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10041680
add esp, 8
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
push str.maxp
push dword [ebp + 0x10]
push edi
call fcn.10043250
add esp, 0xc
test eax, eax
je 0x10040992
movzx ecx, byte [edi + eax + 4]
movzx eax, byte [edi + eax + 5]
shl ecx, 8
add ecx, eax
jmp 0x10040997
mov ecx, 0xffff
lea edx, [edi + ebx]
mov dword [esi + 0xc], ecx
movzx eax, byte [edx + 2]
movzx ebx, byte [edx + 3]
shl eax, 8
mov dword [esi + 0x2c], 0
add ebx, eax
je 0x10040a17
lea eax, [edx + 9]
nop word [eax + eax]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x100409eb
cmp ecx, 3
jne 0x10040a0f
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x100409eb
sub edx, 9
jne 0x10040a0f
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, dword [ebp - 0x34]
add ecx, edx
mov dword [esi + 0x2c], ecx
add eax, 8
sub ebx, 1
jne 0x100409c0
cmp dword [esi + 0x2c], 0
je 0x100406da
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + edi + 0x33]
movzx eax, byte [eax + edi + 0x32]
shl eax, 8
add ecx, eax
mov eax, 1
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c76c
mov esp, ebp
pop ebp
ret