Function at 0x4155c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45123d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x468738]
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], 0x456580
mov dword [ebp - 0x20c], 0x456588
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.00403390
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.004035a0
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, 0x458748
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410e40
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x68]
mov edi, esi
cmp eax, 8
jae 0x4159a2
lea edi, [ebp - 0x68]
mov ebx, edi
mov ecx, dword [ebp - 0x58]
lea ebx, [ebx + ecx*2]
cmp eax, 8
jae 0x4156c8
lea esi, [ebp - 0x68]
cmp esi, ebx
je 0x4156e7
sub edi, esi
mov edi, edi
movzx edx, word [esi]
push edx
call fcn.004394a0
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4156d0
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x84]
push eax
mov edx, 0x458d28
call fcn.00410e40
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov edi, esi
cmp eax, 8
jae 0x4159a9
lea edi, [ebp - 0x84]
mov ecx, edi
mov edx, dword [ebp - 0x74]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x41572f
lea esi, [ebp - 0x84]
cmp esi, ebx
je 0x41574c
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043c015
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415735
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0xa0]
push ecx
mov edx, str.path
mov ecx, esi
call fcn.00410e40
lea edx, [ebp - 0xbc]
push edx
mov edx, 0x458d34
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00410e40
lea eax, [ebp - 0x12c]
push eax
mov edx, str.data
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00410e40
lea ecx, [ebp - 0xd8]
push ecx
mov edx, str.type
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00410e40
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xd8]
mov edi, esi
cmp eax, 8
jae 0x4159b0
lea edi, [ebp - 0xd8]
mov ecx, edi
mov edx, dword [ebp - 0xc8]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x4157e1
lea esi, [ebp - 0xd8]
cmp esi, ebx
je 0x4157fe
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.004394a0
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4157e7
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x110]
push ecx
mov edx, 0x458d58
mov ecx, esi
call fcn.00410e40
lea edx, [ebp - 0xf4]
push edx
mov edx, 0x458a9c
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00410e40
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xf4]
mov edi, esi
cmp eax, 8
jae 0x4159b7
lea edi, [ebp - 0xf4]
mov ecx, edi
mov edx, dword [ebp - 0xe4]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x415865
lea esi, [ebp - 0xf4]
cmp esi, ebx
je 0x415887
sub edi, esi
jmp 0x415870
movzx eax, word [esi]
push eax
call fcn.0043c015
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415870
mov eax, dword [ebp - 0x100]
push 0x456a7c
mov edi, 2
lea ecx, [ebp - 0x110]
call fcn.00404ab0
lea ecx, [ebp - 0xa0]
push ecx
push ecx
neg eax
push 0x4566d8
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.004043a0
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.004043a0
add esp, 8
cmp dword [ebp - 0xac], 0
je 0x415951
lea ecx, [ebp - 0xd8]
push ecx
push ecx
push 0x458d64
push ecx
lea edx, [ebp - 0x12c]
push edx
push ecx
push 0x458478
push ecx
lea eax, [ebp - 0xbc]
push eax
push ecx
lea ecx, [ebp - 0x20c]
push 0x4566d8
push ecx
call fcn.00404630
add esp, 0xc
push eax
call fcn.004043a0
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.004043a0
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.004043a0
add esp, 8
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 4]
push eax
push str.Registry
push str.__s____d_
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov eax, dword [ebp - 0x74]
inc dword [0x4699fc]
add esp, 0x10
push 0x458d68
mov edi, 4
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x4159be
mov dword [ebp - 0x150], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x415a06
mov ebx, esi
jmp 0x4156ba
mov ecx, esi
jmp 0x41571e
mov ecx, esi
jmp 0x4157cd
mov ecx, esi
jmp 0x415851
mov eax, dword [ebp - 0x74]
push str.HKCU
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x4159e1
mov dword [ebp - 0x150], SysStringLen
jmp 0x415a06
mov eax, dword [ebp - 0x74]
push str.HKCR
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x41644d
mov dword [ebp - 0x150], SysStringLen
mov eax, dword [ebp - 0x58]
push str.create
mov edi, 6
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
je 0x415cd6
mov eax, dword [ebp - 0x58]
push str.createonly
mov edi, 0xa
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
je 0x415cd6
mov eax, dword [ebp - 0x58]
push str.deleteoninstall
mov edi, 0xf
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x415c73
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 0x415a7b
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbbf
call fcn.00434da0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], esi
jb 0x415a9c
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b4b
add esp, 4
cmp dword [ebp - 0xac], 0
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
jne 0x415b3b
call fcn.004027b0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], esi
jb 0x415ac5
mov eax, dword [eax]
push eax
push str.Deleting_Key___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.0040ff10
mov ecx, dword [ebp - 0x14c]
cmp byte [ecx + 0x40], 0
jne 0x415e30
cmp dword [ebp - 0x8c], 8
mov edi, dword [ebp - 0xa0]
jae 0x415b0e
lea edi, [ebp - 0xa0]
mov esi, 0x458e60
lea ecx, [ebp - 0xf4]
call fcn.0040eb20
movzx edx, al
push edx
mov edx, dword [ebp - 0x150]
mov eax, ebx
mov ecx, edi
call fcn.0042ce30
add esp, 4
mov esi, eax
jmp 0x415c31
call fcn.004027b0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], esi
jb 0x415b4b
mov eax, dword [eax]
push eax
push str.Deleting_value___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.0040ff10
cmp dword [ebp - 0x8c], 8
mov esi, dword [ebp - 0xa0]
jae 0x415b84
lea esi, [ebp - 0xa0]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x415b95
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.0042ca30
test eax, eax
jne 0x415bdf
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 0x415c39
mov eax, dword [ebp - 0x14c]
cmp byte [eax + 0x40], 0
jne 0x415c16
cmp dword [ebp - 0xa8], 8
mov eax, dword [ebp - 0xbc]
jae 0x415c06
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 0x415c27
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x160], 0
test esi, esi
je 0x415e30
cmp esi, 2
je 0x415e30
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 0x4699dc
dec edx
and edx, esi
mov dword [eax + 0x3c], edx
mov eax, 2
call fcn.0042c820
add esp, 0xc
jmp 0x415e30
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x415e30
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
call fcn.004027b0
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
jb 0x415cad
mov eax, dword [eax]
push eax
push str.Marking_registry_value__s_for_deletion_during_uninstallation
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.0040ff10
jmp 0x415e30
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 0x415cf4
mov eax, dword [eax]
push eax
push str.Adding_registry_value___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], ebx
jb 0x415d1e
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b4b
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 0x415d37
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbb9
call fcn.00434da0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], ebx
jb 0x415d58
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b4b
add esp, 4
mov edx, dword [ebp - 0x14c]
cmp byte [edx + 0x40], 0
jne 0x415e30
mov edi, dword [ebp - 0x110]
cmp dword [ebp - 0xfc], ebx
jae 0x415d7c
lea edi, [ebp - 0x110]
mov esi, dword [ebp - 0xd8]
cmp dword [ebp - 0xc4], ebx
jae 0x415d90
lea esi, [ebp - 0xd8]
mov ecx, dword [ebp - 0x12c]
cmp dword [ebp - 0x118], ebx
jae 0x415da4
lea ecx, [ebp - 0x12c]
mov edx, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], ebx
jae 0x415db8
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], ebx
jae 0x415dcc
lea eax, [ebp - 0xa0]
push edi
push esi
push edx
push eax
mov eax, dword [ebp - 0x150]
push eax
call fcn.0041f500
test eax, eax
je 0x415e30
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 0x4699dc
dec ecx
and ecx, eax
mov eax, 2
mov dword [esi + 0x3c], ecx
call fcn.0042c820
add esp, 0xc
cmp byte [esi + 0x41], 0
jne 0x415e30
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xc]
call fcn.00433220
add esp, 0x10
mov edx, dword [ebp - 0x14c]
cmp byte [edx + 0x40], 0
jne 0x415e55
mov eax, dword [ebp - 0x58]
push str.create
mov edi, 6
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
je 0x415e72
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x4162bb
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.004065a0
lea eax, [ebp - 0x84]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.00421c70
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x15
call fcn.0040d470
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x415ee2
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b4b
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 0x415f0a
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b4b
add esp, 4
xor ecx, ecx
push 5
mov eax, 0x458a28
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
call fcn.004065a0
lea eax, [ebp - 0xa0]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00421c70
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x17
call fcn.0040d470
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x415f60
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b4b
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 0x415f88
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b4b
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.004065a0
lea eax, [ebp - 0xbc]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x18
call fcn.00421c70
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x19
call fcn.0040d470
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x415fde
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b4b
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 0x416006
mov edx, dword [ebp - 0x30]
push edx
call fcn.00438b4b
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.004065a0
lea eax, [ebp - 0x110]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.00421c70
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x1b
call fcn.0040d470
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x41605c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b4b
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 0x416084
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b4b
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.004065a0
lea eax, [ebp - 0xf4]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1c
call fcn.00421c70
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x1d
call fcn.0040d470
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x4160da
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b4b
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 0x416104
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b4b
add esp, 4
mov edi, dword [ebp - 0x158]
lea edx, [ebp - 0x148]
push edx
mov edx, 0x458524
mov ecx, edi
call fcn.00410e40
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.004065a0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x20
call fcn.0040d470
mov ebx, 8
cmp dword [ebp - 0x38], ebx
jb 0x416179
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b4b
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 0x41619f
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b4b
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 0x4161ca
mov edx, dword [ebp - 0x148]
push edx
call fcn.00438b4b
add esp, 4
lea eax, [ebp - 0x148]
push eax
mov edx, 0x458538
mov ecx, edi
call fcn.00410e40
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.004065a0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x23
call fcn.0040d470
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x416239
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b4b
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 0x41625d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b4b
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 0x416284
mov eax, dword [ebp - 0x148]
push eax
call fcn.00438b4b
add esp, 4
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x170]
mov ecx, str.registry
call fcn.0041c1c0
mov esi, dword [ebp - 0x170]
cmp esi, ebx
je 0x4162bb
mov edi, dword [ebp - 0x16c]
mov eax, esi
call fcn.0040d660
push esi
call fcn.00438b4b
add esp, 4
dec dword [0x4699fc]
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 0x4162f2
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00438b4b
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 0x41631e
mov edx, dword [ebp - 0x110]
push edx
call fcn.00438b4b
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 0x41634a
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00438b4b
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 0x416376
mov eax, dword [ebp - 0x12c]
push eax
call fcn.00438b4b
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 0x4163a2
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00438b4b
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 0x4163ce
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00438b4b
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 0x4163f7
mov eax, dword [ebp - 0x84]
push eax
call fcn.00438b4b
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 0x416417
mov edx, dword [ebp - 0x68]
push edx
call fcn.00438b4b
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 0x416442
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x151]
jmp 0x4165d9
push str.Unsupported_root_key
push 0x4699dc
mov eax, 1
call fcn.0042c820
mov esi, 8
add esp, 8
cmp dword [ebp - 0xe0], esi
jb 0x416480
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.00438b4b
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 0x4164b3
mov eax, dword [ebp - 0x110]
push eax
call fcn.00438b4b
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 0x4164df
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00438b4b
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 0x41650b
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.00438b4b
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 0x416537
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00438b4b
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 0x416563
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00438b4b
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 0x41658c
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00438b4b
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 0x4165ac
mov eax, dword [ebp - 0x68]
push eax
call fcn.00438b4b
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 0x4165d7
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.004377c1
mov esp, ebp
pop ebp
ret 4