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

Disassembly:
push 0xffffffffffffffff
push 0x4b8500
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.004961d0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 7
call fcn.00453200
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 0x461f24
lea edx, [esp + 0x14]
push 0x1d
push edx
mov dword [esp + 0x94], 2
call fcn.00474c60
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 0x4e16d8
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
push 0x4e1080
lea ecx, [esp + 0x18]
jne 0x461de6
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x461f00
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e16d8
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 0x461dd6
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 0x4e1080
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x461d5b
jmp 0x461f00
mov dword [esp + 0x8c], 1
jmp 0x461f00
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x461f00
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 0x4e16d8
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 0x461ef1
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 0x4e1080
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x461df6
jmp 0x461efc
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 0x461f2b
mov dword [esp + 0x8c], eax
push 0x4df1d8
lea ecx, [esp + 0x1f4]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x204]
test eax, eax
jne 0x4620f3
mov eax, dword [esp + 0x1f0]
push 0x4e59d8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x462088
mov eax, dword [edi + 0x65c]
lea esi, [edi + 0x65c]
push 0x4e59d8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x461fb8
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004612f0
mov ecx, eax
call fcn.0045ea10
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 0x461fc2
push esi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x1ec]
lea eax, [esp + 0x24]
push edx
push 0x4df1d8
push eax
call sub.MFC42.DLL_operator
push 0x4df1d8
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 0x4df1d8
push 0x4e28b0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x462178
push 0x4df1d8
push 0x4e28b0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x46206c
jmp 0x462178
lea ecx, [esp + 0x1f0]
push 0x4df1d8
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 0x462178
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x462178
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 0x4df1d8
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 0x46215f
push 0x4df1d8
lea ecx, [esp + 0x34]
call fcn.004ac79a
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.004231c0
test eax, eax
jne 0x462199
push esi
lea ecx, [esp + 0x3c]
call fcn.00497a50
jmp 0x46222c
mov eax, dword [edi + 0x65c]
lea esi, [edi + 0x65c]
push 0x4e59d8
push eax
call ebp
add esp, 8
test eax, eax
je 0x4621cc
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.00497e90
jmp 0x46220f
lea edx, [esp + 0x98]
mov ecx, edi
push edx
call fcn.00461330
mov ecx, eax
call fcn.00495110
mov ecx, eax
call fcn.00445f30
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e0], 0x16
call fcn.00497a50
lea ecx, [esp + 0x98]
mov byte [esp + 0x1dc], 8
call fcn.00496c60
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.00498270
mov esi, dword [esp + 0x1e4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
mov dword [esp + 0x58], esi
call fcn.00461330
mov ecx, eax
call fcn.00452de0
test eax, eax
je 0x462314
test esi, esi
jne 0x4622b9
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xb4]
push edx
push eax
call fcn.00472df0
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.00472d30
add esp, 8
test eax, eax
jne 0x4622b9
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 0x19
call fcn.00453280
lea ecx, [esp + 0x38]
mov byte [esp + 0x1dc], 0x18
call fcn.00496c60
mov byte [esp + 0x1dc], 0x17
jmp 0x46233e
mov eax, dword [esp + 0x1fc]
push 0x4e59d8
push eax
call ebp
add esp, 8
test eax, eax
je 0x4622f1
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.004612c0
mov ecx, eax
call fcn.004950e0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 0x1c
call fcn.00453280
lea ecx, [esp + 0x38]
mov byte [esp + 0x1dc], 0x1b
call fcn.00496c60
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