Function at 0x40a000
Capabilities:
Copy file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4102f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
mov esi, ecx
push edi
push 0x415ae8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
push 0x415ae8
lea ecx, [esp + 0x14]
mov dword [esp + 0xf0], 0
call sub.MFC42.DLL_CString::CString
push 0x415ae8
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
mov bl, 2
push 0xc8
push eax
mov byte [esp + 0xf4], bl
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
add esi, 0xc
push str.WHYC.dll
lea edx, [esp + 0x10]
push esi
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
lea eax, [esp + 0x18]
push str._acge15.dll
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push edx
push eax
call edi
push str._ftcnc.md
lea ecx, [esp + 0x10]
push esi
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
lea edx, [esp + 0x18]
push str.mfc42P.dll
lea eax, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
call edi
push str._ftsen.da
lea eax, [esp + 0x10]
push esi
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
lea ecx, [esp + 0x18]
push str._sen3.dll
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
call edi
push str._ftec.data
lea edx, [esp + 0x10]
push esi
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
lea eax, [esp + 0x18]
push str.FTGeCurveData.dll
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0xec], bl
call fcn.0040e8b6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 1
call fcn.0040e8b6
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], 0
call fcn.0040e8b6
lea ecx, [esp + 0x18]
mov dword [esp + 0xec], 0xffffffff
call fcn.0040e8b6
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret