Function at 0x100475ed
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.1004932e
push str.loca
mov edi, eax
push esi
push ebp
mov dword [esp + 0x34], edi
call fcn.1004932e
push str.head
push esi
push ebp
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x10], eax
call fcn.1004932e
push str.glyf
push esi
push ebp
mov dword [esp + 0x88], eax
mov dword [ebx + 0x14], eax
call fcn.1004932e
push str.hhea
push esi
push ebp
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x18], eax
call fcn.1004932e
push str.hmtx
push esi
push ebp
mov dword [esp + 0x9c], eax
mov dword [ebx + 0x1c], eax
call fcn.1004932e
add esp, 0x48
mov dword [esp + 0x14], eax
mov dword [ebx + 0x20], eax
push str.kern
push esi
push ebp
call fcn.1004932e
push str.GPOS
push esi
push ebp
mov dword [ebx + 0x24], eax
call fcn.1004932e
add esp, 0x18
mov dword [ebx + 0x28], eax
test edi, edi
je 0x100476d7
cmp dword [esp + 0x58], 0
je 0x100476d7
cmp dword [esp + 0x54], 0
je 0x100476d7
cmp dword [esp + 0x14], 0
je 0x100476d7
cmp dword [esp + 0x10], 0
je 0x100476e1
cmp dword [esp + 0x18], 0
jne 0x10047923
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.1004932e
add esp, 0xc
test eax, eax
je 0x100476d7
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.1004848b
lea eax, [esp + 0x28]
push eax
call fcn.100483ec
movzx eax, al
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1004848b
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100484dc
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.100484dc
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.1004856b
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.100484dc
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.100484dc
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.10048b44
lea eax, [esp + 0x48]
push eax
push esi
lea eax, [esp + 0x68]
push 0x106
push eax
call fcn.10048b44
add esp, 0x44
lea eax, [esp + 0x54]
push eax
push esi
lea eax, [esp + 0x34]
push 0x124
push eax
call fcn.10048b44
lea eax, [esp + 0x68]
push eax
push esi
lea eax, [esp + 0x44]
push 0x125
push eax
call fcn.10048b44
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.1004942d
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 0x100476d7
cmp dword [esp + 0x10], 0
je 0x100476d7
cmp dword [esp + 0x54], 0
je 0x100478e8
cmp dword [esp + 0x58], 0
je 0x100476d7
push dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
call fcn.1004848b
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100484dc
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.1004844e
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.1004848b
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100484dc
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.1004932e
add esp, 0xc
test eax, eax
je 0x10047947
add eax, 4
add eax, ebp
push eax
call fcn.1004b5b7
pop ecx
movzx eax, ax
jmp 0x1004794c
mov eax, 0xffff
mov dword [ebx + 0xc], eax
lea eax, [ebp + 2]
or dword [ebx + 0x2c], 0xffffffff
add eax, edi
push eax
call fcn.1004b5b7
and dword [ebx + 0x30], 0
xor esi, esi
movzx eax, ax
mov dword [esp + 0x5c], eax
pop ecx
test eax, eax
je 0x100479c6
lea eax, [esi*8 + 4]
add eax, edi
add eax, ebp
push eax
mov dword [esp + 0x60], eax
call fcn.1004b5b7
pop ecx
test ax, ax
je 0x100479ac
cmp ax, 3
jne 0x100479bf
mov eax, dword [esp + 0x5c]
add eax, 2
push eax
call fcn.1004b5b7
movzx eax, ax
pop ecx
sub eax, 1
je 0x100479ac
sub eax, 9
jne 0x100479bf
mov eax, dword [esp + 0x5c]
add eax, 4
push eax
call fcn.1004b594
add eax, edi
mov dword [ebx + 0x30], eax
pop ecx
inc esi
cmp esi, dword [esp + 0x58]
jl 0x10047970
cmp dword [ebx + 0x30], 0
je 0x100476d7
mov ecx, dword [ebx + 0x14]
add ecx, 0x32
add ecx, ebp
push ecx
call fcn.1004b5b7
pop ecx
movzx ecx, ax
xor eax, eax
mov dword [ebx + 0x34], ecx
inc eax
jmp 0x100476d9