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

Disassembly:
sub esp, 0x36c
mov eax, dword [0x1005c0e4]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x37c]
lea eax, [esp + 0xc]
push edi
push 8
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c180
push 0x50
push 8
push esi
call fcn.10019d80
add esp, 0xc
push 7
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c1a0
push eax
push 7
push esi
call fcn.10019d80
add esp, 0xc
push 9
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c1c1
push 0x64
push 9
push esi
call fcn.10019d80
add esp, 0xc
mov edi, 0x10043ee0
push dword [edi]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c1e8
push dword [edi + 4]
push dword [edi]
push esi
call fcn.10019cc0
add esp, 0xc
add edi, 8
cmp edi, str.FC_LANG
jl 0x1000c1c6
lea eax, [esp + 0x1c]
push eax
push 0
push 0xa
push esi
call fcn.1001a0d0
add esp, 0x10
test eax, eax
je 0x1000c25d
lea eax, [esp + 0x18]
push eax
push 0
push 0xa
push esi
call fcn.1001a140
add esp, 0x10
test eax, eax
jne 0x1000c24f
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x20]
call sym.fontconfig.dll_FcRangeGetDouble
add esp, 0xc
test eax, eax
je 0x1000c24f
movsd xmm0, qword [esp + 0x44]
addsd xmm0, qword [esp + 0x34]
mulsd xmm0, qword [0x10043a88]
jmp 0x1000c257
movsd xmm0, qword [0x10043fb8]
movsd qword [esp + 0x1c], xmm0
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1c
push esi
call fcn.1001a0d0
add esp, 0x10
test eax, eax
je 0x1000c281
movsd xmm0, qword [0x10043a90]
movsd qword [esp + 0x2c], xmm0
lea eax, [esp + 0x24]
push eax
push 0
push 0x1a
push esi
call fcn.1001a0d0
add esp, 0x10
test eax, eax
je 0x1000c2a5
movsd xmm0, qword [0x10043fc8]
movsd qword [esp + 0x24], xmm0
push 0xc
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c32d
push 0x1c
push esi
call fcn.10019fc0
movsd xmm0, qword [esp + 0x34]
movsd qword [esp], xmm0
push 0x1c
push esi
call fcn.10019d40
movsd xmm0, qword [esp + 0x3c]
mulsd xmm0, qword [esp + 0x2c]
push 0x1a
push esi
movsd qword [esp + 0x4c], xmm0
call fcn.10019fc0
movsd xmm0, qword [esp + 0x3c]
add esp, 0x10
movsd qword [esp], xmm0
push 0x1a
push esi
call fcn.10019d40
movsd xmm0, qword [esp + 0x34]
add esp, 8
divsd xmm0, qword [0x10043fc0]
mulsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
push 0xc
push esi
call fcn.10019d40
add esp, 0x10
jmp 0x1000c364
push 0
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10019b30
movsd xmm0, qword [esp + 0x78]
add esp, 0x14
divsd xmm0, qword [esp + 0x24]
mulsd xmm0, qword [0x10043fc0]
divsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 0x1c], xmm0
push 0xa
push esi
call fcn.10019fc0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
push 0xa
push esi
call fcn.10019d40
push 0x23
lea eax, [esp + 0x24]
push eax
push esi
call fcn.100196c0
add esp, 0x1c
test eax, eax
jne 0x1000c3a3
push 0x7fffffff
push 0x23
push esi
call fcn.10019d80
add esp, 0xc
push 0x10
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c3c4
push 3
push 0x10
push esi
call fcn.10019d80
add esp, 0xc
push 0x2a
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c3e9
call fcn.1000c740
push eax
push 0x2a
push esi
call fcn.10019e40
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push 0
push 0x2a
push esi
call fcn.1001a070
push 2
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 3
push eax
push esi
mov dword [esp + 0x58], 0x10043fac
call fcn.100196c0
add esp, 0x1c
test eax, eax
jne 0x1000c452
movups xmm0, xmmword [esp + 0x4c]
push 1
sub esp, 0x10
mov eax, esp
push 2
push esi
movups xmmword [eax], xmm0
call fcn.10019c90
movups xmm0, xmmword [esp + 0x50]
add esp, 0x1c
push 1
push 0
sub esp, 0x10
mov eax, esp
push 2
push esi
movups xmmword [eax], xmm0
call fcn.10019e90
add esp, 0x20
push 4
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c49c
movups xmm0, xmmword [esp + 0x4c]
push 1
sub esp, 0x10
mov eax, esp
push 4
push esi
movups xmmword [eax], xmm0
call fcn.10019c90
movups xmm0, xmmword [esp + 0x50]
add esp, 0x1c
push 1
push 0
sub esp, 0x10
mov eax, esp
push 4
push esi
movups xmmword [eax], xmm0
call fcn.10019e90
add esp, 0x20
push 6
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c4e6
movups xmm0, xmmword [esp + 0x4c]
push 1
sub esp, 0x10
mov eax, esp
push 6
push esi
movups xmmword [eax], xmm0
call fcn.10019c90
movups xmm0, xmmword [esp + 0x50]
add esp, 0x1c
push 1
push 0
sub esp, 0x10
mov eax, esp
push 6
push esi
movups xmmword [eax], xmm0
call fcn.10019e90
add esp, 0x20
lea eax, [esp + 0x5c]
push eax
push 0
push 0x2c
push esi
call fcn.1001a070
add esp, 0x10
cmp eax, 1
jne 0x1000c659
xor ecx, ecx
mov edi, 0x1005d3a8
xor eax, eax
lock cmpxchg dword [edi], ecx
mov ebp, eax
test ebp, ebp
jne 0x1000c643
nop dword [eax + eax]
push 0x104
lea eax, [esp + 0x174]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1000c616
lea eax, [esp + 0x170]
push 0x5c
push eax
call fcn.100253fb
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1000c561
add ebx, 2
jmp 0x1000c568
lea ebx, [esp + 0x170]
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c570
sub ecx, edx
sar ecx, 1
cmp ecx, 4
jbe 0x1000c5e6
lea eax, [ecx - 4]
mov edx, str..exe
mov dword [esp + 0x18], eax
add eax, eax
add eax, ebx
mov di, word [eax]
cmp di, word [edx]
jne 0x1000c5ba
test di, di
je 0x1000c5b6
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x1000c5ba
add eax, 4
add edx, 4
test di, di
jne 0x1000c594
xor eax, eax
jmp 0x1000c5bf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000c5e1
mov edx, dword [esp + 0x18]
mov ecx, edx
lea eax, [edx + edx]
cmp eax, 0x208
jae 0x1000c72f
xor edx, edx
mov word [esp + eax + 0x170], dx
mov edi, 0x1005d3a8
push 0
push 0
push 0x104
lea eax, [esp + 0x78]
push eax
push ecx
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1000c616
lea eax, [esp + 0x6c]
push eax
call fcn.10035e05
add esp, 4
mov ebp, eax
mov ecx, ebp
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1000c63f
push ebp
call fcn.100274d2
add esp, 4
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov ebp, eax
test ebp, ebp
je 0x1000c520
jmp 0x1000c643
test ebp, ebp
je 0x1000c659
cmp byte [ebp], 0
je 0x1000c659
test ebp, ebp
je 0x1000c659
push ebp
push 0x2c
push esi
call fcn.10019e40
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
push 0
push 0x35
push esi
call fcn.1001a070
add esp, 0x10
cmp eax, 1
jne 0x1000c6da
xor ecx, ecx
mov edi, 0x1005d3ac
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edx, eax
test edx, edx
jne 0x1000c6c9
push str.XDG_CURRENT_DESKTOP
call fcn.10029698
test eax, eax
mov ecx, 0x10043370
cmovne ecx, eax
push ecx
call fcn.10035e05
mov edx, eax
add esp, 8
test edx, edx
je 0x1000c713
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1000c6c9
push edx
call fcn.100274d2
add esp, 4
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edx, eax
test edx, edx
je 0x1000c683
cmp byte [edx], 0
je 0x1000c6da
push edx
push 0x35
push esi
call fcn.10019e40
add esp, 0xc
push 0x34
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100196c0
add esp, 0xc
test eax, eax
jne 0x1000c6fa
push eax
push 0x34
push esi
call fcn.10019d80
add esp, 0xc
mov ecx, dword [esp + 0x378]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10023cd9
add esp, 0x36c
ret
push str.FcGetDesktopName
push str.Fontconfig_error:_out_of_memory_in__s_n
push 2
call fcn.1002976b
add esp, 4
push eax
call fcn.100038e0
jmp 0x1000c6d7
call fcn.10023e09
int3