Function at 0x4157a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45206d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x160], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x21c], 0x45c2c8
mov dword [ebp - 0x20c], 0x457500
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x21c]
mov byte [ebp - 4], 1
push edx
mov dword [ebp - 0x150], 1
call fcn.00403340
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x204]
push edx
mov dword [ebp + ecx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00403550
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1c4], esi
lea eax, [ebp - 0x68]
push eax
mov edx, 0x459828
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410fd0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x68]
mov edi, esi
cmp eax, 8
jae 0x415b82
lea edi, [ebp - 0x68]
mov ebx, edi
mov ecx, dword [ebp - 0x58]
lea ebx, [ebx + ecx*2]
cmp eax, 8
jae 0x4158a8
lea esi, [ebp - 0x68]
cmp esi, ebx
je 0x4158c7
sub edi, esi
mov edi, edi
movzx edx, word [esi]
push edx
call fcn.0043a570
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4158b0
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x84]
push eax
mov edx, 0x459e08
call fcn.00410fd0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov edi, esi
cmp eax, 8
jae 0x415b89
lea edi, [ebp - 0x84]
mov ecx, edi
mov edx, dword [ebp - 0x74]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x41590f
lea esi, [ebp - 0x84]
cmp esi, ebx
je 0x41592c
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043d0e5
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415915
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0xa0]
push ecx
mov edx, str.path
mov ecx, esi
call fcn.00410fd0
lea edx, [ebp - 0xbc]
push edx
mov edx, 0x459e14
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00410fd0
lea eax, [ebp - 0x12c]
push eax
mov edx, str.data
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00410fd0
lea ecx, [ebp - 0xd8]
push ecx
mov edx, str.type
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00410fd0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xd8]
mov edi, esi
cmp eax, 8
jae 0x415b90
lea edi, [ebp - 0xd8]
mov ecx, edi
mov edx, dword [ebp - 0xc8]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x4159c1
lea esi, [ebp - 0xd8]
cmp esi, ebx
je 0x4159de
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043a570
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4159c7
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x110]
push ecx
mov edx, 0x459e38
mov ecx, esi
call fcn.00410fd0
lea edx, [ebp - 0xf4]
push edx
mov edx, 0x459b7c
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00410fd0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xf4]
mov edi, esi
cmp eax, 8
jae 0x415b97
lea edi, [ebp - 0xf4]
mov ecx, edi
mov edx, dword [ebp - 0xe4]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x415a45
lea esi, [ebp - 0xf4]
cmp esi, ebx
je 0x415a67
sub edi, esi
jmp 0x415a50
movzx eax, word [esi]
push eax
call fcn.0043d0e5
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415a50
mov eax, dword [ebp - 0x100]
push 0x4579f4
mov edi, 2
lea ecx, [ebp - 0x110]
call fcn.00404a60
lea ecx, [ebp - 0xa0]
push ecx
push ecx
neg eax
push 0x457650
push ecx
sbb ebx, ebx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x20c]
inc ebx
push eax
mov dword [ebp - 0x174], ebx
call fcn.00404350
add esp, 0xc
push eax
call fcn.004045e0
add esp, 0xc
push eax
call fcn.00404350
add esp, 8
cmp dword [ebp - 0xac], 0
je 0x415b31
lea ecx, [ebp - 0xd8]
push ecx
push ecx
push 0x459e44
push ecx
lea edx, [ebp - 0x12c]
push edx
push ecx
push 0x459558
push ecx
lea eax, [ebp - 0xbc]
push eax
push ecx
lea ecx, [ebp - 0x20c]
push 0x457650
push ecx
call fcn.004045e0
add esp, 0xc
push eax
call fcn.00404350
add esp, 0xc
push eax
call fcn.004045e0
add esp, 0xc
push eax
call fcn.00404350
add esp, 0xc
push eax
call fcn.004045e0
add esp, 0xc
push eax
call fcn.00404350
add esp, 8
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 4]
push eax
push str.Registry
push str.__s____d_
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0x74]
inc dword [0x46a9f4]
add esp, 0x10
push 0x459e48
mov edi, 4
lea ecx, [ebp - 0x84]
call fcn.00404a60
test eax, eax
jne 0x415b9e
mov dword [ebp - 0x150], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x415be6
mov ebx, esi
jmp 0x41589a
mov ecx, esi
jmp 0x4158fe
mov ecx, esi
jmp 0x4159ad
mov ecx, esi
jmp 0x415a31
mov eax, dword [ebp - 0x74]
push str.HKCU
lea ecx, [ebp - 0x84]
call fcn.00404a60
test eax, eax
jne 0x415bc1
mov dword [ebp - 0x150], SysReAllocString
jmp 0x415be6
mov eax, dword [ebp - 0x74]
push str.HKCR
lea ecx, [ebp - 0x84]
call fcn.00404a60
test eax, eax
jne 0x41662d
mov dword [ebp - 0x150], SysReAllocString
mov eax, dword [ebp - 0x58]
push str.create
mov edi, 6
lea ecx, [ebp - 0x68]
call fcn.00404a60
test eax, eax
je 0x415eb6
mov eax, dword [ebp - 0x58]
push str.createonly
mov edi, 0xa
lea ecx, [ebp - 0x68]
call fcn.00404a60
test eax, eax
je 0x415eb6
mov eax, dword [ebp - 0x58]
push str.deleteoninstall
mov edi, 0xf
lea ecx, [ebp - 0x68]
call fcn.00404a60
test eax, eax
jne 0x415e53
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x21c]
call fcn.004027b0
mov esi, 8
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], esi
jb 0x415c5b
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbbf
call fcn.004357d0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], esi
jb 0x415c7c
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00439c00
add esp, 4
cmp dword [ebp - 0xac], 0
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
jne 0x415d1b
call fcn.004027b0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], esi
jb 0x415ca5
mov eax, dword [eax]
push eax
push str.Deleting_Key___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.0042dd60
mov ecx, dword [ebp - 0x14c]
cmp byte [ecx + 0x40], 0
jne 0x416010
cmp dword [ebp - 0x8c], 8
mov edi, dword [ebp - 0xa0]
jae 0x415cee
lea edi, [ebp - 0xa0]
mov esi, 0x459f40
lea ecx, [ebp - 0xf4]
call fcn.0040ecc0
movzx edx, al
push edx
mov edx, dword [ebp - 0x150]
mov eax, ebx
mov ecx, edi
call fcn.0042d760
add esp, 4
mov esi, eax
jmp 0x415e11
call fcn.004027b0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], esi
jb 0x415d2b
mov eax, dword [eax]
push eax
push str.Deleting_value___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.0042dd60
cmp dword [ebp - 0x8c], 8
mov esi, dword [ebp - 0xa0]
jae 0x415d64
lea esi, [ebp - 0xa0]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x415d75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x174]
lea ebx, [ebp - 0x15c]
mov dword [ebp - 0x160], 0
call fcn.0042d360
test eax, eax
jne 0x415dbf
mov eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x150]
push 0
lea ecx, [ebp - 0x160]
push ecx
push 0
or eax, 0xf003f
push eax
push 0
push 0
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
jne 0x415e19
mov eax, dword [ebp - 0x14c]
cmp byte [eax + 0x40], 0
jne 0x415df6
cmp dword [ebp - 0xa8], 8
mov eax, dword [ebp - 0xbc]
jae 0x415de6
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0x160]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x415e07
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x160], 0
test esi, esi
je 0x416010
cmp esi, 2
je 0x416010
mov eax, dword [ebp - 0x14c]
xor edx, edx
cmp byte [eax + 0x41], dl
push esi
setne dl
push str.Error_0x_X_while_deleting
push 0x46a9d4
dec edx
and edx, esi
mov dword [eax + 0x3c], edx
mov eax, 2
call fcn.0042d150
add esp, 0xc
jmp 0x416010
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404a60
test eax, eax
jne 0x416010
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
call fcn.004027b0
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
jb 0x415e8d
mov eax, dword [eax]
push eax
push str.Marking_registry_value__s_for_deletion_during_uninstallation
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.0042dd60
jmp 0x416010
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x21c]
call fcn.004027b0
mov ebx, 8
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], ebx
jb 0x415ed4
mov eax, dword [eax]
push eax
push str.Adding_registry_value___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], ebx
jb 0x415efe
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00439c00
add esp, 4
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x21c]
call fcn.004027b0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], ebx
jb 0x415f17
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbb9
call fcn.004357d0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], ebx
jb 0x415f38
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439c00
add esp, 4
mov edx, dword [ebp - 0x14c]
cmp byte [edx + 0x40], 0
jne 0x416010
mov edi, dword [ebp - 0x110]
cmp dword [ebp - 0xfc], ebx
jae 0x415f5c
lea edi, [ebp - 0x110]
mov esi, dword [ebp - 0xd8]
cmp dword [ebp - 0xc4], ebx
jae 0x415f70
lea esi, [ebp - 0xd8]
mov ecx, dword [ebp - 0x12c]
cmp dword [ebp - 0x118], ebx
jae 0x415f84
lea ecx, [ebp - 0x12c]
mov edx, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], ebx
jae 0x415f98
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], ebx
jae 0x415fac
lea eax, [ebp - 0xa0]
push edi
push esi
push edx
push eax
mov eax, dword [ebp - 0x150]
push eax
call fcn.0041f6f0
test eax, eax
je 0x416010
mov esi, dword [ebp - 0x14c]
xor ecx, ecx
cmp byte [esi + 0x41], cl
push eax
setne cl
push str.Error_0x_X_creating_value
push 0x46a9d4
dec ecx
and ecx, eax
mov eax, 2
mov dword [esi + 0x3c], ecx
call fcn.0042d150
add esp, 0xc
cmp byte [esi + 0x41], 0
jne 0x416010
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xc]
call fcn.00433b40
add esp, 0x10
mov edx, dword [ebp - 0x14c]
cmp byte [edx + 0x40], 0
jne 0x416035
mov eax, dword [ebp - 0x58]
push str.create
mov edi, 6
lea ecx, [ebp - 0x68]
call fcn.00404a60
test eax, eax
je 0x416052
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404a60
test eax, eax
jne 0x41649b
xor eax, eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], ax
push 5
mov eax, str.root
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
call fcn.00406550
lea eax, [ebp - 0x84]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.00421f90
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x15
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x4160c2
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439c00
add esp, 4
xor ebx, ebx
xor edx, edx
mov edi, 7
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x1c], esi
jb 0x4160ea
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
push 5
mov eax, 0x459b08
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
call fcn.00406550
lea eax, [ebp - 0xa0]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00421f90
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x17
call fcn.0040d610
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x416140
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439c00
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], edi
jb 0x416168
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00439c00
add esp, 4
mov dword [ebp - 0x1c], esi
xor edx, edx
push 6
mov eax, str.value
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
call fcn.00406550
lea eax, [ebp - 0xbc]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x18
call fcn.00421f90
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x19
call fcn.0040d610
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x4161be
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00439c00
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], edi
jb 0x4161e6
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x30], ax
push 5
mov eax, str.hive
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
call fcn.00406550
lea eax, [ebp - 0x110]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.00421f90
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x1b
call fcn.0040d610
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x41623c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439c00
add esp, 4
xor ebx, ebx
xor edx, edx
mov esi, 7
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x1c], edi
jb 0x416264
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439c00
add esp, 4
mov dword [ebp - 0x1c], esi
xor ecx, ecx
push 0x14
mov eax, str.delete_if_not_empty
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
call fcn.00406550
lea eax, [ebp - 0xf4]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1c
call fcn.00421f90
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x1d
call fcn.0040d610
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x4162ba
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov esi, 7
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], edi
jb 0x4162e4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00439c00
add esp, 4
mov edi, dword [ebp - 0x158]
lea edx, [ebp - 0x148]
push edx
mov edx, 0x459604
mov ecx, edi
call fcn.00410fd0
mov ebx, eax
mov byte [ebp - 4], 0x1e
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x30], ax
push 0xa
mov eax, str.usequence
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], 0
call fcn.00406550
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
call fcn.00421fd0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x20
call fcn.0040d610
mov ebx, 8
cmp dword [ebp - 0x38], ebx
jb 0x416359
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439c00
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x1c], ebx
jb 0x41637f
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x134], ebx
jb 0x4163aa
mov edx, dword [ebp - 0x148]
push edx
call fcn.00439c00
add esp, 4
lea eax, [ebp - 0x148]
push eax
mov edx, 0x459618
mov ecx, edi
call fcn.00410fd0
mov edi, eax
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x1c], esi
xor ecx, ecx
push 6
mov eax, str.group
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
call fcn.00406550
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
call fcn.00421fd0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x23
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x416419
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439c00
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], esi
jb 0x41643d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00439c00
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x134], esi
jb 0x416464
mov eax, dword [ebp - 0x148]
push eax
call fcn.00439c00
add esp, 4
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x170]
mov ecx, str.registry
call fcn.0041c3b0
mov esi, dword [ebp - 0x170]
cmp esi, ebx
je 0x41649b
mov edi, dword [ebp - 0x16c]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439c00
add esp, 4
dec dword [0x46a9f4]
mov edx, dword [ebp - 0x14c]
xor edi, edi
cmp dword [edx + 0x3c], edi
mov ebx, 7
lea esi, [ebx + 1]
sete byte [ebp - 0x151]
cmp dword [ebp - 0xe0], esi
jb 0x4164d2
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xe4], edi
mov word [ebp - 0xf4], cx
cmp dword [ebp - 0xfc], esi
jb 0x4164fe
mov edx, dword [ebp - 0x110]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0x100], edi
mov word [ebp - 0x110], ax
cmp dword [ebp - 0xc4], esi
jb 0x41652a
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00439c00
add esp, 4
xor edx, edx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc8], edi
mov word [ebp - 0xd8], dx
cmp dword [ebp - 0x118], esi
jb 0x416556
mov eax, dword [ebp - 0x12c]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], edi
mov word [ebp - 0x12c], cx
cmp dword [ebp - 0xa8], esi
jb 0x416582
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], edi
mov word [ebp - 0xbc], ax
cmp dword [ebp - 0x8c], esi
jb 0x4165ae
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00439c00
add esp, 4
xor edx, edx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov word [ebp - 0xa0], dx
cmp dword [ebp - 0x70], esi
jb 0x4165d7
mov eax, dword [ebp - 0x84]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], cx
cmp dword [ebp - 0x54], esi
jb 0x4165f7
mov edx, dword [ebp - 0x68]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], ax
mov byte [ebp - 4], al
call fcn.00401bf0
mov eax, dword [ebp - 0x160]
cmp eax, edi
je 0x416622
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x151]
jmp 0x4167b9
push str.Unsupported_root_key
push 0x46a9d4
mov eax, 1
call fcn.0042d150
mov esi, 8
add esp, 8
cmp dword [ebp - 0xe0], esi
jb 0x416660
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.00439c00
add esp, 4
xor ebx, ebx
xor edx, edx
mov edi, 7
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], dx
cmp dword [ebp - 0xfc], esi
jb 0x416693
mov eax, dword [ebp - 0x110]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x100], ebx
mov word [ebp - 0x110], cx
cmp dword [ebp - 0xc4], esi
jb 0x4166bf
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], ax
cmp dword [ebp - 0x118], esi
jb 0x4166eb
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.00439c00
add esp, 4
xor edx, edx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], ebx
mov word [ebp - 0x12c], dx
cmp dword [ebp - 0xa8], esi
jb 0x416717
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
cmp dword [ebp - 0x8c], esi
jb 0x416743
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x70], esi
jb 0x41676c
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00439c00
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
cmp dword [ebp - 0x54], esi
jb 0x41678c
mov eax, dword [ebp - 0x68]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov word [ebp - 0x68], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
call fcn.00401bf0
mov eax, dword [ebp - 0x160]
cmp eax, ebx
je 0x4167b7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret 4