Function at 0x46ddb0
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4eaa03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x440]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, 4
push 0x556570
push eax
mov dword [esp + 0x434], ebx
call esi
add esp, 8
test eax, eax
jne 0x46de36
lea ecx, [esp + 0xc]
push ecx
call fcn.004085b0
add esp, 4
push eax
lea ecx, [esp + 0x444]
mov byte [esp + 0x430], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.00415612
mov edx, dword [esp + 0x444]
push 0x556570
push edx
call esi
add esp, 8
test eax, eax
jne 0x46de60
lea eax, [esp + 0x440]
lea ecx, [esp + 0x444]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
push ecx
call fcn.00408740
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x440]
push eax
push str.WindowsDir_
mov byte [esp + 0x434], 6
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.00415612
lea edx, [esp + 0xc]
push edx
call fcn.00408660
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x440]
push eax
push str.SystemDir_
mov byte [esp + 0x434], 7
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.00415612
lea eax, [esp + 0xc]
push eax
call fcn.004085b0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x440]
push eax
push str.TempDir_
mov byte [esp + 0x434], 8
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.00415612
lea ecx, [esp + 0xc]
push ecx
call fcn.00408740
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x444]
push eax
push str.WindowsDir_
mov byte [esp + 0x434], 9
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.00415612
lea edx, [esp + 0xc]
push edx
call fcn.00408660
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x444]
push eax
push str.SystemDir_
mov byte [esp + 0x434], 0xa
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.00415612
lea eax, [esp + 0xc]
push eax
call fcn.004085b0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x444]
push eax
push str.TempDir_
mov byte [esp + 0x434], 0xb
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.00415612
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x44c]
mov byte [esp + 0x42c], 0xc
test eax, eax
je 0x46dfe8
lea ecx, [esp + 0x438]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
jmp 0x46e145
mov edx, dword [esp + 0x43c]
push 0x556570
push edx
call esi
add esp, 8
test eax, eax
je 0x46e030
lea eax, [esp + 0x43c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x438]
push ecx
push edx
lea ecx, [edi + 0x1c]
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
jmp 0x46e145
mov ecx, dword [esp + 0x438]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
jne 0x46e145
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_rand]
call ebp
cdq
mov ecx, 5
xor esi, esi
idiv ecx
mov edi, edx
add edi, 3
test edi, edi
jle 0x46e07e
call ebp
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x61
mov byte [esp + esi + 0x28], dl
inc esi
cmp esi, edi
jl 0x46e068
lea ecx, [esp + 0x10]
mov byte [esp + esi + 0x28], 0
call sub.MFC42.DLL_CString::CString_3
push 0x2e
lea ecx, [esp + 0x440]
mov byte [esp + 0x434], 0xd
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
test esi, esi
jle 0x46e0c7
lea edx, [esp + 0x43c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push esi
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Delete
jmp 0x46e0d5
push 0x556570
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x43c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x430], 0xc
call fcn.00415612
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
pop ebp
lea eax, [esp + 0x438]
lea ecx, [esp + 0x440]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x444]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x438], 0xe
call sub.MFC42.DLL_operator_2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x434], 0xf
call esi
add esp, 8
test eax, eax
je 0x46e1ab
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x448]
test eax, eax
je 0x46e1c1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x434]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 0xe
call fcn.00415612
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 0xc
call fcn.00415612
lea ecx, [esp + 0x10]
mov byte [esp + 0x42c], bl
call fcn.00415612
lea ecx, [esp + 0x438]
mov byte [esp + 0x42c], 3
call fcn.00415612
lea ecx, [esp + 0x43c]
mov byte [esp + 0x42c], 2
call fcn.00415612
lea ecx, [esp + 0x440]
mov byte [esp + 0x42c], 1
call fcn.00415612
lea ecx, [esp + 0x444]
mov byte [esp + 0x42c], 0
call fcn.00415612
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret 0x1c