Function at 0x4b9cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
cmp dword [esi + 4], eax
jbe 0x4b9fa5
mov edi, edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
call fcn.0043ae40
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4b9fc3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp ebx, dword [esi + 4]
jae 0x4b9fb9
mov eax, dword [esi]
lea ecx, [ebx*4]
mov dword [ebp - 0x28], ecx
push dword [eax + ecx]
lea eax, [ebp - 0x20]
push dword [0x53e7c8]
push str._s_sInfo
push eax
call fcn.0043ad30
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
add esp, 0x10
push 0x20019
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043b290
test eax, eax
jne 0x4b9f54
call fcn.0043ae40
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4b9fc3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 2
jge 0x4b9dd7
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0043b5a0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x208
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0
push 0x50b1a0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x4b9e38
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x4b9e11
cmp eax, 2
je 0x4b9e11
mov ebx, 0xd
jmp 0x4b9e38
test esi, esi
je 0x4b9e36
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b9e31
test al, 1
jne 0x4b9e2a
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4b9e36
mov ebx, 0xd
jmp 0x4b9e38
xor eax, eax
mov word [esi], ax
xor ebx, ebx
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.004d9e5f
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4b9fb9
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax - 8]
jg 0x4b9fb9
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2], dx
test ebx, ebx
jne 0x4b9f2d
call fcn.0043ae40
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4b9fc3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
dec eax
mov byte [ebp - 4], 3
cmp eax, 3
ja case.default.0x4b9e9f
jmp dword [eax*4 + 0x4b9fd0]
push 2
push 0x50b1b4
jmp 0x4b9ebf
push 2
push 0x512798
jmp 0x4b9ebf
push 2
push 0x5127a0
lea ecx, [ebp - 0x14]
call fcn.0043b750
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4b9f0f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jl 0x4b9f0f
push esi
push eax
call fcn.004d9e7e
add esp, 8
test eax, eax
je 0x4b9f0f
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x4b9f0f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
jae 0x4b9fb9
mov eax, dword [ecx]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0043a620
inc dword [ebp - 0x1c]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9f2d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9f4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x18]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9f72
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4b9f8e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], 0
inc ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], ebx
cmp ebx, dword [esi + 4]
jb 0x4b9d00
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.0043a9b0
push 0x80004005
call fcn.0043a9b0
lea ecx, [ecx]
scasd eax, dword es:[edi]
sahf
dec ebx
add byte [edi - 0x59ffb462], ch
sahf
dec ebx
add byte [eax + 0x55004b9e], bh
push ebp