Function at 0x10019860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a86c8
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x100db774]
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.1005c2e0
test eax, eax
je 0x100198ee
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x100198ee
call fcn.1005c2e0
lea ecx, [ebp - 0x2b4]
mov edi, eax
call fcn.100068b0
mov esi, eax
push str.init_config
push esi
mov dword [ebp - 4], 0
call fcn.10007500
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.100075c0
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10075330
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100dd9c0]
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 0x10019ad4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10019989
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10019989
call eax
mov dword [esi], eax
cmp dword [esi], 0
je 0x10019ad4
mov ecx, dword [0x100dd950]
test ecx, ecx
jne 0x100199fc
push 0x100da014
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100dd950], 0
jne 0x100199eb
push 4
call fcn.1006937e
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x100199d6
mov ecx, eax
call fcn.1006aa70
mov ecx, eax
jmp 0x100199d8
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x21c], eax
mov dword [0x100dd950], ecx
push 0x100da014
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100dd950]
call fcn.1006aaf0
mov edi, eax
test edi, edi
je 0x10019a70
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 0x100b00c0
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x10]
mov eax, 1
jmp 0x10019ad6
call fcn.1005c2e0
test eax, eax
je 0x10019ad4
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10019ad4
call fcn.1005c2e0
lea ecx, [ebp - 0x34c]
mov edi, eax
call fcn.100068b0
mov esi, eax
push str.init_cfgCenterHelper_failed._path:
push esi
mov dword [ebp - 4], 2
call fcn.10007500
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1000d460
mov edx, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x34c]
call fcn.100075c0
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.100693bc
mov esp, ebp
pop ebp
ret 4