Function at 0x10019940
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x100db55c]
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.1005d6c0
test eax, eax
je 0x100199ce
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x100199ce
call fcn.1005d6c0
lea ecx, [ebp - 0x2b4]
mov edi, eax
call fcn.10006650
mov esi, eax
push str.init_config
push esi
mov dword [ebp - 4], 0
call fcn.100072a0
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.10007360
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10076710
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100dd7b0]
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 0x10019bb4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10019a69
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10019a69
call eax
mov dword [esi], eax
cmp dword [esi], 0
je 0x10019bb4
mov ecx, dword [0x100dd740]
test ecx, ecx
jne 0x10019adc
push 0x100da014
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100dd740], 0
jne 0x10019acb
push 4
call fcn.1006a76e
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10019ab6
mov ecx, eax
call fcn.1006be60
mov ecx, eax
jmp 0x10019ab8
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x21c], eax
mov dword [0x100dd740], ecx
push 0x100da014
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100dd740]
call fcn.1006bee0
mov edi, eax
test edi, edi
je 0x10019b50
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 0x100b10b0
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x10]
mov eax, 1
jmp 0x10019bb6
call fcn.1005d6c0
test eax, eax
je 0x10019bb4
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10019bb4
call fcn.1005d6c0
lea ecx, [ebp - 0x34c]
mov edi, eax
call fcn.10006650
mov esi, eax
push str.init_cfgCenterHelper_failed._path:
push esi
mov dword [ebp - 4], 2
call fcn.100072a0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1000d200
mov edx, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x34c]
call fcn.10007360
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.1006a7ac
mov esp, ebp
pop ebp
ret 4