Function at 0x4fdeb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d74
xor eax, eax
push ebp
push 0x4fe1ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4fe195
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
call fcn.004fd8a8
xor ebx, ebx
push dword [0x510ea0]
lea eax, [ebp - 0x48]
push eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, 0x4fe204
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
xor eax, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov dword [ebp - 0x50], 0x12
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x68]
mov ecx, 3
mov eax, 0x4fe214
call fcn.0040a7d8
push dword [ebp - 0x48]
push 0x4fe22c
mov eax, 0x510ea0
mov edx, 3
call fcn.00404c44
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.004fd944
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x510e9c]
call fcn.0043b7dc
test al, al
je 0x4fe182
lea edx, [ebp - 0x44]
mov eax, dword [0x510e9c]
call fcn.0043bb2c
test al, al
je 0x4fe182
mov esi, dword [ebp - 0x3c]
dec esi
test esi, esi
jl 0x4fe182
inc esi
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x24]
call fcn.00404f10
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x4fde90]
call fcn.00405ffc
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d84
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x510e9c]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x24]
call fcn.00404f10
cmp dword [ebp - 0xc], 0
jne 0x4fe03e
test bl, bl
jne 0x4fe03e
lea edx, [ebp - 0x14]
mov eax, dword [0x50eadc]
call fcn.00406cb4
mov bl, 1
jmp 0x4fe049
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0040495c
mov eax, dword [ebp - 0x20]
sub eax, 1
jb 0x4fe0dd
sub eax, 2
jb 0x4fe066
dec eax
je 0x4fe0a8
sub eax, 3
jne 0x4fe0f1
cmp dword [ebp - 0x20], 7
jne 0x4fe08b
mov edx, dword [ebp - 0x28]
dec edx
test edx, edx
jl 0x4fe08b
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + eax], 0
jne 0x4fe087
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + eax], 0x20
inc eax
dec edx
jne 0x4fe077
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.00404abc
mov edi, 0x12
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.0040495c
jmp 0x4fe10f
mov edi, 0x13
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x7c]
mov ecx, 1
mov eax, 0x4fe238
call fcn.0040a7d8
jmp 0x4fe10f
mov edi, 0x12
lea edx, [ebp - 0x18]
mov eax, dword [0x50ed88]
call fcn.00406cb4
jmp 0x4fe10f
mov edi, 0x13
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405e48
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.004fdcec
push dword [0x510ea0]
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x20]
call fcn.004fde50
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x68]
mov ecx, 3
mov eax, 0x4fe214
call fcn.0040a7d8
push dword [ebp - 0x80]
push 0x4fe22c
mov eax, 0x510ea0
mov edx, 3
call fcn.00404c44
inc dword [ebp - 8]
dec esi
jne 0x4fdfb3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe19c
call fcn.004fdcc4
ret