Function at 0x403cd0
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x40683f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x34]
mov dword [esp + 0x498], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x498], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x498], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x498], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov byte [esp + 0x498], 4
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x288]
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x4a0], 5
call fcn.00404200
add esp, 8
test eax, eax
jne 0x403daf
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push 0xf2
lea ecx, [esp + 0x18]
mov byte [esp + 0x49c], 6
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
call sub.MFC42.DLL_AfxMessageBox
mov byte [esp + 0x498], 5
lea ecx, [esp + 0x14]
jmp 0x40416b
mov eax, dword [0x40b150]
mov eax, dword [eax + 0x11e0]
test eax, eax
je 0x403e28
cmp eax, 1
jne 0x403de9
mov eax, dword [0x40c5bc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x403eb9
xor ecx, ecx
mov word [esp + 0x10], cx
mov byte [esp + 0x12], cl
mov ebx, dword [eax - 8]
push ecx
mov ecx, 0x40c5bc
jmp 0x403e0d
mov eax, dword [0x40c5b8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x403eb9
xor ecx, ecx
mov word [esp + 0x10], cx
mov byte [esp + 0x12], cl
mov ebx, dword [eax - 8]
push ecx
mov ecx, 0x40c5b8
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, ebx
mov esi, eax
mov edx, ecx
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x44]
call fcn.00406058
mov byte [esp + 0x498], 8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea edx, [esp + 0x38c]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x24]
push eax
call fcn.00402510
add esp, 4
push str._temp.ini
lea ecx, [esp + 0x28]
mov byte [esp + 0x49c], 9
call fcn.00406076
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x498], 0xa
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x40c5dc]
mov byte [esp + 0x498], 0xb
cmp eax, 6
je 0x403ef7
cmp eax, 0xc
je 0x403f1d
cmp eax, 0x12
jne 0x404121
jmp 0x403f18
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push 0xf6
lea ecx, [esp + 0x18]
mov byte [esp + 0x49c], 7
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
mov byte [esp + 0x498], 5
lea ecx, [esp + 0x14]
jmp 0x40416b
push str.STUDYDICT
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_2
push str.dict.bmp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [0x40c5dc]
cmp eax, 0xc
jne 0x403f3e
push str.STUDYTOOL
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_2
push str.tool.bmp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [0x40c5dc]
cmp eax, 0x12
jne 0x403f5f
push str.STUDY
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_2
push str.study.bmp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x44]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00402d80
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 4
lea ecx, [esp + 0x148]
lea edx, [esp + 0x44]
push ecx
push edx
call ebx
cmp eax, 0xffffffff
je 0x404121
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
push eax
call ebp
mov edi, str.desktop.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x148]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x4040a8
push eax
call ebp
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x44]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x44]
push ecx
push 0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push str.icon
push str.display
call esi
mov eax, dword [0x40c5dc]
lea edx, [esp + 0x44]
shl eax, 4
push edx
mov ecx, dword [eax + 0x409244]
push ecx
push str.ENGLISH
push str.display
call esi
mov eax, dword [0x40c5dc]
lea edx, [esp + 0x44]
shl eax, 4
push edx
mov ecx, dword [eax + 0x409240]
push ecx
push str.CHINESE
push str.display
call esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x49c], 0xc
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
call fcn.004060be
push 0x409c70
lea ecx, [esp + 0x20]
call fcn.00406076
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.004060be
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x40c5dc]
push eax
call fcn.00402970
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x498], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x498], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x498], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x498], 8
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x498], 5
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x498], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x498], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x498], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x498], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x498], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x498], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x490]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48c
ret