Function at 0x41196b
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420b04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x10], 1
mov byte [ebp - 0x18], 0
push 0x428264
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x411c1b
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 1
test eax, eax
je 0x4119ea
push 0x80
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x411aa1
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 5
je 0x411a26
cmp dword [ebp - 0x24], 0x20
jne 0x411a37
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x28], 1
jmp 0x411a67
cmp dword [ebp - 0x24], 0xb7
jne 0x411a67
push 0x80
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x411a9f
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x411a9b
mov byte [ebp - 0x10], 0
jmp 0x411c1b
mov byte [ebp - 0x18], 1
jmp 0x411aa5
mov byte [ebp - 0x18], 1
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041ea7c
mov byte [ebp - 4], 1
push 0x428268
push 0x42826c
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Replace
push 0x5c
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 1
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call fcn.00401ab0
push eax
call fcn.00402bcf
add esp, 4
and eax, 0xff
test eax, eax
jne 0x411b4e
push 0x428270
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0x10], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
jmp 0x411c1b
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00401ab0
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
push 0x429fe0
lea ecx, [ebp - 0x3c]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x38], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x38]
and eax, 0xff
test eax, eax
je 0x411bff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xb7
jne 0x411bbf
jmp 0x411bed
cmp dword [ebp - 0x2c], 3
jne 0x411bd7
push 0x428278
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call sub.MFC42.DLL_CString::operator_1
jmp 0x411bed
cmp dword [ebp - 0x2c], 2
jne 0x411bed
push 0x428280
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0x10], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
jmp 0x411c1b
push 0x428288
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
test ecx, ecx
je 0x411c6e
mov edx, dword [ebp - 0x10]
and edx, 0xff
test edx, edx
je 0x411c53
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x411c51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
jmp 0x411c6e
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00401ab0
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x40], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4