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

Disassembly:
push 0xffffffffffffffff
push 0x4b7980
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.004958d0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 7
call fcn.00452d80
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 0x461724
lea edx, [esp + 0x14]
push 0x1d
push edx
mov dword [esp + 0x94], 2
call fcn.00474330
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 0x4e16e0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
push 0x4e1088
lea ecx, [esp + 0x18]
jne 0x4615e6
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x461700
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e16e0
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 0x4615d6
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 0x4e1088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x46155b
jmp 0x461700
mov dword [esp + 0x8c], 1
jmp 0x461700
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x461700
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 0x4e16e0
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 0x4616f1
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 0x4e1088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x4615f6
jmp 0x4616fc
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 0x46172b
mov dword [esp + 0x8c], eax
push 0x4df1dc
lea ecx, [esp + 0x1f4]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x204]
test eax, eax
jne 0x4618f3
mov eax, dword [esp + 0x1f0]
push 0x4e58d8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x461888
mov eax, dword [edi + 0x65c]
lea esi, [edi + 0x65c]
push 0x4e58d8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4617b8
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00460af0
mov ecx, eax
call fcn.0045e2b0
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 0x4617c2
push esi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x1ec]
lea eax, [esp + 0x24]
push edx
push 0x4df1dc
push eax
call sub.MFC42.DLL_operator
push 0x4df1dc
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 0x4df1dc
push 0x4e2838
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x461978
push 0x4df1dc
push 0x4e2838
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x46186c
jmp 0x461978
lea ecx, [esp + 0x1f0]
push 0x4df1dc
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 0x461978
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x461978
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 0x4df1dc
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 0x46195f
push 0x4df1dc
lea ecx, [esp + 0x34]
call fcn.004abdba
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.00423170
test eax, eax
jne 0x461999
push esi
lea ecx, [esp + 0x3c]
call fcn.00497150
jmp 0x461a2c
mov eax, dword [edi + 0x65c]
lea esi, [edi + 0x65c]
push 0x4e58d8
push eax
call ebp
add esp, 8
test eax, eax
je 0x4619cc
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.00497590
jmp 0x461a0f
lea edx, [esp + 0x98]
mov ecx, edi
push edx
call fcn.00460b30
mov ecx, eax
call fcn.00494800
mov ecx, eax
call fcn.00445b40
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e0], 0x16
call fcn.00497150
lea ecx, [esp + 0x98]
mov byte [esp + 0x1dc], 8
call fcn.00496360
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.00497970
mov esi, dword [esp + 0x1e4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
mov dword [esp + 0x58], esi
call fcn.00460b30
mov ecx, eax
call fcn.00452970
test eax, eax
je 0x461b14
test esi, esi
jne 0x461ab9
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xb4]
push edx
push eax
call fcn.00472570
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.004724b0
add esp, 8
test eax, eax
jne 0x461ab9
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 0x19
call fcn.00452e00
lea ecx, [esp + 0x38]
mov byte [esp + 0x1dc], 0x18
call fcn.00496360
mov byte [esp + 0x1dc], 0x17
jmp 0x461b3e
mov eax, dword [esp + 0x1fc]
push 0x4e58d8
push eax
call ebp
add esp, 8
test eax, eax
je 0x461af1
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.00460ac0
mov ecx, eax
call fcn.004947d0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1dc], 0x1c
call fcn.00452e00
lea ecx, [esp + 0x38]
mov byte [esp + 0x1dc], 0x1b
call fcn.00496360
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