Function at 0x4031a0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1820
call sym.__chkstk
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 0x110
jle 0x40328e
lea edx, [eax - 0x111]
cmp edx, 0xe
ja case.default.0x4031d6
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
jmp dword [edx*4 + 0x40d2d4]
mov dword [ebp - 0x14], 0
movzx eax, di
lea esi, [eax - 0x80e8]
cmp esi, 0x63
ja 0x403564
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push 0x40d4d0
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne case.0x403579.32825
mov dword [ebp - 0x2c], 0x400
mov dword [ebp - 0x28], 0x1000
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x182c]
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x2c]
lea ebx, [ebp - 0x82c]
push eax
push edi
push ecx
push 0
push edx
push ebx
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.advapi32.dll_RegEnumValueW]
test eax, eax
jne 0x403280
mov eax, dword [0x410488]
push edi
push dword [eax + 4]
call sym._FindPathInTree
add esp, 8
mov ecx, dword [0x410488]
push eax
push 9
push 0x110b
push dword [ecx + 4]
call dword [sym.imp.user32.dll_SendMessageW]
push dword [ebp - 0x1c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp case.0x403579.32825
dec eax
cmp eax, 5
ja case.0x403298.3
jmp dword [eax*4 + 0x40d2bc]
push 0
push dword [0x411168]
push 0
push ecx
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x50000000
push str.regedit_child_window
push 0x40d958
push 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov esi, dword [sym.imp.user32.dll_LoadStringW]
push 0x20
push 0x410498
push 0x8152
push dword [0x411168]
call esi
push 0x20
push 0x4104d8
push 0x8153
push dword [0x411168]
call esi
push 0x20
push 0x410518
push 0x8154
push dword [0x411168]
call esi
push 0x40
push 0x410558
push 0x8155
push dword [0x411168]
jmp 0x40355d
cmp eax, 0x211
je 0x40351a
cmp eax, 0x212
jne case.0x403298.3
lea eax, [ebp - 0x182c]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x1824]
mov dword [ebp - 0x82c], eax
mov edi, dword [sym.imp.user32.dll_SendMessageW]
push 0
push 0
push 5
push dword [0x411170]
call edi
lea eax, [ebp - 0x82c]
push eax
push 1
push 0x404
push dword [0x411170]
call edi
mov eax, dword [0x410488]
push 1
push 0
push dword [eax + 4]
call sym._GetItemFullPath
add esp, 0xc
mov esi, eax
push eax
push 0
push 0x40b
push dword [0x411170]
call edi
mov ebx, dword [sym.imp.ucrtbase.dll_free]
push esi
call ebx
add esp, 4
mov eax, dword [0x410488]
push 1
push 0
push dword [eax + 4]
call sym._GetItemFullPath
add esp, 0xc
mov esi, eax
push eax
push 0
push 0x40b
push dword [0x411170]
call edi
push esi
call ebx
jmp 0x403e9d
cmp ebx, 0xffff
ja case.0x403579.32825
push 1
push dword [0x411174]
call dword [sym.imp.user32.dll_GetSubMenu]
cmp eax, edi
je 0x4036ed
push 3
push dword [0x411174]
call dword [sym.imp.user32.dll_GetSubMenu]
cmp eax, edi
jne 0x40378a
push edi
call dword [sym.imp.user32.dll_GetMenuItemCount]
cmp eax, 3
jl 0x40344a
mov esi, dword [sym.imp.user32.dll_DeleteMenu]
mov ebx, dword [sym.imp.user32.dll_GetMenuItemCount]
push 0x400
push 2
push edi
call esi
push edi
call ebx
cmp eax, 2
jg 0x403438
mov ecx, edi
xor edx, edx
call sym._add_favourite_key_items
jmp 0x40378a
movzx esi, di
mov word [ebp - 0x182c], 0
test edi, 0x100000
je 0x403485
push ecx
call dword [sym.imp.user32.dll_GetMenu]
cmp eax, ebx
je 0x403485
mov eax, 5
cmp esi, 2
je 0x403483
mov eax, esi
mov esi, eax
lea edi, [ebp - 0x182c]
push 0x64
push edi
push esi
push dword [0x411168]
call dword [sym.imp.user32.dll_LoadStringW]
test eax, eax
je 0x4034b4
push 0xa
push edi
call dword [sym.imp.ucrtbase.dll_wcschr]
add esp, 8
test eax, eax
je 0x4034b4
mov word [eax], 0
push edi
push 0
push 0x40b
push dword [0x411170]
call dword [sym.imp.user32.dll_SendMessageW]
jmp case.0x403579.32825
push 0
push 2
push 0x40d582
push ecx
call dword [sym.imp.user32.dll_WinHelpW]
push 0
call dword [sym.imp.user32.dll_PostQuitMessage]
add esp, 0x1820
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.user32.dll_DefWindowProcW]
call sym._resize_frame_client
jmp case.0x403579.32825
test cx, cx
je case.0x403579.32825
mov eax, dword [0x410488]
push dword [eax]
call dword [sym.imp.user32.dll_SetFocus]
jmp case.0x403579.32825
mov word [ebp - 0x82c], 0
mov dword [ebp - 0x182c], 0xffffffff
lea eax, [ebp - 0x182c]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
push eax
push 1
push 0x404
push dword [0x411170]
call esi
lea eax, [ebp - 0x82c]
push eax
push 0
push 0x40b
push dword [0x411170]
call esi
jmp case.0x403579.32825
mov dword [ebp - 0x10], ecx
movzx ecx, di
lea edx, [ecx - 0x8002]
cmp edx, 0x64
ja case.default.0x403579
jmp dword [edx*4 + 0x40d310]
cmp eax, 0x800e
jne 0x4035a7
push 0
push sym._find_dlgproc_16
push dword [ebp - 0x10]
push 0x87
push 0
call dword [sym.imp.user32.dll_DialogBoxParamW]
cmp eax, 1
jne case.0x403579.32825
cmp word [0x4105d8], 0
je case.0x403579.32825
mov eax, dword [0x410488]
push 0
push 9
push 0x110a
push dword [eax + 4]
call dword [sym.imp.user32.dll_SendMessageW]
test eax, eax
je case.0x403579.32825
mov edi, eax
mov eax, dword [0x410488]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [eax + 8]
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x82c], eax
push 0x7f02
push 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov esi, dword [sym.imp.user32.dll_SetCursor]
push eax
call esi
mov ebx, eax
mov eax, dword [0x410488]
lea ecx, [ebp - 0x82c]
push ecx
push dword [0x410010]
push 0x4105d8
push edi
push dword [eax + 4]
call sym._FindNext
add esp, 0x14
mov edi, eax
push ebx
call esi
test edi, edi
je 0x403f1d
mov eax, dword [0x410488]
push edi
push 9
push 0x110b
push dword [eax + 4]
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [0x410488]
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [0x410488]
push dword [eax + 4]
call dword [sym.imp.user32.dll_UpdateWindow]
cmp dword [ebp - 0x82c], 0xffffffff
je 0x4040b0
mov dword [ebp - 0x1820], 0
mov dword [ebp - 0x181c], 3
mov eax, dword [0x410488]
lea edi, [ebp - 0x182c]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
push edi
push 0xffffffffffffffff
push 0x102b
push dword [eax + 8]
call esi
mov dword [ebp - 0x1820], 3
mov dword [ebp - 0x181c], 3
mov eax, dword [0x410488]
push edi
push dword [ebp - 0x82c]
push 0x102b
push dword [eax + 8]
call esi
mov eax, dword [0x410488]
push dword [eax + 8]
call dword [sym.imp.user32.dll_SetFocus]
jmp case.0x403579.32825
mov eax, dword [0x410488]
mov esi, dword [eax + 0xc]
push edi
call dword [sym.imp.user32.dll_GetMenuItemCount]
test esi, esi
je 0x403767
cmp eax, 9
jg 0x40378a
mov esi, dword [sym.imp.user32.dll_InsertMenuW]
push 0
push 0
push 0xc00
push 0
push edi
call esi
push 0x410558
push 0x8066
push 0x400
push 0
push edi
call esi
push 0x410518
push 0x8010
push 0x400
push 0
push edi
call esi
jmp 0x40378a
add ecx, 0xffff7eb4
cmp ecx, 0xa
ja case.0x403756.33103
jmp dword [ecx*4 + 0x40d4a4]
mov esi, 7
jmp 0x403e53
cmp eax, 0xa
jl 0x40378a
mov esi, dword [sym.imp.user32.dll_DeleteMenu]
mov ebx, dword [sym.imp.user32.dll_GetMenuItemCount]
push 0x400
push 0
push edi
call esi
push edi
call ebx
cmp eax, 9
jg 0x403778
mov eax, dword [0x410488]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x14], 0
push 0
push 9
push 0x110a
push ebx
call dword [sym.imp.user32.dll_SendMessageW]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
call sym._GetItemPath
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [0x410488]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 8]
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x828], esi
mov dword [ebp - 0x82c], 0x58
mov dword [ebp - 0x820], 0x20
lea eax, [ebp - 0x82c]
push eax
push 0
push 0x113e
push ebx
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x182c], 0x30
mov dword [ebp - 0x1828], 0x141
mov dword [ebp - 0x1824], 0
mov dword [ebp - 0x1820], 0
mov dword [ebp - 0x1808], 0x410498
cmp dword [ebp - 0x80c], 0
je 0x403855
test byte [ebp - 0x824], 0x20
je 0x40385f
mov dword [ebp - 0x1808], 0x4104d8
jmp 0x40385f
mov dword [ebp - 0x1820], 3
lea eax, [ebp - 0x182c]
push eax
push 0
push 0x8151
push edi
call dword [sym.imp.user32.dll_SetMenuItemInfoW]
xor ebx, ebx
cmp dword [ebp - 0x18], 0xffffffff
sete bl
mov esi, dword [sym.imp.user32.dll_EnableMenuItem]
push ebx
push 0x8010
push edi
call esi
push ebx
push 0x8066
push edi
call esi
mov eax, dword [0x410488]
cmp dword [eax + 0xc], 0
je 0x4038b1
xor ecx, ecx
cmp dword [ebp - 0x18], 0
setle al
jle 0x4038ad
xor ebx, ebx
mov cl, al
jmp 0x4038d1
cmp dword [ebp - 0x10], 0
je 0x4038c7
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
mov ecx, 0
jne 0x4038d1
mov ebx, 1
mov ecx, 1
push ebx
push 0x800a
push edi
mov ebx, ecx
call esi
push ebx
push 0x800b
push edi
call esi
xor ebx, ebx
cmp dword [ebp - 0x10], 0
sete bl
push ebx
push 0x8011
push edi
call esi
push ebx
push 0x8012
push edi
call esi
push ebx
push 0x8013
push edi
call esi
push ebx
push 0x8014
push edi
call esi
push ebx
push 0x8156
push edi
call esi
push ebx
push 0x814c
push edi
call esi
push ebx
push 0x814e
push edi
call esi
push ebx
push 0x800d
push edi
call esi
xor eax, eax
cmp dword [ebp - 0x14], 0
sete al
push eax
push 0x8004
push edi
call esi
push edi
call dword [sym.imp.user32.dll_GetMenuItemCount]
xor ecx, ecx
cmp eax, 3
setl cl
push ecx
push 0x8005
push edi
call esi
push dword [ebp - 0x10]
jmp 0x403e97
mov eax, dword [0x410488]
push dword [eax + 8]
call sym._GetValueName
add esp, 4
mov edi, eax
mov eax, dword [0x410488]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [eax + 4]
call sym._GetItemPath
add esp, 0xc
mov ebx, eax
push edi
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sym._ModifyValue
add esp, 0x10
mov esi, dword [sym.imp.ucrtbase.dll_free]
push ebx
call esi
add esp, 4
push edi
call esi
jmp 0x403e9d
lea edi, [ebp - 0x82c]
mov ecx, dword [ebp - 0x10]
mov edx, edi
call sym._InitOpenFileName
lea esi, [ebp - 0x182c]
push 0x80
push esi
push 0x91
push dword [0x411168]
call dword [sym.imp.user32.dll_LoadStringW]
mov dword [ebp - 0x7fc], esi
mov dword [ebp - 0x7f0], 0x40d5d8
mov dword [ebp - 0x7f8], 0x80066
mov dword [ebp - 0x7e8], sym._ExportRegistryFile_OFNHookProc_16
mov dword [ebp - 0x7e4], 0x83
push edi
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
je 0x403ec1
push dword [ebp - 0x814]
push dword [ebp - 0x7ec]
push dword [ebp - 0x810]
call sym._export_registry_key
add esp, 0xc
test eax, eax
jne case.0x403579.32825
test byte [0x410014], 1
je case.0x403579.32825
sub esp, 0x10
mov dword [esp + 0xc], str.Registry_export_failed._n
mov dword [esp + 8], str.ExportRegistryFile
mov dword [esp], 0
call sym._wine_dbg_log_1
add esp, 0x10
jmp case.0x403579.32825
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_DestroyWindow]
jmp case.0x403579.32825
mov eax, dword [0x410488]
push 0
push 0
push dword [eax + 4]
call sym._GetItemFullPath
add esp, 0xc
test eax, eax
je case.0x403579.32825
mov edi, eax
push 0
push sym._addtofavorites_dlgproc_16
push dword [ebp - 0x10]
push 0x85
push 0
call dword [sym.imp.user32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x403e96
lea eax, [ebp - 0x182c]
push 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x40d4d0
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
test eax, eax
jne 0x403e96
xor eax, eax
cmp word [edi + eax], 0
lea eax, [eax + 2]
jne 0x403af2
push eax
push edi
push 1
push 0
push 0x4106d8
push dword [ebp - 0x182c]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
push dword [ebp - 0x182c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403e96
push 0
push sym._removefavorite_dlgproc_16
push dword [ebp - 0x10]
push 0x86
push 0
call dword [sym.imp.user32.dll_DialogBoxParamW]
cmp eax, 1
jne case.0x403579.32825
lea eax, [ebp - 0x182c]
push eax
push 0x2001f
push 0
push 0x40d4d0
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne case.0x403579.32825
push 0x4106d8
push dword [ebp - 0x182c]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
push dword [ebp - 0x182c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp case.0x403579.32825
mov edx, dword [0x411170]
mov ecx, dword [ebp - 0x10]
call sym._toggle_child
jmp case.0x403579.32825
mov eax, dword [0x410488]
lea ecx, [ebp - 0x182c]
push ecx
push dword [eax]
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [0x410488]
mov edi, dword [eax + 0x10]
add edi, dword [ebp - 0x182c]
mov ecx, dword [ebp - 0x1820]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
sar esi, 1
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x828], esi
lea ecx, [ebp - 0x82c]
push ecx
push dword [eax]
call dword [sym.imp.user32.dll_ClientToScreen]
test eax, eax
je case.0x403579.32825
push dword [ebp - 0x828]
push dword [ebp - 0x82c]
call dword [sym.imp.user32.dll_SetCursorPos]
push 0x7f84
push 0
call dword [sym.imp.user32.dll_LoadCursorW]
push eax
call dword [sym.imp.user32.dll_SetCursor]
movzx eax, di
shl esi, 0x10
or esi, eax
mov eax, dword [0x410488]
push esi
push 0
push 0x201
push dword [eax]
call dword [sym.imp.user32.dll_SendMessageW]
jmp case.0x403579.32825
mov eax, dword [0x410488]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [eax + 4]
call sym._GetItemPath
add esp, 0xc
mov esi, eax
mov eax, dword [0x410488]
push dword [eax + 4]
call sym._RefreshTreeView
add esp, 4
mov eax, dword [0x410488]
push 0
push esi
push dword [ebp - 0x14]
push dword [eax + 8]
call sym._RefreshListView
add esp, 0x10
push esi
jmp 0x403e97
call dword [sym.imp.user32.dll_GetFocus]
mov edi, eax
mov ecx, dword [0x410488]
mov eax, dword [ecx + 4]
cmp edi, eax
je 0x403ec9
cmp edi, dword [ecx + 8]
je 0x403f3b
push edi
push eax
call dword [sym.imp.user32.dll_IsChild]
test eax, eax
jne 0x403cc4
mov eax, dword [0x410488]
push edi
push dword [eax + 8]
call dword [sym.imp.user32.dll_IsChild]
test eax, eax
je case.0x403579.32825
push 0
push 0x2e
push 0x100
push edi
call dword [sym.imp.user32.dll_SendMessageW]
jmp case.0x403579.32825
mov eax, dword [0x410488]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [eax + 4]
call sym._GetItemPath
add esp, 0xc
test eax, eax
je 0x403f13
mov esi, eax
cmp word [eax], 0
je 0x403d14
call dword [sym.imp.user32.dll_GetFocus]
mov ecx, dword [0x410488]
cmp eax, dword [ecx + 4]
je 0x4040c3
call dword [sym.imp.user32.dll_GetFocus]
mov ecx, dword [0x410488]
cmp eax, dword [ecx + 8]
je 0x4040a8
push esi
jmp 0x403e97
mov eax, dword [0x410488]
push 0
push 0
push dword [eax + 4]
call sym._GetItemFullPath
add esp, 0xc
test eax, eax
je case.0x403579.32825
mov edi, eax
mov ecx, dword [ebp - 0x10]
mov edx, eax
call sym._CopyKeyName
jmp 0x403e96
mov eax, dword [0x410488]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [eax + 4]
call sym._GetItemPath
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x182c]
push esi
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sym._CreateKey
add esp, 0x10
test eax, eax
je 0x403e96
mov eax, dword [0x410488]
push esi
push 0
push dword [eax + 4]
call sym._InsertNode
add esp, 0xc
test eax, eax
je 0x403e96
mov eax, dword [0x410488]
push dword [eax + 4]
call sym._StartKeyRename
jmp 0x403e93
mov esi, 1
jmp 0x403e53
mov esi, 3
jmp 0x403e53
mov esi, 4
jmp 0x403e53
mov ecx, dword [ebp - 0x10]
call sym._ImportRegistryFile
jmp case.0x403579.32825
mov ecx, dword [ebp - 0x10]
call sym._PrintRegistryHive
jmp case.0x403579.32825
push 0
push 0xb
push 0x40d582
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_WinHelpW]
jmp case.0x403579.32825
push dword [ebp - 0x10]
call sym._ShowAboutBox
jmp 0x403e9d
mov esi, 2
jmp 0x403e53
mov eax, dword [0x410488]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
push 0
push 9
push 0x110a
push dword [eax + 4]
call esi
mov ecx, dword [0x410488]
push eax
push 3
push 0x1102
push dword [ecx + 4]
jmp 0x40355d
mov esi, 0xb
mov eax, dword [0x410488]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [eax + 4]
call sym._GetItemPath
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x182c]
push eax
push esi
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sym._CreateValue
add esp, 0x14
test eax, eax
je 0x403e96
mov eax, dword [0x410488]
push dword [eax + 8]
call sym._StartValueRename
add esp, 4
push edi
call dword [sym.imp.ucrtbase.dll_free]
add esp, 4
xor eax, eax
add esp, 0x1820
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
push ebx
push edi
push 0x111
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_DefWindowProcW]
jmp 0x403ea2
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
jmp case.0x403579.32825
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call sym._GetItemPath
add esp, 0xc
mov edi, eax
test eax, eax
je 0x40409b
cmp word [edi], 0
je 0x40409b
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sym._DeleteKey
add esp, 0xc
test eax, eax
je 0x403e96
mov eax, dword [0x410488]
push 0
push dword [eax + 4]
call sym._DeleteNode
add esp, 8
jmp 0x403e96
push 0x10
call dword [sym.imp.user32.dll_MessageBeep]
jmp case.0x403579.32825
push 0x4105d8
push 0x804a
push 0x67
push 0x40
push dword [ebp - 0x10]
call sym._messagebox
add esp, 0x14
jmp case.0x403579.32825
push 0
push 0
push 0x1032
push edi
call dword [sym.imp.user32.dll_SendMessageW]
test eax, eax
je case.0x403579.32825
mov ecx, 0x8049
cmp eax, 1
je 0x403f62
mov ecx, 0x804b
push ecx
push 0x8048
push 0x34
push dword [ebp - 0x10]
call sym._messagebox
add esp, 0x10
cmp eax, 6
jne case.0x403579.32825
mov eax, dword [0x410488]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [eax + 4]
call sym._GetItemPath
add esp, 0xc
mov esi, eax
mov eax, dword [0x410488]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [eax + 8]
call edi
mov dword [ebp - 0x20], eax
mov eax, dword [0x410488]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 8]
call edi
cmp eax, 0xffffffff
je 0x403d29
mov ebx, eax
jmp 0x403ff0
mov eax, dword [0x410488]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 8]
call edi
mov ebx, eax
cmp eax, 0xffffffff
je 0x403d29
mov eax, dword [0x410488]
push ebx
push dword [eax + 8]
call sym._GetItemText
add esp, 8
mov edi, eax
push eax
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sym._DeleteValue
add esp, 0x10
mov dword [ebp - 0x18], eax
push edi
call dword [sym.imp.ucrtbase.dll_free]
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x403d29
mov eax, dword [0x410488]
push 0
push ebx
push 0x1008
push dword [eax + 8]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
call edi
test ebx, ebx
jne 0x403fd2
mov eax, dword [0x410488]
push 0
push 0
push 0
push 1
push 0
push dword [eax + 8]
call sym._AddEntryToList
add esp, 0x18
cmp dword [ebp - 0x20], 0
jne 0x403fd2
mov dword [ebp - 0x181c], 1
mov dword [ebp - 0x1820], 1
mov eax, dword [0x410488]
lea ecx, [ebp - 0x182c]
push ecx
push 0
push 0x102b
push dword [eax + 8]
call edi
jmp 0x403fd2
push 0x10
call dword [sym.imp.user32.dll_MessageBeep]
jmp 0x403e96
push eax
call sym._StartValueRename
jmp 0x4040c9
mov eax, dword [0x410488]
push dword [eax + 4]
call dword [sym.imp.user32.dll_SetFocus]
jmp case.0x403579.32825
push eax
call sym._StartKeyRename
add esp, 4
push esi
jmp 0x403e97