Function at 0x41d141
Capabilities:
Check if file exists
Get file attributes
Get number of processors
Move file
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4aabe8
push eax
mov eax, 0x4034
mov dword fs:[0], esp
call fcn.0045f410
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x45]
mov byte [esp + 0x44], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x20]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x404c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x24]
push 0x5208ac
push eax
call sub.MFC42.DLL_CString::Format_1
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041acf0
add esp, 0x10
lea edx, [esp + 0x20]
mov byte [esp + 0x404c], 1
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_operator_3
push str.mymacro.htm
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x4058], 2
call sub.MFC42.DLL_operator_4
mov edi, dword [eax]
lea edx, [esp + 0x24]
mov bl, 3
push edx
mov byte [esp + 0x4050], bl
call fcn.0041acf0
add esp, 4
push str.mymacro.htm
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x4054], 4
push eax
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileA]
push edi
push eax
call ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x404c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x404c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x404c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x404c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push ecx
call fcn.0041acf0
add esp, 4
lea edx, [esp + 0x20]
mov ebx, 5
push edx
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x4054], bl
push eax
call sub.MFC42.DLL_operator_3
push str.mymacro.htm
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x4058], 6
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edx, edx
cmp eax, 0xffffffff
setne dl
lea ecx, [esp + 0x10]
mov edi, edx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x404c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x404c], 0
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x41d369
lea edi, [esi + 0x134]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [esp + 0x18]
push eax
call fcn.0041acf0
add esp, 4
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
mov bl, 7
push eax
push edx
mov byte [esp + 0x4058], bl
call sub.MFC42.DLL_operator_3
push str.mymacro.htm
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x4054], 8
push eax
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
mov ecx, edi
mov byte [esp + 0x4060], 9
call fcn.00424e50
lea ecx, [esp + 0x10]
mov byte [esp + 0x404c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x404c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x404c], 0
call sub.MFC42.DLL_CString::CString
jmp 0x41d37d
push 0
push 0
push 0
push 0
push 0
push 0x41cf30
call sub.MFC42.DLL_AfxBeginThread
lea edi, [esi + 0x64]
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041acf0
add esp, 4
lea edx, [esp + 0x20]
mov byte [esp + 0x404c], 0xa
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator_3
push str.background.bmp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x4058], 0xb
call sub.MFC42.DLL_operator_4
mov edi, dword [eax]
lea edx, [esp + 0x14]
mov bl, 0xc
push edx
mov byte [esp + 0x4050], bl
call fcn.0041acf0
add esp, 4
push str.background.bmp
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x4054], 0xd
push eax
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push edi
push eax
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x404c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x404c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x404c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x404c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x404c], 0xe
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x41d474
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x41d476
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x14]
push eax
call fcn.004840a0
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
call fcn.0041d880
mov edx, dword [eax + 0x8c]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x14]
push eax
call fcn.004840a0
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esi + 0x11f0]
xor edi, edi
test ebx, ebx
jbe 0x41d53e
cmp edi, dword [esi + 0x11f0]
jge 0x41d500
test edi, edi
jl 0x41d500
mov eax, dword [esi + 0x11e8]
je 0x41d502
mov ecx, edi
mov eax, dword [eax]
dec ecx
jne 0x41d4f9
jmp 0x41d502
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x20]
push ecx
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x14]
push eax
call fcn.004840a0
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebx
jb 0x41d4e3
mov edx, dword [esi + 0x970]
lea ecx, [esp + 0x2c]
or edx, 8
mov dword [esi + 0x970], edx
call sub.MFC42.DLL_CString::CString_3
push 0xf229
lea ecx, [esp + 0x30]
mov byte [esp + 0x4050], 0xf
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x2c]
lea edi, [esi + 0x90c]
lea ebp, [esi + 0x1108]
mov dword [esi + 0x980], ecx
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::AddPage
mov eax, dword [esi + 0x121c]
lea edx, [esp + 0x44]
push eax
push 0x4000
push edx
push 0x520fec
mov ecx, esi
call fcn.0041d940
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.0041d890
mov eax, dword [esi + 0x121c]
push eax
push 0
push str.ShowFirstMacro
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x11f0]
xor ebx, ebx
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x1c], ebx
jbe 0x41d6a6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d605
cmp ebx, 1
jae 0x41d6a6
cmp ebx, dword [esi + 0x11f0]
jge 0x41d620
test ebx, ebx
jl 0x41d620
mov eax, dword [esi + 0x11e8]
je 0x41d622
mov eax, dword [eax]
dec ebx
jne 0x41d619
jmp 0x41d622
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x20]
push 0x758
mov ebx, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x404c], 0x10
je 0x41d65d
mov ecx, eax
call fcn.0040ae90
mov edi, eax
jmp 0x41d65f
xor edi, edi
push edi
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x4050], 0xf
call sub.MFC42.DLL_CObList::AddTail
mov eax, dword [edi + 0x64]
push edi
or al, 8
mov ecx, ebp
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x74], eax
mov dword [edi + 0x90], ebx
call sub.MFC42.DLL_CPropertySheet::AddPage
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov ebx, eax
jb 0x41d5f4
mov edx, dword [esi + 0x220]
lea ecx, [esp + 0x28]
or edx, 8
mov dword [esi + 0x220], edx
call sub.MFC42.DLL_CString::CString_3
push 0xf227
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4050], 0x11
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x28]
lea edi, [esi + 0x1bc]
mov ecx, edi
mov dword [esi + 0x230], eax
call fcn.0040d870
mov ecx, edi
call fcn.0040dcf0
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::AddPage
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, ebp
call fcn.0040a660
push 0
push 0x50000000
push esi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::Create
push 0
push 0x10000
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ModifyStyleEx
push 0
push 0x10000
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ModifyStyle
mov ecx, dword [esi + 0x1128]
push 0
push 0
push 0x474
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x41d769
push 0
push 0
push 0x200
mov ecx, eax
call sub.MFC42.DLL_CWnd::ModifyStyle
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::GetPageCount
mov edi, eax
dec edi
js 0x41d780
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::SetActivePage
dec edi
jns 0x41d775
push 0x400
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
sub edx, eax
push 4
push edx
add eax, 0xfffffff9
push 0x400
push eax
mov eax, dword [esp + 0x44]
mov ecx, ebp
add eax, 0xfffffff9
push eax
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [0x52c664]
test eax, eax
je 0x41d7e7
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::GetPageCount
dec eax
mov ecx, ebp
push eax
call sub.MFC42.DLL_CPropertySheet::RemovePage
mov eax, dword [0x52c660]
test eax, eax
je 0x41d7ff
test ebx, ebx
jbe 0x41d7ff
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::RemovePage
dec ebx
jne 0x41d7f4
mov eax, dword [0x52c670]
test eax, eax
je 0x41d816
add esi, 0x1030
mov ecx, ebp
push esi
call sub.MFC42.DLL_CPropertySheet::AddPage
lea ecx, [esp + 0x28]
mov byte [esp + 0x404c], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x404c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x404c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x404c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4044]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4040
ret