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

Disassembly:
jmp 0x4454a0
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x543f1b
push eax
mov eax, 0x4034
mov dword fs:[0], esp
call fcn.00450700
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 + 0x1c]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x404c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x20]
push 0x5f076c
push eax
call sub.MFC42.DLL_CString::Format_1
lea ecx, [esp + 0x1c]
push ecx
call fcn.00402536
add esp, 0x10
lea edx, [esp + 0x1c]
mov byte [esp + 0x404c], 1
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_operator_1
push str.mymacro.htm
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x4058], 2
call sub.MFC42.DLL_operator_2
mov edi, dword [eax]
lea edx, [esp + 0x20]
mov bl, 3
push edx
mov byte [esp + 0x4050], bl
call fcn.00402536
add esp, 4
push str.mymacro.htm
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x4054], 4
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileA]
push edi
push eax
call ebp
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
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.00402536
add esp, 4
lea edx, [esp + 0x1c]
mov ebx, 5
push edx
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x4054], bl
push eax
call sub.MFC42.DLL_operator_1
push str.mymacro.htm
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x4058], 6
call sub.MFC42.DLL_operator_2
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 0x4456e9
lea edi, [esi + 0x134]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [esp + 0x18]
push eax
call fcn.00402536
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov bl, 7
push eax
push edx
mov byte [esp + 0x4058], bl
call sub.MFC42.DLL_operator_1
push str.mymacro.htm
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x4054], 8
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
mov ecx, edi
mov byte [esp + 0x4060], 9
call fcn.00401b9f
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 0x4456fd
push 0
push 0
push 0
push 0
push 0
push 0x401e29
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 + 0x28]
push ecx
call fcn.00402536
add esp, 4
lea edx, [esp + 0x1c]
mov byte [esp + 0x404c], 0xa
push edx
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_operator_1
push str.background.bmp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x4058], 0xb
call sub.MFC42.DLL_operator_2
mov edi, dword [eax]
lea edx, [esp + 0x14]
mov bl, 0xc
push edx
mov byte [esp + 0x4050], bl
call fcn.00402536
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_2
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 + 0x20]
mov byte [esp + 0x404c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x404c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x404c], 0xe
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4457f4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4457f6
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x14]
push eax
call fcn.004cec40
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
call fcn.004018cf
mov edx, dword [eax + 0x8c]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
push eax
call fcn.004cec40
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esi + 0x30790]
xor edi, edi
test ebx, ebx
jbe 0x4458be
cmp edi, dword [esi + 0x30790]
jge 0x445880
test edi, edi
jl 0x445880
mov eax, dword [esi + 0x30788]
je 0x445882
mov ecx, edi
mov eax, dword [eax]
dec ecx
jne 0x445879
jmp 0x445882
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_3
lea eax, [esp + 0x14]
push eax
call fcn.004cec40
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebx
jb 0x445863
mov edx, dword [esi + 0x303d4]
lea ecx, [esp + 0x2c]
or edx, 8
mov dword [esi + 0x303d4], edx
call sub.MFC42.DLL_CString::CString_4
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 + 0x30370]
lea ebp, [esi + 0x306a8]
mov dword [esi + 0x303e4], ecx
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::AddPage
mov eax, dword [esi + 0x307bc]
lea edx, [esp + 0x44]
push eax
push 0x4000
push edx
push 0x5f0ec8
mov ecx, esi
call fcn.00401dac
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.004022ed
mov eax, dword [esi + 0x307bc]
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 + 0x30790]
xor ebx, ebx
mov dword [esp + 0x18], eax
test eax, eax
jbe 0x4459de
lea edi, [esi + 0x204]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44597f
cmp ebx, 1
jae 0x4459de
cmp ebx, 0x64
jae 0x4459de
cmp ebx, dword [esi + 0x30790]
jge 0x4459a1
test ebx, ebx
jl 0x4459a1
mov eax, dword [esi + 0x30788]
je 0x4459a3
mov ecx, ebx
mov eax, dword [eax]
dec ecx
jne 0x44599a
jmp 0x4459a3
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]
mov edx, dword [edi]
or edx, 8
mov dword [edi], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x2c], eax
lea eax, [edi - 0x64]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CPropertySheet::AddPage
mov eax, dword [esp + 0x18]
inc ebx
add edi, 0x7a0
cmp ebx, eax
jb 0x445972
mov edx, dword [esi + 0x2fc84]
lea ecx, [esp + 0x30]
or edx, 8
mov dword [esi + 0x2fc84], edx
call sub.MFC42.DLL_CString::CString_4
push 0xf227
lea ecx, [esp + 0x34]
mov byte [esp + 0x4050], 0x10
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x30]
lea edi, [esi + 0x2fc20]
mov dword [esi + 0x2fc94], ecx
mov ecx, edi
call fcn.0040183e
mov ecx, edi
call fcn.00401b90
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.004016d6
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 edx, dword [esi + 0x306c8]
push 0
push 0
push 0x474
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x445aa1
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 0x445ab8
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::SetActivePage
dec edi
jns 0x445aad
push 0x400
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub ecx, eax
push 4
push ecx
add eax, 0xfffffff9
push 0x400
add edx, 0xfffffff9
push eax
push edx
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [0x617e68]
test eax, eax
je 0x445b1f
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 [0x617e64]
test eax, eax
je 0x445b37
test ebx, ebx
jbe 0x445b37
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::RemovePage
dec ebx
jne 0x445b2c
mov eax, dword [0x617e74]
test eax, eax
je 0x445b4e
add esi, 0x305d0
mov ecx, ebp
push esi
call sub.MFC42.DLL_CPropertySheet::AddPage
lea ecx, [esp + 0x30]
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 + 0x24]
mov byte [esp + 0x404c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
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