Function at 0x101325e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea ecx, [ebp - 0x210]
call fcn.1001b890
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x10257d10]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360conf.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10132656
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push 0x1f
call fcn.10003680
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
test eax, eax
je 0x10132676
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x1013267f
lea eax, [ebp - 0x20c]
push eax
call ebx
mov edi, eax
test esi, esi
je 0x1013268c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x101326ad
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101326a0
jmp 0x1013271c
push str.....360conf.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x101326d5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1f
call fcn.10003680
add esp, 4
test eax, eax
je 0x101326ee
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x101326f7
lea eax, [ebp - 0x20c]
push eax
call ebx
mov edi, eax
test esi, esi
je 0x10132704
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x10132733
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10132711
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x210]
call fcn.10003740
mov esi, dword [ebp - 0x210]
cmp dword [esi - 0xc], 0
je 0x1013281b
cmp dword [0x1024ee28], 0
jne 0x101327fd
push 0x1024ee10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1024ee28], 0
jne 0x101327f2
push esi
call fcn.101b1420
mov ebx, eax
mov dword [ebp - 0x210], 0x80004005
add esp, 4
test ebx, ebx
je 0x101327d8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitLibs
push ebx
call edi
push str.CreateObject
push ebx
mov dword [ebp - 0x214], eax
call edi
mov ecx, dword [ebp - 0x214]
mov dword [0x1024ea08], eax
test ecx, ecx
je 0x10132805
push 0x1024ea0c
mov dword [0x1024ea0c], 0x100
call ecx
mov dword [ebp - 0x210], eax
test eax, eax
je 0x10132813
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1024ea04], 0
xor eax, eax
mov dword [0x1024ee28], 1
cmp dword [ebp - 0x210], eax
sete al
mov dword [0x1024ee2c], eax
push 0x1024ee10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x1024ee2c]
jmp 0x1013281d
test eax, eax
je 0x101327c7
mov dword [ebp - 0x210], 0
mov dword [0x1024ea04], ebx
jmp 0x101327d8
xor edi, edi
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
pop ebx
test ecx, ecx
jg 0x10132836
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret