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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x10063c18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movq xmm0, qword [ebp - 0x24]
push ebx
movq qword [esi + 0x34], xmm0
push edi
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0x3c], 0
call fcn.10050740
push str.loca
push ebx
push edi
mov dword [ebp + 0xc], eax
call fcn.10050740
push 0x10063c28
push ebx
push edi
mov dword [ebp - 0xc], eax
mov dword [esi + 0x10], eax
call fcn.10050740
push str.glyf
push ebx
push edi
mov dword [ebp + 8], eax
mov dword [esi + 0x14], eax
call fcn.10050740
push str.hhea
push ebx
push edi
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
call fcn.10050740
push str.hmtx
push ebx
push edi
mov dword [ebp + 0x10], eax
mov dword [esi + 0x1c], eax
call fcn.10050740
add esp, 0x48
mov dword [ebp - 8], eax
mov dword [esi + 0x20], eax
push 0x10063c48
push ebx
push edi
call fcn.10050740
push str.GPOS
push ebx
push edi
mov dword [esi + 0x24], eax
call fcn.10050740
add esp, 0x18
mov dword [esi + 0x28], eax
cmp dword [ebp + 0xc], 0
je 0x1004de2c
cmp dword [ebp + 8], 0
je 0x1004de2c
cmp dword [ebp + 0x10], 0
je 0x1004de2c
cmp dword [ebp - 8], 0
je 0x1004de2c
cmp dword [ebp - 4], 0
je 0x1004de35
cmp dword [ebp - 0xc], 0
jne 0x1004e0cc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.CFF
push ebx
push edi
mov dword [ebp - 4], 2
mov dword [ebp + 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp + 8], 0
call fcn.10050740
add esp, 0xc
test eax, eax
je 0x1004de2c
mov dword [ebp - 0x24], 0
add eax, edi
mov dword [ebp - 0x20], 0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x64], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movq xmm0, qword [ebp - 0x24]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
movq qword [esi + 0x70], xmm0
mov dword [ebp - 0x20], 0
movq xmm0, qword [ebp - 0x24]
push 2
movq qword [esi + 0x34], xmm0
push eax
mov dword [esi + 0x6c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x3c], 0x20000000
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0x20000000
call fcn.1004ed60
lea eax, [ebp - 0x18]
push eax
call fcn.1004ecc0
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1004ed40
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004ed90
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004ed90
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 - 0x30]
push eax
call fcn.1004ee60
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
movq qword [ebp - 0x24], xmm0
push eax
call fcn.1004ed90
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1004ed90
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [ebp + 0x10]
push eax
push 1
lea eax, [ebp - 0x24]
push 0x11
push eax
call fcn.1004f660
lea eax, [ebp - 4]
push eax
push 1
push 0x106
lea eax, [ebp - 0x24]
push eax
call fcn.1004f660
add esp, 0x44
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x24]
push 0x124
push eax
call fcn.1004f660
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 0x24]
push 0x125
push eax
call fcn.1004f660
movq xmm0, qword [ebp - 0x24]
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100507e0
add esp, 0x1c
cmp dword [ebp - 4], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x1004de2c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1004de2c
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x1004e09c
cmp dword [ebp + 8], 0
je 0x1004de2c
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jg 0x1004e02a
mov dword [ebp - 0x14], ecx
test ecx, ecx
jns 0x1004e02d
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1004ed90
mov ecx, dword [ebp - 0x10]
add esp, 8
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], 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 - 0x20], 0
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], 0
test edx, edx
js 0x1004e087
test eax, eax
js 0x1004e087
cmp edx, ecx
jg 0x1004e087
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
jmp 0x1004e08a
mov eax, dword [ebp + 8]
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0x10]
jmp 0x1004e09f
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jg 0x1004e0aa
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x1004e0ad
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1004ed90
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 ebx
push edi
call fcn.10050740
add esp, 0xc
test eax, eax
je 0x1004e0f0
movzx ecx, byte [eax + edi + 4]
movzx eax, byte [eax + edi + 5]
shl ecx, 8
add ecx, eax
jmp 0x1004e0f5
mov ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
movzx eax, byte [edx + edi + 2]
movzx ebx, byte [edx + edi + 3]
shl eax, 8
mov dword [esi + 0x2c], 0
add ebx, eax
je 0x1004de2c
lea eax, [edi + 9]
add eax, edx
nop dword [eax]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x1004e14b
cmp ecx, 3
jne 0x1004e16f
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x1004e14b
sub edx, 9
jne 0x1004e16f
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 + 0xc]
add ecx, edx
mov dword [esi + 0x2c], ecx
add eax, 8
sub ebx, 1
jne 0x1004e120
cmp dword [esi + 0x2c], ebx
je 0x1004de2c
mov eax, dword [esi + 0x14]
movzx ecx, byte [edi + eax + 0x32]
movzx eax, byte [edi + eax + 0x33]
shl ecx, 8
add ecx, eax
lea eax, [ebx + 1]
pop edi
mov dword [esi + 0x30], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret