Function at 0x45b9c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6231
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4e3018]
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 0x45bd21
mov esi, dword [0x4f8118]
mov dword [ebp - 0x228], 0
test esi, esi
je 0x45ba2f
lock inc dword [esi + 4]
mov esi, dword [0x4f8118]
mov ecx, dword [0x4f8114]
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 0x45ba97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x45bac1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45bac1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x45bac1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x21c], 0
jne 0x45bb79
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00489020
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 0x45bb60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x45bb9e
push 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
push 0x4c7c00
lea ecx, [ebp - 0x250]
call fcn.0042c6a0
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x250]
add esi, 0x138
cmp esi, eax
je 0x45bbfa
mov ecx, esi
call fcn.0042c640
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.0042c640
mov eax, dword [ebp - 0x22c]
cmp dword [eax + 0x148], 0
jne 0x45bd1b
mov esi, dword [0x4f8118]
mov dword [ebp - 0x21c], 0
test esi, esi
je 0x45bc36
lock inc dword [esi + 4]
mov esi, dword [0x4f8118]
mov ecx, dword [0x4f8114]
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 0x45bc82
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45bc82
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x45bc82
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0045cd50
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x234]
call fcn.0046b0c0
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 0x45bcb0
sub edx, esi
sar edx, 1
push edx
push ecx
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx + 0x138]
call fcn.0042c6a0
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 0x45bcf3
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 0x45bd15
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 0x45bd32
mov ecx, dword [ecx]
push ecx
mov ecx, esi
call fcn.00406470
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.00486999
mov esp, ebp
pop ebp
ret 4