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

Disassembly:
sub esp, 0x80
push ebx
mov ebx, dword [esp + 0x94]
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
push ebp
push esi
push edi
cmp ebx, 2
ja 0x100afbe3
mov edi, dword [esp + 0x94]
test edi, edi
jne 0x100afbf0
call fcn.100b0da0
xor ecx, ecx
mov ebp, 0x102e68d0
xor eax, eax
lock cmpxchg dword [ebp], ecx
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, eax
mov dword [esp + 0x94], edi
mov edx, 0x102e68d4
test edi, edi
jne 0x100afbc8
nop dword [eax]
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
push eax
call esi
call sym.project.dll_FcInitLoadConfigAndFonts
mov ebx, eax
mov dword [esp + 0x94], ebx
test ebx, ebx
je 0x100afb98
call fcn.100b0da0
mov ecx, ebx
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
je 0x100afbb5
push ebx
call sym.project.dll_FcConfigDestroy
add esp, 4
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [ebp], ecx
mov edi, eax
mov edx, 0x102e68d4
mov dword [esp + 0x94], edi
test edi, edi
je 0x100afb60
jmp 0x100afbbc
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0xa0]
mov edx, 0x102e68d4
mov ecx, 1
lea eax, [edi + 0x4c]
lock xadd dword [eax], ecx
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
push eax
call esi
test edi, edi
jne 0x100afbfc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov ecx, 1
lea eax, [edi + 0x4c]
lock xadd dword [eax], ecx
mov ebp, dword [esp + 0x98]
lea eax, [ebx*4 + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + edi]
mov dword [esp + 0x24], eax
test ebx, ebx
jne 0x100afd52
call sym.project.dll_FcGetDefaultLangs
mov esi, eax
test esi, esi
je 0x100afd23
push esi
call sym.project.dll_FcStrListCreate
mov edi, eax
mov dword [esp + 0x24], edi
call sym.project.dll_FcLangSetCreate
mov ebx, eax
push 0x1022fa20
push ebx
mov dword [esp + 0x1c], ebx
call sym.project.dll_FcLangSetAdd
push esi
call sym.project.dll_FcStrSetDestroy
add esp, 0x10
test edi, edi
je 0x100afd0d
nop
push edi
call sym.project.dll_FcStrListNext
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
je 0x100afd09
push 0x22
push ebp
call fcn.100b5110
add esp, 8
test eax, eax
je 0x100afdd0
mov ebx, dword [eax + 4]
test bl, 1
je 0x100afc97
and ebx, 0xfffffffe
add ebx, eax
test ebx, ebx
je 0x100afdd0
nop
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.100b5ae0
add esp, 8
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [esp + 0x38], xmm0
cmp eax, 8
jne 0x100afd85
call sym.project.dll_FcLangSetCreate
mov edi, eax
push esi
push edi
call sym.project.dll_FcLangSetAdd
push edi
push dword [esp + 0x4c]
call sym.project.dll_FcLangSetContains
push edi
mov esi, eax
call sym.project.dll_FcLangSetDestroy
add esp, 0x14
test esi, esi
jne 0x100afd05
push dword [esp + 0x10]
push dword [esp + 0x44]
call sym.project.dll_FcLangSetContains
add esp, 8
test eax, eax
je 0x100afdb1
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
push edi
call sym.project.dll_FcStrListDone
push ebx
call sym.project.dll_FcLangSetDestroy
mov edi, dword [esp + 0x9c]
add esp, 8
lea eax, [esp + 0x80]
push eax
push 0
push 0x2c
push ebp
call fcn.100b5140
add esp, 0x10
cmp eax, 1
jne 0x100afd52
call fcn.100b16b0
test eax, eax
je 0x100afd52
push eax
push 0x2c
push ebp
call fcn.100b4f10
add esp, 0xc
mov edx, dword [edi + 0x20]
add edx, 0x37
mov dword [esp + 0x20], edx
lea esi, [edx*4]
push esi
mov dword [esp + 0x2c], esi
call fcn.101fe13d
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x100afe00
xor ebp, ebp
jmp 0x100b047b
push esi
mov esi, dword [esp + 0x44]
push esi
call sym.project.dll_FcStrCmpIgnoreCase
add esp, 8
test eax, eax
je 0x100afd05
push 0x1022fa20
push esi
call sym.project.dll_FcStrCmpIgnoreCase
add esp, 8
test eax, eax
je 0x100afd05
mov eax, dword [ebx]
test al, 1
je 0x100afdbe
and eax, 0xfffffffe
add ebx, eax
jmp 0x100afdc0
mov ebx, eax
mov esi, dword [esp + 0x28]
test ebx, ebx
jne 0x100afca0
mov edi, dword [esp + 0x20]
push 1
push 0
sub esp, 0x10
mov dword [esp + 0x78], 3
mov eax, esp
mov dword [esp + 0x80], esi
movups xmm0, xmmword [esp + 0x78]
push 0x22
push ebp
movups xmmword [eax], xmm0
call fcn.100b4f60
add esp, 0x20
jmp 0x100afc60
push esi
call fcn.101fe13d
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100afe18
xor ebp, ebp
jmp 0x100b047b
push esi
call fcn.101fe13d
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100afe32
xor ebp, ebp
jmp 0x100b0474
test byte [0x102eb638], 4
je 0x100afe4e
push 0x1022fa24
call fcn.10001521
push ebp
call sym.project.dll_FcPatternPrint
add esp, 8
push fcn.101fd0fd
push fcn.101fd0fd
push 0
push 0x100b0d80
push fcn.100c3170
push 0x100c3930
call fcn.100cb470
push fcn.101fd0fd
push fcn.101fd0fd
push 0
push 0x100b0d80
push sym.project.dll_FcStrCmpIgnoreCase
push fcn.100c39e0
mov dword [esp + 0x68], eax
call fcn.100cb470
push 1
push ebp
mov dword [esp + 0x74], eax
call fcn.100b5110
add esp, 0x38
test eax, eax
je 0x100afec0
mov ecx, dword [eax + 4]
test cl, 1
je 0x100afeb2
and ecx, 0xfffffffe
add ecx, eax
push ecx
lea eax, [esp + 0x3c]
push eax
call fcn.100abff0
add esp, 8
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100c50c0
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.100c5120
add esp, 0x10
test eax, eax
je 0x100b0453
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100c50a0
add esp, 8
mov esi, eax
test byte [0x102eb638], 4
je 0x100aff0e
push dword [esi + 4]
push str._nRule_Set:__s_n
call fcn.10001521
add esp, 8
add esi, dword [esp + 0x2c]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x38], esi
push dword [esi]
call fcn.100c50c0
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.100c5120
add esp, 0x10
test eax, eax
je 0x100b042e
nop dword [eax]
lea eax, [esp + 0x48]
push eax
push dword [esi]
call fcn.100c50a0
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
jle 0x100b0042
cmp eax, 4
jb 0x100b000d
lea edx, [eax*4]
lea eax, [edx - 4]
add eax, edi
lea edi, [edx - 4]
add edi, ebx
cmp dword [esp + 0x1c], edi
ja 0x100aff87
cmp eax, ebx
jae 0x100b000d
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
add ebx, 0xfffffffc
add edx, ebx
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x1c], edx
ja 0x100affa4
cmp eax, dword [esp + 0x18]
jae 0x100b000d
cmp ebx, edx
ja 0x100affae
cmp edi, dword [esp + 0x18]
jae 0x100b000d
mov edx, dword [esp + 0x20]
mov eax, edx
and eax, 0x80000003
jns 0x100affc0
dec eax
or eax, 0xfffffffc
inc eax
sub edx, eax
add ecx, 4
mov ebx, ecx
cmp ecx, edx
jl 0x100affc2
mov edi, dword [esp + 0x18]
lea eax, [edx + 3]
cdq
and edx, 3
add edx, eax
xor eax, eax
sar edx, 2
shl edx, 4
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
shr edx, 2
mov ecx, edx
mov edx, dword [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, ebx
cmp ebx, edx
jge 0x100b0042
mov ebx, dword [esp + 0x10]
jmp 0x100b0011
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
lea eax, [ebx + ecx*4]
sub edi, ebx
mov ebx, dword [esp + 0x1c]
sub ebx, dword [esp + 0x10]
sub edx, ecx
mov dword [edi + eax], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
mov dword [ebx + eax - 4], 0
sub edx, 1
jne 0x100b0024
test esi, esi
je 0x100b03f8
nop word [eax + eax]
mov eax, dword [esi + 4]
sub eax, 1
je 0x100b02d9
sub eax, 1
jne 0x100b04f7
mov eax, dword [esi + 8]
mov ebx, dword [eax]
and ebx, 0xfffffbff
test byte [0x102eb638], 4
je 0x100b0098
push str.Substitute
call fcn.10001521
push dword [esi + 8]
call fcn.100bb400
push 0x1022fa7c
call fcn.10001521
add esp, 0xc
mov eax, dword [esi + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push ebp
call fcn.100b0790
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x100b00e9
cmp dword [eax], 1
je 0x100b00d4
cmp dword [esp + 0xa0], 0
jne 0x100b00e9
push dword [eax + 8]
push ebp
call fcn.100b5110
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [edx + ebx*4], eax
jmp 0x100b00ed
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 8]
movzx eax, word [ecx + 4]
add eax, 0xfffffff5
cmp eax, 7
ja case.default.0x100b0100
jmp dword [eax*4 + 0x100b0508]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x30], eax
test eax, eax
je case.0x100b0100.12
push dword [esp + 0x14]
push dword [ecx]
push edi
push 1
push eax
mov eax, dword [edx + ebx*4]
add eax, 4
push eax
call fcn.100ac100
push dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push ebx
push dword [esp + 0x50]
mov eax, dword [eax + ebx*4]
add eax, 4
push eax
call fcn.100ad370
mov eax, dword [esp + 0x38]
add esp, 0x28
mov dword [eax + ebx*4], edi
jmp 0x100b0291
push dword [esp + 0x14]
push dword [ecx]
push ebp
call fcn.100af380
add esp, 0xc
test edi, edi
je 0x100b0197
mov eax, dword [esi + 8]
mov eax, dword [eax]
push eax
push ebp
mov dword [esp + 0x38], eax
call fcn.100b5330
add esp, 8
test eax, eax
je 0x100b0197
push dword [esp + 0x14]
add eax, 4
push dword [esp + 0x34]
push edi
push 1
push 0
push eax
call fcn.100ac100
add esp, 0x18
mov eax, dword [esp + 0x10]
mov dword [eax + ebx*4], 0
jmp 0x100b0291
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x100b0100.13
push dword [esp + 0x14]
push dword [ecx]
push edi
push 0
push eax
mov eax, dword [edx + ebx*4]
add eax, 4
push eax
call fcn.100ac100
add esp, 0x18
jmp 0x100b0291
test edi, edi
je 0x100b0291
mov ebx, dword [ecx]
push ebx
push ebp
call fcn.100b5330
add esp, 8
test eax, eax
je 0x100b0291
push dword [esp + 0x14]
add eax, 4
push ebx
push edi
push 0
push 0
push eax
call fcn.100ac100
add esp, 0x18
jmp 0x100b0291
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x100b0100.16
push dword [esp + 0x14]
push dword [ecx]
push edi
push 1
jmp 0x100b01bb
test edi, edi
je 0x100b0291
mov ebx, dword [ecx]
push ebx
push ebp
call fcn.100b5330
add esp, 8
test eax, eax
je 0x100b0291
push dword [esp + 0x14]
add eax, 4
push ebx
push edi
push 1
push 0
push eax
call fcn.100ac100
add esp, 0x18
jmp 0x100b0291
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x100b0100.18
push dword [esp + 0x14]
push ebx
push eax
mov eax, dword [edx + ebx*4]
add eax, 4
push eax
call fcn.100ad370
push edi
call fcn.100b5fd0
add esp, 0x14
jmp 0x100b0291
push dword [esp + 0x14]
push dword [ecx]
push ebp
call fcn.100af380
push edi
call fcn.100b5fd0
add esp, 0x10
jmp 0x100b0291
push edi
call fcn.100b5fd0
add esp, 4
mov eax, dword [esi + 8]
mov edi, dword [eax]
push edi
push ebp
call fcn.100b5110
add esp, 8
test eax, eax
je 0x100b02b4
cmp dword [eax + 4], 0
jne 0x100b02b4
push edi
push ebp
call fcn.100b5090
add esp, 8
test byte [0x102eb638], 4
je 0x100b04f7
push str.FcConfigSubstitute_edit
call fcn.10001521
push ebp
call sym.project.dll_FcPatternPrint
add esp, 8
jmp 0x100b04f7
mov eax, dword [esi + 8]
mov ebp, dword [eax + 8]
and ebp, 0xfffffbff
test byte [0x102eb638], 4
je 0x100b0303
push str.FcConfigSubstitute_test
call fcn.10001521
push dword [esi + 8]
call fcn.100bc270
add esp, 8
mov ecx, dword [esp + 0xa0]
cmp ecx, 1
jne 0x100b0328
mov eax, dword [esi + 8]
cmp dword [eax], 0
jne 0x100b0328
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x14], 0
jmp 0x100b0337
mov ebx, dword [esp + 0x98]
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x100b0355
mov eax, dword [esi + 8]
push dword [eax + 8]
push ebx
call fcn.100b5110
mov ecx, dword [esp + 0xa8]
add esp, 8
mov edi, eax
jmp 0x100b0357
xor edi, edi
mov edx, dword [esp + 0x18]
cmp dword [edx + ebp*4], 0
jne 0x100b0375
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jne 0x100b0375
mov dword [edx + ebp*4], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
mov dword [edx + ebp*4], eax
test edi, edi
jne 0x100b038e
mov eax, dword [esi + 8]
cmp dword [eax + 4], 1
jne 0x100b03e2
mov eax, dword [esp + 0x10]
mov dword [eax + ebp*4], edi
jmp 0x100b04f0
push dword [esp + 0x14]
push dword [edi + 4]
push dword [esi + 8]
push ecx
push dword [esp + 0xac]
push ebx
call fcn.100af130
mov ebx, dword [esp + 0x28]
add esp, 0x18
mov edx, eax
cmp dword [ebx + ebp*4], 0
jne 0x100b03c6
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0xa0]
cmp eax, dword [ecx]
jne 0x100b03c6
mov dword [ebx + ebp*4], edx
test edx, edx
je 0x100b03e2
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
cmp eax, 2
jne 0x100b04e2
cmp edx, dword [edi + 4]
je 0x100b04f0
test byte [0x102eb638], 4
je 0x100b03f8
push str.No_match_n
call fcn.10001521
add esp, 4
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
push dword [esi]
call fcn.100c5140
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.100c5120
mov ebp, dword [esp + 0xa8]
add esp, 0x10
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x100aff40
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100c5140
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.100c5120
add esp, 0x10
test eax, eax
jne 0x100afee5
test byte [0x102eb638], 4
je 0x100b046f
push str.FcConfigSubstitute_done
call fcn.10001521
push ebp
call sym.project.dll_FcPatternPrint
add esp, 8
mov ebp, 1
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100b048c
push eax
call fcn.100cb4e0
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100b049d
push eax
call fcn.100cb4e0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100b04ae
push eax
call fcn.101fd0fd
add esp, 4
test ebx, ebx
je 0x100b04bb
push ebx
call fcn.101fd0fd
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100b04cc
push eax
call fcn.101fd0fd
add esp, 4
push edi
call sym.project.dll_FcConfigDestroy
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
cmp eax, 3
jne 0x100b04f0
cmp edx, dword [edi + 4]
je 0x100b03e2
mov ebp, dword [esp + 0x98]
mov esi, dword [esi]
test esi, esi
jne 0x100b0050
jmp 0x100b03f8