Function at 0x4efea8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x4efeb1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004055d4
mov eax, dword [ebp - 0xc]
call fcn.004055d4
xor eax, eax
push ebp
push 0x4f074f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41fc0c]
call fcn.004042a4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4f06fa
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
call fcn.0047a760
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4f06e4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f06e4
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
call fcn.0047a8a8
and eax, 0x7f
cmp eax, 8
ja case.0x4eff5e.2
jmp dword [eax*4 + 0x4eff65]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
push eax
push 0x53
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov eax, dword [ebp + 0xc]
call fcn.0047a904
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
jmp case.0x4eff5e.2
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x40]
push eax
push 0x45
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov eax, dword [ebp + 0xc]
call fcn.0047a904
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
jmp case.0x4eff5e.2
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x4c]
push eax
push 0x49
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 0xc]
call fcn.0047a99c
lea edx, [ebp - 0x50]
call fcn.0040c540
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
jmp case.0x4eff5e.2
lea eax, [ebp - 0x1c]
call fcn.00405124
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.004055e4
push eax
mov eax, dword [ebp + 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4f017b
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x58]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4f016d
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
call fcn.00405770
cmp dword [ebp - 0x24], 7
jne 0x4f016d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
call fcn.0040563c
push eax
lea eax, [ebp - 0x24]
push eax
push 0
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4f016d
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jle 0x4f0143
mov esi, 1
mov eax, dword [ebp - 0x1c]
cmp byte [eax + esi - 1], 0
jne 0x4f013f
lea eax, [ebp - 0x1c]
call fcn.0040563c
mov byte [eax + esi - 1], 0xff
inc esi
dec ebx
jne 0x4f0128
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
push eax
push 0x4d
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp case.0x4eff5e.2
lea eax, [ebp - 0x1c]
call fcn.00405124
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.004053e4
mov ecx, eax
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00405644
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.004055e4
push eax
mov eax, dword [ebp + 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne case.0x4eff5e.2
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4f02a4
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
call fcn.00405770
cmp dword [ebp - 0x24], 7
jne 0x4f02a4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
call fcn.0040563c
push eax
lea eax, [ebp - 0x24]
push eax
push 0
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x68]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4f02a4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jle 0x4f026a
mov esi, 1
mov eax, dword [ebp - 0x1c]
cmp byte [eax + esi - 1], 0
jne 0x4f0266
lea eax, [ebp - 0x1c]
call fcn.0040563c
mov byte [eax + esi - 1], 0xff
inc esi
dec ebx
jne 0x4f024f
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x4f0768
call fcn.00405430
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x6c]
push eax
push 0x4d
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp case.0x4eff5e.2
xor eax, eax
push ebp
push 0x4f03a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp + 0xc]
call fcn.0047a87c
mov ebx, eax
push ebx
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4efe84]
call fcn.00406778
add esp, 4
push ebx
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call fcn.0047a9e0
lea eax, [ebp - 0x1c]
call fcn.00405124
cmp ebx, 0x8000
jge 0x4f0394
dec ebx
test ebx, ebx
jl 0x4f0364
inc ebx
xor esi, esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, 0x4f0774
call fcn.0040ddc0
push dword [ebp - 0x78]
push 0x4f0784
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004054a4
inc esi
dec ebx
jne 0x4f0327
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x84]
push eax
push 0x55
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4eff5e.2
xor eax, eax
push ebp
push 0x4f04b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
call fcn.0047a87c
mov ebx, eax
push ebx
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4efe84]
call fcn.00406778
add esp, 4
push ebx
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call fcn.0047a9e0
lea eax, [ebp - 0x1c]
call fcn.00405124
cmp ebx, 0x8000
jge 0x4f04a4
dec ebx
test ebx, ebx
jl 0x4f0474
inc ebx
xor esi, esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, 0x4f0774
call fcn.0040ddc0
push dword [ebp - 0x90]
push 0x4f0784
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004054a4
inc esi
dec ebx
jne 0x4f0431
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x94]
push eax
push 0x42
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4eff5e.2
xor eax, eax
push ebp
push 0x4f05c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp + 0xc]
call fcn.0047a87c
mov ebx, eax
push ebx
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4efe84]
call fcn.00406778
add esp, 4
push ebx
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call fcn.0047a9e0
lea eax, [ebp - 0x1c]
call fcn.00405124
cmp ebx, 0x8000
jge 0x4f05b4
dec ebx
test ebx, ebx
jl 0x4f0584
inc ebx
xor esi, esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, 0x4f0774
call fcn.0040ddc0
push dword [ebp - 0xa0]
push 0x4f0784
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004054a4
inc esi
dec ebx
jne 0x4f0541
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xa4]
push eax
push 0x52
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4eff5e.2
xor eax, eax
push ebp
push 0x4f06ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp + 0xc]
call fcn.0047a87c
mov ebx, eax
push ebx
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4efe84]
call fcn.00406778
add esp, 4
push ebx
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call fcn.0047a9e0
lea eax, [ebp - 0x1c]
call fcn.00405124
cmp ebx, 0x8000
jge 0x4f06c4
dec ebx
test ebx, ebx
jl 0x4f0694
inc ebx
xor esi, esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, 0x4f0774
call fcn.0040ddc0
push dword [ebp - 0xb0]
push 0x4f0784
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004054a4
inc esi
dec ebx
jne 0x4f0651
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xb4]
push eax
push 0x4c
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4eff5e.2
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x4eff39
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0701
mov eax, dword [ebp - 0x10]
call fcn.004042d4
ret