Function at 0x415700
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x469738]
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], 0x457580
mov dword [ebp - 0x20c], 0x457588
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, 0x459748
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410f80
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x68]
mov edi, esi
cmp eax, 8
jae 0x415ae2
lea edi, [ebp - 0x68]
mov ebx, edi
mov ecx, dword [ebp - 0x58]
lea ebx, [ebx + ecx*2]
cmp eax, 8
jae 0x415808
lea esi, [ebp - 0x68]
cmp esi, ebx
je 0x415827
sub edi, esi
mov edi, edi
movzx edx, word [esi]
push edx
call fcn.0043a030
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415810
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x84]
push eax
mov edx, 0x459d28
call fcn.00410f80
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov edi, esi
cmp eax, 8
jae 0x415ae9
lea edi, [ebp - 0x84]
mov ecx, edi
mov edx, dword [ebp - 0x74]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x41586f
lea esi, [ebp - 0x84]
cmp esi, ebx
je 0x41588c
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043cba5
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415875
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0xa0]
push ecx
mov edx, str.path
mov ecx, esi
call fcn.00410f80
lea edx, [ebp - 0xbc]
push edx
mov edx, 0x459d34
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00410f80
lea eax, [ebp - 0x12c]
push eax
mov edx, str.data
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00410f80
lea ecx, [ebp - 0xd8]
push ecx
mov edx, str.type
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00410f80
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xd8]
mov edi, esi
cmp eax, 8
jae 0x415af0
lea edi, [ebp - 0xd8]
mov ecx, edi
mov edx, dword [ebp - 0xc8]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x415921
lea esi, [ebp - 0xd8]
cmp esi, ebx
je 0x41593e
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043a030
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x415927
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x110]
push ecx
mov edx, 0x459d58
mov ecx, esi
call fcn.00410f80
lea edx, [ebp - 0xf4]
push edx
mov edx, 0x459a9c
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00410f80
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xf4]
mov edi, esi
cmp eax, 8
jae 0x415af7
lea edi, [ebp - 0xf4]
mov ecx, edi
mov edx, dword [ebp - 0xe4]
lea ebx, [ecx + edx*2]
cmp eax, 8
jae 0x4159a5
lea esi, [ebp - 0xf4]
cmp esi, ebx
je 0x4159c7
sub edi, esi
jmp 0x4159b0
movzx eax, word [esi]
push eax
call fcn.0043cba5
mov word [esi + edi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4159b0
mov eax, dword [ebp - 0x100]
push 0x457a7c
mov edi, 2
lea ecx, [ebp - 0x110]
call fcn.00404ab0
lea ecx, [ebp - 0xa0]
push ecx
push ecx
neg eax
push 0x4576d8
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 0x415a91
lea ecx, [ebp - 0xd8]
push ecx
push ecx
push 0x459d64
push ecx
lea edx, [ebp - 0x12c]
push edx
push ecx
push 0x459478
push ecx
lea eax, [ebp - 0xbc]
push eax
push ecx
lea ecx, [ebp - 0x20c]
push 0x4576d8
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 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0x74]
inc dword [0x46a9f4]
add esp, 0x10
push 0x459d68
mov edi, 4
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x415afe
mov dword [ebp - 0x150], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x415b46
mov ebx, esi
jmp 0x4157fa
mov ecx, esi
jmp 0x41585e
mov ecx, esi
jmp 0x41590d
mov ecx, esi
jmp 0x415991
mov eax, dword [ebp - 0x74]
push str.HKCU
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x415b21
mov dword [ebp - 0x150], SysStringLen
jmp 0x415b46
mov eax, dword [ebp - 0x74]
push str.HKCR
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x41658d
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 0x415e16
mov eax, dword [ebp - 0x58]
push str.createonly
mov edi, 0xa
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
je 0x415e16
mov eax, dword [ebp - 0x58]
push str.deleteoninstall
mov edi, 0xf
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x415db3
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 0x415bbb
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbbf
call fcn.00435930
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], esi
jb 0x415bdc
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004396db
add esp, 4
cmp dword [ebp - 0xac], 0
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
jne 0x415c7b
call fcn.004027b0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], esi
jb 0x415c05
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.004066f0
mov ecx, dword [ebp - 0x14c]
cmp byte [ecx + 0x40], 0
jne 0x415f70
cmp dword [ebp - 0x8c], 8
mov edi, dword [ebp - 0xa0]
jae 0x415c4e
lea edi, [ebp - 0xa0]
mov esi, 0x459e60
lea ecx, [ebp - 0xf4]
call fcn.0040ec90
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 0x415d71
call fcn.004027b0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], esi
jb 0x415c8b
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.004066f0
cmp dword [ebp - 0x8c], 8
mov esi, dword [ebp - 0xa0]
jae 0x415cc4
lea esi, [ebp - 0xa0]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x415cd5
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 0x415d1f
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 0x415d79
mov eax, dword [ebp - 0x14c]
cmp byte [eax + 0x40], 0
jne 0x415d56
cmp dword [ebp - 0xa8], 8
mov eax, dword [ebp - 0xbc]
jae 0x415d46
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 0x415d67
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x160], 0
test esi, esi
je 0x415f70
cmp esi, 2
je 0x415f70
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 0x415f70
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x415f70
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x21c]
call fcn.004027b0
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
jb 0x415ded
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.004066f0
jmp 0x415f70
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 0x415e34
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 0x415e5e
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004396db
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 0x415e77
mov eax, dword [eax]
mov edi, eax
mov ecx, 0xbb9
call fcn.00435930
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x38], ebx
jb 0x415e98
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004396db
add esp, 4
mov edx, dword [ebp - 0x14c]
cmp byte [edx + 0x40], 0
jne 0x415f70
mov edi, dword [ebp - 0x110]
cmp dword [ebp - 0xfc], ebx
jae 0x415ebc
lea edi, [ebp - 0x110]
mov esi, dword [ebp - 0xd8]
cmp dword [ebp - 0xc4], ebx
jae 0x415ed0
lea esi, [ebp - 0xd8]
mov ecx, dword [ebp - 0x12c]
cmp dword [ebp - 0x118], ebx
jae 0x415ee4
lea ecx, [ebp - 0x12c]
mov edx, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], ebx
jae 0x415ef8
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], ebx
jae 0x415f0c
lea eax, [ebp - 0xa0]
push edi
push esi
push edx
push eax
mov eax, dword [ebp - 0x150]
push eax
call fcn.0041f660
test eax, eax
je 0x415f70
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 0x415f70
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xc]
call fcn.00433c70
add esp, 0x10
mov edx, dword [ebp - 0x14c]
cmp byte [edx + 0x40], 0
jne 0x415f95
mov eax, dword [ebp - 0x58]
push str.create
mov edi, 6
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
je 0x415fb2
mov eax, dword [ebp - 0x58]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x68]
call fcn.00404ab0
test eax, eax
jne 0x4163fb
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.004065b0
lea eax, [ebp - 0x84]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.00421bb0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x15
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x416022
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004396db
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 0x41604a
mov eax, dword [ebp - 0x30]
push eax
call fcn.004396db
add esp, 4
xor ecx, ecx
push 5
mov eax, 0x459a28
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
call fcn.004065b0
lea eax, [ebp - 0xa0]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00421bb0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x17
call fcn.0040d5e0
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x4160a0
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004396db
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 0x4160c8
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004396db
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.004065b0
lea eax, [ebp - 0xbc]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x18
call fcn.00421bb0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x19
call fcn.0040d5e0
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x41611e
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004396db
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 0x416146
mov edx, dword [ebp - 0x30]
push edx
call fcn.004396db
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.004065b0
lea eax, [ebp - 0x110]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.00421bb0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x1b
call fcn.0040d5e0
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x41619c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004396db
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 0x4161c4
mov eax, dword [ebp - 0x30]
push eax
call fcn.004396db
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.004065b0
lea eax, [ebp - 0xf4]
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1c
call fcn.00421bb0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x1d
call fcn.0040d5e0
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x41621a
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004396db
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 0x416244
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004396db
add esp, 4
mov edi, dword [ebp - 0x158]
lea edx, [ebp - 0x148]
push edx
mov edx, 0x459524
mov ecx, edi
call fcn.00410f80
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.004065b0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x20
call fcn.0040d5e0
mov ebx, 8
cmp dword [ebp - 0x38], ebx
jb 0x4162b9
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004396db
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 0x4162df
mov eax, dword [ebp - 0x30]
push eax
call fcn.004396db
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 0x41630a
mov edx, dword [ebp - 0x148]
push edx
call fcn.004396db
add esp, 4
lea eax, [ebp - 0x148]
push eax
mov edx, 0x459538
mov ecx, edi
call fcn.00410f80
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.004065b0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 0x23
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x416379
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004396db
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 0x41639d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004396db
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 0x4163c4
mov eax, dword [ebp - 0x148]
push eax
call fcn.004396db
add esp, 4
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x170]
mov ecx, str.registry
call fcn.0041c320
mov esi, dword [ebp - 0x170]
cmp esi, ebx
je 0x4163fb
mov edi, dword [ebp - 0x16c]
mov eax, esi
call fcn.0040d7d0
push esi
call fcn.004396db
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 0x416432
mov eax, dword [ebp - 0xf4]
push eax
call fcn.004396db
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 0x41645e
mov edx, dword [ebp - 0x110]
push edx
call fcn.004396db
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 0x41648a
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004396db
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 0x4164b6
mov eax, dword [ebp - 0x12c]
push eax
call fcn.004396db
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 0x4164e2
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004396db
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 0x41650e
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004396db
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 0x416537
mov eax, dword [ebp - 0x84]
push eax
call fcn.004396db
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 0x416557
mov edx, dword [ebp - 0x68]
push edx
call fcn.004396db
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 0x416582
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x151]
jmp 0x416719
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 0x4165c0
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.004396db
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 0x4165f3
mov eax, dword [ebp - 0x110]
push eax
call fcn.004396db
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 0x41661f
mov edx, dword [ebp - 0xd8]
push edx
call fcn.004396db
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 0x41664b
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.004396db
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 0x416677
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004396db
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 0x4166a3
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004396db
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 0x4166cc
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004396db
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 0x4166ec
mov eax, dword [ebp - 0x68]
push eax
call fcn.004396db
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 0x416717
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.00438351
mov esp, ebp
pop ebp
ret 4