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

Disassembly:
sub esp, 0x140
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
mov ebp, dword [esp + 0x154]
push esi
mov esi, dword [esp + 0x154]
push edi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x32
push ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0
call fcn.10131890
add esp, 0x10
cmp dword [esp + 0x28], 0
je 0x1012f15b
push 0
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.1013f320
add esp, 0xc
call sym.Easy.MessageHub.dll_FcPatternCreate
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x1012f710
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp dword [ebp], ecx
jle 0x1012f40e
nop dword [eax]
mov eax, dword [ebp + 8]
lea ebp, [eax + ecx*8]
mov ecx, dword [esp + 0x24]
add ebp, ecx
mov dword [esp + 0x3c], ebp
mov eax, dword [ebp]
cmp eax, 2
je 0x1012f3f8
cmp eax, 4
je 0x1012f3f8
cmp eax, 6
je 0x1012f3f8
cmp eax, 1
je 0x1012f1c1
cmp eax, 3
je 0x1012f1c1
cmp eax, 5
jne 0x1012f565
inc eax
push eax
push ecx
call fcn.10131840
mov ecx, dword [ebp]
mov ebx, eax
inc ecx
mov dword [esp + 0x3c], ebx
push ecx
push esi
call fcn.10131840
add esp, 0x10
mov edx, eax
test ebx, ebx
je 0x1012f561
test edx, edx
je 0x1012f50f
mov edi, dword [edx]
xor eax, eax
mov eax, edi
mov dword [esp + 0x30], 1
mov ecx, eax
mov dword [esp + 0x2c], 0
sub ecx, 2
je 0x1012f2b3
sub ecx, 2
je 0x1012f2b3
sub ecx, 2
je 0x1012f2b3
cmp eax, 0x35
jle 0x1012f2b8
xor esi, esi
mov ecx, dword [ebx + 4]
test cl, 1
je 0x1012f23a
and ecx, 0xfffffffe
add ecx, ebx
mov eax, dword [edx + 4]
test al, 1
je 0x1012f246
and eax, 0xfffffffe
add eax, edx
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x34]
push edx
push 0
push 0
push ecx
push eax
push esi
push edi
call fcn.1012edf0
add esp, 0x20
test eax, eax
je 0x1012f704
mov eax, dword [ebp + 4]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test al, 1
je 0x1012f27a
and eax, 0xfffffffe
add eax, ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x14], eax
test bl, 1
je 0x1012f28d
and ebx, 0xfffffffe
add ebx, dword [esp + 0x34]
mov ebp, ecx
nop
test eax, eax
jne 0x1012f29c
test ebx, ebx
je 0x1012f3c3
mov edi, 0x7fffffff
cmp ecx, dword [esp + 0x30]
jne 0x1012f2ed
mov edi, 1
mov esi, 0x101329c0
jmp 0x1012f2f2
mov eax, 0x22
shl eax, 4
cmp dword [eax + 0x102b0d8c], 0
je 0x1012f22b
cmp dword [eax + 0x102b0d90], 0xffffffff
je 0x1012f22b
cmp dword [eax + 0x102b0d94], 0xffffffff
je 0x1012f22b
lea esi, [eax + 0x102b0d88]
jmp 0x1012f22d
mov esi, 0x10132650
mov dword [esp + 0x1c], esi
test eax, eax
je 0x1012f333
mov esi, dword [eax + 0x18]
add eax, 8
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10132210
add esp, 8
movups xmm0, xmmword [eax]
push esi
mov esi, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
push dword [esp + 0x40]
movups xmmword [ecx], xmm0
call esi
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x1012f36f
cmp edi, 0x7fffffff
jne 0x1012f342
mov edi, dword [ebx + 0x18]
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.10132210
add esp, 8
movups xmm0, xmmword [eax]
push edi
sub esp, 0x10
mov ecx, esp
push ebp
movups xmmword [ecx], xmm0
call esi
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 0x18
inc ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1012f392
mov ecx, dword [eax]
test cl, 1
je 0x1012f38a
and ecx, 0xfffffffe
add eax, ecx
mov ecx, dword [esp + 0x18]
jmp 0x1012f394
mov eax, ecx
mov ecx, dword [esp + 0x18]
jmp 0x1012f394
xor eax, eax
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1012f3bc
mov ecx, dword [ebx]
test cl, 1
je 0x1012f3b1
and ecx, 0xfffffffe
add ebx, ecx
mov ecx, dword [esp + 0x18]
jmp 0x1012f290
mov ebx, ecx
mov ecx, dword [esp + 0x18]
jmp 0x1012f290
xor ebx, ebx
jmp 0x1012f290
mov ebx, dword [esp + 0x20]
push 0
push dword [esp + 0x30]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x44]
push dword [ebp]
push ebx
call fcn.10131b70
mov eax, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x4c]
push dword [eax]
push ebx
call fcn.10131b70
add esp, 0x20
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [ebp]
jl 0x1012f180
xor edi, edi
cmp dword [esi], edi
jle 0x1012f46a
mov eax, dword [esi + 8]
lea esi, [eax + edi*8]
add esi, dword [esp + 0x10]
push dword [esi]
push ebp
call fcn.10131840
add esp, 8
test eax, eax
jne 0x1012f461
mov eax, dword [esi]
cmp eax, 2
je 0x1012f461
cmp eax, 4
je 0x1012f461
cmp eax, 6
je 0x1012f461
mov eax, dword [esi + 4]
test al, 1
je 0x1012f44a
and eax, 0xfffffffe
add eax, esi
push 0
push eax
call fcn.101327b0
add esp, 4
push eax
push dword [esi]
push ebx
call fcn.10131b70
add esp, 0x10
mov esi, dword [esp + 0x10]
inc edi
cmp edi, dword [esi]
jl 0x1012f414
cmp dword [esp + 0x28], 0
je 0x1012f4e4
cmp dword [esp + 0x84], 0
je 0x1012f4e4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
push 0x31
push ebx
call fcn.10131980
add esp, 0x10
test eax, eax
jne 0x1012f4c1
lea eax, [esp + 0x78]
push 0x2c
push eax
call fcn.1013f110
push dword [esp + 0x2c]
lea eax, [esp + 0x84]
push eax
call fcn.1013f360
push 0x31
push ebx
call fcn.101317c0
add esp, 0x18
lea eax, [esp + 0x78]
push eax
call fcn.1013f300
push eax
push 0x31
push ebx
call fcn.10131640
lea eax, [esp + 0x88]
push eax
call fcn.1013f250
add esp, 0x14
push 1
push esi
push ebx
push dword [esp + 0x50]
call sym.Easy.MessageHub.dll_FcConfigSubstituteWithPat
add esp, 0x10
mov eax, ebx
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026465b
add esp, 0x140
ret
mov eax, dword [ebp + 4]
test al, 1
je 0x1012f51b
and eax, 0xfffffffe
add eax, ebp
push eax
call fcn.101327b0
mov ecx, dword [ebx + 4]
add esp, 4
mov edi, eax
test cl, 1
je 0x1012f533
and ecx, 0xfffffffe
add ecx, ebx
push ecx
call fcn.101327b0
push 0
push edi
push dword [ebp]
mov esi, eax
push dword [esp + 0x30]
call fcn.10131b70
push 0
push esi
push dword [ebx]
mov ebx, dword [esp + 0x40]
push ebx
call fcn.10131b70
add esp, 0x24
jmp 0x1012f3f4
mov ebx, dword [esp + 0x20]
push dword [ebp]
push esi
call fcn.10131840
mov edx, eax
add esp, 8
test edx, edx
je 0x1012f6db
mov esi, dword [edx]
cmp esi, 0x35
jg 0x1012f5aa
mov ecx, esi
shl ecx, 4
cmp dword [ecx + 0x102b0d8c], 0
je 0x1012f5aa
cmp dword [ecx + 0x102b0d90], 0xffffffff
je 0x1012f5aa
cmp dword [ecx + 0x102b0d94], 0xffffffff
je 0x1012f5aa
lea edi, [ecx + 0x102b0d88]
jmp 0x1012f5ac
xor edi, edi
mov ecx, dword [ebp + 4]
test cl, 1
je 0x1012f5b9
and ecx, 0xfffffffe
add ecx, ebp
mov eax, dword [edx + 4]
test al, 1
je 0x1012f5c5
and eax, 0xfffffffe
add eax, edx
lea edx, [esp + 0x14]
push edx
push 0
push 0
lea edx, [esp + 0x54]
push edx
push ecx
push eax
push edi
push esi
call fcn.1012edf0
add esp, 0x20
test eax, eax
je 0x1012f704
movups xmm0, xmmword [esp + 0x48]
push 0
sub esp, 0x10
mov eax, esp
push dword [ebp]
movups xmmword [eax], xmm0
push ebx
call fcn.10131490
add esp, 0x1c
cmp dword [esp + 0x28], 0
je 0x1012f3f4
mov eax, dword [ebp + 4]
test al, 1
je 0x1012f619
and eax, 0xfffffffe
add eax, ebp
cmp dword [eax + 8], 9
jne 0x1012f3f4
mov eax, dword [ebp]
cmp eax, 8
je 0x1012f639
cmp eax, 9
je 0x1012f639
cmp eax, 0xa
jne 0x1012f3f4
cmp dword [esp + 0x84], 0
mov esi, 0x102b1104
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x3c], xmm0
je 0x1012f669
lea eax, [esp + 0x78]
push 0x2c
push eax
call fcn.1013f110
movsd xmm0, qword [esp + 0x44]
add esp, 8
mov eax, dword [ebp]
sub eax, 8
je 0x1012f689
sub eax, 1
je 0x1012f682
sub eax, 1
jne 0x1012f6a3
mov esi, str.opsz
jmp 0x1012f6a3
mov esi, str.wdth
jmp 0x1012f6a3
cvttsd2si eax, xmm0
mov esi, str.wght
push eax
call sym.Easy.MessageHub.dll_FcWeightToOpenType
add esp, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
sub esp, 8
lea eax, [esp + 0xd4]
movsd qword [esp], xmm0
push esi
push str._4s_g
push eax
call fcn.10019de0
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1013f360
add esp, 0x1c
jmp 0x1012f3f4
mov eax, dword [ebp + 4]
test al, 1
je 0x1012f6e7
and eax, 0xfffffffe
add eax, ebp
push 1
push eax
call fcn.101327b0
add esp, 4
push eax
push dword [ebp]
push ebx
call fcn.10131b70
add esp, 0x10
jmp 0x1012f3f8
push dword [esp + 0x20]
call sym.Easy.MessageHub.dll_FcPatternDestroy
add esp, 4
xor eax, eax
jmp 0x1012f4f6