Function at 0x41c11e
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov eax, 0x4e5b16
call fcn.004e1580
sub esp, 0x58
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 2
call fcn.0041c011
test eax, eax
jne 0x41c152
xor edi, edi
jmp 0x41c664
cmp dword [edi + 0x150], ebx
mov dword [ebp - 0x40], ebx
jle 0x41c661
mov dword [ebp - 0x4c], ebx
jmp 0x41c168
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi + 0x14c]
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 4
mov eax, dword [ecx + eax]
push edx
push 0x5094f0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jl 0x41c3ed
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jl 0x41c3ed
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jl 0x41c3ed
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x54]
push 0xc
push eax
mov byte [ebp - 4], 5
call fcn.0041aab4
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push esi
call fcn.0040294f
pop ecx
mov dword [ebp - 0x34], eax
pop ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xa
push eax
call fcn.00442d87
pop ecx
lea esi, [edi + 0x130]
push esi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push eax
call fcn.00442d87
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 0xc
test eax, eax
je 0x41c3b1
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
je 0x41c2bf
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x10]
push eax
call fcn.004e0906
lea eax, [ebp - 0x10]
push eax
call fcn.00442d87
pop ecx
push dword [ebp - 0x30]
mov ebx, dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push ebx
call fcn.0040294f
pop ecx
mov dword [ebp - 0x30], eax
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x41c2fa
push dword [ebp - 0x10]
push 4
lea ecx, [edi + 0x15c]
call fcn.0041dd89
jmp 0x41c57e
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41c30c
push dword [ebp - 0x18]
jmp 0x41c2e8
mov eax, dword [edi + 0x240]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push dword [ebp - 0x30]
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x41c57e
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
jl 0x41c57e
xor ebx, ebx
cmp dword [ebp - 0x48], ebx
jne 0x41c42a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x41c42a
push esi
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
call fcn.00442d87
pop ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.004e0906
lea eax, [ebp - 0x38]
push eax
call fcn.00442d87
push dword [ebp - 0x38]
call fcn.004d1b65
pop ecx
test eax, eax
pop ecx
jne 0x41c3a5
push dword [ebp - 0x38]
lea ecx, [edi + 0x15c]
push 0xa
call fcn.0041dd89
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x41c3fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41c40f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x40]
add dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x40]
cmp eax, dword [edi + 0x150]
jl 0x41c166
jmp 0x41c661
push 0x50
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x3c], eax
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x41c46f
push dword [ebp - 0x40]
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push esi
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.0044314e
mov esi, eax
jmp 0x41c471
xor esi, esi
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 0xb
jle 0x41c572
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x3c]
push edx
push ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xf
call dword [ecx + 0x24]
test eax, eax
jl 0x41c5d9
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::Find_3
cmp eax, 0xffffffff
je 0x41c54f
push 0x52fdc0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x10]
call sub.MFC42.DLL_CString::Replace
lea eax, [ebp - 0x28]
push eax
call fcn.00442dbf
lea eax, [ebp - 0x20]
mov dword [esp], 0x52a1c4
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00443297
cmp eax, 3
jne 0x41c54f
push dword [ebp - 0x28]
lea ecx, [edi + 0x15c]
push 4
call fcn.0041dd89
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc ebx
cmp ebx, dword [ebp - 0x48]
jl 0x41c47f
mov ecx, dword [edi + 0x23c]
push esi
call fcn.004423ff
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x41c5cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
jmp 0x41c407
test esi, esi
je 0x41c5e5
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x41c63d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x41c64e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x30]
call esi
xor eax, eax
jmp 0x41c67b
push 1
pop edi
push dword [ebp - 0x44]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x30]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret