Function at 0x7cfaa950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
mov ebx, 0x104
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], esi
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cfaa9a2
push 0x2000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, esi
mov dword [ebp + 0xc], eax
jne 0x7cfaa9a9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x7cfaabf5
lea ecx, [ebp - 8]
mov edi, 0x1000
push ecx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x1c], 1
push eax
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
call esi
test eax, eax
jne 0x7cfaaa8c
cmp dword [ebp - 4], eax
je 0x7cfaaa60
mov eax, dword [ebp + 0xc]
and byte [eax + 0x7ff], 0
cmp dword [ebp - 0x14], 1
jne 0x7cfaaa60
lea eax, [ebp - 0x224]
push 0x7cf32208
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfaaa4e
lea eax, [ebp - 0x224]
push 0x7cf3a068
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfaaa4e
lea eax, [ebp - 0x224]
push 0x7cf3a050
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfaaa4e
push 1
lea eax, [ebp - 0x224]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.7cfaa6a4
jmp 0x7cfaaa60
push dword [ebp + 0xc]
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call fcn.7cfaa828
lea eax, [ebp - 8]
inc dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
jmp 0x7cfaa9d7
lea ecx, [ebp - 8]
xor eax, eax
push ecx
lea ecx, [ebp - 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
push ecx
lea ecx, [ebp - 4]
push eax
push ecx
lea ecx, [ebp - 0x224]
push ecx
push eax
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x7cfaabe0
cmp dword [ebp - 4], eax
je 0x7cfaabb3
mov eax, dword [ebp + 0xc]
and byte [eax + 0x7ff], 0
cmp dword [ebp - 0x14], 2
jne 0x7cfaabb3
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x7cfaabdc
mov eax, dword [ebp + 8]
push 0x800
push ebx
push dword [ebp + 0xc]
push dword [eax]
call fcn.7cfaa7d2
cmp eax, 0x800
mov dword [ebp - 0x18], eax
jbe 0x7cfaab39
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x7cfaabdc
push dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push dword [eax]
call fcn.7cfaa7d2
test ebx, ebx
je 0x7cfaabdc
lea eax, [ebp - 0x224]
push 0x7cf32208
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfaab97
lea eax, [ebp - 0x224]
push 0x7cf3a068
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfaab97
lea eax, [ebp - 0x224]
push 0x7cf3a050
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfaab97
push 1
lea eax, [ebp - 0x224]
push ebx
push eax
push dword [ebp + 8]
call fcn.7cfaa6a4
jmp 0x7cfaaba7
lea eax, [ebp - 0x224]
push ebx
push eax
push dword [ebp + 8]
call fcn.7cfaa828
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, 0x104
lea eax, [ebp - 8]
inc dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0xc]
jmp 0x7cfaaaaf
and dword [ebp - 0x1c], 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 8