Function at 0x2e045daa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
shl esi, 2
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.2e01eb0f
test eax, eax
je 0x2e045f57
push ebx
push esi
xor ebx, ebx
push ebx
push dword [ebp - 0xc]
call fcn.2e0351ac
xor esi, esi
add esp, 0xc
cmp edi, ebx
mov dword [ebp - 0x14], esi
jle 0x2e045f4e
mov edi, dword [ebp + 8]
add edi, 0x10
mov dword [ebp - 0x10], edi
cmp dword [edi - 0x10], ebx
jne 0x2e045f3b
mov eax, dword [ebp - 0xc]
cmp dword [eax + esi*4], ebx
jne 0x2e045f3b
mov eax, dword [edi]
cmp byte [eax], 0
jne 0x2e045e16
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
jmp 0x2e045e31
lea ecx, [ebp - 8]
push ecx
push 0x20019
push ebx
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x2e045e31
mov dword [ebp - 8], ebx
cmp esi, dword [ebp + 0xc]
mov dword [ebp - 4], esi
jge 0x2e045f28
lea esi, [edi - 8]
mov ecx, dword [edi]
mov eax, dword [esi + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x2e045e63
test dl, dl
je 0x2e045e5f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x2e045e63
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x2e045e45
xor eax, eax
jmp 0x2e045e68
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x2e045f10
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor edi, edi
inc edi
mov dword [eax + ecx*4], edi
cmp dword [esi - 8], ebx
jne 0x2e045f10
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x2e045f10
mov eax, dword [esi + 4]
sub eax, ebx
je 0x2e045f79
dec eax
je 0x2e045f61
dec eax
je 0x2e045f5d
dec eax
jne 0x2e045f10
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 0xc]
mov dword [ebp + 8], ebx
push ecx
call fcn.2e045bb8
test eax, eax
je 0x2e045f10
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea edi, [ebx + ebx]
push edi
call fcn.2e01e9aa
mov dword [esi - 4], eax
test eax, eax
je 0x2e045f00
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esi], edi
mov dword [esi - 8], 1
cmp dword [ebp + 8], 0
je 0x2e045f0e
push dword [ebp + 8]
call fcn.2e01e9de
xor ebx, ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
add esi, 0x18
cmp eax, dword [ebp + 0xc]
jl 0x2e045e40
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
je 0x2e045f3b
cmp eax, ebx
je 0x2e045f3b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
add edi, 0x18
cmp esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jl 0x2e045df2
push dword [ebp - 0xc]
call fcn.2e01ec16
pop ebx
pop edi
pop esi
leave
ret 0xc
push 3
jmp 0x2e045f62
push edi
push esi
lea eax, [esi - 4]
push eax
push dword [esi + 0xc]
push ecx
call fcn.2e045bb8
test eax, eax
je 0x2e045f10
mov dword [esi - 8], edi
jmp 0x2e045f10
lea eax, [ebp - 0x18]
push eax
lea eax, [esi - 4]
push eax
push ebx
push ebx
push dword [esi + 0xc]
mov dword [ebp - 0x18], 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e045f10
jmp 0x2e045f74