Function at 0x10012f80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0727
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x1010739c]
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 edi, ecx
cmp byte [edi + 0x24], 0
jne 0x10013561
mov byte [edi + 0x24], 1
call fcn.1004f380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100130c6
push 0x51
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], eax
push 0x100d0c90
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10009030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x100d0ce4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10009030
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
push 0x1b
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.100043b0
mov esi, eax
mov byte [ebp - 4], 2
push str.init_config
push esi
call fcn.100064a0
add esp, 8
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e4]
call fcn.10006970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10005550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.10005550
mov eax, dword [ebp + 8]
push 0x208
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008f970
add esp, 0xc
call fcn.1002d820
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
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.PluginConfigCenterStub.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10013459
lea eax, [ebp - 0x218]
push eax
call fcn.1004a200
add esp, 4
test eax, eax
je 0x10013459
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10013177
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10013177
call eax
mov dword [edi + 8], eax
cmp dword [edi + 8], 0
je 0x10013459
xor ebx, ebx
call fcn.1000f860
mov ecx, eax
call fcn.10055310
mov esi, eax
test esi, esi
je 0x1001333d
mov edx, dword [edi + 8]
push 0x100d0c74
push edx
mov ecx, dword [edx]
call dword [ecx + 4]
mov ecx, dword [edi + 8]
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [edi + 8]
push dword [esi + 0xc]
push 0x100d0da4
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 8]
push str.channel
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 0x10]
push str.from
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi]
push 0x100d0dd0
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 4]
push 0x100d0dd8
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 0x14]
push 0x100d0de0
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 0x10]
push 0x100d0df0
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
lea eax, [ebp - 0x230]
push eax
call fcn.1002d2a0
add esp, 4
mov dword [ebp - 4], 8
mov edx, dword [edi + 8]
cmp dword [ebp - 0x21c], 8
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.atdate
push edi
push edx
call ecx
mov ecx, dword [0x1010cc38]
test ecx, ecx
jne 0x100132d8
push 0x10107048
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1010cc38], ebx
jne 0x100132c7
push 4
call fcn.10050f0a
mov esi, eax
add esp, 4
mov dword [ebp - 0x24c], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x100132b0
mov ecx, esi
mov dword [esi], ebx
call fcn.1005cb30
mov byte [ebp - 4], 9
jmp 0x100132b2
xor esi, esi
mov byte [ebp - 4], 8
xor ecx, ecx
lea eax, [ebp - 0x24c]
lock or dword [eax], ecx
mov dword [0x1010cc38], esi
push 0x10107048
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1010cc38]
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.1005e8c0
mov byte [ebp - 4], 0xb
mov edx, dword [edi + 8]
cmp dword [ebp - 0x234], 8
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.instdate
push edi
push edx
call ecx
mov ebx, 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x248]
call fcn.100055d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100055d0
mov eax, ebx
jmp 0x10013563
call fcn.1004f380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10013452
push 0x51
mov dword [ebp - 0x220], ebx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], ebx
push 0x100d0e20
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], bl
call fcn.10009030
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x100d0e1c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10009030
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x230]
push 0x4a
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.100043b0
mov esi, eax
mov byte [ebp - 4], 0xe
push str.init_cfgCenterHelper_failed._path:
push esi
call fcn.100064a0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10002f70
add esp, 0x10
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2e4]
call fcn.10006970
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x248]
call fcn.10005550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10005550
mov eax, ebx
jmp 0x10013563
call fcn.1004f380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10013561
push 0x51
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], eax
push 0x100d0d30
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10009030
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x100d0d2c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10009030
mov byte [ebp - 4], 5
lea eax, [ebp - 0x230]
push 0x28
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.100043b0
mov esi, eax
mov byte [ebp - 4], 6
push str.init_ConfigCenterStub.dll_fail
push esi
call fcn.100064a0
add esp, 8
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2e4]
call fcn.10006970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.10005550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10005550
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.100512b9
mov esp, ebp
pop ebp
ret 4