Function at 0x466ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd38
mov eax, dword fs:[0]
push eax
sub esp, 0xbb4
mov eax, dword [0x567680]
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 edi, dword [ebp + 8]
mov dword [ebp - 0xba4], 0
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov dword [ebp - 4], 0
mov dword [ebp - 0xbb0], edi
mov dword [ebp - 0xbc0], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0xba4], 1
call fcn.004eaaf0
add esp, 0xc
mov dword [ebp - 0xbbc], 0
mov dword [ebp - 0xbb8], 0
mov dword [ebp - 0xbb4], 0
push str.SOFTWAREWow6432NodeMicr
lea ecx, [ebp - 0xba8]
mov dword [ebp - 4], 1
call fcn.00401c30
mov ebx, dword [0x568ad4]
mov byte [ebp - 4], 2
lea ecx, [ebx + 2]
lea eax, [ebx + 1]
imul eax, ecx
imul eax, ebx
cdq
mov ecx, 0x17
idiv ecx
cmp edx, 8
jne 0x466e60
xor eax, eax
mov dword [ebp - 0xbac], eax
lea ecx, [ebp - 0xb94]
xor edx, edx
mov dword [ebp - 0xb9c], edx
mov dword [ebp - 0xba0], ecx
lea ecx, [eax + 1]
lea edi, [edx + 1]
mov eax, ebx
cdq
idiv ecx
mov eax, ebx
mov ecx, ebx
sub ecx, dword [ebp - 0xbac]
mov ebx, dword [ebp - 0xba0]
mov esi, edx
cdq
imul esi, ecx
idiv edi
add esi, eax
sub esi, dword [ebp - 0xb9c]
push esi
push 0x517084
call fcn.004ea95e
mov eax, dword [ebp - 0xbac]
mov edx, edi
add ebx, 4
add esp, 8
mov dword [ebp - 0xb9c], edx
mov dword [ebp - 0xba0], ebx
cmp edx, 9
jge 0x466e3d
mov ebx, dword [0x568ad4]
jmp 0x466de0
inc eax
mov dword [ebp - 0xbac], eax
cmp eax, 0x19
jge 0x466e5a
mov ebx, dword [0x568ad4]
mov ecx, dword [ebp - 0xba0]
jmp 0x466dd2
mov edi, dword [ebp - 0xbb0]
push 0x17
push str.osoftInternet_Explorer
lea ecx, [ebp - 0xba8]
call fcn.00402f20
mov eax, dword [ebp - 0xba8]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x466e9a
push 0
lea ecx, [ebp - 0xba8]
call fcn.004084d0
mov eax, dword [ebp - 0xba8]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xbbc]
call fcn.0040e350
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xbbc]
or ecx, 0xffffffff
test eax, eax
jne 0x4670a0
lea eax, [ebp - 0xb9c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0xba0]
push eax
push 0
push str.svcVersion
push esi
mov dword [ebp - 0xb9c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x466f20
mov eax, dword [ebp - 0xba0]
cmp eax, 1
je 0x466f05
cmp eax, 2
jne 0x466f20
mov eax, dword [ebp - 0xb9c]
test eax, eax
je 0x466f80
test al, 1
jne 0x466f20
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x466f89
mov ebx, 1
mov byte [ebp - 0xb95], 0
test bl, 2
je 0x466f5a
mov edx, dword [ebp - 0xb9c]
add edx, 0xfffffff0
and ebx, 0xfffffffd
mov dword [ebp - 0xba4], ebx
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x466f5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xb95], 0
je 0x466fbe
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466f70
jmp 0x46706b
xor eax, eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xb9c]
call fcn.00401c30
mov eax, dword [eax]
mov ebx, 3
cmp dword [eax - 0xc], 0
mov dword [ebp - 0xba4], ebx
je 0x466f25
mov byte [ebp - 0xb95], 1
jmp 0x466f2c
lea eax, [ebp - 0xb9c]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x51a6fc
lea ecx, [ebp - 0xbbc]
mov dword [ebp - 0xb9c], 0x400
call fcn.0040e400
test eax, eax
jne 0x467014
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xb9c]
call fcn.00401c30
mov eax, dword [eax]
or ebx, 4
cmp dword [eax - 0xc], 0
mov dword [ebp - 0xba4], ebx
mov byte [ebp - 0xb95], 1
jne 0x46701b
mov byte [ebp - 0xb95], 0
test bl, 4
je 0x467049
mov edx, dword [ebp - 0xb9c]
add edx, 0xfffffff0
and ebx, 0xfffffffb
mov dword [ebp - 0xba4], ebx
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x467049
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xb95], 0
je 0x46707e
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
jmp 0x467060
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467060
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
mov ecx, edi
call fcn.0040b9d0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x467093
push esi
call ebx
xor esi, esi
mov dword [ebp - 0xbbc], esi
mov dword [ebp - 0xbb8], 0
or ecx, 0xffffffff
mov edi, dword [ebp - 0xba8]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4670c1
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
test esi, esi
je 0x4670c8
push esi
call ebx
mov eax, dword [ebp - 0xbb0]
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.004e9514
mov esp, ebp
pop ebp
ret