Function at 0x68a36600
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 0x68a55f77
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x68aaf040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0xe0], esi
cmp dword [0x68ab09ac], esi
jge 0x68a367d6
mov eax, dword [0x68ab3434]
xorps xmm0, xmm0
movq qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xbc], esi
movups xmmword [ebp - 0xd4], xmm0
test eax, eax
je 0x68a36682
cmp dword [eax + 0x14], 7
jbe 0x68a36687
mov eax, dword [eax]
jmp 0x68a36687
mov eax, 0x68aa7610
push eax
lea ecx, [ebp - 0xd4]
call fcn.68a29cb0
mov dword [ebp - 4], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 4], 1
push ecx
push str.properties
lea ecx, [ebp - 0xd4]
call fcn.68a39010
cmp dword [ebp - 0xc0], 7
lea eax, [ebp - 0xe4]
push 0
push 0
push eax
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xe4], 0
cmova edx, dword [ebp - 0xd4]
mov ecx, str.HKEY_LOCAL_MACHINE
push 0x20019
call fcn.68a253b0
add esp, 0x10
test eax, eax
jne 0x68a36762
mov esi, dword [ebp - 0xe4]
mov dword [ebp - 0xb8], eax
test esi, esi
je 0x68a3674b
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 4
push eax
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
push str.UseRegistry
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x68a3674b
cmp dword [ebp - 0xb8], eax
je 0x68a3674b
mov dword [0x68ab09ac], 1
jmp 0x68a36755
mov dword [0x68ab09ac], 0
test esi, esi
je 0x68a3676c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x68a3676c
mov dword [0x68ab09ac], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x68a36786
push eax
call fcn.68a39891
add esp, 4
mov dword [ebp - 4], 3
cmp dword [ebp - 0xc0], 7
jbe 0x68a367b0
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x68a367b0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edx, dword [0x68ab3430]
test edx, edx
je 0x68a367ea
cmp dword [edx + 0x14], 7
jbe 0x68a367ef
mov edx, dword [edx]
jmp 0x68a367ef
mov edx, 0x68aaa25c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xdc], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x68a36800
sub ecx, dword [ebp - 0xdc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.68a25890
cmp dword [edi + 0x10], 0
mov eax, 0x68ab2170
jne 0x68a3685e
cmp word [0x68ab2170], 0
mov edx, str.avast5.ini
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xdc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x68a36842
sub ecx, dword [ebp - 0xdc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.68a25890
cmp dword [0x68ab09ac], 0
jle 0x68a36b4f
cmp dword [edi + 0x14], 7
mov edx, edi
mov dword [ebp - 0xdc], edi
jbe 0x68a36881
mov edx, dword [edi]
mov dword [ebp - 0xdc], edx
mov ecx, dword [0x68ab3464]
test ecx, ecx
je 0x68a36895
cmp dword [ecx + 0x14], 7
jbe 0x68a3689a
mov ecx, dword [ecx]
jmp 0x68a3689a
mov ecx, 0x68aaa25c
mov esi, ecx
lea eax, [esi + 2]
mov dword [ebp - 0xe8], eax
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x68a368a5
sub esi, dword [ebp - 0xe8]
sar esi, 1
push esi
push ecx
push edx
call fcn.68a41266
mov ecx, dword [ebp - 0xdc]
add esp, 0xc
test eax, eax
jne 0x68a368d4
cmp word [ecx + esi*2], 0x5c
je 0x68a368dc
test esi, esi
jne 0x68a36b4b
xor eax, eax
mov edx, 0x68ab2170
test esi, esi
setne al
add eax, esi
cmp word [0x68ab2170], 0
lea eax, [ecx + eax*2]
mov ecx, str.avast5.ini
cmovne ecx, edx
mov dword [ebp - 0xdc], eax
push ecx
push eax
call fcn.68a41038
add esp, 8
test eax, eax
jne 0x68a36918
mov esi, 0x68aa9f30
jmp 0x68a36981
xor esi, esi
nop word [eax + eax]
push dword [esi + 0x68aa9f2c]
push dword [ebp - 0xdc]
call fcn.68a41038
add esp, 8
test eax, eax
je 0x68a36b4b
add esi, 4
cmp esi, 4
jb 0x68a36920
push 0x40
push dword [ebp - 0xdc]
lea eax, [ebp - 0x98]
push eax
call fcn.68a416ab
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x98]
push 0x2e
push eax
call fcn.68a3ae2b
add esp, 8
test eax, eax
je 0x68a3697b
xor ecx, ecx
mov word [eax], cx
lea esi, [ebp - 0x98]
mov eax, dword [0x68ab3434]
xorps xmm0, xmm0
movq qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xb4], xmm0
test eax, eax
je 0x68a369b0
cmp dword [eax + 0x14], 7
jbe 0x68a369b5
mov eax, dword [eax]
jmp 0x68a369b5
mov eax, 0x68aa7610
push eax
lea ecx, [ebp - 0xb4]
call fcn.68a29cb0
mov dword [ebp - 4], 4
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 5
push ecx
push str.properties
lea ecx, [ebp - 0xb4]
call fcn.68a39010
push ecx
push esi
lea ecx, [ebp - 0xb4]
call fcn.68a39010
cmp esi, 0x68aa9f30
jne 0x68a36a14
cmp byte [0x68ab3420], 0
je 0x68a36a14
mov dword [ebp - 0xe0], 1
jmp 0x68a36a81
cmp dword [ebp - 0xa0], 7
lea eax, [ebp - 0xdc]
push 0
push 0
push eax
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xdc], 0
cmova edx, dword [ebp - 0xb4]
mov ecx, str.HKEY_LOCAL_MACHINE
push 0x20019
call fcn.68a253b0
add esp, 0x10
test eax, eax
jne 0x68a36adb
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], 1
test eax, eax
je 0x68a36a72
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x68aa9f30
jne 0x68a36a81
mov byte [0x68ab3420], 1
lea eax, [ebp - 0xb4]
cmp edi, eax
je 0x68a36adb
cmp dword [edi + 0x14], 7
jbe 0x68a36aa7
mov esi, dword [edi]
test esi, esi
je 0x68a36aa7
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
movups xmm0, xmmword [ebp - 0xb4]
xor eax, eax
mov word [ebp - 0xb4], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0xa4]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x68a36af5
push eax
call fcn.68a39891
add esp, 4
mov dword [ebp - 4], 7
cmp dword [ebp - 0xa0], 7
jbe 0x68a36b1f
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x68a36b1f
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe0]
jmp 0x68a36b51
xor eax, eax
jmp 0x68a36b51
mov eax, esi
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.68a3943b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret