Function at 0x1012c220
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 0x1012c313
mov edi, dword [esp + 0x94]
test edi, edi
jne 0x1012c320
call fcn.1012d4d0
xor ecx, ecx
mov ebp, 0x10331690
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, 0x10331694
test edi, edi
jne 0x1012c2f8
nop dword [eax]
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
push eax
call esi
call sym.Easy.MessageHub.dll_FcInitLoadConfigAndFonts
mov ebx, eax
mov dword [esp + 0x94], ebx
test ebx, ebx
je 0x1012c2c8
call fcn.1012d4d0
mov ecx, ebx
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
je 0x1012c2e5
push ebx
call sym.Easy.MessageHub.dll_FcConfigDestroy
add esp, 4
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [ebp], ecx
mov edi, eax
mov edx, 0x10331694
mov dword [esp + 0x94], edi
test edi, edi
je 0x1012c290
jmp 0x1012c2ec
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0xa0]
mov edx, 0x10331694
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 0x1012c32c
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 0x1012c482
call sym.Easy.MessageHub.dll_FcGetDefaultLangs
mov esi, eax
test esi, esi
je 0x1012c453
push esi
call sym.Easy.MessageHub.dll_FcStrListCreate
mov edi, eax
mov dword [esp + 0x24], edi
call sym.Easy.MessageHub.dll_FcLangSetCreate
mov ebx, eax
push 0x102b0778
push ebx
mov dword [esp + 0x1c], ebx
call sym.Easy.MessageHub.dll_FcLangSetAdd
push esi
call sym.Easy.MessageHub.dll_FcStrSetDestroy
add esp, 0x10
test edi, edi
je 0x1012c43d
nop
push edi
call sym.Easy.MessageHub.dll_FcStrListNext
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
je 0x1012c439
push 0x22
push ebp
call fcn.10131840
add esp, 8
test eax, eax
je 0x1012c500
mov ebx, dword [eax + 4]
test bl, 1
je 0x1012c3c7
and ebx, 0xfffffffe
add ebx, eax
test ebx, ebx
je 0x1012c500
nop
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.10132210
add esp, 8
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [esp + 0x38], xmm0
cmp eax, 8
jne 0x1012c4b5
call sym.Easy.MessageHub.dll_FcLangSetCreate
mov edi, eax
push esi
push edi
call sym.Easy.MessageHub.dll_FcLangSetAdd
push edi
push dword [esp + 0x4c]
call sym.Easy.MessageHub.dll_FcLangSetContains
push edi
mov esi, eax
call sym.Easy.MessageHub.dll_FcLangSetDestroy
add esp, 0x14
test esi, esi
jne 0x1012c435
push dword [esp + 0x10]
push dword [esp + 0x44]
call sym.Easy.MessageHub.dll_FcLangSetContains
add esp, 8
test eax, eax
je 0x1012c4e1
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
push edi
call sym.Easy.MessageHub.dll_FcStrListDone
push ebx
call sym.Easy.MessageHub.dll_FcLangSetDestroy
mov edi, dword [esp + 0x9c]
add esp, 8
lea eax, [esp + 0x80]
push eax
push 0
push 0x2c
push ebp
call fcn.10131870
add esp, 0x10
cmp eax, 1
jne 0x1012c482
call fcn.1012dde0
test eax, eax
je 0x1012c482
push eax
push 0x2c
push ebp
call fcn.10131640
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.1026cf9e
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1012c530
xor ebp, ebp
jmp 0x1012cbab
push esi
mov esi, dword [esp + 0x44]
push esi
call sym.Easy.MessageHub.dll_FcStrCmpIgnoreCase
add esp, 8
test eax, eax
je 0x1012c435
push 0x102b0778
push esi
call sym.Easy.MessageHub.dll_FcStrCmpIgnoreCase
add esp, 8
test eax, eax
je 0x1012c435
mov eax, dword [ebx]
test al, 1
je 0x1012c4ee
and eax, 0xfffffffe
add ebx, eax
jmp 0x1012c4f0
mov ebx, eax
mov esi, dword [esp + 0x28]
test ebx, ebx
jne 0x1012c3d0
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.10131690
add esp, 0x20
jmp 0x1012c390
push esi
call fcn.1026cf9e
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1012c548
xor ebp, ebp
jmp 0x1012cbab
push esi
call fcn.1026cf9e
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x1012c562
xor ebp, ebp
jmp 0x1012cba4
test byte [0x1033a4f8], 4
je 0x1012c57e
push 0x102b077c
call fcn.10062160
push ebp
call sym.Easy.MessageHub.dll_FcPatternPrint
add esp, 8
push fcn.1026cbe4
push fcn.1026cbe4
push 0
push 0x1012d4b0
push fcn.1013f8b0
push 0x10140070
call fcn.10147bb0
push fcn.1026cbe4
push fcn.1026cbe4
push 0
push 0x1012d4b0
push sym.Easy.MessageHub.dll_FcStrCmpIgnoreCase
push fcn.10140120
mov dword [esp + 0x68], eax
call fcn.10147bb0
push 1
push ebp
mov dword [esp + 0x74], eax
call fcn.10131840
add esp, 0x38
test eax, eax
je 0x1012c5f0
mov ecx, dword [eax + 4]
test cl, 1
je 0x1012c5e2
and ecx, 0xfffffffe
add ecx, eax
push ecx
lea eax, [esp + 0x3c]
push eax
call fcn.10128730
add esp, 8
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.10141800
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.10141860
add esp, 0x10
test eax, eax
je 0x1012cb83
lea eax, [esp + 0x54]
push eax
push esi
call fcn.101417e0
add esp, 8
mov esi, eax
test byte [0x1033a4f8], 4
je 0x1012c63e
push dword [esi + 4]
push str._nRule_Set:__s_n
call fcn.10062160
add esp, 8
add esi, dword [esp + 0x2c]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x38], esi
push dword [esi]
call fcn.10141800
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.10141860
add esp, 0x10
test eax, eax
je 0x1012cb5e
nop dword [eax]
lea eax, [esp + 0x48]
push eax
push dword [esi]
call fcn.101417e0
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
jle 0x1012c772
cmp eax, 4
jb 0x1012c73d
lea edx, [eax*4]
lea eax, [edx - 4]
add eax, edi
lea edi, [edx - 4]
add edi, ebx
cmp dword [esp + 0x1c], edi
ja 0x1012c6b7
cmp eax, ebx
jae 0x1012c73d
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 0x1012c6d4
cmp eax, dword [esp + 0x18]
jae 0x1012c73d
cmp ebx, edx
ja 0x1012c6de
cmp edi, dword [esp + 0x18]
jae 0x1012c73d
mov edx, dword [esp + 0x20]
mov eax, edx
and eax, 0x80000003
jns 0x1012c6f0
dec eax
or eax, 0xfffffffc
inc eax
sub edx, eax
add ecx, 4
mov ebx, ecx
cmp ecx, edx
jl 0x1012c6f2
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 0x1012c772
mov ebx, dword [esp + 0x10]
jmp 0x1012c741
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 [eax + edi], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
mov dword [ebx + eax - 4], 0
sub edx, 1
jne 0x1012c754
test esi, esi
je 0x1012cb28
nop word [eax + eax]
mov eax, dword [esi + 4]
sub eax, 1
je 0x1012ca09
sub eax, 1
jne 0x1012cc27
mov eax, dword [esi + 8]
mov ebx, dword [eax]
and ebx, 0xfffffbff
test byte [0x1033a4f8], 4
je 0x1012c7c8
push str.Substitute
call fcn.10062160
push dword [esi + 8]
call fcn.10137b40
push 0x102b07d4
call fcn.10062160
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.1012cec0
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1012c819
cmp dword [eax], 1
je 0x1012c804
cmp dword [esp + 0xa0], 0
jne 0x1012c819
push dword [eax + 8]
push ebp
call fcn.10131840
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [edx + ebx*4], eax
jmp 0x1012c81d
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 8]
movzx eax, word [ecx + 4]
add eax, 0xfffffff5
cmp eax, 7
ja case.default.0x1012c830
jmp dword [eax*4 + 0x1012cc38]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x30], eax
test eax, eax
je case.0x1012c830.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.10128840
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.10129ab0
mov eax, dword [esp + 0x38]
add esp, 0x28
mov dword [eax + ebx*4], edi
jmp 0x1012c9c1
push dword [esp + 0x14]
push dword [ecx]
push ebp
call fcn.1012bab0
add esp, 0xc
test edi, edi
je 0x1012c8c7
mov eax, dword [esi + 8]
mov eax, dword [eax]
push eax
push ebp
mov dword [esp + 0x38], eax
call fcn.10131a60
add esp, 8
test eax, eax
je 0x1012c8c7
push dword [esp + 0x14]
add eax, 4
push dword [esp + 0x34]
push edi
push 1
push 0
push eax
call fcn.10128840
add esp, 0x18
mov eax, dword [esp + 0x10]
mov dword [eax + ebx*4], 0
jmp 0x1012c9c1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x1012c830.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.10128840
add esp, 0x18
jmp 0x1012c9c1
test edi, edi
je 0x1012c9c1
mov ebx, dword [ecx]
push ebx
push ebp
call fcn.10131a60
add esp, 8
test eax, eax
je 0x1012c9c1
push dword [esp + 0x14]
add eax, 4
push ebx
push edi
push 0
push 0
push eax
call fcn.10128840
add esp, 0x18
jmp 0x1012c9c1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x1012c830.16
push dword [esp + 0x14]
push dword [ecx]
push edi
push 1
jmp 0x1012c8eb
test edi, edi
je 0x1012c9c1
mov ebx, dword [ecx]
push ebx
push ebp
call fcn.10131a60
add esp, 8
test eax, eax
je 0x1012c9c1
push dword [esp + 0x14]
add eax, 4
push ebx
push edi
push 1
push 0
push eax
call fcn.10128840
add esp, 0x18
jmp 0x1012c9c1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x1012c830.18
push dword [esp + 0x14]
push ebx
push eax
mov eax, dword [edx + ebx*4]
add eax, 4
push eax
call fcn.10129ab0
push edi
call fcn.10132700
add esp, 0x14
jmp 0x1012c9c1
push dword [esp + 0x14]
push dword [ecx]
push ebp
call fcn.1012bab0
push edi
call fcn.10132700
add esp, 0x10
jmp 0x1012c9c1
push edi
call fcn.10132700
add esp, 4
mov eax, dword [esi + 8]
mov edi, dword [eax]
push edi
push ebp
call fcn.10131840
add esp, 8
test eax, eax
je 0x1012c9e4
cmp dword [eax + 4], 0
jne 0x1012c9e4
push edi
push ebp
call fcn.101317c0
add esp, 8
test byte [0x1033a4f8], 4
je 0x1012cc27
push str.FcConfigSubstitute_edit
call fcn.10062160
push ebp
call sym.Easy.MessageHub.dll_FcPatternPrint
add esp, 8
jmp 0x1012cc27
mov eax, dword [esi + 8]
mov ebp, dword [eax + 8]
and ebp, 0xfffffbff
test byte [0x1033a4f8], 4
je 0x1012ca33
push str.FcConfigSubstitute_test
call fcn.10062160
push dword [esi + 8]
call fcn.101389b0
add esp, 8
mov ecx, dword [esp + 0xa0]
cmp ecx, 1
jne 0x1012ca58
mov eax, dword [esi + 8]
cmp dword [eax], 0
jne 0x1012ca58
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x14], 0
jmp 0x1012ca67
mov ebx, dword [esp + 0x98]
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1012ca85
mov eax, dword [esi + 8]
push dword [eax + 8]
push ebx
call fcn.10131840
mov ecx, dword [esp + 0xa8]
add esp, 8
mov edi, eax
jmp 0x1012ca87
xor edi, edi
mov edx, dword [esp + 0x18]
cmp dword [edx + ebp*4], 0
jne 0x1012caa5
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jne 0x1012caa5
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 0x1012cabe
mov eax, dword [esi + 8]
cmp dword [eax + 4], 1
jne 0x1012cb12
mov eax, dword [esp + 0x10]
mov dword [eax + ebp*4], edi
jmp 0x1012cc20
push dword [esp + 0x14]
push dword [edi + 4]
push dword [esi + 8]
push ecx
push dword [esp + 0xac]
push ebx
call fcn.1012b860
mov ebx, dword [esp + 0x28]
add esp, 0x18
mov edx, eax
cmp dword [ebx + ebp*4], 0
jne 0x1012caf6
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0xa0]
cmp eax, dword [ecx]
jne 0x1012caf6
mov dword [ebx + ebp*4], edx
test edx, edx
je 0x1012cb12
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
cmp eax, 2
jne 0x1012cc12
cmp edx, dword [edi + 4]
je 0x1012cc20
test byte [0x1033a4f8], 4
je 0x1012cb28
push str.No_match_n
call fcn.10062160
add esp, 4
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
push dword [esi]
call fcn.10141880
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.10141860
mov ebp, dword [esp + 0xa8]
add esp, 0x10
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x1012c670
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.10141880
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.10141860
add esp, 0x10
test eax, eax
jne 0x1012c615
test byte [0x1033a4f8], 4
je 0x1012cb9f
push str.FcConfigSubstitute_done
call fcn.10062160
push ebp
call sym.Easy.MessageHub.dll_FcPatternPrint
add esp, 8
mov ebp, 1
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1012cbbc
push eax
call fcn.10147c20
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1012cbcd
push eax
call fcn.10147c20
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1012cbde
push eax
call fcn.1026cbe4
add esp, 4
test ebx, ebx
je 0x1012cbeb
push ebx
call fcn.1026cbe4
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1012cbfc
push eax
call fcn.1026cbe4
add esp, 4
push edi
call sym.Easy.MessageHub.dll_FcConfigDestroy
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
cmp eax, 3
jne 0x1012cc20
cmp edx, dword [edi + 4]
je 0x1012cb12
mov ebp, dword [esp + 0x98]
mov esi, dword [esi]
test esi, esi
jne 0x1012c780
jmp 0x1012cb28