Function at 0x401860
Capabilities:
Check if file exists
Check mutex on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41083b
mov eax, dword fs:[0]
push eax
mov eax, 0x2344
call fcn.00410520
mov eax, dword [0x418008]
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 dword [ebp - 0x18e4], ecx
push 0x4191e8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4018ca
push str.mutext_is_exist_n
mov byte [0x41a480], 1
call fcn.00403c79
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push eax
call fcn.0040abc0
add esp, 0xc
lea eax, [ebp - 0xc40]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc40]
push eax
push 0x41a490
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x41658c
push 0x41a490
call esi
push 0x4191e8
push 0x41a490
call esi
push 0x41658c
push 0x41a490
call esi
push 0x419238
push 0x41a490
call esi
push 0x41658c
push 0x41a490
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.0040abc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push eax
lea eax, [ebp - 0x216]
push eax
call fcn.0040abc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x628], ax
push 0x206
push eax
lea eax, [ebp - 0x626]
push eax
call fcn.0040abc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa38], ax
push 0x206
push eax
lea eax, [ebp - 0xa36]
push eax
call fcn.0040abc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push eax
lea eax, [ebp - 0x41e]
push eax
call fcn.0040abc0
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x41a490
push eax
call ebx
push 0x4191f0
lea eax, [ebp - 0x830]
push eax
call esi
push 0x41a490
lea eax, [ebp - 0x218]
push eax
call ebx
push str.DBACOUSTIC_AEC.exe.config
lea eax, [ebp - 0x218]
push eax
call esi
push 0x41a490
lea eax, [ebp - 0x628]
push eax
call ebx
push 0x419218
lea eax, [ebp - 0x628]
push eax
call esi
push 0x41a490
lea eax, [ebp - 0xa38]
push eax
call ebx
push 0x4192d8
lea eax, [ebp - 0xa38]
push eax
call esi
push 0x41a490
lea eax, [ebp - 0x420]
push eax
call ebx
push 0x4193ac
lea eax, [ebp - 0x420]
push eax
call esi
push 0x214
lea eax, [ebp - 0x1080]
push 0
push eax
call fcn.0040abc0
add esp, 0xc
lea eax, [ebp - 0x830]
mov edx, 0x66
lea ecx, [ebp - 0x1080]
push 1
push eax
call fcn.00401290
push 0x214
lea eax, [ebp - 0x1298]
push 0
push eax
call fcn.0040abc0
add esp, 0x14
lea eax, [ebp - 0x218]
mov edx, 0x67
lea ecx, [ebp - 0x1298]
push 1
push eax
call fcn.00401290
push 0x214
lea eax, [ebp - 0x18e0]
push 0
push eax
call fcn.0040abc0
add esp, 0x14
lea eax, [ebp - 0x628]
mov edx, 0x68
lea ecx, [ebp - 0x18e0]
push 0
push eax
call fcn.00401290
push 0x214
lea eax, [ebp - 0x14b0]
push 0
push eax
call fcn.0040abc0
add esp, 0x14
lea eax, [ebp - 0xa38]
push 0
push eax
mov edx, 0x69
lea ecx, [ebp - 0x14b0]
call fcn.00401290
push 0x214
lea eax, [ebp - 0x16c8]
push 0
push eax
call fcn.0040abc0
add esp, 0x14
lea eax, [ebp - 0x420]
mov edx, 0x6a
lea ecx, [ebp - 0x16c8]
push 0
push eax
call fcn.00401290
mov ecx, 0x85
mov dword [ebp - 0xc44], 0
lea esi, [ebp - 0x1080]
mov dword [ebp - 0xc44], 0
lea edi, [ebp - 0x2350]
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x85
lea esi, [ebp - 0x1298]
push dword [ebp - 0x18e4]
lea edi, [ebp - 0x213c]
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x85
movq qword [ebp - 0xc4c], xmm0
lea esi, [ebp - 0x18e0]
mov dword [ebp - 0xc4c], 0
lea edi, [ebp - 0x1f28]
mov dword [ebp - 0xc48], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x85
lea esi, [ebp - 0x14b0]
lea edi, [ebp - 0x1d14]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18ec]
mov ecx, 0x85
push eax
lea eax, [ebp - 0x2350]
lea esi, [ebp - 0x16c8]
lea edi, [ebp - 0x1b00]
rep movsd dword es:[edi], dword [esi]
push eax
push 0
lea ecx, [ebp - 0xc4c]
call fcn.004024d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc4c]
mov ebx, eax
cmp eax, dword [ebp - 0xc48]
je 0x401cad
jmp 0x401c40
push 0x214
lea eax, [ebp - 0xe68]
push 0
push eax
call fcn.0040abc0
mov ecx, 0x85
lea edi, [ebp - 0xe68]
mov esi, ebx
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0xe68], 0
je 0x401c84
cmp dword [ebp - 0xe64], 0
jbe 0x401c84
lea eax, [ebp - 0xe60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x18e4]
lea ecx, [ebp - 0xe68]
push esi
call fcn.00401630
add esp, 4
test al, al
je 0x401cde
add ebx, 0x214
cmp ebx, dword [ebp - 0xc48]
jne 0x401c40
jmp 0x401cb3
mov esi, dword [ebp - 0x18e4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x1078]
push eax
push 0x41a698
call edi
push 0x41a698
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401ce2
push 0x419250
push esi
call edi
xor bl, bl
jmp 0x401ce4
mov bl, 1
mov eax, dword [ebp - 0xc4c]
test eax, eax
je 0x401cf7
push eax
call fcn.00403d4f
add esp, 4
mov al, bl
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.004034cd
mov esp, ebp
pop ebp
ret