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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x1868
call fcn.004010d0
sub esp, eax
mov esi, edx
mov eax, dword [esp + eax]
mov dword [ebp - 0x182c], 0
mov ebx, eax
lea eax, [edx + 0x7f18]
cmp ax, 0x63
jbe 0x408688
movzx eax, dx
cmp dx, 0x8066
ja 0x408600
cmp eax, 0x8001
jbe case.0x40860a.33103
sub eax, 0x8002
cmp eax, 0x64
ja case.0x40860a.33103
jmp dword [eax*4 + 0x412210]
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
sub eax, 0x814c
cmp eax, 0xa
ja case.0x40860a.33103
jmp dword [eax*4 + 0x4123a4]
mov edi, 2
lea eax, [ebp - 0x182c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov dword [esp + 0xc], edi
mov esi, eax
lea eax, [ebp - 0x1018]
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x182c]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
call sym._CreateValue
test eax, eax
jne 0x408768
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov ebx, 1
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x1828]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne case.0x4085df.32825
lea eax, [ebp - 0x1820]
movzx esi, si
lea ebx, [ebp - 0x1018]
mov dword [ebp - 0x1824], 0x400
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x181c]
sub esi, 0x80e8
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1824]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1828]
mov dword [ebp - 0x1820], 0x1000
mov dword [ebp - 0x181c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
je 0x408890
mov eax, dword [ebp - 0x1828]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp case.0x4085df.32825
mov edi, 0xb
jmp 0x40861d
mov eax, dword [0x410b58]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._StartValueRename
jmp 0x40866d
mov eax, dword [0x410b58]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov ebx, dword [0x417714]
mov dword [esp + 4], 0x110a
mov eax, dword [eax + 4]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x410b58]
mov dword [esp + 8], 3
mov dword [esp + 4], 0x1102
mov eax, dword [eax + 4]
mov dword [esp], eax
call ebx
mov ebx, 1
sub esp, 0x10
jmp 0x4085f2
lea esi, [ebp - 0x1818]
mov eax, ebx
lea ebx, [ebp - 0x1018]
mov edx, esi
call sym._InitOpenFileName.isra.0
mov eax, dword [0x410c68]
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x91
mov dword [esp], eax
call dword [0x4176d8]
mov dword [ebp - 0x17e8], ebx
mov dword [ebp - 0x17e4], 0x80066
sub esp, 0x10
mov dword [ebp - 0x17d4], sym._ExportRegistryFile_OFNHookProc_16
mov dword [ebp - 0x17d0], 0x83
mov dword [esp], esi
call dword [0x417450]
sub esp, 4
test eax, eax
je 0x409330
mov eax, dword [ebp - 0x1800]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x17d8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17fc]
mov dword [esp], eax
call sym._export_registry_key
jmp case.0x4085df.32825
mov edi, 7
jmp 0x40861d
mov eax, dword [0x410b58]
mov dword [esp + 4], ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._FindPathInTree
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov eax, dword [0x410b58]
mov dword [esp + 4], 0x110b
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x417714]
sub esp, 0x10
jmp 0x40873d
mov eax, dword [0x410b58]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._GetValueName
mov dword [esp + 4], 0
mov esi, eax
lea eax, [ebp - 0x182c]
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov dword [esp], ebx
mov dword [esp + 8], eax
mov edi, eax
mov eax, dword [ebp - 0x182c]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
call sym._ModifyValue
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
call ebx
mov dword [esp], esi
call ebx
mov ebx, 1
jmp 0x4085f2
cmp dx, 0x800e
je 0x4095e2
cmp word [0x411100], 0
je case.0x4085df.32825
mov eax, dword [0x410b58]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov esi, dword [0x417714]
mov dword [esp + 4], 0x110a
mov eax, dword [eax + 4]
mov dword [esp], eax
call esi
sub esp, 0x10
mov edi, eax
test eax, eax
je case.0x4085df.32825
mov eax, dword [0x410b58]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [ebp - 0x1818], eax
mov dword [esp + 4], 0x7f02
mov dword [esp], 0
call dword [0x4176c8]
mov ecx, dword [0x417724]
sub esp, 8
mov dword [ebp - 0x1840], ecx
mov dword [esp], eax
call ecx
sub esp, 4
mov dword [ebp - 0x183c], eax
lea eax, [ebp - 0x1818]
mov dword [esp + 0x10], eax
mov eax, dword [0x4110f0]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [0x410b58]
mov dword [esp + 8], 0x411100
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._FindNext
mov ecx, dword [ebp - 0x1840]
mov edi, eax
mov eax, dword [ebp - 0x183c]
mov dword [esp], eax
call ecx
sub esp, 4
test edi, edi
je 0x4096ef
mov eax, dword [0x410b58]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110b
mov eax, dword [eax + 4]
mov dword [esp], eax
call esi
mov eax, dword [0x410b58]
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x4176b0]
mov eax, dword [0x410b58]
sub esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x417758]
sub esp, 4
cmp dword [ebp - 0x1818], 0xffffffff
je 0x40973e
mov eax, dword [0x410b58]
lea ebx, [ebp - 0x1018]
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1008], 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x102b
mov eax, dword [eax + 8]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x100c], 3
mov dword [ebp - 0x1008], 3
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x102b
mov eax, dword [eax + 8]
mov dword [esp], eax
call esi
mov eax, dword [0x410b58]
sub esp, 0x10
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [0x417730]
sub esp, 4
jmp case.0x4085df.32825
mov eax, dword [0x410b58]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemFullPath
mov esi, eax
test eax, eax
je case.0x4085df.32825
mov dword [esp], ebx
call dword [0x4176e8]
sub esp, 4
test eax, eax
je 0x40866d
call dword [0x41764c]
test eax, eax
je 0x408bf8
cmp word [esi], 0
mov eax, esi
je 0x408b99
add eax, 2
cmp word [eax], 0
jne 0x408b90
sub eax, esi
mov dword [esp], 0x42
add eax, 2
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, eax
sub esp, 4
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x408bc8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], 0xd
call dword [0x417720]
sub esp, 8
call dword [0x417620]
jmp 0x40866d
mov dword [esp], ebx
mov ebx, 1
call dword [0x417640]
sub esp, 4
jmp 0x4085f2
lea eax, [ebp - 0x182c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov ebx, eax
test eax, eax
je 0x40961c
cmp word [eax], 0
mov esi, dword [0x41767c]
je 0x408c62
call esi
mov edx, dword [0x410b58]
cmp eax, dword [edx + 4]
je 0x4096a7
call esi
mov edx, dword [0x410b58]
cmp eax, dword [edx + 8]
je 0x40969a
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp case.0x4085df.32825
mov dword [esp], ebx
mov ebx, 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x4121fe
call dword [0x41775c]
sub esp, 0x10
jmp 0x4085f2
lea eax, [ebp - 0x182c]
mov dword [esp + 4], 0
lea esi, [ebp - 0x1018]
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov edi, eax
mov eax, dword [ebp - 0x182c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._CreateKey
test eax, eax
jne 0x409380
mov dword [esp], edi
mov ebx, 1
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x4085f2
mov edi, 4
jmp 0x40861d
lea esi, [ebp - 0x1818]
mov eax, ebx
lea edi, [ebp - 0x1018]
mov dword [ebp - 0x181c], 0
mov edx, esi
call sym._InitOpenFileName.isra.0
mov eax, dword [0x410c68]
or dword [ebp - 0x17e4], 0x800000
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], edi
mov dword [esp + 4], 0x90
mov dword [esp], eax
call dword [0x4176d8]
mov dword [ebp - 0x17e8], edi
sub esp, 0x10
mov dword [esp], esi
call dword [0x41744c]
sub esp, 4
test eax, eax
je 0x409340
mov eax, dword [ebp - 0x17fc]
mov dword [esp + 4], 0x4121d4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wfopen]
mov esi, eax
test eax, eax
je 0x409350
mov dword [esp], eax
call sym._import_registry_file
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.ucrtbase.dll_fclose]
test eax, eax
jne 0x409350
test edi, edi
je 0x409350
mov eax, dword [ebp - 0x17fc]
mov dword [esp + 0xc], 0x7e2
mov dword [esp + 8], 0x67
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x40
mov dword [esp], ebx
call sym._messagebox
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._RefreshTreeView
lea eax, [ebp - 0x181c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov ebx, eax
mov eax, dword [ebp - 0x181c]
mov dword [esp + 4], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._RefreshListView
jmp 0x408c73
lea edx, [ebp - 0x1010]
xor eax, eax
mov ecx, 0xe
mov edi, edx
lea esi, [ebp - 0x1018]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov word [edi], cx
mov dword [ebp - 0x1014], ebx
mov ebx, 1
mov dword [ebp - 0x1018], 0x42
mov dword [ebp - 0x1004], 0x40100
mov dword [ebp - 0x1000], 0xffffffff
mov dword [ebp - 0xffc], 0xffff0001
mov word [ebp - 0xff8], bx
mov dword [esp], esi
call dword [0x417454]
sub esp, 4
test eax, eax
je case.0x4085df.32825
test byte [0x410784], 1
jne 0x409671
mov eax, dword [ebp - 0x1008]
mov dword [esp], eax
call dword [0x417460]
sub esp, 4
jmp case.0x4085df.32825
lea eax, [ebp - 0x182c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov ebx, eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._RefreshTreeView
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x182c]
mov dword [esp + 0xc], 0
jmp 0x408e34
mov edi, dword [0x410c74]
mov dword [esp], edi
call dword [0x4176c0]
mov esi, eax
mov eax, dword [0x410c6c]
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x417694]
sub esp, 8
test esi, esi
je 0x409300
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8006
mov dword [esp], eax
call dword [0x417614]
xor eax, eax
sub esp, 0xc
mov dword [esp + 4], eax
lea esi, [ebp - 0x1018]
mov dword [esp], edi
call dword [0x417748]
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], esi
call dword [0x417668]
mov eax, ebx
mov edx, esi
mov ebx, 1
sub esp, 8
call sym._resize_frame_rect
jmp 0x4085f2
lea eax, [ebp - 0x1018]
mov dword [esp + 4], eax
mov eax, dword [0x410b58]
mov eax, dword [eax]
mov dword [esp], eax
call dword [0x417668]
mov edx, dword [ebp - 0x100c]
mov eax, dword [0x410b58]
sub esp, 8
mov ebx, edx
mov esi, dword [eax + 0x10]
add esi, dword [ebp - 0x1018]
shr ebx, 0x1f
mov dword [ebp - 0x1818], esi
add ebx, edx
lea edx, [ebp - 0x1818]
sar ebx, 1
mov dword [esp + 4], edx
mov dword [ebp - 0x1814], ebx
mov eax, dword [eax]
mov dword [esp], eax
call dword [0x41761c]
sub esp, 8
test eax, eax
je case.0x4085df.32825
mov eax, dword [ebp - 0x1814]
movzx esi, si
shl ebx, 0x10
or ebx, esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1818]
mov dword [esp], eax
call dword [0x417728]
sub esp, 8
mov dword [esp + 4], 0x7f84
mov dword [esp], 0
call dword [0x4176c8]
sub esp, 8
mov dword [esp], eax
call dword [0x417724]
mov eax, dword [0x410b58]
sub esp, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x201
mov eax, dword [eax]
mov dword [esp], eax
call dword [0x417714]
sub esp, 0x10
jmp case.0x4085df.32825
mov eax, dword [0x410b58]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemFullPath
mov esi, eax
test eax, eax
je case.0x4085df.32825
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._addtofavorites_dlgproc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x85
mov dword [esp], 0
call dword [0x417644]
sub esp, 0x14
cmp eax, 1
jne 0x40866d
lea eax, [ebp - 0x1018]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x40866d
cmp word [esi], 0
mov eax, esi
je 0x409159
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x409150
sub eax, esi
mov dword [esp + 0x10], esi
add eax, 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1018]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x410a40
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x1018]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x40866d
mov dword [esp + 8], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._removefavorite_dlgproc_16
mov dword [esp + 4], 0x86
mov dword [esp], 0
call dword [0x417644]
sub esp, 0x14
mov ebx, eax
cmp eax, 1
jne case.0x4085df.32825
lea eax, [ebp - 0x1018]
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x4085f2
mov eax, dword [ebp - 0x1018]
mov dword [esp + 4], 0x410a40
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x1018]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x4085f2
call dword [0x41767c]
mov esi, eax
mov eax, dword [0x410b58]
mov edx, dword [eax + 4]
cmp esi, edx
je 0x409636
cmp esi, dword [eax + 8]
je 0x4093b9
mov dword [esp + 4], esi
mov ebx, dword [0x4176b8]
mov dword [esp], edx
call ebx
sub esp, 8
test eax, eax
jne 0x4092ab
mov eax, dword [0x410b58]
mov dword [esp + 4], esi
mov eax, dword [eax + 8]
mov dword [esp], eax
call ebx
sub esp, 8
test eax, eax
je case.0x4085df.32825
mov dword [esp + 0xc], 0
mov ebx, 1
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 0x100
mov dword [esp], esi
call dword [0x417714]
sub esp, 0x10
jmp 0x4085f2
mov dword [esp], ebx
mov ebx, 1
call sym._ShowAboutBox
jmp 0x4085f2
mov edi, 3
jmp 0x40861d
mov edi, 1
jmp 0x40861d
mov dword [esp + 8], 8
mov dword [esp + 4], 0x8006
mov dword [esp], eax
call dword [0x417614]
mov eax, 5
sub esp, 0xc
jmp 0x408f79
call dword [0x417448]
jmp case.0x4085df.32825
call dword [0x417448]
jmp 0x408dee
mov eax, dword [ebp - 0x17fc]
mov dword [esp + 0xc], 0x7e3
mov dword [esp + 8], 0x67
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call sym._messagebox
jmp case.0x4085df.32825
mov eax, dword [0x410b58]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._InsertNode
test eax, eax
je 0x408cfb
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._StartKeyRename
jmp 0x408cfb
mov dword [esp + 0xc], 0
mov edi, dword [0x417714]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [esp], esi
call edi
sub esp, 0x10
test eax, eax
je case.0x4085df.32825
cmp eax, 1
mov dword [esp + 8], 0x8048
setne al
mov dword [esp + 4], 0x34
movzx eax, al
mov dword [esp], ebx
lea eax, [eax + eax + 0x8049]
mov dword [esp + 0xc], eax
call sym._messagebox
cmp eax, 6
jne case.0x4085df.32825
lea eax, [ebp - 0x182c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov dword [esp + 0xc], 1
mov dword [ebp - 0x183c], eax
mov eax, dword [0x410b58]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
mov dword [ebp - 0x1844], eax
mov eax, dword [0x410b58]
sub esp, 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x409725
mov dword [ebp - 0x1840], ebx
jmp 0x4094e0
mov eax, dword [0x410b58]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x409725
mov eax, dword [0x410b58]
mov dword [esp + 4], esi
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._GetItemText
mov dword [esp + 0xc], eax
mov ebx, eax
mov eax, dword [ebp - 0x183c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x182c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1840]
mov dword [esp], eax
call sym._DeleteValue
test eax, eax
je 0x40971c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [0x410b58]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x1008
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
test esi, esi
jne 0x4094ad
mov eax, dword [0x410b58]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._AddEntryToList
mov edx, dword [ebp - 0x1844]
test edx, edx
jne 0x4094ad
lea eax, [ebp - 0x1018]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [0x410b58]
mov dword [ebp - 0x1008], 1
mov dword [ebp - 0x100c], 1
mov dword [esp + 4], 0x102b
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
jmp 0x4094ad
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._find_dlgproc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x87
mov dword [esp], 0
call dword [0x417644]
sub esp, 0x14
cmp eax, 1
jne case.0x4085df.32825
jmp 0x408953
mov dword [esp], 0x10
mov ebx, 1
call dword [0x4176dc]
sub esp, 4
jmp 0x4085f2
lea eax, [ebp - 0x182c]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call sym._GetItemPath
mov esi, eax
test eax, eax
je 0x40965c
cmp word [eax], 0
jne 0x4096b4
mov dword [esp], 0x10
call dword [0x4176dc]
sub esp, 4
jmp 0x40866d
mov dword [esp + 0xc], str.printing_is_not_yet_implemented._n
mov dword [esp + 8], str.PrintRegistryHive
mov dword [esp + 4], 0x410784
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x408ec4
mov dword [esp], eax
call sym._StartValueRename
jmp 0x408c73
mov dword [esp], eax
call sym._StartKeyRename
jmp 0x408c73
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x182c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._DeleteKey
test eax, eax
je 0x40866d
mov eax, dword [0x410b58]
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._DeleteNode
jmp 0x40866d
mov dword [esp + 0x10], 0x411100
mov dword [esp + 0xc], 0x804a
mov dword [esp + 8], 0x67
mov dword [esp + 4], 0x40
mov dword [esp], ebx
call sym._messagebox
jmp case.0x4085df.32825
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x183c]
mov ebx, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x4085f2
mov eax, dword [0x410b58]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x417730]
push eax
jmp case.0x4085df.32825