Function at 0x100d0fc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x118
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
mov ebp, dword [esp + 0x124]
xor ebx, ebx
push str.prefix
push ebp
mov dword [esp + 0x10], ebx
call fcn.100ce8a0
add esp, 8
test eax, eax
je 0x100d101a
push 0x10247160
push eax
call sym.project.dll_FcStrCmp
add esp, 8
test eax, eax
jne 0x100d101a
call fcn.100b9f60
mov ebx, eax
mov dword [esp + 8], ebx
test ebx, ebx
je 0x100d140a
mov ecx, dword [ebp]
push esi
add ecx, 0xc
push edi
push ecx
call fcn.100cc240
mov esi, eax
add esp, 4
test esi, esi
jne 0x100d1048
push str.out_of_memory
push 2
push ebp
call fcn.100cea70
add esp, 0xc
mov esi, ebx
jmp 0x100d13fb
mov al, byte [esi]
test al, al
jne 0x100d106b
push str.empty_cache_directory_name_ignored
push 1
push ebp
call fcn.100cea70
push esi
call sym.project.dll_FcStrFree
add esp, 0x10
mov esi, ebx
jmp 0x100d13fb
test ebx, ebx
je 0x100d111c
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100d1078
mov ebx, esi
sub edi, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100d1086
sub ebx, ecx
lea eax, [ebx + edi]
mov dword [esp + 0x14], eax
add eax, 2
push eax
push dword [esp + 0x14]
call fcn.101fec01
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100d10cc
push str.out_of_memory
push 2
push ebp
call fcn.100cea70
push dword [esp + 0x1c]
call sym.project.dll_FcStrFree
add esp, 0x10
jmp 0x100d13ff
mov byte [eax + edi], 0x5c
inc edi
push ebx
add eax, edi
push esi
push eax
call fcn.101f6470
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
push esi
mov byte [eax + edi + 1], 0
call sym.project.dll_FcStrFree
add esp, 0x10
mov esi, edi
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d10f8
sub ecx, edx
jne 0x100d13ac
push str.empty_cache_directory_name_ignored
push 1
push ebp
call fcn.100cea70
add esp, 0xc
jmp 0x100d13ec
cmp al, 0x2f
jne 0x100d11cf
cmp byte [0x102f0588], 0
je 0x100d11cf
mov edi, 0x102f0588
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x100d1140
mov ebx, esi
sub edi, ecx
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100d1150
sub ebx, ecx
lea eax, [ebx + edi]
mov dword [esp + 0x14], eax
add eax, 2
push eax
call fcn.1020782d
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100d1189
push str.out_of_memory
push 2
push ebp
call fcn.100cea70
add esp, 0xc
jmp 0x100d13ff
mov ecx, 0x102f0588
mov edx, eax
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100d1192
mov eax, dword [esp + 0x10]
push ebx
mov ebx, eax
push esi
mov byte [edi + eax], 0x5c
lea eax, [ebx + 1]
add eax, edi
push eax
call fcn.101f6470
mov eax, dword [esp + 0x20]
push esi
mov byte [eax + ebx + 1], 0
call sym.project.dll_FcStrFree
add esp, 0x10
mov esi, ebx
jmp 0x100d10f3
mov ecx, str.WINDOWSTEMPDIR_FONTCONFIG_CACHE
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100d11f6
test dl, dl
je 0x100d11f2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100d11f6
add eax, 2
add ecx, 2
test dl, dl
jne 0x100d11d6
xor eax, eax
jmp 0x100d11fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100d12bb
push esi
call sym.project.dll_FcStrFree
push 0x3e8
call fcn.1020782d
mov esi, eax
add esp, 8
test esi, esi
je 0x100d1371
push esi
push 0x320
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x100d12a6
cmp eax, 0x320
jg 0x100d12a6
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1240
sub ecx, edx
cmp byte [ecx + esi - 1], 0x5c
je 0x100d1266
lea edi, [esi - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x100d1253
mov ax, word [0x10239b00]
mov word [edi], ax
lea ecx, [esi - 1]
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x100d1270
mov eax, dword [str.fontconfigcache]
mov dword [ecx], eax
mov eax, dword [0x10247680]
mov dword [ecx + 4], eax
mov eax, dword [0x10247684]
mov dword [ecx + 8], eax
mov eax, dword [0x10247688]
mov dword [ecx + 0xc], eax
mov al, byte [0x1024768c]
mov byte [ecx + 0x10], al
jmp 0x100d10f3
push str.GetTempPath_failed
push 2
push ebp
call fcn.100cea70
add esp, 0xc
jmp 0x100d13ff
mov ecx, str.LOCAL_APPDATA_FONTCONFIG_CACHE
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100d12e2
test dl, dl
je 0x100d12de
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100d12e2
add eax, 2
add ecx, 2
test dl, dl
jne 0x100d12c2
xor eax, eax
jmp 0x100d12e7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100d10f3
mov eax, dword [0x102f0dc4]
test eax, eax
je 0x100d139a
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x1c
push 0
call eax
test eax, eax
js 0x100d139a
lea ecx, [esp + 0x1c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1320
sub ecx, edx
mov eax, 0x103
sub eax, ecx
push eax
lea eax, [esp + 0x20]
push str._fontconfigcache
push eax
call fcn.1020bfb0
lea ecx, [esp + 0x28]
add esp, 0xc
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1350
sub ecx, edx
push esi
lea edi, [ecx + 1]
call sym.project.dll_FcStrFree
push edi
call fcn.1020782d
mov esi, eax
add esp, 8
test esi, esi
jne 0x100d1386
push str.out_of_memory
push 2
push ebp
call fcn.100cea70
add esp, 0xc
jmp 0x100d1408
push edi
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10207b40
add esp, 0xc
jmp 0x100d10f3
push str.SHGetFolderPathA_failed
push 2
push ebp
call fcn.100cea70
add esp, 0xc
jmp 0x100d13ff
cmp dword [ebp + 0xb28], 0
jne 0x100d13ec
push esi
call fcn.100cdfe0
add esp, 4
test eax, eax
je 0x100d13cb
call sym.project.dll_FcConfigHome
test eax, eax
je 0x100d13ec
push esi
push dword [ebp + 0x10]
call fcn.100b5a00
add esp, 8
test eax, eax
jne 0x100d13ec
push esi
push str.out_of_memory__cannot_add_cache_directory__s
push 2
push ebp
call fcn.100cea70
add esp, 0x10
mov eax, dword [ebp]
add eax, 0xc
push eax
call fcn.100cc200
add esp, 4
test esi, esi
je 0x100d1408
push esi
call sym.project.dll_FcStrFree
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
pop ebp
pop ebx
xor ecx, esp
call fcn.101f469d
add esp, 0x118
ret