Function at 0x45bba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b72a1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x234], esi
cmp dword [eax + 0x148], 0
mov dword [ebp - 0x230], esi
jne 0x45bf01
mov esi, dword [0x4f9128]
mov dword [ebp - 0x228], 0
test esi, esi
je 0x45bc0f
lock inc dword [esi + 4]
mov esi, dword [0x4f9128]
mov ecx, dword [0x4f9124]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 0
lea edx, [ebp - 0x254]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
lea ecx, [ebp - 0x228]
push ecx
push 0xf003f
push 0
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x254]
or edi, 0xffffffff
mov dword [ebp - 0x21c], eax
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bc77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x45bca1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45bca1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x45bca1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x21c], 0
jne 0x45bd59
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00489ec0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x250], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bd40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x45bd7e
push 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
push 0x4c8cd8
lea ecx, [ebp - 0x250]
call fcn.0042c850
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x250]
add esi, 0x138
cmp esi, eax
je 0x45bdda
mov ecx, esi
call fcn.0042c7f0
movups xmm0, xmmword [ebp - 0x250]
xor eax, eax
mov word [ebp - 0x250], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x240]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
lea ecx, [ebp - 0x250]
call fcn.0042c7f0
mov eax, dword [ebp - 0x22c]
cmp dword [eax + 0x148], 0
jne 0x45befb
mov esi, dword [0x4f9128]
mov dword [ebp - 0x21c], 0
test esi, esi
je 0x45be16
lock inc dword [esi + 4]
mov esi, dword [0x4f9128]
mov ecx, dword [0x4f9124]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 1
lea edx, [ebp - 0x21c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
mov byte [ebp - 4], 3
test esi, esi
je 0x45be62
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45be62
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x45be62
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0045cf30
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x234]
call fcn.00470130
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov edx, ecx
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45be90
sub edx, esi
sar edx, 1
push edx
push ecx
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx + 0x138]
call fcn.0042c850
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bed3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45bef5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x230]
cmp dword [eax + 0x14c], 8
lea ecx, [eax + 0x138]
jb 0x45bf12
mov ecx, dword [ecx]
push ecx
mov ecx, esi
call fcn.004066c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret 4