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

Disassembly:
jmp 0x432f30
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5afb48
push eax
mov eax, 0x4034
mov dword fs:[0], esp
call fcn.004c77f0
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 0x64f5ec
push eax
call sub.MFC42.DLL_CString::Format_1
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040254a
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_4
push str.mymacro.htm
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x4058], 2
call sub.MFC42.DLL_operator_3
mov edi, dword [eax]
lea edx, [esp + 0x24]
mov bl, 3
push edx
mov byte [esp + 0x4050], bl
call fcn.0040254a
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_3
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.0040254a
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_4
push str.mymacro.htm
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x4058], 6
call sub.MFC42.DLL_operator_3
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 0x433179
lea edi, [esi + 0x134]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [esp + 0x18]
push eax
call fcn.0040254a
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_4
push str.mymacro.htm
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x4054], 8
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
mov ecx, edi
mov byte [esp + 0x4060], 9
call fcn.00401a9b
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 0x43318d
push 0
push 0
push 0
push 0
push 0
push 0x401d11
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.0040254a
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_4
push str.background.bmp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x4058], 0xb
call sub.MFC42.DLL_operator_3
mov edi, dword [eax]
lea edx, [esp + 0x14]
mov bl, 0xc
push edx
mov byte [esp + 0x4050], bl
call fcn.0040254a
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_3
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 0x433284
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x433286
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.00502070
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
call fcn.004018fc
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.00502070
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 0x43334e
cmp edi, dword [esi + 0x11f0]
jge 0x433310
test edi, edi
jl 0x433310
mov eax, dword [esi + 0x11e8]
je 0x433312
mov ecx, edi
mov eax, dword [eax]
dec ecx
jne 0x433309
jmp 0x433312
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.00502070
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebx
jb 0x4332f3
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 0x6504a4
mov ecx, esi
call fcn.00401c85
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.004022b6
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 0x4334b6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x433415
cmp ebx, 1
jae 0x4334b6
cmp ebx, dword [esi + 0x11f0]
jge 0x433430
test ebx, ebx
jl 0x433430
mov eax, dword [esi + 0x11e8]
je 0x433432
mov eax, dword [eax]
dec ebx
jne 0x433429
jmp 0x433432
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 0x43346d
mov ecx, eax
call fcn.00402531
mov edi, eax
jmp 0x43346f
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 0x433404
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.0040279d
mov ecx, edi
call fcn.00401a91
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.004026da
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 0x433579
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 0x433590
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::SetActivePage
dec edi
jns 0x433585
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 [0x6627ac]
test eax, eax
je 0x4335f7
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 [0x6627a8]
test eax, eax
je 0x43360f
test ebx, ebx
jbe 0x43360f
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::RemovePage
dec ebx
jne 0x433604
mov eax, dword [0x6627b8]
test eax, eax
je 0x433626
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