Function at 0x44b6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b45e7
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x503074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4c965c
push str.HPCASL::Common::GetBoolPolicyValue
push 0
call fcn.00422b80
push eax
call fcn.0047bd80
xor edi, edi
add esp, 0x10
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.00422b80
mov al, byte [eax + 0x38]
test al, al
je 0x44b760
push 0x28
call fcn.00475970
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push str.HPCASL::Common::GetBoolPolicyValue
mov byte [ebp - 4], 1
call fcn.00422b80
push eax
mov ecx, esi
call fcn.00477bf0
mov edi, eax
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [esi], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
cmp dword [0x50c378], 8
mov eax, 0x50c364
push 0x20019
cmovae eax, dword [0x50c364]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041aa70
mov ebx, eax
test ebx, ebx
jne 0x44b955
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 8
jb 0x44b7c5
mov eax, dword [ebx]
jmp 0x44b7c7
mov eax, ebx
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 4
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44b801
cmp dword [ebp - 0x18], 4
jne 0x44b801
xor ebx, ebx
cmp dword [ebp - 0x10], 1
sete al
mov dword [esi], eax
jmp 0x44b937
call fcn.0040cd90
mov ecx, eax
test ecx, ecx
jne 0x44b816
push 0x80004005
call fcn.00402a20
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 3
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x103
or eax, ecx
mov dword [ebp - 0x18], 0x104
jge 0x44b850
push 0x103
lea ecx, [ebp + 0x10]
call fcn.0040d190
mov esi, dword [ebp + 0x10]
cmp dword [esi - 8], 0x103
jge 0x44b863
push 0x80070057
call fcn.00402a20
xor eax, eax
mov dword [esi - 0xc], 0x103
mov word [esi + 0x206], ax
cmp dword [ebx + 0x14], 8
jb 0x44b87b
mov ebx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.00419be0
push dword [esi - 8]
mov ebx, eax
push esi
call fcn.0048f0be
add esp, 8
test eax, eax
js 0x44b859
cmp eax, dword [esi - 8]
jg 0x44b859
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
jne 0x44b916
push 0x4c99e4
push esi
call fcn.0048edc3
add esp, 8
test eax, eax
je 0x44b90b
push 0x4de3c4
push esi
call fcn.0048edc3
add esp, 8
test eax, eax
je 0x44b90b
push 0x4d8508
lea ecx, [ebp + 0x10]
call fcn.0040a080
test eax, eax
je 0x44b90b
push str.enabled
lea ecx, [ebp + 0x10]
call fcn.0040a080
test eax, eax
je 0x44b90b
push 0x4cf030
lea ecx, [ebp + 0x10]
call fcn.0040a080
test eax, eax
je 0x44b90b
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x44b91b
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x44b91b
mov ebx, 1
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44b937
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x44b94c
push eax
call esi
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
jmp 0x44b966
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jle 0x44b966
movzx ebx, bx
or ebx, 0x80070000
push 0x4c965c
push str.HPCASL::Common::GetBoolPolicyValue
push 1
call fcn.00422b80
push eax
call fcn.0047bd80
mov eax, dword [ebp - 0x24]
add esp, 0x10
test eax, eax
je 0x44b98a
push eax
call esi
test edi, edi
je 0x44b9a0
mov ecx, edi
call fcn.00478c00
push 0x28
push edi
call fcn.00475d73
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret