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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5e0f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push str.cmap
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
push edi
mov dword [esi + 0x40], 0
push ebx
mov dword [esi + 0x44], 0
push esi
mov dword [ebp - 0x48], ebx
mov dword [esi + 0x48], 0
call fcn.004ccd50
push str.loca
push edi
push ebx
push esi
mov dword [ebp - 0x30], eax
call fcn.004ccd50
push str.head
push edi
push ebx
push esi
mov dword [esi + 0x18], eax
call fcn.004ccd50
push str.glyf
push edi
push ebx
push esi
mov dword [esi + 0x1c], eax
call fcn.004ccd50
add esp, 0x40
mov dword [esi + 0x20], eax
push str.hhea
push edi
push ebx
push esi
call fcn.004ccd50
push str.hmtx
push edi
push ebx
push esi
mov dword [esi + 0x24], eax
call fcn.004ccd50
push str.kern
push edi
push ebx
push esi
mov dword [esi + 0x28], eax
call fcn.004ccd50
push str.GPOS
push edi
push ebx
push esi
mov dword [esi + 0x2c], eax
call fcn.004ccd50
add esp, 0x40
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4ca1fe
cmp dword [esi + 0x1c], 0
je 0x4ca1fe
cmp dword [esi + 0x24], 0
je 0x4ca1fe
cmp dword [esi + 0x28], 0
je 0x4ca1fe
cmp dword [esi + 0x20], 0
je 0x4ca211
cmp dword [esi + 0x18], 0
jne 0x4ca498
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
push str.CFF
push edi
push ebx
push esi
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.004ccd50
add esp, 0x10
test eax, eax
je 0x4ca1fe
mov dword [esi + 0x70], 0
add eax, ebx
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x20000000
mov eax, dword [esi + 0x48]
movq xmm0, qword [esi + 0x40]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push 2
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004cb1f0
lea eax, [ebp - 0x20]
push eax
call fcn.004cb150
movzx eax, al
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004cb1d0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004cb220
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004cb220
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 - 0x54]
push eax
call fcn.004cb2f0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
movq qword [ebp - 0x2c], xmm0
push eax
call fcn.004cb220
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004cb220
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x11
push eax
call fcn.004cbc50
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x106
push eax
call fcn.004cbc50
add esp, 0x44
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x124
push eax
call fcn.004cbc50
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push 0x125
push eax
call fcn.004cbc50
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 - 0x54]
push eax
call fcn.004cceb0
add esp, 0x1c
cmp dword [ebp - 0xc], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
jne 0x4ca1fe
mov eax, dword [ebp - 8]
test eax, eax
je 0x4ca1fe
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4ca468
cmp dword [ebp - 0x14], 0
je 0x4ca1fe
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jg 0x4ca3f3
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jns 0x4ca3f6
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004cb220
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 + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
test edx, edx
js 0x4ca450
test eax, eax
js 0x4ca450
cmp edx, ecx
jg 0x4ca450
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
jmp 0x4ca453
mov eax, dword [ebp - 0x14]
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x7c], xmm0
mov dword [esi + 0x84], eax
mov eax, dword [ebp - 8]
jmp 0x4ca46b
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4ca476
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4ca479
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004cb220
add esp, 8
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
push str.maxp
push edi
push ebx
push esi
call fcn.004ccd50
add esp, 0x10
test eax, eax
je 0x4ca4c0
add eax, 4
add eax, ebx
push eax
push esi
call fcn.004c4120
add esp, 8
movzx eax, ax
jmp 0x4ca4c5
mov eax, 0xffff
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x30]
add eax, 2
mov dword [esi + 0x34], 0xffffffff
add eax, ebx
push eax
push esi
call fcn.004c4120
movzx eax, ax
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [esi + 0x38], 0
test eax, eax
je 0x4ca5fb
mov ecx, dword [esi + 4]
mov eax, ebx
mov edx, dword [ebp - 0x30]
sub eax, ecx
add edx, 0xc
mov edi, dword [esi + 8]
add eax, edx
lea edx, [ecx - 5]
mov dword [ebp - 0x40], edx
lea edx, [ecx - 3]
mov dword [ebp - 0xc], edx
lea edx, [ecx - 2]
mov dword [ebp - 8], edx
lea edx, [ecx - 1]
mov dword [ebp - 0x14], edx
lea edx, [ecx - 7]
mov dword [ebp - 0x38], edx
lea edx, [ecx - 6]
mov dword [ebp - 0x3c], edx
lea edx, [ecx - 4]
mov dword [ebp - 0x10], edx
lea edx, [ecx - 8]
mov dword [ebp - 0x44], edx
lea ecx, [eax - 8]
cmp ecx, edi
jae 0x4ca598
lea ebx, [eax - 6]
cmp ebx, edi
ja 0x4ca598
mov ecx, dword [ebp - 0x38]
movzx edx, byte [eax + edx]
shl edx, 8
movzx ecx, byte [ecx + eax]
add edx, ecx
je 0x4ca59f
cmp edx, 3
jne 0x4ca5e8
cmp ebx, edi
jae 0x4ca58f
lea ebx, [eax - 4]
cmp ebx, edi
ja 0x4ca58f
mov ecx, dword [ebp - 0x3c]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 0x40]
shl edx, 8
movzx ecx, byte [ecx + eax]
add edx, ecx
sub edx, 1
je 0x4ca589
sub edx, 9
jne 0x4ca5e8
xor edx, edx
cmp ebx, edi
jmp 0x4ca5a6
mov dword [esi + 0x10], 1
jmp 0x4ca5e8
mov dword [esi + 0x10], 1
lea ecx, [eax - 4]
xor edx, edx
cmp ecx, edi
jae 0x4ca5d9
cmp eax, edi
ja 0x4ca5d9
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 0xc]
shl edx, 8
movzx ecx, byte [ecx + eax]
add edx, ecx
mov ecx, dword [ebp - 8]
shl edx, 8
movzx ecx, byte [ecx + eax]
add edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, 8
movzx ecx, byte [ecx + eax]
add edx, ecx
jmp 0x4ca5e0
mov dword [esi + 0x10], 1
mov ecx, dword [ebp - 0x30]
add ecx, edx
mov dword [esi + 0x38], ecx
mov edx, dword [ebp - 0x44]
add eax, 8
sub dword [ebp - 0x34], 1
jne 0x4ca538
mov ebx, dword [ebp - 0x48]
cmp dword [esi + 0x38], 0
je 0x4ca1fe
mov eax, dword [esi + 0x1c]
add eax, 0x32
add eax, ebx
push eax
push esi
call fcn.004c4120
mov ecx, dword [ebp - 4]
add esp, 8
movzx eax, ax
xor ecx, ebp
mov dword [esi + 0x3c], eax
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.004d3b35
mov esp, ebp
pop ebp
ret