Function at 0x2e005909
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1e4
mov eax, 0x2e02013a
call fcn.2e00eaaf
mov dword [ebp - 0x1d8], ecx
lea ecx, [ebp - 0x1f0]
call fcn.2e00a28d
push 0xe
pop ecx
lea eax, [ebp - 0x54]
push eax
xor ebx, ebx
mov esi, 0x2e001404
lea edi, [ebp - 0x54]
push 0x80000002
mov dword [ebp - 4], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.2e00732a
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x1d0]
push ecx
push ebx
push ebx
push 0x2e0013f8
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1d4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x2e0059e0
push dword [ebp - 0x1d0]
xor eax, eax
mov byte [ebp - 0x1c], bl
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
push 0x2e0013a8
push eax
call fcn.2e003794
add esp, 0xc
test eax, eax
jl 0x2e0059e0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.2e004779
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 2
call fcn.2e0058af
push ebx
push 1
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 1
call fcn.2e003b71
push 0x11
pop ecx
mov esi, 0x2e0013b0
lea edi, [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x9c]
push eax
push 0x80000002
movsb byte es:[edi], byte [esi]
call fcn.2e00732a
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x2e005ab6
push 0x103
lea eax, [ebp - 0x19f]
push ebx
push eax
mov byte [ebp - 0x1a0], bl
call fcn.2e00e5f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov edi, 0x104
mov dword [ebp - 0x18], ebx
push ebx
jmp 0x2e005aa4
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.2e004779
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 4
call fcn.2e0058af
push ebx
push 1
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 3
call fcn.2e003b71
inc dword [ebp - 0x18]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edi
call esi
test eax, eax
je 0x2e005a52
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp - 0x1e4]
lea ecx, [ebp - 0x1c8]
call fcn.2e003c73
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x18], eax
jmp 0x2e005b3b
lea ecx, [ebp - 0x1c]
call fcn.2e00be68
push eax
lea ecx, [ebp - 0x1bc]
call fcn.2e00432e
cmp dword [ebp - 0x1a4], 0x10
mov eax, dword [ebp - 0x1b8]
mov byte [ebp - 4], 5
jae 0x2e005b0f
lea eax, [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1d8]
push eax
call fcn.2e00485a
mov edi, eax
push ebx
lea ecx, [ebp - 0x1bc]
push 1
cmp edi, ebx
jne 0x2e005b92
mov byte [ebp - 4], 3
call fcn.2e003b71
lea ecx, [ebp - 0x1c]
call fcn.2e00370d
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1c8]
call fcn.2e003c73
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.2e008fcc
test al, al
je 0x2e005ae2
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c0], ebx
je 0x2e005b80
push dword [ebp - 0x1c0]
call esi
cmp dword [ebp - 0x1cc], ebx
je 0x2e005bbf
push dword [ebp - 0x1cc]
call esi
jmp 0x2e005bbf
call fcn.2e003b71
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c0], ebx
je 0x2e005bad
push dword [ebp - 0x1c0]
call esi
cmp dword [ebp - 0x1cc], ebx
je 0x2e005bbd
push dword [ebp - 0x1cc]
call esi
mov ebx, edi
lea ecx, [ebp - 0x1f0]
call fcn.2e0054c6
push dword [ebp - 0x1f0]
call fcn.2e00e33e
pop ecx
mov eax, ebx
call fcn.2e00eb32
ret