Function at 0x100197d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9938
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x100db3fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.1005d530
test eax, eax
je 0x1001985e
call fcn.1005d530
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001985e
call fcn.1005d530
lea ecx, [ebp - 0x2b4]
mov edi, eax
call fcn.100064c0
mov esi, eax
push str.init_config
push esi
mov dword [ebp - 4], 0
call fcn.10007110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], 0xffffffff
call fcn.100071d0
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10076570
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100dd650]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.PluginDataCenterStub.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea esi, [ebx + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019a44
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100198f9
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100198f9
call eax
mov dword [esi], eax
cmp dword [esi], 0
je 0x10019a44
mov ecx, dword [0x100dd5e0]
test ecx, ecx
jne 0x1001996c
push 0x100da014
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100dd5e0], 0
jne 0x1001995b
push 4
call fcn.1006a5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10019946
mov ecx, eax
call fcn.1006bcc0
mov ecx, eax
jmp 0x10019948
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x21c], eax
mov dword [0x100dd5e0], ecx
push 0x100da014
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100dd5e0]
call fcn.1006bd40
mov edi, eax
test edi, edi
je 0x100199e0
mov ecx, dword [esi]
push str.basic_stub
push ecx
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 4]
neg ebx
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esi]
push dword [edi + 8]
push str.modver
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x10]
mov ecx, dword [esi]
push dword [edi + 4]
push str.channel
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x10]
mov ecx, dword [esi]
push dword [edi + 0xc]
push str.from
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x10]
mov ecx, dword [esi]
push dword [edi]
push 0x100b10a0
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x10]
mov eax, 1
jmp 0x10019a46
call fcn.1005d530
test eax, eax
je 0x10019a44
call fcn.1005d530
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10019a44
call fcn.1005d530
lea ecx, [ebp - 0x34c]
mov edi, eax
call fcn.100064c0
mov esi, eax
push str.init_cfgCenterHelper_failed._path:
push esi
mov dword [ebp - 4], 2
call fcn.10007110
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1000d070
mov edx, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x34c]
call fcn.100071d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a60c
mov esp, ebp
pop ebp
ret 4