Function at 0x4ae230
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5127b8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4ae27e
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [ebp + 8]
mov ecx, edi
push str.keyParent
mov dword [esp + 0x6c], 0
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4af49a
push str.keyParent
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4af49a
push str.keyParent
mov ecx, edi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4ae2ed
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov eax, dword [esi]
mov dword [esp + 0x38], eax
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4ae30f
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ae353
test eax, 0xffff0000
jne 0x4ae353
movzx eax, ax
mov ecx, eax
mov dword [esp + 0x38], eax
call fcn.00471400
test eax, eax
je 0x4ae361
push dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.004724d0
jmp 0x4ae35d
push eax
lea ecx, [esp + 0x1c]
call fcn.00471eb0
mov esi, dword [esp + 0x18]
push str.keyName
mov ecx, edi
mov byte [esp + 0x6c], 6
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4af36b
push str.keyName
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4af36b
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4ae3af
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push str.keyName
mov ecx, edi
mov byte [esp + 0x6c], 0xb
call fcn.0048ad90
mov dword [esp + 0x38], eax
cmp byte [eax + 8], 4
je 0x4ae3f3
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
mov eax, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x4ae3fd
xor ecx, ecx
jmp 0x4ae411
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae406
sub ecx, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.0047da90
push 0x54d150
push 0x5511d4
lea ecx, [esp + 0x18]
call fcn.00473670
push str.valueName
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4af215
push str.valueName
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4af215
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4ae485
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.valueName
mov ecx, edi
mov byte [esp + 0x6c], 0x10
call fcn.0048ad90
mov dword [esp + 0x38], eax
cmp byte [eax + 8], 4
je 0x4ae4c9
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
mov eax, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x4ae4d3
xor ecx, ecx
jmp 0x4ae4eb
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae4e0
sub ecx, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
call fcn.0047da90
push str.value
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
jne 0x4ae636
push str.value_error
lea ecx, [esp + 0x24]
call fcn.00471c70
push str.writeRegistry
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0x11
call fcn.00471bb0
mov byte [esp + 0x68], 0x12
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4ae55c
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
lea eax, [esp + 0x20]
mov byte [esp + 0x68], 0x13
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 0x14
cmp dword [ebx + 0xc], 0
je 0x4ae5a0
push 2
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x68], 0x13
or eax, 0xffffffff
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4ae5c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x68], 0x12
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae5e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x11
mov ecx, edi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae606
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x10
mov ecx, edi
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae628
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x1c]
jmp 0x4af30a
push ecx
mov ecx, dword [esi - 0x10]
lea ebx, [esi - 0x10]
mov dword [esp + 0x3c], esp
mov dword [esp + 0x28], ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x4ae666
cmp ecx, dword [ebx]
jne 0x4ae666
mov esi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4ae6a3
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x4ae67a
call fcn.004722b0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004ea853
add esp, 0x10
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.0047d280
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ae83c
push str.undefined_keyParent_error
lea ecx, [esp + 0x2c]
call fcn.00471c70
push str.writeRegistry
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0x15
call fcn.00471bb0
mov byte [esp + 0x68], 0x16
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4ae700
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x28]
mov byte [esp + 0x68], 0x17
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0x18
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x4ae74a
push 2
push ecx
lea ecx, [esp + 0x2c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x68], 0x17
or edi, 0xffffffff
mov edx, dword [esp + 0x34]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4ae76f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x16
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae78d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x15
mov ecx, edi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae7af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x10
mov ecx, edi
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae7d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov ecx, edi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae7f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 6
mov ecx, edi
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ae815
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af363
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x4af5a7
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x28]
mov byte [esp + 0x68], 0x19
mov ebx, dword [esp + 0x10]
push eax
push 0x2001f
push 0
push ebx
push esi
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4ae88f
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], esi
jmp 0x4ae8d7
cmp eax, 2
jne 0x4aee99
lea eax, [esp + 0x4c]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4aeb21
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
push str.value
mov ecx, edi
mov dword [esp + 0x58], 0
call fcn.0048ad90
mov edi, dword [esp + 0x1c]
mov al, byte [eax + 8]
cmp al, 1
je 0x4ae902
cmp al, 2
je 0x4ae902
cmp al, 5
je 0x4ae902
cmp al, 3
jne 0x4ae93c
mov esi, dword [ebp + 8]
mov ecx, esi
push str.value
call fcn.0048ad90
cmp byte [eax + 8], 5
je 0x4ae93f
push str.value
mov ecx, esi
call fcn.0048ad90
mov ecx, eax
call fcn.0048a570
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push 4
push eax
push 4
jmp 0x4aea9b
mov esi, dword [ebp + 8]
push str.value
mov ecx, esi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4aea3d
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4ae971
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
push str.value
mov ecx, esi
mov byte [esp + 0x6c], 0x36
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4ae9af
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x4ae9b9
xor ecx, ecx
jmp 0x4ae9c9
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae9c0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
call fcn.0047da90
mov esi, dword [esp + 0x28]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x4aea1c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ae9f5
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x19
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aeaa8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4aeaa8
push str.value
mov ecx, esi
call fcn.0048ad90
cmp byte [eax + 8], 5
jne 0x4aeaa8
push str.value
mov ecx, esi
call fcn.0048ad90
mov ecx, eax
call fcn.0048a850
test al, al
mov edx, str.true
mov ecx, str.false
cmove edx, ecx
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x4aeaa8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aea81
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4aeab7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [edi - 0x10]
mov byte [esp + 0x68], 0xb
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aead8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x68], 6
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aeaf6
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0
mov ecx, edi
mov edx, dword [esp + 0x24]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af363
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x4af5a7
push 0x54c414
lea ecx, [esp + 0x34]
call fcn.00471bb0
push 0x54c414
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 0x1a
call fcn.00471bb0
push str.WriteRefCreateKey
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 0x1b
call fcn.00471bb0
mov byte [esp + 0x68], 0x1c
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4aeb76
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x28]
mov byte [esp + 0x68], 0x1d
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0x1e
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0x1f
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0x20
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 0x21
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 0x22
mov ecx, eax
mov edx, dword [esp + 0x34]
call fcn.00474100
mov byte [esp + 0x68], 0x21
or edi, 0xffffffff
mov edx, dword [esp + 0x3c]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4aec33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x20
mov ecx, edi
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aec55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1f
mov ecx, edi
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aec77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1e
mov ecx, edi
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aec99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1d
mov ecx, edi
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aecbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x1c
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aecd9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1b
mov ecx, edi
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aecfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1a
mov ecx, edi
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aed1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov ecx, edi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aed3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Create_error
lea ecx, [esp + 0x30]
call fcn.00471c70
push str.writeRegistry
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x23
call fcn.00471bb0
mov byte [esp + 0x68], 0x24
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4aed81
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x2c]
mov byte [esp + 0x68], 0x25
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x48]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 0x26
lea ecx, [esp + 0x48]
push dword [esp + 0x34]
mov edx, eax
call fcn.00472f20
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0x27
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x4aede2
push 2
push ecx
lea ecx, [esp + 0x38]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x68], 0x26
mov ecx, edi
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aee04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x25
mov ecx, edi
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aee26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x24
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aee44
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x23
mov ecx, edi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aee66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov ecx, edi
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aee88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
jmp 0x4aeac2
push 0x54c414
lea ecx, [esp + 0x30]
call fcn.00471bb0
push 0x54c414
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x28
call fcn.00471bb0
push str.WriteRegOpenKey
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0x29
call fcn.00471bb0
mov byte [esp + 0x68], 0x2a
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4aeeee
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x34]
mov byte [esp + 0x68], 0x2b
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x2c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0x2c
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0x2d
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0x2e
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 0x2f
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 0x30
mov ecx, eax
mov edx, dword [esp + 0x38]
call fcn.00474100
mov byte [esp + 0x68], 0x2f
or edi, 0xffffffff
mov edx, dword [esp + 0x48]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4aefab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2e
mov ecx, edi
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aefcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2d
mov ecx, edi
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aefef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2c
mov ecx, edi
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af011
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2b
mov ecx, edi
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af033
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x2a
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af051
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x29
mov ecx, edi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af073
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x28
mov ecx, edi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af095
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov ecx, edi
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af0b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Open_error
lea ecx, [esp + 0x34]
call fcn.00471c70
push str.writeRegistry
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0x31
call fcn.00471bb0
mov byte [esp + 0x68], 0x32
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af0f9
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x30]
mov byte [esp + 0x68], 0x33
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x48]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 0x34
lea ecx, [esp + 0x48]
push dword [esp + 0x38]
mov edx, eax
call fcn.00472f20
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0x35
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x4af15a
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x68], 0x34
mov ecx, edi
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af17c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x33
mov ecx, edi
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af19e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x32
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af1bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x31
mov ecx, edi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af1de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov ecx, edi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4aee88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
jmp 0x4aeac2
push str.valueName_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.writeRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0xc
call fcn.00471bb0
mov byte [esp + 0x68], 0xd
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af257
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x34]
mov byte [esp + 0x68], 0xe
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 0xf
cmp dword [ebx + 0xc], 0
je 0x4af29b
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x68], 0xe
or eax, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4af2be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x68], 0xd
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af2df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xc
mov ecx, edi
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af301
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af323
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 6
mov ecx, edi
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af345
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af363
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x4af5a7
push str.keyName_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.writeRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 7
call fcn.00471bb0
mov byte [esp + 0x68], 8
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af3ad
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x34]
mov byte [esp + 0x68], 9
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 0xa
cmp dword [ebx + 0xc], 0
je 0x4af3f1
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x68], 9
or ebx, 0xffffffff
mov edx, dword [esp + 0x48]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4af416
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x68], 8
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af434
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 7
mov ecx, ebx
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af456
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 6
mov ecx, ebx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af478
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af5a7
mov ecx, dword [esi]
push esi
jmp 0x4af5a2
push str.keyParent_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.writeRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.00471bb0
mov byte [esp + 0x68], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af4dc
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x34]
mov byte [esp + 0x68], 3
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x68], 4
cmp dword [ebx + 0xc], 0
je 0x4af520
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x68], 3
or ebx, 0xffffffff
mov edx, dword [esp + 0x48]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4af545
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 2
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af563
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 1
mov ecx, ebx
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af585
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0
mov ecx, ebx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af5a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x68], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4af5ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4