Function at 0x43f590
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x521ce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
lea ecx, [ebp + 0xb8]
mov dword [esp + 0x28], edi
call fcn.0041d110
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x43f7c2
cmp dword [ebp + 0xb0], edi
jne 0x43f7c2
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
lea eax, [esi + 8]
push eax
call fcn.004c73e6
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x28], 1
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43f756
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
push 0x80
je 0x43f6c8
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x3c]
push esi
push ebx
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, ebp
call fcn.0043d5e0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyA]
test eax, eax
je 0x43f79a
cmp esi, edi
je 0x43f684
mov edx, dword [esp + 0x3c]
push edi
push edx
mov ecx, ebp
call fcn.0043f4e0
push edi
push edi
push 0xbd0
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x43f79a
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x43f79a
mov ecx, dword [esp + 0x3c]
push 4
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x43f79a
push edi
push edi
push 0xbd0
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x14], 1
jmp 0x43f79a
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004c73e6
mov ecx, ebp
call fcn.00441680
cmp eax, edi
je 0x43f6fa
mov ecx, dword [esi]
mov dword [esp + 0x10], ecx
jmp 0x43f7a4
mov eax, dword [esp + 0x40]
push edi
cmp eax, edi
je 0x43f71f
mov edx, dword [esp + 0x40]
mov ecx, ebp
push edx
call fcn.0043f4e0
push edi
push edi
push 0xbd0
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x43f79a
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x43f743
push edi
push edi
push 0xbd0
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x43f79a
push 4
push edi
push edi
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::GetBuffer
push eax
jmp 0x43f69f
mov eax, dword [esp + 0x3c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrA]
push str.HNCLIB
push ecx
call esi
test eax, eax
jne 0x43f78c
mov edx, dword [esp + 0x3c]
push str.WINDOWS_snap
push edx
call esi
test eax, eax
je 0x43f79a
mov eax, dword [esp + 0x3c]
push 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jne 0x43f5d9
mov ecx, dword [ebp + 0xbc]
xor esi, esi
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x43f811
cmp dword [eax + 0x28], 2
jne 0x43f7e9
mov eax, dword [eax + 0x24]
add esi, eax
cmp eax, 3
jle 0x43f7e9
mov edi, 1
lea ecx, [esp + 0x18]
call fcn.0042b140
mov ecx, dword [ebp + 0xbc]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x43f7d4
cmp esi, 0xa
jg 0x43f8e7
test edi, edi
jne 0x43f8e7
mov eax, dword [ebp + 0xbc]
mov esi, dword [eax]
cmp esi, eax
je 0x43f8e7
cmp dword [esi + 0x28], 2
jne 0x43f8a0
xor edi, edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x43f8a0
mov ecx, dword [esi + 0x1c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x43f8a0
mov edx, eax
lea ecx, [esp + 0x3c]
lea eax, [edx + edi*4]
push eax
call fcn.004c73e6
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43f863
mov ecx, dword [esp + 0x3c]
push 0
push ecx
mov ecx, ebp
call fcn.0043f4e0
jmp 0x43f884
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43f884
push 4
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x43f894
push 0
push 0
push 0xbd0
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
inc edi
jmp 0x43f829
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x2d]
test cl, cl
jne 0x43f8c2
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x2d]
test cl, cl
jne 0x43f8db
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x2d]
test cl, cl
je 0x43f8b5
jmp 0x43f8db
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x43f8d4
mov esi, eax
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x43f8ca
cmp dword [esi + 8], eax
je 0x43f8db
mov esi, eax
cmp esi, dword [ebp + 0xbc]
jne 0x43f821
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x43f906
mov eax, dword [esi + 8]
mov ecx, ebp
push eax
call fcn.0043d880
mov esi, dword [esi]
mov eax, dword [esp + 0x34]
cmp esi, eax
jne 0x43f8f1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
mov edi, dword [eax]
cmp edi, eax
je 0x43f949
mov ebx, dword [esp + 0x38]
mov esi, edi
mov edi, dword [edi]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x38]
add esp, 4
dec ebx
cmp edi, eax
jne 0x43f91c
mov edx, dword [esp + 0x34]
push edx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14