Function at 0x1000efb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047da6
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x100632c0]
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.10024530
add esp, 0xc
lea eax, [ebp - 0x27c]
push 0x104
push eax
push dword [0x100647b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ConfigCenterStub.dll
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x27c]
lea edi, [ebx + 0x34]
push eax
mov dword [ebp - 0x694], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f07f
lea eax, [ebp - 0x27c]
push eax
call fcn.10011640
add esp, 4
test eax, eax
je 0x1000f07f
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000f07f
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000f07f
call eax
mov dword [edi], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x1000f294
mov eax, dword [ecx]
push str.run_extention
push ecx
call dword [eax + 4]
lea eax, [ebx + 8]
neg ebx
sbb ebx, ebx
and ebx, eax
mov eax, dword [edi]
push ebx
push eax
mov dword [ebp - 0x698], ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0x208
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.10024530
add esp, 0xc
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x1000f2b0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x690], esi
push 0x104
lea eax, [ebp - 0x484]
mov dword [ebp - 4], 0
push eax
push dword [0x100647b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x1000f128
push 0x104
lea ecx, [ebp - 0x690]
call fcn.10003490
mov esi, dword [ebp - 0x690]
cmp dword [esi - 8], 0x104
jl 0x1000f2ba
xor eax, eax
mov dword [esi - 0xc], 0x104
push 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x484]
push esi
push eax
call fcn.10005dd0
push dword [esi - 8]
push esi
call fcn.10031653
add esp, 0x14
test eax, eax
js 0x1000f2ba
cmp eax, dword [esi - 8]
jg 0x1000f2ba
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x208
mov word [esi + eax*2], cx
lea eax, [ebp - 0x68c]
push ecx
push eax
call fcn.10024530
add esp, 0xc
lea eax, [ebp - 0x68c]
push 0x104
push eax
call fcn.1001dc30
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10024530
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.1001e0e0
mov edi, dword [edi]
lea eax, [ebp - 0x69c]
push 1
push eax
call fcn.10017ef0
add esp, 8
push dword [eax]
mov ecx, dword [edi]
push str.channel
push ebx
push edi
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x69c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f205
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x694]
mov edi, dword [edi]
mov ebx, dword [edi]
call fcn.100062c0
test eax, eax
mov edx, 0x1004c2a4
mov ecx, 0x1004c2a0
cmove ecx, edx
push ecx
push 0x1004ba7c
push dword [ebp - 0x698]
push edi
call dword [ebx + 0x10]
mov edi, dword [ebp - 0x694]
mov ebx, dword [ebp - 0x698]
push esi
push 0x1004c2a8
mov eax, dword [edi]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [edi]
lea edx, [ebp - 0x68c]
push edx
push 0x1004c2b8
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [edi]
lea edx, [ebp - 0x74]
push edx
push 0x1004c2c0
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000f294
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.1001b60e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003270
push 0x80070057
call fcn.10003270
int3