Function at 0x4bd9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4e7384]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ecx]
xor ebx, ebx
push edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], ebx
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x4bdc47
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov esi, 0x4d5704
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004bc9a7
add esp, 0x20
test eax, eax
jne 0x4bdc47
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp eax, ebx
je 0x4bda4b
push 0x12
push ebx
push ebx
push dword [ebp + 0x10]
call eax
mov dword [ebp - 0x5c], eax
jmp 0x4bda4e
mov dword [ebp - 0x5c], ebx
push dword [ebp - 0x5c]
call fcn.004be943
add esp, 4
test eax, eax
jne 0x4bda69
mov dword [ebp - 0x64], 0x80004005
jmp 0x4bdc47
mov dword [ebp - 0x68], ebx
push 0x1c
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cmp eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], ebx
je 0x4bda9d
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x68]
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x5c]
call eax
jmp 0x4bda9f
xor eax, eax
cmp eax, ebx
je 0x4bdc47
mov esi, 0x20e
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 0x70], ecx
je 0x4bdc40
mov eax, dword [ebp + 8]
mov dword [ecx], 6
mov eax, dword [eax + 0x38]
cmp eax, ebx
je 0x4bdae3
lea edx, [ebp - 0x58]
push edx
push ebx
push esi
push ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x5c]
call eax
jmp 0x4bdae5
xor eax, eax
cmp eax, ebx
je 0x4bdc2e
xor edi, edi
inc edi
cmp dword [ebp + 0x14], edi
jbe 0x4bdb39
mov esi, dword [ebp + 0x10]
add esi, 0x10
cmp eax, ebx
je 0x4bdc2e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x4bdb1d
lea ecx, [ebp - 0x3c]
push ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x5c]
call eax
jmp 0x4bdb1f
xor eax, eax
cmp eax, ebx
je 0x4bdb30
cmp dword [ebp - 0x28], ebx
je 0x4bdb2e
test byte [ebp - 0x28], 4
je 0x4bdb30
xor eax, eax
inc edi
add esi, 0x10
cmp edi, dword [ebp + 0x14]
jb 0x4bdafb
cmp eax, ebx
je 0x4bdc2e
mov eax, dword [ebp + 0xc]
xor esi, esi
xor edi, edi
dec eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x6c], edi
jne 0x4bdb89
push 0xab8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x4bdb75
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x70]
add ecx, 4
push ecx
call fcn.004bd307
mov edi, dword [ebp - 0x6c]
jmp 0x4bdb77
xor eax, eax
cmp eax, ebx
mov esi, eax
mov dword [ebp - 0x60], esi
jne 0x4bdb85
mov edi, 0x8007000e
cmp edi, ebx
jl 0x4bdbf2
cmp dword [ebp + 0x1c], ebx
jne 0x4bdb98
cmp dword [ebp + 0x18], ebx
jne 0x4bdb98
cmp dword [ebp + 0x20], ebx
je 0x4bdbc5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp + 0x1c], ebx
mov edi, eax
je 0x4bdbb3
cmp edi, ebx
jl 0x4bdbb3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edi, eax
cmp dword [ebp + 0x18], ebx
je 0x4bdbc5
cmp edi, ebx
jl 0x4bdbf2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x4bdbf2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x60]
push eax
lea eax, [edi + 4]
call fcn.0043386f
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x4bdc00
push 0x20019
push ebx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x5c]
call eax
mov edi, eax
jmp 0x4bdc02
cmp esi, ebx
je 0x4bdc2e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4bdc2e
xor edi, edi
cmp edi, 0xffffffff
je 0x4bdc2e
lea eax, [ebp - 0x60]
push eax
add esi, 0xc
push esi
lea eax, [ebp - 0x74]
push eax
push ebx
push str.FriendlyName
push edi
mov dword [ebp - 0x60], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call dword [sym.imp.MSVCRT.dll_free]
inc dword [ebp - 0x68]
pop ecx
jmp 0x4bda6c
mov dword [ebp - 0x64], 0x8007000e
cmp dword [ebp - 0x5c], ebx
je 0x4bdc5b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x4bdc5b
push dword [ebp - 0x5c]
call eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], ebx
jne 0x4bdc6a
mov dword [ebp - 0x64], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
call fcn.004c2215
pop edi
pop esi
pop ebx
leave
ret 0x1c