Function at 0x451970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fd17
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], 0
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x451c7a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], 2
call fcn.00433300
neg eax
mov dword [ebp - 0x44], ebx
sbb esi, esi
lea eax, [ebp - 0x44]
push eax
and esi, 0x100
or esi, 0x20019
push esi
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451a37
mov ebx, dword [ebp - 0x44]
and esi, 0x300
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], esi
jmp 0x451b2f
cmp eax, 2
jne 0x451b27
call fcn.004ce0f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x451c3d
push 0x7d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.c:_vmagent_new_binjoblist522315_srcc_capitalcomputerztray_trunkcomputerztraycomputerztrayhardwareinfohardwareinfo.cpp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00420e20
mov byte [ebp - 4], 3
call fcn.004ce0f0
mov dword [ebp - 0x48], eax
mov eax, dword [0x5c44b8]
add eax, 5
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004288a0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xfc]
call fcn.00442f50
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
push 0x56ccdc
push eax
call fcn.004280f0
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x451ada
mov esi, dword [esi]
push esi
mov esi, dword [ebp - 0x4c]
push esi
call fcn.004280f0
push str.no_found_releaseid
push esi
call fcn.004280f0
mov ecx, dword [ebp - 0x48]
add esp, 0x10
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xfc]
call fcn.00428200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00421360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00421360
jmp 0x451c3d
test eax, eax
jne 0x451c3d
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x451c84
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 8
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x451b71
push 0x104
lea ecx, [ebp - 0x44]
call fcn.00429130
mov esi, dword [ebp - 0x44]
cmp dword [esi - 8], 0x104
jl 0x451c8e
xor eax, eax
mov dword [esi - 0xc], 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x48]
push eax
push esi
lea eax, [ebp - 0x60]
mov dword [ebp - 0x48], 0x208
push eax
push 0
push 0x56f370
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x451be9
mov eax, dword [ebp - 0x60]
cmp eax, 1
je 0x451bc6
cmp eax, 2
je 0x451bc6
mov edi, 0xd
jmp 0x451be9
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x451be2
test al, 1
jne 0x451bdb
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x451be7
mov edi, 0xd
jmp 0x451be9
xor eax, eax
mov word [esi], ax
xor edi, edi
push dword [esi - 8]
push esi
call fcn.00510553
add esp, 8
test eax, eax
js 0x451c8e
cmp eax, dword [esi - 8]
jg 0x451c8e
xor ecx, ecx
mov dword [esi - 0xc], eax
test edi, edi
mov word [esi + eax*2], cx
mov edi, dword [ebp - 0x4c]
jne 0x451c21
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00427b10
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451c3d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
test ebx, ebx
je 0x451c53
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80070057
call fcn.004225f0
int3