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

Disassembly:
push 0x2f8
mov eax, 0x5f25d4
call fcn.0044ea40
mov ebx, ecx
call fcn.005400a1
xor edi, edi
lea ecx, [ebp - 0x2f8]
push edi
mov esi, 0x9b
mov edx, dword [eax]
push esi
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov dword [ebp - 4], edi
call fcn.00403028
mov ecx, eax
call fcn.005165e5
cmp dword [ebp - 0x2e8], edi
jne 0x414e19
push eax
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x5faef8
push 0x5fafe4
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xd8], di
jne 0x414de5
mov eax, edi
jmp 0x414df2
lea eax, [ebp - 0xd8]
push eax
call fcn.00546031
pop ecx
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00403bdf
call fcn.005400a1
lea ecx, [ebp - 0x2f8]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00421d63
push eax
lea ecx, [ebp - 0x300]
call fcn.0040b1c2
cmp dword [ebp - 0x2e4], 8
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x2f8]
push eax
push str.WnCore.exe
call fcn.00403028
mov ecx, eax
call fcn.00516496
push eax
lea eax, [ebp - 0x300]
push str.__s_s__UpUserCfgSet__s
push eax
call fcn.00414fee
mov esi, dword [ebp - 0x300]
add esp, 0x14
cmp dword [esi - 4], 1
jle 0x414e89
push dword [esi - 0xc]
lea ecx, [ebp - 0x300]
call fcn.0040b986
mov esi, dword [ebp - 0x300]
push esi
call fcn.005302fc
mov dword [esp], 0x208
lea eax, [ebp - 0x2e0]
push edi
push eax
call fcn.00543220
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.0040b24c
push str.MutualTempFile.ini
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 2
call fcn.0040b319
push dword [ebp - 0x2fc]
push edi
push str.UpUserCfg
push str.MutualTempFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x2fc]
mov dword [ebx + 0x2e4], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414f17
push dword [ebp - 0x2fc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x2f0
cmp dword [ebx + 0x2e4], edi
je 0x414f3c
call fcn.00421039
pop ecx
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x414f5c
push 1
jmp 0x414f51
call fcn.00421039
pop ecx
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x414f5c
push edi
push 1
mov ecx, eax
call fcn.0041397a
mov edi, eax
xor eax, eax
mov byte [ebp - 4], 2
push eax
push eax
push eax
push eax
push eax
push eax
push 0x96c80000
push 0x5faef8
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 0x414fa1
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x14]
push 1
mov ecx, ebx
call fcn.00416587
mov ecx, dword [ebp - 0x2fc]
lea ecx, [ecx - 0x10]
call fcn.0040bbcd
lea ecx, [esi - 0x10]
call fcn.0040bbcd
push 0
push 1
lea ecx, [ebp - 0x2f8]
call fcn.004037bf
xor eax, eax
inc eax
call fcn.0044e9ea
ret