Function at 0x43d670
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x444436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x44]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.0043f090
cmp eax, 1
jne 0x43d786
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.0043f1b0
cmp al, bl
jne 0x43d735
mov byte [esi + 0xa], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.00440152
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43d6f5
push 8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x3c], 3
je 0x43d76d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043d0b0
jmp 0x43d76f
xor eax, eax
mov byte [esp + 0x3c], 2
mov dword [esp + 0x10], eax
push 0x450280
lea edx, [esp + 0x14]
jmp 0x43d8a0
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043f160
push 0x45ad24
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0xc]
push ebx
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, ebx
je 0x43d83e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x43d836
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
cmp eax, ebx
je 0x43d81e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 4
call fcn.0043fa38
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
jmp 0x43d82f
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, esi
call fcn.0043d670
cmp edi, ebx
jne 0x43d7b7
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::Close
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x43d6f5
cmp byte [esi + 0xa], bl
jne 0x43d6f5
push 8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x3c], 5
je 0x43d88c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043d0b0
jmp 0x43d88e
xor eax, eax
mov byte [esp + 0x3c], 2
mov dword [esp + 0x10], eax
push 0x450280
lea edx, [esp + 0x14]
push edx
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop