Function at 0x414a55
Capabilities:
Check if file exists
Delete file
Get common file path
Read .ini file

Disassembly:
push 0x2fc
mov eax, 0x5f18e7
call fcn.0044e95a
mov edi, ecx
mov dword [ebp - 0x304], edi
and dword [ebp - 4], 0
call fcn.0053f541
push 0
mov esi, 0x9b
lea ecx, [ebp - 0x2f8]
push esi
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov byte [ebp - 4], 1
call fcn.00403028
mov ecx, eax
call fcn.005164d5
cmp dword [ebp - 0x2e8], 0
jne 0x414b05
push eax
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x5f9ed8
push 0x5f9fc4
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xd8], 0
jne 0x414ad1
xor eax, eax
jmp 0x414ade
lea eax, [ebp - 0xd8]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00403bdf
call fcn.0053f541
lea ecx, [ebp - 0x2f8]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00421c9b
push eax
lea ecx, [ebp - 0x300]
call fcn.0040b182
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
push 2
cmovae ecx, dword [ebp - 0x2f8]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
pop ebx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push str.WnCore.exe
mov byte [ebp - 4], bl
call fcn.00403028
mov ecx, eax
call fcn.00516386
push eax
lea eax, [ebp - 0x300]
push str.__s_s___s__s
push eax
call fcn.00415037
mov esi, dword [ebp - 0x300]
add esp, 0x18
cmp dword [esi - 4], 1
jle 0x414b83
push dword [esi - 0xc]
lea ecx, [ebp - 0x300]
call fcn.0040b946
mov esi, dword [ebp - 0x300]
push esi
call fcn.0052f663
mov dword [esp], 0x208
lea eax, [ebp - 0x2e0]
push 0
push eax
call fcn.005426c0
add esp, 0xc
lea eax, [ebp - 0x2e0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.0040b20c
push 3
pop eax
push str.MutualTempFile.ini
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], al
call fcn.0040b2d9
push dword [ebp - 0x2fc]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
push str.MutualTempFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x2fc]
mov dword [edi + 0x2e4], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414c1c
push dword [ebp - 0x2fc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.UpUserMB
lea ecx, [ebp + 8]
call fcn.00404af1
test eax, eax
je 0x414c44
push str.DownUserMB
lea ecx, [ebp + 8]
call fcn.00404af1
xor ebx, ebx
test eax, eax
push 3
pop eax
cmove ebx, eax
cmp dword [edi + 0x2e4], 0
push 0x2f0
je 0x414c6a
call fcn.00420fa5
pop ecx
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x414c8c
push 1
jmp 0x414c80
call fcn.00420fa5
pop ecx
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x414c8c
push 0
push ebx
mov ecx, eax
call fcn.004139be
mov edi, eax
jmp 0x414c8e
xor edi, edi
mov ebx, dword [ebp - 0x304]
push 3
pop eax
mov byte [ebp - 4], al
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x96c80000
push 0x5f9ed8
lea ecx, [ebx + 0x2c]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const]
push eax
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_]
test edi, edi
je 0x414cdb
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x14]
xor edi, edi
mov ecx, ebx
inc edi
push edi
call fcn.004165f2
mov ecx, dword [ebp - 0x2fc]
lea ecx, [ecx - 0x10]
call fcn.0040bb8d
lea ecx, [esi - 0x10]
call fcn.0040bb8d
push 0
push edi
lea ecx, [ebp - 0x2f8]
call fcn.004037bf
push 0
push edi
lea ecx, [ebp + 8]
call fcn.004037bf
mov eax, edi
call fcn.0044e904
ret 0x18