Function at 0x4af5e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512928
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x40], ebx
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4af62e
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov edi, dword [ebp + 8]
mov ecx, edi
push str.keyParent
mov dword [esp + 0x74], 0
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b050e
push str.keyParent
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b050e
push str.keyParent
mov ecx, edi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4af69d
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov eax, dword [esi]
mov dword [esp + 0x44], eax
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af6bf
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4af703
test eax, 0xffff0000
jne 0x4af703
movzx eax, ax
mov ecx, eax
mov dword [esp + 0x44], eax
call fcn.00471400
test eax, eax
je 0x4af711
push dword [esp + 0x44]
lea ecx, [esp + 0x20]
push eax
call fcn.004724d0
jmp 0x4af70d
push eax
lea ecx, [esp + 0x20]
call fcn.00471eb0
mov esi, dword [esp + 0x1c]
push str.keyName
mov ecx, edi
mov byte [esp + 0x74], 6
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b03df
push str.keyName
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b03df
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af75f
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push str.keyName
mov ecx, edi
mov byte [esp + 0x74], 0xb
call fcn.0048ad90
mov dword [esp + 0x44], eax
cmp byte [eax + 8], 4
je 0x4af7a3
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
mov eax, dword [esp + 0x50]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x4af7ad
xor ecx, ecx
jmp 0x4af7c1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4af7b6
sub ecx, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0047e3b0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
call fcn.0047da90
push 0x54d150
push 0x5511d4
lea ecx, [esp + 0x1c]
call fcn.00473670
push str.valueName
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b028a
push str.valueName
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b028a
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af835
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
push str.valueName
mov ecx, edi
mov byte [esp + 0x74], 0x10
call fcn.0048ad90
mov edi, eax
cmp byte [edi + 8], 4
je 0x4af873
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x4af87d
xor ecx, ecx
jmp 0x4af88b
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4af882
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0047e3b0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x20]
call fcn.0047da90
push ecx
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
mov dword [esp + 0x40], esp
mov dword [esp + 0x48], edi
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x4af8d3
cmp ecx, dword [edi]
jne 0x4af8d3
mov esi, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4af910
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x4af8e7
call fcn.004722b0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 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 + 0x40]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.0047d280
add esp, 4
test eax, eax
jne 0x4afaa1
push str.undefined_keyParent_error
lea ecx, [esp + 0x1c]
call fcn.00471c70
push str.readRegistry
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0x11
call fcn.00471bb0
mov byte [esp + 0x70], 0x12
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4af96b
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
lea eax, [esp + 0x18]
mov byte [esp + 0x70], 0x13
push eax
lea edx, [esp + 0x48]
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0x14
cmp dword [ebx + 0xc], 0
je 0x4af9af
push 2
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x70], 0x13
or ebx, 0xffffffff
mov edx, dword [esp + 0x40]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4af9d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x70], 0x12
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4af9f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x11
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4afa14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x10
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4afa36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0xb
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4afa58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 6
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4afa7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b03d7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x4b061b
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0x15
mov edi, dword [esp + 0x14]
push ecx
push 0x20019
push 0
push edi
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov dword [esp + 0x54], esi
test esi, esi
jne 0x4afed5
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], esi
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4afb1c
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x34], esi
xor ecx, ecx
mov byte [esp + 0x70], 0x24
mov eax, 0x1fffff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ea22e
add esp, 4
mov dword [esp + 0x28], eax
push 0x3ffffe
push 0
push eax
call fcn.004ef3a0
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x38], 4
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4afbb3
cmp dword [esp + 0x30], 4
jne 0x4afbb3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4afe6a
mov eax, 0x16
mov word [ecx], ax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
jmp 0x4afe6a
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x3ffffe
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x40]
push eax
push 0
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4afc09
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x4afbe8
cmp eax, 2
jne 0x4afc09
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
test edx, edx
je 0x4afc54
test ecx, ecx
je 0x4afc4f
test cl, 1
jne 0x4afc09
mov eax, ecx
shr eax, 1
cmp word [edx + eax*2 - 2], 0
je 0x4afc54
push str.value_type_not_supported
lea ecx, [esp + 0x3c]
call fcn.00471c70
push str.readRegistry
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0x25
call fcn.00471bb0
mov byte [esp + 0x70], 0x26
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4afd94
push 0x80004005
call fcn.004712d0
xor eax, eax
mov word [edx], ax
shr ecx, 1
xor eax, eax
mov word [edx + ecx*2], ax
test edx, edx
jne 0x4afc64
xor ecx, ecx
jmp 0x4afc7f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4afc70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.004725a0
mov esi, dword [esp + 0x34]
mov ecx, str.true
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4afcbb
test dx, dx
je 0x4afcb7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4afcbb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4afc95
xor eax, eax
jmp 0x4afcc0
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x4afd37
mov ecx, str.false
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4afcf6
test dx, dx
je 0x4afcf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4afcf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4afcd0
xor eax, eax
jmp 0x4afcfb
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x4afd37
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4afe6a
mov ecx, 8
mov word [eax], cx
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, eax
test ecx, ecx
jne 0x4afd2c
call fcn.004722b0
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
jmp 0x4afe6a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4afe6a
mov ecx, 0xb
mov word [eax], cx
mov ecx, str.true
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4afd77
test dx, dx
je 0x4afd73
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4afd77
add eax, 4
add ecx, 4
test dx, dx
jne 0x4afd51
xor eax, eax
jmp 0x4afd7c
sbb eax, eax
or eax, 1
mov ecx, dword [ebp + 0xc]
test eax, eax
sete al
movzx eax, al
neg eax
sbb eax, eax
mov word [ecx + 8], ax
jmp 0x4afe6a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x48], edi
lea eax, [esp + 0x38]
mov byte [esp + 0x70], 0x27
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x70], 0x28
mov eax, dword [esp + 0x40]
cmp dword [eax + 0xc], 0
je 0x4afdde
push 2
push ecx
lea ecx, [esp + 0x38]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x70], 0x27
or ecx, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4afe01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x70], 0x26
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4afe22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x25
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 0x4afe44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x24
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 0x4afe66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x14]
push dword [esp + 0x28]
call fcn.004ea229
mov edx, dword [esp + 0x1c]
add esp, 4
test edx, edx
je 0x4afe8f
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x58], edx
add esi, 0xfffffff0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x70], 0x15
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4afeb6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4afec5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebx - 0x10]
mov byte [esp + 0x70], 0xb
or ebx, 0xffffffff
jmp 0x4b022b
or ebx, 0xffffffff
cmp esi, 2
je 0x4b00d6
push 0x54c414
lea ecx, [esp + 0x38]
call fcn.00471bb0
push 0x54c414
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0x16
call fcn.00471bb0
push str.ReadRegOpenKey
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x17
call fcn.00471bb0
lea ecx, [esp + 0x50]
call fcn.00472bb0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0x19
push ecx
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0x1a
push ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0x1b
push ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 0x1c
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 0x1d
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov edx, esi
mov byte [esp + 0x70], 0x1e
mov ecx, eax
call fcn.00474100
mov byte [esp + 0x70], 0x1d
mov ecx, ebx
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4affc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x1c
mov ecx, ebx
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4affe8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x1b
mov ecx, ebx
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b000a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x1a
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b002c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x19
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b004e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x18
mov ecx, ebx
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0070
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x17
mov ecx, ebx
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0092
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x16
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 0x4b00b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x15
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 0x4b00d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Open_error
lea ecx, [esp + 0x3c]
call fcn.00471c70
push str.readRegistry
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x1f
call fcn.00471bb0
mov byte [esp + 0x70], 0x20
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0118
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x50], esi
lea eax, [esp + 0x38]
mov byte [esp + 0x70], 0x21
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0x22
lea ecx, [esp + 0x4c]
push dword [esp + 0x54]
mov edx, eax
call fcn.00472f20
add esp, 4
mov ecx, eax
mov byte [esp + 0x70], 0x23
mov eax, dword [esp + 0x40]
cmp dword [eax + 0xc], 0
je 0x4b0179
push 2
push ecx
lea ecx, [esp + 0x44]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x70], 0x22
mov ecx, ebx
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b019b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x21
mov ecx, ebx
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b01bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x70], 0x20
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b01db
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x1f
mov ecx, ebx
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b01fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x15
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 0x4b021f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0xb
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0241
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x70], 6
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b025f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0
mov ecx, ebx
mov edx, dword [esp + 0x44]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b03d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x4b061b
push str.valueName_error
lea ecx, [esp + 0x44]
call fcn.00471c70
push str.readRegistry
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0xc
call fcn.00471bb0
mov byte [esp + 0x70], 0xd
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b02cc
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x54], edi
lea eax, [esp + 0x40]
mov byte [esp + 0x70], 0xe
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x54]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0xf
cmp dword [ebx + 0xc], 0
je 0x4b0310
push 2
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x70], 0xe
or ebx, 0xffffffff
mov edx, dword [esp + 0x50]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b0335
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x70], 0xd
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0353
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0375
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0xb
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0397
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 6
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b03b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x70], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b03d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x4b061b
push str.keyName_error
lea ecx, [esp + 0x44]
call fcn.00471c70
push str.readRegistry
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 7
call fcn.00471bb0
mov byte [esp + 0x70], 8
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0421
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x54], edi
lea eax, [esp + 0x40]
mov byte [esp + 0x70], 9
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x54]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0xa
cmp dword [ebx + 0xc], 0
je 0x4b0465
push 2
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x70], 9
or ebx, 0xffffffff
mov edx, dword [esp + 0x50]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b048a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x70], 8
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b04a8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 7
mov ecx, ebx
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b04ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 6
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b04ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x70], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b061b
mov ecx, dword [esi]
push esi
jmp 0x4b0616
push str.keyParent_error
lea ecx, [esp + 0x44]
call fcn.00471c70
push str.readRegistry
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 1
call fcn.00471bb0
mov byte [esp + 0x70], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0550
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x54], esi
lea eax, [esp + 0x40]
mov byte [esp + 0x70], 3
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x54]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 4
cmp dword [ebx + 0xc], 0
je 0x4b0594
push 2
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x70], 3
or ebx, 0xffffffff
mov edx, dword [esp + 0x50]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b05b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x70], 2
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b05d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 1
mov ecx, ebx
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b05f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b061b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x70], 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4b063e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8