Function at 0x417651
Capabilities:
Move file
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a7eb5
push eax
mov eax, 0x4044
mov dword fs:[0], esp
call fcn.00459300
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 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_3
mov dword [esp + 0x405c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x20]
push 0x51e698
push eax
call sub.MFC42.DLL_CString::Format_1
lea ecx, [esp + 0x40]
push ecx
call fcn.00415260
add esp, 0x10
lea edx, [esp + 0x1c]
mov byte [esp + 0x405c], 1
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator_3
push str.background.bmp
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x4068], 2
call sub.MFC42.DLL_operator_4
mov edi, dword [eax]
lea edx, [esp + 0x30]
mov bl, 3
push edx
mov byte [esp + 0x4060], bl
call fcn.00415260
add esp, 4
push str.background.bmp
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x4064], 4
push eax
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x405c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x405c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x405c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x405c], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x970]
or edx, 8
lea ecx, [esp + 0x10]
mov dword [esi + 0x970], edx
call sub.MFC42.DLL_CString::CString_3
push 0xf229
lea ecx, [esp + 0x14]
mov byte [esp + 0x4060], 5
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x90c]
lea ebp, [esi + 0xaf8]
mov dword [esi + 0x980], ecx
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::AddPage
mov eax, dword [esi + 0xc0c]
lea edx, [esp + 0x54]
push eax
push 0x4000
push edx
push 0x51ec7c
mov ecx, esi
call fcn.00417b70
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.00417ac0
mov eax, dword [esi + 0xc0c]
push eax
push 0
push str.ShowFirstMacro
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xbe0]
xor ebx, ebx
mov dword [esp + 0x20], eax
test eax, eax
jbe 0x4178b9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41781a
cmp ebx, 1
jae 0x4178b9
cmp ebx, dword [esi + 0xbe0]
jge 0x417837
test ebx, ebx
jl 0x417837
mov eax, dword [esi + 0xbd8]
je 0x417839
mov ecx, ebx
mov eax, dword [eax]
dec ecx
jne 0x417830
jmp 0x417839
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 dword [esp + 0x2c], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0x405c], 6
je 0x417876
mov ecx, eax
call fcn.0040bb70
mov edi, eax
jmp 0x417878
xor edi, edi
push edi
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x4060], 5
call sub.MFC42.DLL_CObList::AddTail
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x28]
or al, 8
push edi
mov dword [edi + 0x64], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x90], ecx
mov ecx, ebp
mov dword [edi + 0x74], eax
call sub.MFC42.DLL_CPropertySheet::AddPage
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jb 0x417809
mov eax, dword [esi + 0x220]
lea ecx, [esp + 0x14]
or al, 8
mov dword [esi + 0x220], eax
call sub.MFC42.DLL_CString::CString_3
push 0xf227
lea ecx, [esp + 0x18]
mov byte [esp + 0x4060], 7
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x14]
lea edi, [esi + 0x1bc]
mov ecx, edi
mov dword [esi + 0x230], eax
call fcn.0040e560
mov ecx, edi
call fcn.0040e9e0
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::AddPage
mov ecx, dword [esi + 0x3c0]
or ecx, 8
mov dword [esi + 0x3c0], ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
push 0xf228
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4060], 8
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x35c]
mov dword [esi + 0x3d0], ecx
push edx
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.0040b1e0
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 eax, dword [esi + 0xb18]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x4179c1
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 0x4179d8
push edi
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::SetActivePage
dec edi
jns 0x4179cd
push 0x400
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x40]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
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 [0x52aca4]
test eax, eax
je 0x417a41
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::GetPageCount
add eax, 0xfffffffe
mov ecx, ebp
push eax
call sub.MFC42.DLL_CPropertySheet::RemovePage
mov eax, dword [0x52aca0]
test eax, eax
je 0x417a59
test ebx, ebx
jbe 0x417a59
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CPropertySheet::RemovePage
dec ebx
jne 0x417a4e
lea ecx, [esp + 0x18]
mov byte [esp + 0x405c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x405c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x405c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x405c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4054]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4050
ret