Function at 0x4eca89c0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
call fcn.4ec51589
jmp 0x4eca8a27
cmp dword [ebp - 0x620], ebx
je 0x4eca8479
push dword [ebp - 0x620]
call fcn.4ec51589
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.4ec515ae
leave
ret
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
jmp 0x4eca89b0
mov eax, dword [ebp - 0x624]
cmp eax, ebx
jbe 0x4eca8b0b
cmp dword [ebp - 0x634], ebx
mov word [ebp + eax*2 - 0x414], bx
mov dword [ebp - 0x624], ebx
je 0x4eca8e51
mov eax, dword [0x4edd7060]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x414]
push eax
call fcn.4ec7927e
mov dword [ebp - 0x634], ebx
mov edi, eax
cmp edi, ebx
je 0x4eca8b0b
push 8
call fcn.4ec515d7
cmp eax, ebx
je 0x4eca8b0b
mov ecx, dword [ebp - 0x644]
cmp ecx, ebx
mov dword [eax], edi
je 0x4eca8938
mov dword [eax + 4], ebx
mov dword [ecx + 4], eax
mov dword [ebp - 0x644], eax
jmp 0x4eca8b0b
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x4edd770c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x62c]
push eax
push 9
xor ebx, ebx
push ebx
push 0x4eca8b38
mov esi, 0x208
push 0x80000002
mov dword [ebp - 0x648], ecx
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x640], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4eca8486
push esi
call fcn.4ec515d7
cmp eax, ebx
mov dword [ebp - 0x620], eax
je 0x4ecc7de4
push edi
mov edi, dword [ebp - 0x640]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x638]
push ebx
push ebx
push eax
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x630]
mov dword [ebp - 0x638], 0x104
push dword [ebp - 0x62c]
mov dword [ebp - 0x628], edi
call esi
cmp eax, 0xea
je 0x4ecc7df5
cmp eax, ebx
jne 0x4eca8466
inc dword [ebp - 0x630]
push 0xc
call fcn.4ec515d7
mov esi, eax
cmp esi, ebx
je 0x4eca8a27
mov eax, dword [0x4edd7060]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x61c]
push eax
mov dword [ebp - 0x644], ebx
call fcn.4ec7927e
cmp eax, ebx
mov dword [esi], eax
je 0x4eca845b
xor eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
shr dword [ebp - 0x628], 1
mov dword [ebp - 0x624], ebx
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x634], ebx
je 0x4eca8b20
mov ecx, dword [ebp - 0x620]
movzx eax, word [ecx + eax*2]
cmp ax, 0x2c
je 0x4eca8bc0
cmp ax, bx
je 0x4eca8943
mov ecx, dword [ebp - 0x624]
inc dword [ebp - 0x624]
mov word [ebp + ecx*2 - 0x414], ax
mov eax, dword [ebp - 0x63c]
inc eax
cmp eax, dword [ebp - 0x628]
mov dword [ebp - 0x63c], eax
jb 0x4eca8ada
mov eax, dword [ebp - 0x648]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov dword [eax], esi
jmp 0x4eca8a27
mov dword [ebp - 0x624], ebx
mov dword [ebp - 0x634], 1
jmp 0x4eca8b0b
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.4eca84b4
test eax, eax
je 0x4eca8b0b
push 0x104
lea eax, [ebp - 0x20c]
push eax
push eax
call fcn.4ec791e6
mov eax, dword [0x4edd7060]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.4eca8404
cmp eax, ebx
je 0x4eca8eaf
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [0x4edd7060]
mov ecx, dword [ecx + 8]
push eax
call fcn.4ec7927e
jmp 0x4eca8985
mov eax, dword [0x4edd7060]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.4ec7aab9
cmp eax, ebx
jne 0x4eca8e96
jmp 0x4eca8b0b
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4eca8486
push dword [ebp - 0x620]
add edi, edi
mov dword [ebp - 0x638], 0x104
mov dword [ebp - 0x640], edi
call fcn.4ec51589
push edi
call fcn.4ec515d7
cmp eax, ebx
mov dword [ebp - 0x620], eax
je 0x4eca8479
lea ecx, [ebp - 0x628]
push ecx
push eax
push ebx
push ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x630]
mov dword [ebp - 0x628], edi
push dword [ebp - 0x62c]
call esi
jmp 0x4eca8a79