Function at 0x418ac0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4279c8
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x1e8]
test eax, eax
je 0x418aeb
mov eax, dword [eax + 0x20]
push eax
call dword [0x42867c]
mov ebx, dword [0x4285e0]
test eax, eax
je 0x418d58
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
call ebx
push 0x3ed
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov edi, dword [0x428670]
lea edx, [esp + 0x34]
push edx
push eax
call edi
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x34]
add ebp, 6
push ecx
mov ecx, esi
mov dword [esp + 0x3c], ebp
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x208]
sub eax, 4
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
add edx, 0xfffffff6
push eax
push ecx
mov dword [esp + 0x38], edx
call edi
lea edx, [esp + 0x34]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov ecx, dword [esi + 0x208]
mov eax, dword [esp + 0x38]
push 0
push 0
push 0x1004
push ecx
mov dword [esp + 0x38], eax
call dword [0x4285f4]
test eax, eax
je 0x418c49
mov edi, dword [esp + 0x30]
push 1
sub edi, 0x1a
lea ecx, [esi + 0x234]
mov dword [esp + 0x34], edi
call sub.MFC42u.DLL_CWnd::EnableWindow
lea edi, [esi + 0x45c]
mov eax, dword [edi + 0x40]
lea ebp, [edi + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x418bcf
push eax
mov ecx, edi
call sub.MFC42u.DLL_CWnd::SetWindowTextW
mov ecx, ebp
call sub.MFC42u.DLL_CString::Empty
push 1
mov ecx, edi
call sub.MFC42u.DLL_CWnd::EnableWindow
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x44]
push edx
push eax
call ebx
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x44]
push 1
push ecx
push edx
call dword [0x428660]
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
lea eax, [esp + 0x10]
mov dword [esp + 0x5c], 2
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Title
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x74]
call fcn.00402450
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x164]
call sub.MFC42u.DLL_CWnd::SetWindowTextW
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x418d0c
push 0
lea ecx, [esi + 0x234]
call sub.MFC42u.DLL_CWnd::EnableWindow
lea edi, [esi + 0x45c]
mov edx, dword [edi + 0x40]
lea ebp, [edi + 0x40]
mov eax, dword [edx - 8]
test eax, eax
jne 0x418c71
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CWnd::GetWindowTextW
push str.__._
mov ecx, ebp
call sub.MFC42u.DLL_CString::Find
test eax, eax
jl 0x418ce7
add eax, 4
mov ecx, ebp
push eax
lea eax, [esp + 0x14]
push eax
call sub.MFC42u.DLL_CString::Mid
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push str._._colorrgb_128_128_128____._
push edx
mov dword [esp + 0x68], 3
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 4
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 3
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
call sub.MFC42u.DLL_CWnd::SetWindowTextW
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
push 0
mov ecx, edi
call sub.MFC42u.DLL_CWnd::EnableWindow
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
call ebx
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x44]
push 1
push eax
push ecx
call dword [0x428660]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub edx, ebp
push 2
sub eax, ecx
push edx
push eax
push 0
push 0
push 0
lea ecx, [esi + 0x1e8]
call sub.MFC42u.DLL_CWnd::SetWindowPos
lea edi, [esi + 0xf0]
test edi, edi
jne 0x418d43
xor eax, eax
jmp 0x418d46
mov eax, dword [edi + 0x20]
push eax
call dword [0x42867c]
test eax, eax
je 0x418d58
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x60]
lea eax, [esi + 0x1e8]
test eax, eax
je 0x418d65
mov eax, dword [eax + 0x20]
push eax
call dword [0x42867c]
test eax, eax
je 0x418ec8
lea ebp, [esi + 0x344]
test ebp, ebp
jne 0x418d82
xor eax, eax
jmp 0x418d85
mov eax, dword [ebp + 0x20]
push eax
call dword [0x42867c]
test eax, eax
je 0x418ec8
mov ecx, dword [esi + 0x208]
lea eax, [esp + 0x24]
push eax
push ecx
call ebx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, edx
mov ebx, 1
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, edx
push ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, 0x16
sub eax, 0x96
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea edi, [ecx + 0x2c]
lea edx, [eax + 0x12c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edx
sub edi, ecx
sub edx, eax
push edi
push edx
push ecx
push eax
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::MoveWindow
mov edx, dword [esi + 0x208]
push 0
push 0
push 0x1004
push edx
call dword [0x4285f4]
test eax, eax
push 0
je 0x418eb8
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::ShowWindow
push ebx
mov ecx, esi
call fcn.00418f10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push str.firstuse
mov ebp, 4
push str.SoftwareFileSmasher
push 0x80000001
mov edi, ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], 0
call dword [0x4285d4]
test eax, eax
jne 0x418e6e
cmp dword [esp + 0x14], ebx
jne 0x418e6e
xor edi, edi
lea eax, [esp + 0x14]
push ebp
push eax
push ebp
push str.firstuse
push str.SoftwareFileSmasher
push 0x80000001
mov dword [esp + 0x2c], ebx
call dword [0x4285c0]
test edi, edi
je 0x418ec8
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x2b66
push ecx
call dword [0x4285e4]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, esi
call fcn.00418f10
push 5
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret