Function at 0x10022b10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008864d
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x100bb758]
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
push 0x208
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.100609f0
add esp, 0xc
lea eax, [ebp - 0x27c]
push 0x104
push eax
push dword [0x100bd974]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x27c]
push eax
call esi
lea eax, [ebp - 0x27c]
push eax
call esi
push str.pluginSupportEx.dll
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x27c]
lea edi, [ebx + 0x264]
push eax
mov dword [ebp - 0x694], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10022bed
lea eax, [ebp - 0x27c]
push eax
call fcn.100400f0
add esp, 4
test eax, eax
je 0x10022bed
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10022bed
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10022bed
call eax
mov dword [edi], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x10022ee2
mov eax, dword [ecx]
push 0x1008edf8
push ecx
call dword [eax + 4]
lea eax, [ebx + 0x30]
neg ebx
sbb ebx, ebx
and ebx, eax
mov eax, dword [edi]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0x208
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.100609f0
add esp, 0xc
call fcn.10006430
mov ecx, eax
test ecx, ecx
je 0x10022efe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x698], eax
push 0x104
lea eax, [ebp - 0x484]
mov dword [ebp - 4], 0
push eax
push dword [0x100bd974]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.10006430
mov ecx, eax
test ecx, ecx
je 0x10022f08
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x690], eax
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x10022ca5
movzx eax, ax
lea ecx, [ebp - 0x690]
push eax
call fcn.10009df0
jmp 0x10022cd2
lea ecx, [ebp - 0x484]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022cb0
sub ecx, edx
lea eax, [ebp - 0x484]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x690]
call fcn.10006650
lea eax, [ebp - 0x698]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x690]
push eax
call fcn.10022280
mov edx, dword [ebp - 0x690]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10022d0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x68c]
push 0
push eax
call fcn.100609f0
add esp, 0xc
call fcn.10010c70
push 0x104
lea edx, [ebp - 0x68c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.100609f0
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.100570d0
mov eax, dword [edi]
mov esi, dword [ebp - 0x698]
push esi
push str.modver
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
mov edi, dword [edi]
lea eax, [ebp - 0x690]
push eax
call fcn.10006f40
mov ecx, eax
call fcn.10027b80
push dword [eax]
mov ecx, dword [edi]
push str.channel
push ebx
push edi
mov byte [ebp - 4], 3
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x690]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10022db4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x694]
lea eax, [ebp - 0x690]
push eax
mov edi, dword [edi]
call fcn.10006f40
mov ecx, eax
call fcn.10027b40
push dword [eax]
mov ecx, dword [edi]
push str.from
push ebx
push edi
mov byte [ebp - 4], 4
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x690]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10022e03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x694]
lea edx, [ebp - 0x68c]
push edx
push 0x100931b4
push ebx
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [edi]
lea edx, [ebp - 0x74]
push edx
push 0x100931bc
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, dword [edi]
lea eax, [ebp - 0x690]
push eax
call fcn.10006f40
mov ecx, eax
call fcn.10027b60
push dword [eax]
mov ecx, dword [edi]
push str.instdate
push ebx
push edi
mov byte [ebp - 4], 5
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x690]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10022e79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x694]
lea eax, [ebp - 0x694]
push eax
mov edi, dword [edi]
call fcn.100096b0
add esp, 4
push dword [eax]
mov ecx, dword [edi]
push str.atdate
push ebx
push edi
mov byte [ebp - 4], 6
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x694]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10022ec6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10022ee2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.100561dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100060c0
push 0x80004005
call fcn.100060c0
int3