Function at 0x404890
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x418cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 0x41bfb8
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x24], 1
call fcn.00403f30
push 0x41c75c
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x2c], 2
call fcn.00402bf0
push 0x4256f8
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x38], 3
call fcn.00402b50
add esp, 0x18
lea ecx, [esp + 0x10]
call dword [0x41b1d8]
lea ecx, [esp + 0x14]
call dword [0x41b1d8]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov al, byte [esp + 0x2c]
test al, al
mov byte [esp + 0x20], 7
lea ecx, [esp + 0xc]
je 0x404936
push 0x41ca0c
jmp 0x40493b
push 0x41ca08
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
push 0x80
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x404b09
push edi
push 0
push 0x78
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push 0
push 0x78
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
or esi, 0xffffffff
lea ecx, [esp + 0x2c]
sub esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
add esi, eax
push esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 9
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, 0x425708
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, 0x4256fc
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x404a28
call edi
push eax
mov ecx, 0x425724
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, 0x42570c
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, 0x4256fc
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
test eax, eax
jne 0x404a8d
call edi
push eax
mov ecx, 0x425724
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, 0x425718
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, 0x4256fc
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
test eax, eax
jne 0x404af2
call edi
push eax
mov ecx, 0x425728
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0x30]
call dword [0x41b1d8]
lea ecx, [esp + 0x14]
call dword [0x41b1d8]
pop edi
jmp 0x404b1e
push 0
push 0
mov ecx, 0x425720
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0xc]
call dword [0x41b1d8]
lea ecx, [esp + 8]
call dword [0x41b1d8]
lea ecx, [esp + 4]
call dword [0x41b1d8]
lea ecx, [esp + 0x28]
call dword [0x41b1d8]
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8