Function at 0x10012df0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9a97
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x100fe39c]
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 0x100133d1
mov byte [edi + 0x24], 1
call fcn.1004e090
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10012f36
push 0x51
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], eax
push 0x100c94c8
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10008e70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x100c951c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10008e70
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.10004210
mov esi, eax
mov byte [ebp - 4], 2
push str.init_config
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e4]
call fcn.100067d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100053b0
mov eax, dword [ebp + 8]
push 0x208
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10087da0
add esp, 0xc
call fcn.1002d500
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 0x100132c9
lea eax, [ebp - 0x218]
push eax
call fcn.10049b90
add esp, 4
test eax, eax
je 0x100132c9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10012fe7
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012fe7
call eax
mov dword [edi + 8], eax
cmp dword [edi + 8], 0
je 0x100132c9
xor ebx, ebx
call fcn.1000f6a0
mov ecx, eax
call fcn.10053580
mov esi, eax
test esi, esi
je 0x100131ad
mov edx, dword [edi + 8]
push 0x100c8ed0
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 0x100c95dc
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 0x100c9608
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 4]
push 0x100c9610
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 0x14]
push 0x100c9618
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push dword [esi + 0x10]
push 0x100c9628
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
lea eax, [ebp - 0x230]
push eax
call fcn.1002cf80
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 [0x101037c8]
test ecx, ecx
jne 0x10013148
push 0x100fe048
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101037c8], ebx
jne 0x10013137
push 4
call fcn.1004f16d
mov esi, eax
add esp, 4
mov dword [ebp - 0x24c], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x10013120
mov ecx, esi
mov dword [esi], ebx
call fcn.1005aa90
mov byte [ebp - 4], 9
jmp 0x10013122
xor esi, esi
mov byte [ebp - 4], 8
xor ecx, ecx
lea eax, [ebp - 0x24c]
lock or dword [eax], ecx
mov dword [0x101037c8], esi
push 0x100fe048
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101037c8]
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.1005c800
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.10005430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10005430
mov eax, ebx
jmp 0x100133d3
call fcn.1004e090
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100132c2
push 0x51
mov dword [ebp - 0x220], ebx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], ebx
push 0x100c9658
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], bl
call fcn.10008e70
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x100c9654
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10008e70
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.10004210
mov esi, eax
mov byte [ebp - 4], 0xe
push str.init_cfgCenterHelper_failed._path:
push esi
call fcn.10006300
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10002da0
add esp, 0x10
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2e4]
call fcn.100067d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x248]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100053b0
mov eax, ebx
jmp 0x100133d3
call fcn.1004e090
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100133d1
push 0x51
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], eax
push 0x100c9568
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10008e70
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x100c9564
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10008e70
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.10004210
mov esi, eax
mov byte [ebp - 4], 6
push str.init_ConfigCenterStub.dll_fail
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2e4]
call fcn.100067d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100053b0
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.1004f51c
mov esp, ebp
pop ebp
ret 4