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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x58]
push edi
mov dword [ebx + 4], ebp
mov dword [ebx + 8], esi
push str.cmap
mov dword [ebx + 0x38], ecx
push esi
mov dword [ebx + 0x3c], ecx
push ebp
mov dword [ebx + 0x40], ecx
call fcn.100498ca
push str.loca
mov edi, eax
push esi
push ebp
mov dword [esp + 0x34], edi
call fcn.100498ca
push str.head
push esi
push ebp
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x10], eax
call fcn.100498ca
push str.glyf
push esi
push ebp
mov dword [esp + 0x88], eax
mov dword [ebx + 0x14], eax
call fcn.100498ca
push str.hhea
push esi
push ebp
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x18], eax
call fcn.100498ca
push str.hmtx
push esi
push ebp
mov dword [esp + 0x9c], eax
mov dword [ebx + 0x1c], eax
call fcn.100498ca
add esp, 0x48
mov dword [esp + 0x14], eax
mov dword [ebx + 0x20], eax
push str.kern
push esi
push ebp
call fcn.100498ca
push str.GPOS
push esi
push ebp
mov dword [ebx + 0x24], eax
call fcn.100498ca
add esp, 0x18
mov dword [ebx + 0x28], eax
test edi, edi
je 0x10047cc5
cmp dword [esp + 0x58], 0
je 0x10047cc5
cmp dword [esp + 0x54], 0
je 0x10047cc5
cmp dword [esp + 0x14], 0
je 0x10047cc5
cmp dword [esp + 0x10], 0
je 0x10047ccf
cmp dword [esp + 0x18], 0
jne 0x10047f11
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push str.CFF
xor edi, edi
mov dword [esp + 0x18], 2
push esi
push ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.100498ca
add esp, 0xc
test eax, eax
je 0x10047cc5
mov dword [ebx + 0x68], edi
lea esi, [ebx + 0x38]
mov dword [ebx + 0x6c], edi
add eax, ebp
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
mov dword [esi], eax
mov dword [esi + 4], edi
lea edi, [esp + 0x20]
mov dword [esi + 8], 0x20000000
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x24]
add eax, 2
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10048a1d
lea eax, [esp + 0x28]
push eax
call fcn.1004897e
movzx eax, al
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10048a1d
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10048a6e
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.10048a6e
add esp, 0x24
mov esi, eax
lea eax, [esp + 0x38]
push 0
sub esp, 0xc
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10048afd
mov esi, eax
lea edi, [esp + 0x40]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x50]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10048a6e
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10048a6e
mov esi, eax
lea edi, [esp + 0x5c]
lea eax, [esp + 0x34]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x50]
lea esi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
push esi
push 0x11
lea eax, [esp + 0x5c]
push eax
call fcn.100490d6
lea eax, [esp + 0x48]
push eax
push esi
lea eax, [esp + 0x68]
push 0x106
push eax
call fcn.100490d6
add esp, 0x44
lea eax, [esp + 0x54]
push eax
push esi
lea eax, [esp + 0x34]
push 0x124
push eax
call fcn.100490d6
lea eax, [esp + 0x68]
push eax
push esi
lea eax, [esp + 0x44]
push 0x125
push eax
call fcn.100490d6
add esp, 0x14
lea esi, [esp + 0x38]
mov edi, esp
lea eax, [esp + 0x50]
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x38]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100499c9
mov esi, eax
lea edi, [esp + 0x54]
add esp, 0x1c
cmp dword [esp + 0x14], 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x5c]
lea esi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x10047cc5
cmp dword [esp + 0x10], 0
je 0x10047cc5
cmp dword [esp + 0x54], 0
je 0x10047ed6
cmp dword [esp + 0x58], 0
je 0x10047cc5
push dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
call fcn.10048a1d
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10048a6e
mov esi, eax
lea edi, [esp + 0x48]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x68]
push eax
push dword [esp + 0x6c]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x60]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x58]
lea edi, [ebx + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100489e0
mov esi, eax
lea edi, [esp + 0x58]
add esp, 0x20
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x38]
lea edi, [ebx + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.10048a1d
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10048a6e
mov esi, eax
lea edi, [esp + 0x48]
add esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x44]
lea esi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x1c]
push str.maxp
push esi
push ebp
call fcn.100498ca
add esp, 0xc
test eax, eax
je 0x10047f35
add eax, 4
add eax, ebp
push eax
call fcn.1004bb47
pop ecx
movzx eax, ax
jmp 0x10047f3a
mov eax, 0xffff
mov dword [ebx + 0xc], eax
lea eax, [ebp + 2]
or dword [ebx + 0x2c], 0xffffffff
add eax, edi
push eax
call fcn.1004bb47
and dword [ebx + 0x30], 0
xor esi, esi
movzx eax, ax
mov dword [esp + 0x5c], eax
pop ecx
test eax, eax
je 0x10047fb4
lea eax, [esi*8 + 4]
add eax, edi
add eax, ebp
push eax
mov dword [esp + 0x60], eax
call fcn.1004bb47
pop ecx
test ax, ax
je 0x10047f9a
cmp ax, 3
jne 0x10047fad
mov eax, dword [esp + 0x5c]
add eax, 2
push eax
call fcn.1004bb47
movzx eax, ax
pop ecx
sub eax, 1
je 0x10047f9a
sub eax, 9
jne 0x10047fad
mov eax, dword [esp + 0x5c]
add eax, 4
push eax
call fcn.1004bb24
add eax, edi
mov dword [ebx + 0x30], eax
pop ecx
inc esi
cmp esi, dword [esp + 0x58]
jl 0x10047f5e
cmp dword [ebx + 0x30], 0
je 0x10047cc5
mov ecx, dword [ebx + 0x14]
add ecx, 0x32
add ecx, ebp
push ecx
call fcn.1004bb47
pop ecx
movzx ecx, ax
xor eax, eax
mov dword [ebx + 0x34], ecx
inc eax
jmp 0x10047cc7