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

Disassembly:
sub esp, 0x50
mov eax, dword [0x100bd040]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push ebp
mov ebp, edx
push esi
mov esi, dword [esp + 0x60]
mov edx, esi
mov dword [ebx + 4], ebp
mov dword [ebx + 8], esi
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
push edi
mov dword [ebx + 0x40], ecx
mov ecx, ebp
push str.cmap
mov dword [esp + 0x28], ebp
call fcn.100336ca
mov edi, eax
mov dword [esp], str.loca
mov edx, esi
mov dword [esp + 0x20], edi
mov ecx, ebp
call fcn.100336ca
mov edx, esi
mov dword [esp + 0x24], eax
mov ecx, ebp
mov dword [ebx + 0x10], eax
mov dword [esp], str.head
call fcn.100336ca
mov edx, esi
mov dword [esp + 0x5c], eax
mov ecx, ebp
mov dword [ebx + 0x14], eax
mov dword [esp], str.glyf
call fcn.100336ca
mov edx, esi
mov dword [esp + 0x38], eax
mov ecx, ebp
mov dword [ebx + 0x18], eax
mov dword [esp], str.hhea
call fcn.100336ca
mov edx, esi
mov dword [esp + 0x58], eax
mov ecx, ebp
mov dword [ebx + 0x1c], eax
mov dword [esp], str.hmtx
call fcn.100336ca
mov edx, esi
mov dword [esp + 0x54], eax
mov ecx, ebp
mov dword [ebx + 0x20], eax
mov dword [esp], str.kern
call fcn.100336ca
mov edx, esi
mov dword [ebx + 0x24], eax
mov ecx, ebp
mov dword [esp], str.GPOS
call fcn.100336ca
mov dword [ebx + 0x28], eax
pop ecx
test edi, edi
je 0x100339a5
cmp dword [esp + 0x58], 0
je 0x100339a5
cmp dword [esp + 0x54], 0
je 0x100339a5
cmp dword [esp + 0x50], 0
je 0x100339a5
cmp dword [esp + 0x34], 0
je 0x100339ba
cmp dword [esp + 0x20], 0
jne 0x10033bf7
xor eax, eax
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10069b82
add esp, 0x50
ret
xor edi, edi
mov dword [esp + 0x54], 2
push str.CFF
mov edx, esi
mov dword [esp + 0x54], edi
mov ecx, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x38], edi
call fcn.100336ca
pop ecx
test eax, eax
je 0x100339a5
mov dword [ebx + 0x68], edi
lea esi, [ebx + 0x38]
mov dword [ebx + 0x6c], edi
lea ecx, [esp + 0x38]
mov dword [ebx + 0x70], edi
add eax, ebp
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 + 0x38]
mov dword [esi + 8], 0x20000000
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x3c]
lea edx, [edx + 2]
call fcn.10033314
call fcn.100332fd
movzx ecx, al
mov eax, dword [esp + 0x40]
cmp ecx, eax
cmovle eax, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call fcn.10033382
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.10033382
push ecx
mov esi, eax
mov edi, esp
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10033576
mov esi, eax
lea edi, [esp + 0x54]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10033382
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
call fcn.10033382
mov esi, eax
lea edi, [esp + 0x28]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x60]
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 + 0x2c]
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
pop edx
call fcn.10033535
lea eax, [esp + 0x74]
mov edx, 0x106
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.10033535
lea eax, [esp + 0x80]
mov edx, 0x124
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.10033535
lea eax, [esp + 0x64]
mov edx, 0x125
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.10033535
add esp, 0x2c
lea esi, [esp + 0x50]
mov edi, esp
lea eax, [esp + 0x34]
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 + 0x50]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100337b8
mov esi, eax
lea edi, [esp + 0x2c]
add esp, 0x1c
cmp dword [esp + 0x54], 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 + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x100339a5
cmp dword [esp + 0x50], 0
je 0x100339a5
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10033bb5
cmp dword [esp + 0x34], 0
je 0x100339a5
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jg 0x10033b5f
mov dword [esp + 0x3c], eax
test eax, eax
jns 0x10033b63
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.10033382
mov esi, eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
lea edi, [esp + 0x14]
sub eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x1c]
lea edi, [ebx + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1003334b
mov esi, eax
lea edi, [esp + 0x1c]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x10]
lea edi, [ebx + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jg 0x10033bc9
mov dword [esp + 0x3c], eax
test eax, eax
jns 0x10033bcd
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.10033382
mov esi, eax
lea edi, [esp + 0x14]
pop ecx
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 + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x1c]
push str.maxp
mov edx, esi
mov ecx, ebp
call fcn.100336ca
pop ecx
test eax, eax
je 0x10033c1b
movzx ecx, byte [eax + ebp + 5]
movzx eax, byte [eax + ebp + 4]
shl eax, 8
add ecx, eax
jmp 0x10033c20
mov ecx, 0xffff
mov dword [ebx + 0xc], ecx
or dword [ebx + 0x2c], 0xffffffff
movzx ecx, byte [edi + ebp + 2]
movzx eax, byte [edi + ebp + 3]
and dword [ebx + 0x30], 0
shl ecx, 8
add eax, ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10033c8c
lea esi, [ebp + 5]
mov ebp, eax
add esi, edi
movzx ecx, byte [esi - 1]
movzx eax, byte [esi]
shl ecx, 8
add eax, ecx
je 0x10033c73
cmp eax, 3
jne 0x10033c80
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x10033c73
sub ecx, 9
jne 0x10033c80
lea ecx, [esi + 3]
call fcn.10033637
add eax, edi
mov dword [ebx + 0x30], eax
add esi, 8
sub ebp, 1
jne 0x10033c49
mov ebp, dword [esp + 0x24]
cmp dword [ebx + 0x30], 0
je 0x100339a5
mov ecx, dword [ebx + 0x14]
xor eax, eax
movzx edx, byte [ecx + ebp + 0x32]
movzx ecx, byte [ecx + ebp + 0x33]
shl edx, 8
add edx, ecx
inc eax
mov dword [ebx + 0x34], edx
jmp 0x100339a7