Function at 0x4111c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41bc0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x3c]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 8
mov byte [eax + 1], 0
mov dword [esp + 0x28], str.RsAppMgr.dll
mov dword [esp + 0x2c], str.rfwrule.dll
mov dword [esp + 0x30], str.RsCommon.dll
mov dword [esp + 0x34], str.RsGuiLib.dll
mov dword [esp + 0x38], str.PngDll.dll
xor edi, edi
lea esi, [esp + 0x28]
lea edx, [esp + 0x3c]
push 0x104
lea eax, [esp + 0x144]
push edx
push eax
call ebx
mov eax, dword [esi]
push 0x104
lea ecx, [esp + 0x144]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
add esp, 0xc
lea edx, [esp + 0x140]
push edx
call ebp
cmp eax, 0xffffffff
je 0x4113b3
inc edi
add esi, 4
cmp edi, 5
jb 0x411254
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x245]
mov byte [esp + 0x244], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x244]
push 0x208
push ecx
push 0x42345c
stosb byte es:[edi], al
call fcn.00405670
add esp, 0xc
lea edx, [esp + 0x244]
push str.RsConfig.cfg
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x244]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x41146b
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ebx, 2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x454], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x42905c]
lea edx, [esp + 0x10]
push ecx
push 0xb00
push edx
mov byte [esp + 0x460], 3
call fcn.0040f220
mov eax, dword [0x42905c]
lea ecx, [esp + 0x28]
push eax
push 0xadd
push ecx
call fcn.0040f220
add esp, 0x18
lea edx, [esp + 0x140]
lea ecx, [esp + 0x10]
push edx
call fcn.0041aa46
lea eax, [esp + 0x24]
push eax
call fcn.004106a0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
add esp, 4
push 0x40010
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x454], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x454], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x411470
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov dword [esp + 0x454], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x42905c]
lea ecx, [esp + 0x14]
push eax
push 0xb00
push ecx
mov byte [esp + 0x460], 1
call fcn.0040f220
mov edx, dword [0x42905c]
lea eax, [esp + 0x24]
push edx
push 0xadd
push eax
call fcn.0040f220
add esp, 0x18
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041aa46
lea edx, [esp + 0x20]
push edx
call fcn.004106a0
mov eax, dword [eax]
add esp, 4
push 0x40010
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x454], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x454], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x411470
mov eax, 1
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x448
ret