Function at 0x41ee30
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5c0490]
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
push 0
lea eax, [ebp - 0x838]
push str.DeleteLanguageMonitor
push eax
mov edi, ecx
mov esi, edx
call fcn.00401190
add esp, 0xc
push 0
push esi
push edi
push str.lpszFile___s__lpszMon___s__bDebug___d
lea ecx, [ebp - 0x838]
push 1
push ecx
mov dword [ebp - 4], 0
call fcn.00401410
push 0x208
lea edx, [ebp - 0x628]
push 0
push edx
call fcn.00541d20
add esp, 0x24
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00541d20
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x420]
push 0
push ecx
call fcn.00541d20
add esp, 0xc
push 0x208
lea edx, [ebp - 0x830]
push 0
push edx
call fcn.00541d20
add esp, 0xc
call fcn.00414850
cmp eax, 0xa
jne 0x41ef07
call fcn.00416ee0
mov ecx, str.SPOOLER
call fcn.004170d0
push esi
push 0
push 0
call dword [sym.imp.WINSPOOL.DRV_DeleteMonitorW]
test eax, eax
jne 0x41ef4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push str.return___08x
lea eax, [ebp - 0x838]
push 2
push eax
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
xor eax, eax
jmp 0x41f0c9
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x422], 0x5c
push edi
je 0x41ef8d
lea eax, [ebp - 0x420]
push eax
push str._s_s
lea ecx, [ebp - 0x628]
push ecx
jmp 0x41efa0
lea edx, [ebp - 0x420]
push edx
push 0x594b70
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x628]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f08c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41f08c
cmp eax, 3
je 0x41f08c
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.00541d20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.WININIT.INI
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.0053f97a
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x218]
push eax
call edi
cmp eax, 0xffffffff
je 0x41f08c
push eax
call ebx
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x628]
push edx
push str.NULL
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x41f08c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
push esi
push str.return___08x
lea ecx, [ebp - 0x838]
push 2
push ecx
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
mov eax, esi
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.0053ca73
mov esp, ebp
pop ebp
ret