Function at 0x403d5d
Capabilities:
Create directory
Create process on windows
Delete file
Delete registry key
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x406b77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
push str.Clear.exe
lea eax, [esi + 0xfa140]
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2e0], 0
call sub.MFC42.DLL_CFile::CFile_1
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x2ec], 1
call sub.MFC42.DLL_CFile::Open
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
push 1
mov ecx, ebp
mov byte [esp + 0x2e4], 2
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x2e0], 3
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x38]
mov byte [esp + 0x2e0], 4
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x503668
call fcn.00405cde
mov ecx, ebp
call fcn.00405020
mov eax, dword [esp + 0x38]
mov cl, byte [eax]
cmp cl, 0x43
jne 0x403a62
cmp byte [eax + 1], 0x6f
jne 0x403a62
cmp byte [eax + 2], 0x72
jne 0x403a8b
cmp byte [eax + 3], 0x65
jne 0x403a8b
cmp byte [eax + 4], 0x6c
jne 0x403a8b
xor eax, eax
mov dword [0x50366c], eax
jmp 0x403a90
cmp cl, 0x63
jne 0x403a7f
cmp byte [eax + 1], 0x61
jne 0x403a7f
cmp byte [eax + 2], 0x64
jne 0x403a8b
mov eax, 1
mov dword [0x50366c], eax
jmp 0x403a90
mov eax, 3
mov dword [0x50366c], eax
jmp 0x403a90
mov eax, dword [0x50366c]
mov ecx, dword [esp + 0x2e8]
test ecx, ecx
je 0x403c73
test eax, eax
jne 0x403b44
lea eax, [esp + 0x13c]
mov ecx, ebp
push eax
push 0
call fcn.004053f0
test eax, eax
jne 0x403acd
push eax
push eax
push str.Path_error
call sub.MFC42.DLL_AfxMessageBox
jmp 0x4044da
lea ecx, [esp + 0x13c]
lea ebx, [ebp + 0x64]
push ecx
push 0x409028
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edi, [esi + 0x108]
lea edx, [esp + 0x1c]
push edi
push ebx
push edx
call sub.MFC42.DLL_operator_1
push 0x409020
push eax
lea eax, [esp + 0x20]
mov bl, 5
push eax
mov byte [esp + 0x2ec], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e4], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x2e0], 4
lea ecx, [esp + 0x1c]
jmp 0x403cf8
cmp eax, 1
jne 0x403be9
lea ecx, [esp + 0x13c]
push ecx
push eax
mov ecx, ebp
call fcn.004053f0
test eax, eax
jne 0x403b72
push eax
push eax
push str.Path_error
call sub.MFC42.DLL_AfxMessageBox
jmp 0x4044da
lea edx, [esp + 0x13c]
lea ebx, [ebp + 0x64]
push edx
push 0x409028
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edi, [esi + 0x108]
lea eax, [esp + 0x1c]
push edi
push ebx
push eax
call sub.MFC42.DLL_operator_1
push 0x409020
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x2ec], 7
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e4], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e0], 7
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x2e0], 4
lea ecx, [esp + 0x1c]
jmp 0x403cf8
lea eax, [ebp + 0x64]
push 0x409020
lea edx, [esp + 0x18]
push eax
push edx
call sub.MFC42.DLL_operator
lea edi, [esi + 0x108]
mov byte [esp + 0x2e0], 9
push edi
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_operator_1
push 0x409020
lea ecx, [esp + 0x1c]
mov bl, 0xa
push eax
push ecx
mov byte [esp + 0x2ec], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e4], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 9
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x2e0], 4
lea ecx, [esp + 0x14]
jmp 0x403cf8
lea eax, [ebp + 0x64]
push 0x409020
lea edx, [esp + 0x18]
push eax
push edx
call sub.MFC42.DLL_operator
lea edi, [esi + 0x108]
mov byte [esp + 0x2e0], 0xc
push edi
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_operator_1
push 0x409020
lea ecx, [esp + 0x1c]
mov bl, 0xd
push eax
push ecx
mov byte [esp + 0x2ec], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e4], 0xe
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0xc
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x2e0], 4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x64]
mov ecx, ebp
push eax
push 0x3f9
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov ebx, dword [edi]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.no_install
push str.path
lea edx, [esp + 0x38]
push ebx
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
mov eax, dword [esp + 0x30]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.no_install
push eax
mov byte [esp + 0x2e8], 0xf
call ebx
add esp, 8
test eax, eax
je 0x404161
push 0
push 4
push str.This_software_is_found_in_your_OS_so_it_will_be_deleted_if_you_continue._continue_
call sub.MFC42.DLL_AfxMessageBox
cmp eax, 7
je 0x4044c9
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405cde
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
mov byte [esp + 0x2e4], 0x10
call fcn.00403050
lea eax, [esi + 0xd4]
lea ecx, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push edx
push eax
mov byte [esp + 0x2e8], 0x11
call ebx
add esp, 8
test eax, eax
je 0x403e7a
lea eax, [esi + 0xfa140]
push str.UninstallMsg.txt
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 1
mov bl, 0x12
push 0x40000000
push edx
mov byte [esp + 0x2fc], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
lea ecx, [esp + 0x70]
call fcn.00405e28
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
mov byte [esp + 0x2e0], 0x13
mov eax, dword [eax - 8]
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x2f]
push 1
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x37], 0
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 0x11
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x48]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x1d8]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x1d8]
lea eax, [esp + 0x20]
push edx
push 0x409028
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x100]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x403f5c
lea ecx, [esp + 0x20]
push 0x409020
lea edx, [esp + 0x40]
push ecx
push edx
call sub.MFC42.DLL_operator
mov ecx, dword [esi + 0xf8]
mov byte [esp + 0x2e0], 0x14
lea edx, [ecx + ebx*4]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call sub.MFC42.DLL_operator_1
push str..lnk
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x2ec], 0x15
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x44]
mov byte [esp + 0x2e0], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e0], 0x17
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x100]
inc ebx
cmp ebx, eax
jl 0x403ec6
lea eax, [esp + 0x48]
push eax
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x1d8]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x20]
push eax
push 0x409028
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x44]
push edi
push 0x409020
push edx
call sub.MFC42.DLL_operator_2
push 0x409020
push eax
lea eax, [esp + 0x44]
mov bl, 0x19
push eax
mov byte [esp + 0x2ec], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2e4], 0x1a
call fcn.00405cd8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x2e0], 0x11
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00403050
lea ebx, [esi + 0xd4]
push 0x2e
mov ecx, ebx
call sub.MFC42.DLL_CString::Find
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, ebx
call sub.MFC42.DLL_CString::Left
push str.Software_
lea ecx, [esp + 0x24]
mov byte [esp + 0x2e4], 0x1b
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x20]
push str.Topwisdom_
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0x1c
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_operator_1
push 0x409020
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0x2ec], 0x1d
call sub.MFC42.DLL_operator
push edi
lea edx, [esp + 0x40]
mov bl, 0x1e
push eax
push edx
mov byte [esp + 0x2ec], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2e4], 0x1f
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x2e0], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2e0], 0x1b
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, dword [esi + 0x11c]
test ebx, ebx
je 0x40412e
lea ecx, [esp + 0x20]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [esp + 0x14]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
cmp ebx, dword [esi + 0x11c]
jne 0x4040fa
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x2e0], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2e0], 0xf
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], 0xc
push ecx
mov ecx, esi
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 1
call fcn.00403050
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [edi]
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
push ecx
push str.path
push edi
mov ecx, eax
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
push 0x3f5
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x147
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x10]
push 0x4091d4
lea ecx, [esp + 0x5c]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 2
push 2
push 0
push 1
push 0x40000000
push edx
mov byte [esp + 0x2fc], 0x20
call edi
push eax
lea ecx, [esp + 0x9c]
call fcn.00405e28
lea eax, [esp + 0x54]
push 4
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2e8], 0x21
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x10]
push str.edition
lea edx, [esp + 0x54]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [esp + 0x50]
push 0
push 2
push 2
push 0
push 1
push 0x40000000
push eax
mov byte [esp + 0x2fc], 0x22
call edi
push eax
lea ecx, [esp + 0x8c]
call fcn.00405e28
mov ecx, dword [esi + 0xfa120]
lea edi, [esi + 0xfa120]
mov byte [esp + 0x2e0], 0x23
mov eax, dword [ecx - 8]
mov ecx, edi
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CFile::Write
push 0xffffffffffffffff
mov ecx, edi
call sub.MFC42.DLL_CString::ReleaseBuffer
lea edx, [esp + 0x2e]
push 1
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x36], 0
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004048c0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x10]
push ecx
push ecx
mov bl, 0x24
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x2ec], bl
call fcn.00405cde
push ecx
add esi, 0xf0
mov ecx, esp
mov dword [esp + 0x48], esp
push esi
mov byte [esp + 0x2f0], 0x25
call fcn.00405cde
mov ecx, ebp
mov byte [esp + 0x2ec], bl
call fcn.00405190
test eax, eax
je 0x4043bf
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x24]
mov esi, eax
call sub.MFC42.DLL_CString::CString
push str.YM_Setup
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 0x6c], eax
mov edi, dword [edi]
lea eax, [ebp + 0x64]
push 0x409020
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edi
push ecx
push edx
push eax
mov byte [esp + 0x2f0], 0x26
call dword [ebp + 0x6c]
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CString::CString
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0xec]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0xec]
lea edx, [esp + 0x34]
push ecx
push 0x409028
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
mov ecx, ebp
call fcn.00404560
mov ecx, ebp
call sub.MFC42.DLL_CDialog::OnOK
push 0
push 0
push str.complete_installing
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404463
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xac]
mov dword [esp + 0xa8], 0x44
rep stosd dword es:[edi], eax
lea edx, [esp + 0x6c]
lea eax, [esp + 0xa8]
mov ecx, dword [esp + 0x28]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x40446e
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2e0], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x2e0], 0x22
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e0], 0x20
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x58]
mov byte [esp + 0x2e0], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x2e0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2e0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x2e0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2e0], 0
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x28]
mov dword [esp + 0x2e0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2d4
ret 4