Function at 0x10025510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x100d5688]
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.1007f220
add esp, 0xc
lea eax, [ebp - 0x27c]
push 0x104
push eax
push dword [0x100d8aa0]
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.pluginCfgRelayEx.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 0x100255ed
lea eax, [ebp - 0x27c]
push eax
call fcn.10044de0
add esp, 4
test eax, eax
je 0x100255ed
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100255ed
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100255ed
call eax
mov dword [edi], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100258e2
mov eax, dword [ecx]
push 0x100aee70
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.1007f220
add esp, 0xc
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x100258fe
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 [0x100d8aa0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x10025908
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 0x100256a5
movzx eax, ax
lea ecx, [ebp - 0x690]
push eax
call fcn.1000b4c0
jmp 0x100256d2
lea ecx, [ebp - 0x484]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100256b0
sub ecx, edx
lea eax, [ebp - 0x484]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x690]
call fcn.10007bf0
lea eax, [ebp - 0x698]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x690]
push eax
call fcn.10024d10
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 0x1002570e
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.1007f220
add esp, 0xc
call fcn.10012750
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.1007f220
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.10060010
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.100085b0
mov ecx, eax
call fcn.1002a260
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 0x100257b4
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.100085b0
mov ecx, eax
call fcn.1002a220
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 0x10025803
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 0x100b1acc
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 0x100b1ad4
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, dword [edi]
lea eax, [ebp - 0x690]
push eax
call fcn.100085b0
mov ecx, eax
call fcn.1002a240
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 0x10025879
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.1000ad80
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 0x100258c6
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 0x100258e2
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.1005f06c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007660
push 0x80004005
call fcn.10007660
int3