Function at 0x461a10
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b83e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x1dc], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
mov byte [esp + 0x1dc], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x1dc], 6
call fcn.00495c80
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 7
call fcn.00453470
lea eax, [esp + 0x1e8]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x1e0], 8
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi + 0x340]
mov ecx, dword [esp + 0x208]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dword [esp + 0x94], ecx
test eax, eax
jne 0x461cf4
lea edx, [esp + 0x14]
push 0x1d
push edx
mov dword [esp + 0x94], 2
call fcn.004749a0
add esp, 8
lea eax, [esp + 0x1e8]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x1e0], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1dc], 0xa
call sub.MFC42.DLL_CString::MakeUpper
push 0x4e26e0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
push 0x4e2088
lea ecx, [esp + 0x18]
jne 0x461bb6
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x461cd0
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e26e0
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x461ba6
inc esi
lea edx, [esp + 0x28]
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e0], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1dc], 0xa
call sub.MFC42.DLL_CString::CString
push 0x4e2088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x461b2b
jmp 0x461cd0
mov dword [esp + 0x8c], 1
jmp 0x461cd0
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x461cd0
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [eax]
lea edx, [esp + 0x24]
mov byte [esp + 0x1dc], 0xc
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x20]
inc eax
push eax
push edx
call sub.MFC42.DLL_CString::Right
mov edi, eax
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e4], 0xd
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x2c]
push 0x4e26e0
push ecx
mov byte [esp + 0x1e8], 0xe
call sub.MFC42.DLL_operator
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1dc], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc], 0xa
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x461cc1
inc esi
lea edx, [esp + 0x10]
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e0], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1dc], 0xa
call sub.MFC42.DLL_CString::CString
push 0x4e2088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x461bc6
jmp 0x461ccc
mov dword [esp + 0x8c], 1
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1dc], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1dc], 8
call sub.MFC42.DLL_CString::CString
jmp 0x461cfb
mov dword [esp + 0x8c], eax
push 0x4e01dc
lea ecx, [esp + 0x1f4]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x204]
test eax, eax
jne 0x461ec3
mov eax, dword [esp + 0x1f0]
push 0x4e6998
push eax
call ebp
add esp, 8
test eax, eax
jne 0x461e58
mov eax, dword [edi + 0x65c]
lea esi, [edi + 0x65c]
push 0x4e6998
push eax
call ebp
add esp, 8
test eax, eax
jne 0x461d88
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004610c0
mov ecx, eax
call fcn.0045e880
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e0], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1dc], 8
call sub.MFC42.DLL_CString::CString
jmp 0x461d92
push esi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x1ec]
lea eax, [esp + 0x24]
push edx
push 0x4e01dc
push eax
call sub.MFC42.DLL_operator
push 0x4e01dc
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x1e8], 0x11
call sub.MFC42.DLL_operator_3
lea edx, [esp + 0x1e8]
mov bl, 0x12
push edx
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x1e4], bl
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e0], 0x13
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x1dc], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1dc], 8
call sub.MFC42.DLL_CString::CString
push 0x4e01dc
push 0x4e386c
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x461f48
push 0x4e01dc
push 0x4e386c
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x461e3c
jmp 0x461f48
lea ecx, [esp + 0x1f0]
push 0x4e01dc
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x1e8]
lea edx, [esp + 0x10]
push ecx
mov bl, 0x14
push eax
push edx
mov byte [esp + 0x1e8], bl
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e0], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1dc], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc], 8
call sub.MFC42.DLL_CString::CString
jmp 0x461f48
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x461f48
lea eax, [esp + 0xb4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e01dc
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x461f2f
push 0x4e01dc
lea ecx, [esp + 0x34]
call fcn.004ac20a
lea eax, [esp + 0x34]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x1f4]
mov ecx, esi
call fcn.00423650
test eax, eax
jne 0x461f69
push esi
lea ecx, [esp + 0x3c]
call fcn.004974e0
jmp 0x461ffc
mov eax, dword [edi + 0x65c]
lea esi, [edi + 0x65c]
push 0x4e6998
push eax
call ebp
add esp, 8
test eax, eax
je 0x461f9c
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x3c]
call fcn.00497920
jmp 0x461fdf
lea edx, [esp + 0x98]
mov ecx, edi
push edx
call fcn.00461100
mov ecx, eax
call fcn.00453050
mov ecx, eax
call fcn.00446130
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e0], 0x16
call fcn.004974e0
lea ecx, [esp + 0x98]
mov byte [esp + 0x1dc], 8
call fcn.004966f0
push ecx
lea eax, [esp + 0x1f0]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x3c]
call fcn.00497d20
mov esi, dword [esp + 0x1e4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
mov dword [esp + 0x58], esi
call fcn.00461100
mov ecx, eax
call fcn.00453040
test eax, eax
je 0x4620e4
test esi, esi
jne 0x462089
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xb4]
push edx
push eax
call fcn.00472b40
lea ecx, [esp + 0x58]
lea edx, [esp + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.00472a80
add esp, 8
test eax, eax
jne 0x462089
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 0x19
call fcn.004534f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1dc], 0x18
call fcn.004966f0
mov byte [esp + 0x1dc], 0x17
jmp 0x46210e
mov eax, dword [esp + 0x1fc]
push 0x4e6998
push eax
call ebp
add esp, 8
test eax, eax
je 0x4620c1
lea ecx, [esp + 0x1fc]
push ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x200]
lea ecx, [esp + 0x6c]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x204]
mov ecx, dword [esp + 0x1f8]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, edi
call fcn.00461090
mov ecx, eax
call fcn.00494b90
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 0x1c
call fcn.004534f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1dc], 0x1b
call fcn.004966f0
mov byte [esp + 0x1dc], 0x1a
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1dc], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x1dc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x1dc], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x1dc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x1dc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x200]
mov dword [esp + 0x1dc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d0
ret 0x28