Function at 0x410f20
Capabilities:
Access peb ldr_data
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4a39ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
push str.codec
lea eax, [esp + 0x10]
push 0x4cbdc0
push eax
mov edi, ecx
call fcn.004010a0
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call fcn.004a117a
lea esi, [edi + 0x558]
push 0
mov ecx, esi
mov byte [esp + 0x3c], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
jne 0x410fa6
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.source_codec_dir_no_exist_
call dword [0x4ab700]
call fcn.00409e30
add esp, 4
jmp 0x411159
push str.configcodecbak
lea ecx, [esp + 0xc]
push 0x4cbdc0
push ecx
call fcn.004010a0
add esp, 0xc
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
je 0x410fef
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.00409420
add esp, 4
push 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
je 0x411062
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x44], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [esp + 0x40], 2
call fcn.00409300
add esp, 8
test eax, eax
jne 0x411062
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.dest_codec_dir_rename_unsucessfully
call dword [0x4ab700]
call fcn.00409e30
add esp, 4
jmp 0x41114f
push 0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
mov byte [esp + 0x48], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [esp + 0x44], 2
call fcn.0040f2d0
add esp, 0xc
test eax, eax
je 0x41114f
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
call fcn.0040aa40
test eax, eax
je 0x411119
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, edi
call fcn.0040acb0
test eax, eax
je 0x411119
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.00409420
add esp, 4
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC71.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x34
ret
push 0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
je 0x41114f
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC71.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x30]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret