Function at 0x100b9200
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 0x100b92f3
mov edi, dword [esp + 0x94]
test edi, edi
jne 0x100b9300
call fcn.100ba4b0
xor ecx, ecx
mov ebp, 0x102f0970
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, 0x102f0974
test edi, edi
jne 0x100b92d8
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 0x100b92a8
call fcn.100ba4b0
mov ecx, ebx
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
je 0x100b92c5
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, 0x102f0974
mov dword [esp + 0x94], edi
test edi, edi
je 0x100b9270
jmp 0x100b92cc
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0xa0]
mov edx, 0x102f0974
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 0x100b930c
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 0x100b9462
call sym.project.dll_FcGetDefaultLangs
mov esi, eax
test esi, esi
je 0x100b9433
push esi
call sym.project.dll_FcStrListCreate
mov edi, eax
mov dword [esp + 0x24], edi
call sym.project.dll_FcLangSetCreate
mov ebx, eax
push 0x10239a70
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 0x100b941d
nop
push edi
call sym.project.dll_FcStrListNext
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
je 0x100b9419
push 0x22
push ebp
call fcn.100be810
add esp, 8
test eax, eax
je 0x100b94e0
mov ebx, dword [eax + 4]
test bl, 1
je 0x100b93a7
and ebx, 0xfffffffe
add ebx, eax
test ebx, ebx
je 0x100b94e0
nop
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.100bf1e0
add esp, 8
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [esp + 0x38], xmm0
cmp eax, 8
jne 0x100b9495
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 0x100b9415
push dword [esp + 0x10]
push dword [esp + 0x44]
call sym.project.dll_FcLangSetContains
add esp, 8
test eax, eax
je 0x100b94c1
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.100be840
add esp, 0x10
cmp eax, 1
jne 0x100b9462
call fcn.100badc0
test eax, eax
je 0x100b9462
push eax
push 0x2c
push ebp
call fcn.100be610
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.1020782d
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x100b9510
xor ebp, ebp
jmp 0x100b9b8b
push esi
mov esi, dword [esp + 0x44]
push esi
call sym.project.dll_FcStrCmpIgnoreCase
add esp, 8
test eax, eax
je 0x100b9415
push 0x10239a70
push esi
call sym.project.dll_FcStrCmpIgnoreCase
add esp, 8
test eax, eax
je 0x100b9415
mov eax, dword [ebx]
test al, 1
je 0x100b94ce
and eax, 0xfffffffe
add ebx, eax
jmp 0x100b94d0
mov ebx, eax
mov esi, dword [esp + 0x28]
test ebx, ebx
jne 0x100b93b0
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.100be660
add esp, 0x20
jmp 0x100b9370
push esi
call fcn.1020782d
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100b9528
xor ebp, ebp
jmp 0x100b9b8b
push esi
call fcn.1020782d
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100b9542
xor ebp, ebp
jmp 0x100b9b84
test byte [0x102f56d8], 4
je 0x100b955e
push 0x10239a74
call fcn.10001521
push ebp
call sym.project.dll_FcPatternPrint
add esp, 8
push fcn.102067ed
push fcn.102067ed
push 0
push 0x100ba490
push fcn.100cc860
push 0x100cd020
call fcn.100d4b60
push fcn.102067ed
push fcn.102067ed
push 0
push 0x100ba490
push sym.project.dll_FcStrCmpIgnoreCase
push fcn.100cd0d0
mov dword [esp + 0x68], eax
call fcn.100d4b60
push 1
push ebp
mov dword [esp + 0x74], eax
call fcn.100be810
add esp, 0x38
test eax, eax
je 0x100b95d0
mov ecx, dword [eax + 4]
test cl, 1
je 0x100b95c2
and ecx, 0xfffffffe
add ecx, eax
push ecx
lea eax, [esp + 0x3c]
push eax
call fcn.100b5700
add esp, 8
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100ce7b0
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.100ce810
add esp, 0x10
test eax, eax
je 0x100b9b63
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100ce790
add esp, 8
mov esi, eax
test byte [0x102f56d8], 4
je 0x100b961e
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.100ce7b0
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.100ce810
add esp, 0x10
test eax, eax
je 0x100b9b3e
nop dword [eax]
lea eax, [esp + 0x48]
push eax
push dword [esi]
call fcn.100ce790
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
jle 0x100b9752
cmp eax, 4
jb 0x100b971d
lea edx, [eax*4]
lea eax, [edx - 4]
add eax, edi
lea edi, [edx - 4]
add edi, ebx
cmp dword [esp + 0x1c], edi
ja 0x100b9697
cmp eax, ebx
jae 0x100b971d
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 0x100b96b4
cmp eax, dword [esp + 0x18]
jae 0x100b971d
cmp ebx, edx
ja 0x100b96be
cmp edi, dword [esp + 0x18]
jae 0x100b971d
mov edx, dword [esp + 0x20]
mov eax, edx
and eax, 0x80000003
jns 0x100b96d0
dec eax
or eax, 0xfffffffc
inc eax
sub edx, eax
add ecx, 4
mov ebx, ecx
cmp ecx, edx
jl 0x100b96d2
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 0x100b9752
mov ebx, dword [esp + 0x10]
jmp 0x100b9721
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 0x100b9734
test esi, esi
je 0x100b9b08
nop word [eax + eax]
mov eax, dword [esi + 4]
sub eax, 1
je 0x100b99e9
sub eax, 1
jne 0x100b9c07
mov eax, dword [esi + 8]
mov ebx, dword [eax]
and ebx, 0xfffffbff
test byte [0x102f56d8], 4
je 0x100b97a8
push str.Substitute
call fcn.10001521
push dword [esi + 8]
call fcn.100c4b00
push 0x10239acc
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.100b9ea0
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x100b97f9
cmp dword [eax], 1
je 0x100b97e4
cmp dword [esp + 0xa0], 0
jne 0x100b97f9
push dword [eax + 8]
push ebp
call fcn.100be810
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [edx + ebx*4], eax
jmp 0x100b97fd
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 8]
movzx eax, word [ecx + 4]
add eax, 0xfffffff5
cmp eax, 7
ja case.default.0x100b9810
jmp dword [eax*4 + 0x100b9c18]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x30], eax
test eax, eax
je case.0x100b9810.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.100b5810
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.100b6a80
mov eax, dword [esp + 0x38]
add esp, 0x28
mov dword [eax + ebx*4], edi
jmp 0x100b99a1
push dword [esp + 0x14]
push dword [ecx]
push ebp
call fcn.100b8a90
add esp, 0xc
test edi, edi
je 0x100b98a7
mov eax, dword [esi + 8]
mov eax, dword [eax]
push eax
push ebp
mov dword [esp + 0x38], eax
call fcn.100bea30
add esp, 8
test eax, eax
je 0x100b98a7
push dword [esp + 0x14]
add eax, 4
push dword [esp + 0x34]
push edi
push 1
push 0
push eax
call fcn.100b5810
add esp, 0x18
mov eax, dword [esp + 0x10]
mov dword [eax + ebx*4], 0
jmp 0x100b99a1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x100b9810.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.100b5810
add esp, 0x18
jmp 0x100b99a1
test edi, edi
je 0x100b99a1
mov ebx, dword [ecx]
push ebx
push ebp
call fcn.100bea30
add esp, 8
test eax, eax
je 0x100b99a1
push dword [esp + 0x14]
add eax, 4
push ebx
push edi
push 0
push 0
push eax
call fcn.100b5810
add esp, 0x18
jmp 0x100b99a1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x100b9810.16
push dword [esp + 0x14]
push dword [ecx]
push edi
push 1
jmp 0x100b98cb
test edi, edi
je 0x100b99a1
mov ebx, dword [ecx]
push ebx
push ebp
call fcn.100bea30
add esp, 8
test eax, eax
je 0x100b99a1
push dword [esp + 0x14]
add eax, 4
push ebx
push edi
push 1
push 0
push eax
call fcn.100b5810
add esp, 0x18
jmp 0x100b99a1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x100b9810.18
push dword [esp + 0x14]
push ebx
push eax
mov eax, dword [edx + ebx*4]
add eax, 4
push eax
call fcn.100b6a80
push edi
call fcn.100bf6d0
add esp, 0x14
jmp 0x100b99a1
push dword [esp + 0x14]
push dword [ecx]
push ebp
call fcn.100b8a90
push edi
call fcn.100bf6d0
add esp, 0x10
jmp 0x100b99a1
push edi
call fcn.100bf6d0
add esp, 4
mov eax, dword [esi + 8]
mov edi, dword [eax]
push edi
push ebp
call fcn.100be810
add esp, 8
test eax, eax
je 0x100b99c4
cmp dword [eax + 4], 0
jne 0x100b99c4
push edi
push ebp
call fcn.100be790
add esp, 8
test byte [0x102f56d8], 4
je 0x100b9c07
push str.FcConfigSubstitute_edit
call fcn.10001521
push ebp
call sym.project.dll_FcPatternPrint
add esp, 8
jmp 0x100b9c07
mov eax, dword [esi + 8]
mov ebp, dword [eax + 8]
and ebp, 0xfffffbff
test byte [0x102f56d8], 4
je 0x100b9a13
push str.FcConfigSubstitute_test
call fcn.10001521
push dword [esi + 8]
call fcn.100c5970
add esp, 8
mov ecx, dword [esp + 0xa0]
cmp ecx, 1
jne 0x100b9a38
mov eax, dword [esi + 8]
cmp dword [eax], 0
jne 0x100b9a38
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x14], 0
jmp 0x100b9a47
mov ebx, dword [esp + 0x98]
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x100b9a65
mov eax, dword [esi + 8]
push dword [eax + 8]
push ebx
call fcn.100be810
mov ecx, dword [esp + 0xa8]
add esp, 8
mov edi, eax
jmp 0x100b9a67
xor edi, edi
mov edx, dword [esp + 0x18]
cmp dword [edx + ebp*4], 0
jne 0x100b9a85
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jne 0x100b9a85
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 0x100b9a9e
mov eax, dword [esi + 8]
cmp dword [eax + 4], 1
jne 0x100b9af2
mov eax, dword [esp + 0x10]
mov dword [eax + ebp*4], edi
jmp 0x100b9c00
push dword [esp + 0x14]
push dword [edi + 4]
push dword [esi + 8]
push ecx
push dword [esp + 0xac]
push ebx
call fcn.100b8840
mov ebx, dword [esp + 0x28]
add esp, 0x18
mov edx, eax
cmp dword [ebx + ebp*4], 0
jne 0x100b9ad6
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0xa0]
cmp eax, dword [ecx]
jne 0x100b9ad6
mov dword [ebx + ebp*4], edx
test edx, edx
je 0x100b9af2
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
cmp eax, 2
jne 0x100b9bf2
cmp edx, dword [edi + 4]
je 0x100b9c00
test byte [0x102f56d8], 4
je 0x100b9b08
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.100ce830
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.100ce810
mov ebp, dword [esp + 0xa8]
add esp, 0x10
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x100b9650
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100ce830
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.100ce810
add esp, 0x10
test eax, eax
jne 0x100b95f5
test byte [0x102f56d8], 4
je 0x100b9b7f
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 0x100b9b9c
push eax
call fcn.100d4bd0
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100b9bad
push eax
call fcn.100d4bd0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100b9bbe
push eax
call fcn.102067ed
add esp, 4
test ebx, ebx
je 0x100b9bcb
push ebx
call fcn.102067ed
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100b9bdc
push eax
call fcn.102067ed
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 0x100b9c00
cmp edx, dword [edi + 4]
je 0x100b9af2
mov ebp, dword [esp + 0x98]
mov esi, dword [esi]
test esi, esi
jne 0x100b9760
jmp 0x100b9b08