Function at 0x4155b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45124d
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.00410e30
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x68]
mov edi, esi
cmp eax, 8
jae 0x415992
lea edi, [ebp - 0x68]
mov ebx, edi
mov ecx, dword [ebp - 0x58]
lea ebx, [ebx + ecx*2]
cmp eax, 8
jae 0x4156b8
lea esi, [ebp - 0x68]
cmp esi, ebx
je 0x4156d7
sub edi, esi
mov edi, edi
movzx edx, word [esi]
push edx
call fcn.004394b0
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4156c0
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x84]
push eax
mov edx, 0x458d28
call fcn.00410e30
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov edi, esi
cmp eax, 8
jae 0x415999
lea edi, [ebp - 0x84]
mov ecx, edi
mov edx, dword [ebp - 0x74]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x41571f
lea esi, [ebp - 0x84]
cmp esi, ebx
je 0x41573c
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043c025
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415725
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0xa0]
push ecx
mov edx, str.path
mov ecx, esi
call fcn.00410e30
lea edx, [ebp - 0xbc]
push edx
mov edx, 0x458d34
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00410e30
lea eax, [ebp - 0x12c]
push eax
mov edx, str.data
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00410e30
lea ecx, [ebp - 0xd8]
push ecx
mov edx, str.type
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00410e30
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xd8]
mov edi, esi
cmp eax, 8
jae 0x4159a0
lea edi, [ebp - 0xd8]
mov ecx, edi
mov edx, dword [ebp - 0xc8]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x4157d1
lea esi, [ebp - 0xd8]
cmp esi, ebx
je 0x4157ee
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.004394b0
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4157d7
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x110]
push ecx
mov edx, 0x458d58
mov ecx, esi
call fcn.00410e30
lea edx, [ebp - 0xf4]
push edx
mov edx, 0x458a9c
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00410e30
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xf4]
mov edi, esi
cmp eax, 8
jae 0x4159a7
lea edi, [ebp - 0xf4]
mov ecx, edi
mov edx, dword [ebp - 0xe4]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x415855
lea esi, [ebp - 0xf4]
cmp esi, ebx
je 0x415877
sub edi, esi
jmp 0x415860
movzx eax, word [esi]
push eax
call fcn.0043c025
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415860
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 0x415941
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 0x4159ae
mov dword [ebp - 0x150], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x4159f6
mov ebx, esi
jmp 0x4156aa
mov ecx, esi
jmp 0x41570e
mov ecx, esi
jmp 0x4157bd
mov ecx, esi
jmp 0x415841
mov eax, dword [ebp - 0x74]
push str.HKCU
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x4159d1
mov dword [ebp - 0x150], SysStringLen
jmp 0x4159f6
mov eax, dword [ebp - 0x74]
push str.HKCR
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x41643d
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 0x415cc6
mov eax, dword [ebp - 0x58]
push str.createonly
mov edi, 0xa
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
je 0x415cc6
mov eax, dword [ebp - 0x58]
push str.deleteoninstall
mov edi, 0xf
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x415c63
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 0x415a6b
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbbf
call fcn.00434db0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], esi
jb 0x415a8c
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b5b
add esp, 4
cmp dword [ebp - 0xac], 0
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
jne 0x415b2b
call fcn.004027b0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], esi
jb 0x415ab5
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.0040ff00
mov ecx, dword [ebp - 0x14c]
cmp byte [ecx + 0x40], 0
jne 0x415e20
cmp dword [ebp - 0x8c], 8
mov edi, dword [ebp - 0xa0]
jae 0x415afe
lea edi, [ebp - 0xa0]
mov esi, 0x458e60
lea ecx, [ebp - 0xf4]
call fcn.0040eb10
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 0x415c21
call fcn.004027b0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], esi
jb 0x415b3b
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.0040ff00
cmp dword [ebp - 0x8c], 8
mov esi, dword [ebp - 0xa0]
jae 0x415b74
lea esi, [ebp - 0xa0]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x415b85
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 0x415bcf
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 0x415c29
mov eax, dword [ebp - 0x14c]
cmp byte [eax + 0x40], 0
jne 0x415c06
cmp dword [ebp - 0xa8], 8
mov eax, dword [ebp - 0xbc]
jae 0x415bf6
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 0x415c17
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x160], 0
test esi, esi
je 0x415e20
cmp esi, 2
je 0x415e20
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 0x415e20
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x415e20
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
call fcn.004027b0
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
jb 0x415c9d
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.0040ff00
jmp 0x415e20
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 0x415ce4
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 0x415d0e
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b5b
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 0x415d27
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbb9
call fcn.00434db0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], ebx
jb 0x415d48
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b5b
add esp, 4
mov edx, dword [ebp - 0x14c]
cmp byte [edx + 0x40], 0
jne 0x415e20
mov edi, dword [ebp - 0x110]
cmp dword [ebp - 0xfc], ebx
jae 0x415d6c
lea edi, [ebp - 0x110]
mov esi, dword [ebp - 0xd8]
cmp dword [ebp - 0xc4], ebx
jae 0x415d80
lea esi, [ebp - 0xd8]
mov ecx, dword [ebp - 0x12c]
cmp dword [ebp - 0x118], ebx
jae 0x415d94
lea ecx, [ebp - 0x12c]
mov edx, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], ebx
jae 0x415da8
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], ebx
jae 0x415dbc
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 0x415e20
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 0x415e20
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 0x415e45
mov eax, dword [ebp - 0x58]
push str.create
mov edi, 6
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
je 0x415e62
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x4162ab
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.0040d460
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x415ed2
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b5b
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 0x415efa
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b5b
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.0040d460
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x415f50
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b5b
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 0x415f78
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b5b
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.0040d460
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x415fce
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b5b
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 0x415ff6
mov edx, dword [ebp - 0x30]
push edx
call fcn.00438b5b
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.0040d460
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x41604c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b5b
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 0x416074
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b5b
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.0040d460
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x4160ca
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b5b
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 0x4160f4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b5b
add esp, 4
mov edi, dword [ebp - 0x158]
lea edx, [ebp - 0x148]
push edx
mov edx, 0x458524
mov ecx, edi
call fcn.00410e30
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.0040d460
mov ebx, 8
cmp dword [ebp - 0x38], ebx
jb 0x416169
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b5b
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 0x41618f
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b5b
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 0x4161ba
mov edx, dword [ebp - 0x148]
push edx
call fcn.00438b5b
add esp, 4
lea eax, [ebp - 0x148]
push eax
mov edx, 0x458538
mov ecx, edi
call fcn.00410e30
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.0040d460
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x416229
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b5b
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 0x41624d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b5b
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 0x416274
mov eax, dword [ebp - 0x148]
push eax
call fcn.00438b5b
add esp, 4
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x170]
mov ecx, str.registry
call fcn.0041c1b0
mov esi, dword [ebp - 0x170]
cmp esi, ebx
je 0x4162ab
mov edi, dword [ebp - 0x16c]
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
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 0x4162e2
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00438b5b
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 0x41630e
mov edx, dword [ebp - 0x110]
push edx
call fcn.00438b5b
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 0x41633a
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00438b5b
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 0x416366
mov eax, dword [ebp - 0x12c]
push eax
call fcn.00438b5b
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 0x416392
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00438b5b
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 0x4163be
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00438b5b
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 0x4163e7
mov eax, dword [ebp - 0x84]
push eax
call fcn.00438b5b
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 0x416407
mov edx, dword [ebp - 0x68]
push edx
call fcn.00438b5b
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 0x416432
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x151]
jmp 0x4165c9
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 0x416470
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.00438b5b
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 0x4164a3
mov eax, dword [ebp - 0x110]
push eax
call fcn.00438b5b
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 0x4164cf
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00438b5b
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 0x4164fb
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.00438b5b
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 0x416527
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00438b5b
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 0x416553
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00438b5b
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 0x41657c
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00438b5b
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 0x41659c
mov eax, dword [ebp - 0x68]
push eax
call fcn.00438b5b
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 0x4165c7
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.004377d1
mov esp, ebp
pop ebp
ret 4