Function at 0x715db24e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x715d2b28
call fcn.715dd74c
mov eax, dword [ebp + 0x24]
add esp, 0x10
and eax, 0x100
mov dword [0x715e4abc], ebx
mov dword [ebp - 8], eax
jne 0x715db2d2
push 0x2800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x715e4abc], eax
mov dword [0x715e4ac4], eax
jne 0x715db2bf
push ebx
push 0x10
push ebx
push ebx
push 0x44e
push dword [ebp + 8]
call fcn.715d6f11
mov eax, 0x8007000e
jmp 0x715db4ae
push 0x715db5aa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.715db4b5
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov esi, dword [ebp + 0x1c]
jl 0x715db49c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x715db2e8
xor ebx, ebx
cmp byte [esi], 0
je 0x715db47d
push esi
push 0x715d2afc
call fcn.715dd74c
pop ecx
lea eax, [ebp - 0x210]
pop ecx
push dword [ebp + 0x14]
push eax
call edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.715e1804
test byte [ebp + 0x24], 1
jne 0x715db406
cmp dword [ebp - 8], ebx
jne 0x715db406
cmp dword [ebp + 0x20], 0
je 0x715db39c
lea eax, [ebp - 0x10c]
push 0x715d15a8
push eax
call edi
push dword [ebp + 0x20]
lea eax, [ebp - 0x10c]
push eax
call fcn.715e1804
lea eax, [ebp - 0x10c]
push 0x715d1df0
push eax
call fcn.715e1804
lea eax, [ebp + 0x10]
push eax
push 1
lea eax, [ebp - 0x10c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x715db3dc
push eax
push eax
push eax
push eax
push esi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x715db391
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x715db3dc
push dword [ebp + 0x14]
lea eax, [ebp - 0x10c]
push eax
call edi
push dword [ebp + 0x18]
lea eax, [ebp - 0x10c]
push eax
call fcn.715e1804
lea eax, [ebp - 0x10c]
push 0x715d2af4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x10c]
push eax
call fcn.715e17e6
test eax, eax
jne 0x715db3dc
push 1
pop ebx
test ebx, ebx
je 0x715db466
push dword [ebp + 0x14]
push esi
call dword [0x715f124c]
mov ebx, eax
push ebx
push 0x715d2abc
call fcn.715dd74c
pop ecx
test ebx, ebx
pop ecx
je 0x715db466
cmp ebx, 2
jmp 0x715db45d
push esi
call dword [0x715f1248]
mov ebx, eax
push ebx
push 0x715d2a84
call fcn.715dd74c
pop ecx
test ebx, ebx
pop ecx
je 0x715db427
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], 0
jl 0x715db466
lea eax, [ebp - 0x210]
push eax
call fcn.715e17e6
test eax, eax
je 0x715db466
lea eax, [ebp - 0x210]
push 0
push eax
call dword [0x715f1244]
mov ebx, eax
push ebx
push 0x715d2a4c
call fcn.715dd74c
pop ecx
pop ecx
test ebx, ebx
je 0x715db466
mov dword [ebp - 4], 0x80004005
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 4], 0
lea esi, [esi + eax + 1]
jge 0x715db2e6
xor ebx, ebx
cmp dword [ebp - 4], ebx
jl 0x715db49c
push dword [ebp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [0x715e4abc]
push dword [ebp + 8]
call sym.ADVPACK.dll_FileSaveRestore
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x715d2a28
call fcn.715dd74c
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x20