Function at 0x43af90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ca9c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x47800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43afd9
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.keyParent
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004497b0
or ebx, 0xffffffff
cmp eax, 0x47ae10
je 0x43b92c
cmp byte [edi + 8], 0
jne 0x43b012
mov esi, 0x47ae10
jmp 0x43b08a
mov ecx, dword [edi]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ebp - 0x40], xmm0
push eax
mov dword [ebp - 0x40], str.keyParent
mov dword [ebp - 0x3c], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b064
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x43b05d
cmp dword [ebp - 0x3c], 1
jne 0x43b05d
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x43b086
lea esi, [eax + 0x18]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x40], 0
je 0x43b086
cmp dword [ebp - 0x3c], 1
jne 0x43b086
call fcn.004489d0
push dword [ebp - 0x40]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
cmp byte [esi + 8], 4
jne 0x43b92c
cmp byte [edi + 8], 0
jne 0x43b0a1
mov esi, 0x47ae10
jmp 0x43b119
mov ecx, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
push eax
mov dword [ebp - 0x24], str.keyParent
mov dword [ebp - 0x20], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b0f3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x43b0ec
cmp dword [ebp - 0x20], 1
jne 0x43b0ec
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x43b115
lea esi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], 0
je 0x43b115
cmp dword [ebp - 0x20], 1
jne 0x43b115
call fcn.004489d0
push dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43b133
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43b16f
test eax, 0xffff0000
jne 0x43b16f
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00420170
test eax, eax
je 0x43b17b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.0042e3b0
jmp 0x43b178
push eax
lea ecx, [ebp - 0x30]
call fcn.0042c350
mov esi, dword [ebp - 0x30]
push str.keyName
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43b8f9
cmp byte [edi + 8], 0
jne 0x43b1a3
mov eax, 0x47ae10
jmp 0x43b222
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyName
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b1f6
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x43b1ef
cmp dword [ebp - 0x14], 1
jne 0x43b1ef
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x47ae10
jmp 0x43b21e
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x43b21e
cmp dword [ebp - 0x14], 1
jne 0x43b21e
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp byte [eax + 8], 4
jne 0x43b8f9
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43b241
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
cmp byte [edi + 8], 0
jne 0x43b25d
mov eax, 0x47ae10
jmp 0x43b2dc
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyName
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b2b0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0
je 0x43b2a9
cmp dword [ebp - 0x14], 1
jne 0x43b2a9
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x47ae10
jmp 0x43b2d8
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x43b2d8
cmp dword [ebp - 0x14], 1
jne 0x43b2d8
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
mov edx, dword [eax]
test edx, edx
jne 0x43b2e6
xor ecx, ecx
jmp 0x43b2fa
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b2f0
sub ecx, dword [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004410c0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call fcn.00453880
push 0x461168
push 0x463e20
lea ecx, [ebp - 0x28]
call fcn.0042c0f0
push str.valueName
mov ecx, edi
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43b8c3
cmp byte [edi + 8], 0
jne 0x43b345
mov eax, 0x47ae10
jmp 0x43b3c4
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.valueName
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b398
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 0
je 0x43b391
cmp dword [ebp - 0x14], 1
jne 0x43b391
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x47ae10
jmp 0x43b3c0
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0
je 0x43b3c0
cmp dword [ebp - 0x14], 1
jne 0x43b3c0
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
cmp byte [eax + 8], 4
jne 0x43b8c3
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43b3e3
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xe
cmp byte [edi + 8], 0
jne 0x43b3ff
mov edi, 0x47ae10
jmp 0x43b477
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.valueName
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b451
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43b44a
cmp dword [ebp - 0x14], 1
jne 0x43b44a
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x43b473
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0
je 0x43b473
cmp dword [ebp - 0x14], 1
jne 0x43b473
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xe
mov edx, dword [edi]
test edx, edx
jne 0x43b481
xor ecx, ecx
jmp 0x43b48f
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b486
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004410c0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.00453880
push ecx
add esi, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x20], edi
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.0042d8f0
add eax, 0x10
mov dword [edi], eax
call fcn.00452260
add esp, 4
test eax, eax
jne 0x43b523
push str.CDispatcherHandler::ReadRegistry
push str._s_undefined_keyParent_error
push 3
push 5
call fcn.004506f0
mov byte [ebp - 4], 9
add esp, 0x10
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b4fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b912
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43b912
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0x20019
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4c]
mov edi, dword [ebp - 0x28]
push edi
push eax
call fcn.00420870
test eax, eax
je 0x43b5c8
push eax
push str.CDispatcherHandler::ReadRegistry
push str._s_Open_error___d_
push 3
push 5
call fcn.004506f0
mov eax, dword [ebp - 0x4c]
add esp, 0x14
test eax, eax
je 0x43b586
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b5a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b912
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43b912
mov dword [ebp - 0x50], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43b5e4
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
xor ecx, ecx
mov byte [ebp - 4], 0x12
mov eax, 0x1fffff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045694e
push 0x3ffffe
push 0
push eax
mov dword [ebp - 0x58], eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
add esp, 0x10
mov dword [ebp - 0x38], 4
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b668
cmp dword [ebp - 0x14], 4
jne 0x43b668
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x43b6d8
mov eax, 0x16
mov word [ecx], ax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 8], eax
jmp 0x43b6d8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x3ffffe
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b6c2
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x43b697
cmp eax, 2
jne 0x43b6c2
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x38]
test edx, edx
je 0x43b789
test ecx, ecx
je 0x43b784
test cl, 1
jne 0x43b6c2
mov eax, ecx
shr eax, 1
cmp word [edx + eax*2 - 2], 0
je 0x43b789
push str.CDispatcherHandler::ReadRegistry
push str._s_value_type_not_supported
push 2
push 5
call fcn.004506f0
add esp, 0x10
push dword [ebp - 0x58]
call fcn.00456908
mov ecx, dword [ebp - 0x4c]
add esp, 4
test ecx, ecx
je 0x43b6f6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 0x11
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b719
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x43b727
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b745
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b760
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x20]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b942
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43b942
xor eax, eax
mov word [edx], ax
shr ecx, 1
xor eax, eax
mov word [edx + ecx*2], ax
test edx, edx
jne 0x43b799
xor ecx, ecx
jmp 0x43b7af
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b7a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042d9b0
mov esi, dword [ebp - 0x1c]
mov ecx, 0x461c88
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b7e9
test dx, dx
je 0x43b7e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b7e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b7c3
xor eax, eax
jmp 0x43b7ee
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x43b865
mov ecx, 0x461c94
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b826
test dx, dx
je 0x43b822
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b826
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b800
xor eax, eax
jmp 0x43b82b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x43b865
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x43b6d8
mov ecx, 8
mov word [eax], cx
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x43b85a
call fcn.0042d8e0
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 8], eax
jmp 0x43b6d8
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x43b6d8
mov ecx, 0xb
mov word [eax], cx
mov ecx, 0x461c88
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b8a6
test dx, dx
je 0x43b8a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b8a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b880
xor eax, eax
jmp 0x43b8ab
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x54]
test eax, eax
sete al
movzx eax, al
neg eax
sbb eax, eax
mov word [ecx + 8], ax
jmp 0x43b6d8
push str.CDispatcherHandler::ReadRegistry
push str._s_valueName_error
push 3
push 5
call fcn.004506f0
mov byte [ebp - 4], 6
add esp, 0x10
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b90f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43b90f
push str.CDispatcherHandler::ReadRegistry
push str._s_keyName_error
push 3
push 5
call fcn.004506f0
add esp, 0x10
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b942
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43b942
push str.CDispatcherHandler::ReadRegistry
push str._s_keyParent_error
push 3
push 5
call fcn.004506f0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43b961
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004568f7
mov esp, ebp
pop ebp
ret 8