Function at 0x10006efc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x100d575c
call fcn.100ac440
sub esp, 0x9b8
mov eax, dword [0x1011c710]
push ebx
push esi
mov esi, ecx
xor eax, ebp
lea ecx, [esi + 0x2c]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x984], ecx
call fcn.10003613
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x554]
mov dword [ebp - 0x53c], 0xf
call fcn.10001594
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x10006f57
push edi
lea ecx, [ebp - 0x554]
call fcn.10002026
push esi
lea ecx, [ebp - 0x538]
call fcn.10003125
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], 1
call fcn.10003000
cmp dword [ebp - 0x520], 0x10
mov eax, dword [ebp - 0x534]
jae 0x10006f91
lea eax, [ebp - 0x534]
lea ecx, [ebp - 0x970]
push ecx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10006fb1
mov byte [ebp - 0x965], bl
jmp 0x1000718a
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x114], bl
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x9a8]
push eax
lea eax, [ebp - 0x998]
push eax
lea eax, [ebp - 0x98c]
push eax
lea eax, [ebp - 0x990]
push eax
lea eax, [ebp - 0x978]
push eax
lea eax, [ebp - 0x9a0]
push eax
lea eax, [ebp - 0x99c]
push eax
lea eax, [ebp - 0x994]
push eax
push ebx
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x970]
mov dword [ebp - 0x988], 0x104
mov dword [ebp - 0x980], 0x406
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x978], ebx
je 0x10007177
mov dword [ebp - 0x96c], ebx
jbe 0x10007177
mov eax, 0x405
mov dword [ebp - 0x974], eax
mov dword [ebp - 0x980], eax
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0x964]
push eax
lea eax, [ebp - 0x97c]
push eax
push ebx
lea eax, [ebp - 0x980]
push eax
lea eax, [ebp - 0x51c]
push eax
push dword [ebp - 0x96c]
mov dword [ebp - 0x97c], ebx
push dword [ebp - 0x970]
mov byte [ebp - 0x51c], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
je 0x100070a6
cmp eax, 0x7a
jne 0x1000715f
mov eax, dword [ebp - 0x97c]
push 2
pop edx
cmp eax, edx
je 0x100070e0
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x100070e0
cmp eax, 4
jne 0x100070c7
mov dword [ebp - 0x558], ecx
jmp 0x100070f3
cmp eax, 3
jne 0x100070f3
mov eax, dword [ebp - 0x974]
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x558], edx
jmp 0x100070f3
mov eax, dword [ebp - 0x974]
mov byte [ebp + eax - 0x964], bl
mov dword [ebp - 0x558], ebx
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x10007116
push str._NO_NAME_
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x9c4]
call fcn.10002218
mov ecx, dword [ebp - 0x984]
lea eax, [ebp - 0x9c4]
push eax
mov byte [ebp - 4], 2
call fcn.10006e7d
mov edi, eax
mov ecx, 0x104
lea esi, [ebp - 0x964]
push ebx
rep movsd dword es:[edi], dword [esi]
push 1
lea ecx, [ebp - 0x9c4]
mov byte [ebp - 4], 1
call fcn.100017d0
inc dword [ebp - 0x96c]
mov eax, dword [ebp - 0x96c]
cmp eax, dword [ebp - 0x978]
jb 0x10007046
push dword [ebp - 0x970]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x965], 1
push ebx
push 1
lea ecx, [ebp - 0x538]
call fcn.100017d0
push ebx
push 1
lea ecx, [ebp - 0x554]
call fcn.100017d0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x965]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4