Function at 0x4183f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x435580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
mov ebp, ecx
push esi
push str.SOFTWAREOZ_DevelopmentApplications
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 0x3790]
mov byte [esp + 0x24], 1
test eax, eax
je 0x418445
push eax
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
push 0x44228c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
mov edx, dword [eax + 0x8c]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x44228c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.004328ca
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 6
push 0
push 0
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x418574
mov ecx, dword [ebp + 0x3740]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 8]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push 0x443290
push eax
mov dword [esp + 0x20], ecx
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x3744]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x44328c
push eax
mov dword [esp + 0x20], ecx
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x3748]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.width
push eax
mov dword [esp + 0x20], ecx
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x374c]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.height
push eax
mov dword [esp + 0x20], ecx
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x3750]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.zoomed
push eax
mov dword [esp + 0x20], ecx
call esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x37a0]
test esi, esi
je 0x418594
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x418590
mov edx, dword [ecx]
push 1
call dword [edx + 4]
test esi, esi
jne 0x41857e
mov esi, dword [ebp + 0x37bc]
test esi, esi
je 0x4185b4
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4185b0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
jne 0x41859e
mov esi, dword [ebp + 0x37d8]
test esi, esi
je 0x4185d4
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4185d0
mov edx, dword [ecx]
push 1
call dword [edx + 4]
test esi, esi
jne 0x4185be
mov esi, dword [ebp + 0x37f4]
test esi, esi
je 0x4185f4
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4185f0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
jne 0x4185de
mov esi, dword [ebp + 0x3810]
test esi, esi
je 0x418614
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x418610
mov edx, dword [ecx]
push 1
call dword [edx + 4]
test esi, esi
jne 0x4185fe
mov esi, dword [ebp + 0x382c]
test esi, esi
je 0x418634
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x418630
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
jne 0x41861e
mov esi, dword [ebp + 0x3848]
test esi, esi
je 0x418654
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x418650
mov edx, dword [ecx]
push 1
call dword [edx + 4]
test esi, esi
jne 0x41863e
mov esi, dword [ebp + 0x3864]
test esi, esi
je 0x418674
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x418670
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
jne 0x41865e
mov esi, dword [ebp + 0x3880]
test esi, esi
je 0x418694
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x418690
mov edx, dword [ecx]
push 1
call dword [edx + 4]
test esi, esi
jne 0x41867e
mov esi, dword [ebp + 0x389c]
test esi, esi
je 0x4186b4
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4186b0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
jne 0x41869e
lea ecx, [ebp + 0x3758]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [ebp + 0x3764]
test esi, esi
je 0x4186ea
push edi
mov eax, esi
mov esi, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
test edi, edi
je 0x4186e5
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
test esi, esi
jne 0x4186ca
pop edi
push 0
mov ecx, ebp
call sub.MFC42.DLL_CDialog::EndDialog
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret