Function at 0x1000d7c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100471d6
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x10062698]
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.10023e50
add esp, 0xc
lea eax, [ebp - 0x27c]
push 0x104
push eax
push dword [0x10063b18]
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.PluginDataCenterStub.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 - 0x490], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000d887
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000d887
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d887
call eax
mov dword [edi], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x1000da39
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 ecx, dword [eax]
call dword [ecx + 0x1c]
push 0x208
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.10023e50
add esp, 0xc
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x1000da55
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x488], esi
push 0x104
lea eax, [ebp - 0x484]
mov dword [ebp - 4], 0
push eax
push dword [0x10063b18]
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 0x1000d92a
push 0x104
lea ecx, [ebp - 0x488]
call fcn.10001cd0
mov esi, dword [ebp - 0x488]
cmp dword [esi - 8], 0x104
jl 0x1000da5f
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.10004600
push dword [esi - 8]
push esi
call fcn.10031043
add esp, 0x14
test eax, eax
js 0x1000da5f
cmp eax, dword [esi - 8]
jg 0x1000da5f
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x64
mov word [esi + eax*2], cx
lea eax, [ebp - 0x74]
push ecx
push eax
call fcn.10023e50
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.1001c1c0
mov edi, dword [edi]
lea eax, [ebp - 0x48c]
push 1
push eax
call fcn.100180e0
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 - 0x48c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000d9e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x490]
push 0x1004ca08
push 0x1004ca0c
push ebx
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [edi]
push esi
push 0x1004ca14
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [edi]
lea edx, [ebp - 0x74]
push edx
push 0x1004ca24
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 0x1000da39
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.1001b4ae
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001ab0
push 0x80070057
call fcn.10001ab0
int3