Function at 0x71cf25d0
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 0x71d11927
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x71d5a008]
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 [0x71d78094], esi
jge 0x71cf27a6
mov eax, dword [0x71d7aab8]
xorps xmm0, xmm0
movq qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xbc], esi
movups xmmword [ebp - 0xd4], xmm0
test eax, eax
je 0x71cf2652
cmp dword [eax + 0x14], 8
jb 0x71cf2657
mov eax, dword [eax]
jmp 0x71cf2657
mov eax, 0x71d54520
push eax
lea ecx, [ebp - 0xd4]
call fcn.71ce7620
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.71cf5050
cmp dword [ebp - 0xc0], 8
lea eax, [ebp - 0xe4]
push 0
push 0
push eax
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xe4], 0
cmovae edx, dword [ebp - 0xd4]
mov ecx, str.HKEY_LOCAL_MACHINE
push 0x20019
call fcn.71ce70c0
add esp, 0x10
test eax, eax
jne 0x71cf2732
mov esi, dword [ebp - 0xe4]
mov dword [ebp - 0xb8], eax
test esi, esi
je 0x71cf271b
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 0x71cf271b
cmp dword [ebp - 0xb8], eax
je 0x71cf271b
mov dword [0x71d78094], 1
jmp 0x71cf2725
mov dword [0x71d78094], 0
test esi, esi
je 0x71cf273c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x71cf273c
mov dword [0x71d78094], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x71cf2756
push eax
call fcn.71cf5a25
add esp, 4
mov dword [ebp - 4], 3
cmp dword [ebp - 0xc0], 8
jb 0x71cf2780
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x71cf2780
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 [0x71d7aab4]
test edx, edx
je 0x71cf27ba
cmp dword [edx + 0x14], 8
jb 0x71cf27bf
mov edx, dword [edx]
jmp 0x71cf27bf
mov edx, 0x71d568dc
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 0x71cf27d0
sub ecx, dword [ebp - 0xdc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.71ce7500
cmp dword [edi + 0x10], 0
mov eax, str.avast5.ini
jne 0x71cf282e
cmp word [str.avast5.ini], 0
mov edx, 0x71d54570
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 0x71cf2812
sub ecx, dword [ebp - 0xdc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.71ce7500
cmp dword [0x71d78094], 0
jle 0x71cf2b1f
cmp dword [edi + 0x14], 8
mov edx, edi
mov dword [ebp - 0xdc], edi
jb 0x71cf2851
mov edx, dword [edi]
mov dword [ebp - 0xdc], edx
mov ecx, dword [0x71d7aae8]
test ecx, ecx
je 0x71cf2865
cmp dword [ecx + 0x14], 8
jb 0x71cf286a
mov ecx, dword [ecx]
jmp 0x71cf286a
mov ecx, 0x71d568dc
mov esi, ecx
lea eax, [esi + 2]
mov dword [ebp - 0xe8], eax
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x71cf2875
sub esi, dword [ebp - 0xe8]
sar esi, 1
push esi
push ecx
push edx
call fcn.71cfd14b
mov ecx, dword [ebp - 0xdc]
add esp, 0xc
test eax, eax
jne 0x71cf28a4
cmp word [ecx + esi*2], 0x5c
je 0x71cf28ac
test esi, esi
jne 0x71cf2b1b
xor eax, eax
mov edx, str.avast5.ini
test esi, esi
setne al
add eax, esi
cmp word [str.avast5.ini], 0
lea eax, [ecx + eax*2]
mov ecx, 0x71d54570
cmovne ecx, edx
mov dword [ebp - 0xdc], eax
push ecx
push eax
call fcn.71cfcffb
add esp, 8
test eax, eax
jne 0x71cf28e8
mov esi, str.settings
jmp 0x71cf2951
xor esi, esi
nop word [eax + eax]
push dword [esi + 0x71d565ac]
push dword [ebp - 0xdc]
call fcn.71cfcffb
add esp, 8
test eax, eax
je 0x71cf2b1b
add esi, 4
cmp esi, 4
jb 0x71cf28f0
push 0x40
push dword [ebp - 0xdc]
lea eax, [ebp - 0x98]
push eax
call fcn.71cfdddb
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x98]
push 0x2e
push eax
call fcn.71cf6e2b
add esp, 8
test eax, eax
je 0x71cf294b
xor ecx, ecx
mov word [eax], cx
lea esi, [ebp - 0x98]
mov eax, dword [0x71d7aab8]
xorps xmm0, xmm0
movq qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xb4], xmm0
test eax, eax
je 0x71cf2980
cmp dword [eax + 0x14], 8
jb 0x71cf2985
mov eax, dword [eax]
jmp 0x71cf2985
mov eax, 0x71d54520
push eax
lea ecx, [ebp - 0xb4]
call fcn.71ce7620
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.71cf5050
push ecx
push esi
lea ecx, [ebp - 0xb4]
call fcn.71cf5050
cmp esi, str.settings
jne 0x71cf29e4
cmp byte [0x71d7aaa4], 0
je 0x71cf29e4
mov dword [ebp - 0xe0], 1
jmp 0x71cf2a51
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xdc]
push 0
push 0
push eax
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xdc], 0
cmovae edx, dword [ebp - 0xb4]
mov ecx, str.HKEY_LOCAL_MACHINE
push 0x20019
call fcn.71ce70c0
add esp, 0x10
test eax, eax
jne 0x71cf2aab
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], 1
test eax, eax
je 0x71cf2a42
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, str.settings
jne 0x71cf2a51
mov byte [0x71d7aaa4], 1
lea eax, [ebp - 0xb4]
cmp edi, eax
je 0x71cf2aab
cmp dword [edi + 0x14], 8
jb 0x71cf2a77
mov esi, dword [edi]
test esi, esi
je 0x71cf2a77
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 0x71cf2ac5
push eax
call fcn.71cf5a25
add esp, 4
mov dword [ebp - 4], 7
cmp dword [ebp - 0xa0], 8
jb 0x71cf2aef
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x71cf2aef
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 0x71cf2b21
xor eax, eax
jmp 0x71cf2b21
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.71cf548b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret