Function at 0x450780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x568730
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5b3480]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 8]
push eax
mov dword [ebp], esi
call fcn.00450a50
add esp, 4
mov dword [ebp - 0x3c], 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0x10
push str.LicenseAccountingMode
push str.SOFTWAREPoliciesTracker_SoftwareVault
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x450800
mov eax, dword [ebp - 0x40]
sub eax, 0
je 0x450800
sub eax, 1
jne 0x450800
lea ebx, [eax + 1]
jmp 0x450802
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], 7
or edi, 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 0x10], al
cmp ebx, 1
jne 0x4508ce
lea eax, [ebp - 0x6c]
push eax
call fcn.00451340
add esp, 4
cmp byte [ebp - 0x44], 0
jne 0x45088c
xor eax, eax
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x58], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
mov word [ebp + 0x58], ax
lea eax, [ebp + 0x48]
push eax
call fcn.0044e290
lea ecx, [ebp + 0x48]
mov byte [ebp - 0x44], bl
call fcn.0044ede0
xor ebx, ebx
movsx eax, byte [ebp - 0x10]
lea ecx, [ebp - 0x38]
test eax, eax
jne 0x4508a2
lea eax, [ebp - 0x6c]
push eax
call fcn.0044f340
jmp 0x4508b7
call fcn.00452f90
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044e290
mov byte [ebp - 0x10], 0
cmp byte [ebp - 0x44], 0
je 0x450964
lea ecx, [ebp - 0x6c]
call fcn.0044ede0
jmp 0x450964
push 0xd0
call fcn.00491411
add esp, 4
test eax, eax
je 0x450a3b
lea ecx, [ebp + 7]
push ecx
mov ecx, eax
call fcn.0044cce0
mov esi, eax
test esi, esi
je 0x450a3b
lea ecx, [esi + 4]
lock inc dword [ecx]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x45091d
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x450915
mov eax, dword [ecx]
push esi
jmp 0x45091b
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
cmp byte [ebp - 0x10], 1
jne 0x45094e
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x45095a
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x45095a
mov edx, dword [ecx + 0x9c]
test edx, edx
je 0x450946
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x45095a
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x45095a
lea ecx, [ebp - 0x38]
call fcn.00452f90
mov byte [ebp - 0x10], 1
mov dword [ebp - 0x38], esi
mov esi, dword [ebp]
mov byte [ebp - 0x34], 1
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
lea eax, [ebp + 0x18]
push eax
call fcn.0043fa50
lea eax, [ebp + 0x30]
lea ecx, [esi + 0x28]
push eax
call fcn.0043fa50
mov dl, byte [ebp - 0x10]
movsx eax, dl
inc eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x6c], 0xff
sub eax, 0
je 0x4509d3
sub eax, 1
je 0x4509c0
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov dword [esi + 0x44], eax
mov byte [esi + 0x48], 1
mov dword [ebp - 0x38], ecx
mov byte [esi + 0x6c], 1
jmp 0x4509d6
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x44]
call fcn.0044e290
mov dl, byte [ebp - 0x10]
mov byte [esi + 0x6c], 0
mov ecx, dword [ebp - 0x38]
movsx eax, dl
inc eax
sub eax, 0
je 0x450a13
sub eax, 1
je 0x450a0b
test ecx, ecx
je 0x450a13
lock xadd dword [ecx + 4], edi
dec edi
jne 0x450a13
mov edx, dword [ecx + 0x9c]
test edx, edx
je 0x450a03
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x450a13
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x450a13
lea ecx, [ebp - 0x38]
call fcn.0044ede0
lea ecx, [ebp + 8]
call fcn.0044ecc0
mov eax, dword [ebp]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.004913e0
lea esp, [ebp + 0x74]
pop ebp
ret
push 4
call fcn.00453770
int3