Function at 0x456450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf2cc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x5000a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov edi, dword [ebx + 8]
mov esi, ecx
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x238], edi
cmp dword [esi + 0x130], 0
jne 0x4567d6
mov esi, dword [0x51539c]
mov dword [ebp - 0x230], 0
test esi, esi
je 0x4564d3
lock inc dword [esi + 4]
mov esi, dword [0x51539c]
mov ecx, dword [0x515398]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 4], 0
lea edx, [ebp - 0x25c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x30]
call eax
lea ecx, [ebp - 0x230]
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 - 0x25c]
or edi, 0xffffffff
mov dword [ebp - 0x224], eax
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45653b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x456565
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x456565
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x456565
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x224], 0
jne 0x45661a
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0049edd0
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x208
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x258], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456601
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
jmp 0x45663f
push 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
push 0x4e524c
lea ecx, [ebp - 0x258]
call fcn.004263f0
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x258]
add esi, 0x120
cmp esi, eax
je 0x456680
mov ecx, esi
call fcn.00426390
movups xmm0, xmmword [ebp - 0x258]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x248]
movq qword [esi + 0x10], xmm0
jmp 0x4566c0
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x4566c0
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4566b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45685a
push edx
push ecx
call fcn.0049cf77
add esp, 8
mov esi, dword [ebp - 0x234]
cmp dword [esi + 0x130], 0
jne 0x4567d0
mov esi, dword [0x51539c]
mov dword [ebp - 0x224], 0
test esi, esi
je 0x4566f1
lock inc dword [esi + 4]
mov esi, dword [0x51539c]
mov ecx, dword [0x515398]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 4], 1
lea edx, [ebp - 0x224]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov byte [ebp - 4], 3
test esi, esi
je 0x45673d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45673d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x45673d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x224]
call fcn.004580d0
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x23c]
call fcn.00477ce0
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x456765
sub edx, esi
sar edx, 1
push edx
push ecx
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx + 0x120]
call fcn.004263f0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4567a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4567ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x238]
add esi, 0x120
cmp dword [esi + 0x14], 8
jb 0x4567e4
mov esi, dword [esi]
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x45685f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push esi
mov ecx, edi
mov dword [ebp - 4], 5
call fcn.00404690
test al, al
jne 0x456838
test esi, esi
jne 0x456816
xor ecx, ecx
jmp 0x45682f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456820
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00404960
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d3ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004a1aff
push 0x80004005
call fcn.00404b10
int3