Function at 0x4d42c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x516ad4]
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 0x4d452a
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, 0x501dd0
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.004d32a6
add esp, 0x20
test eax, eax
jne 0x4d452a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp eax, ebx
je 0x4d432e
push 0x12
push ebx
push ebx
push dword [ebp + 0x10]
call eax
mov dword [ebp - 0x5c], eax
jmp 0x4d4331
mov dword [ebp - 0x5c], ebx
push dword [ebp - 0x5c]
call fcn.004d52c5
add esp, 4
test eax, eax
jne 0x4d434c
mov dword [ebp - 0x64], 0x80004005
jmp 0x4d452a
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 0x4d4380
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x68]
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x5c]
call eax
jmp 0x4d4382
xor eax, eax
cmp eax, ebx
je 0x4d452a
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 0x4d4523
mov eax, dword [ebp + 8]
mov dword [ecx], 6
mov eax, dword [eax + 0x38]
cmp eax, ebx
je 0x4d43c6
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 0x4d43c8
xor eax, eax
cmp eax, ebx
je 0x4d4511
xor edi, edi
inc edi
cmp dword [ebp + 0x14], edi
jbe 0x4d441c
mov esi, dword [ebp + 0x10]
add esi, 0x10
cmp eax, ebx
je 0x4d4511
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x4d4400
lea ecx, [ebp - 0x3c]
push ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x5c]
call eax
jmp 0x4d4402
xor eax, eax
cmp eax, ebx
je 0x4d4413
cmp dword [ebp - 0x28], ebx
je 0x4d4411
test byte [ebp - 0x28], 4
je 0x4d4413
xor eax, eax
inc edi
add esi, 0x10
cmp edi, dword [ebp + 0x14]
jb 0x4d43de
cmp eax, ebx
je 0x4d4511
mov eax, dword [ebp + 0xc]
xor esi, esi
xor edi, edi
dec eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x6c], edi
jne 0x4d446c
push 0xab8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x4d4458
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x70]
add ecx, 4
push ecx
call fcn.004d3bea
mov edi, dword [ebp - 0x6c]
jmp 0x4d445a
xor eax, eax
cmp eax, ebx
mov esi, eax
mov dword [ebp - 0x60], esi
jne 0x4d4468
mov edi, 0x8007000e
cmp edi, ebx
jl 0x4d44d5
cmp dword [ebp + 0x1c], ebx
jne 0x4d447b
cmp dword [ebp + 0x18], ebx
jne 0x4d447b
cmp dword [ebp + 0x20], ebx
je 0x4d44a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp + 0x1c], ebx
mov edi, eax
je 0x4d4496
cmp edi, ebx
jl 0x4d4496
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edi, eax
cmp dword [ebp + 0x18], ebx
je 0x4d44a8
cmp edi, ebx
jl 0x4d44d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x4d44d5
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x60]
push eax
lea eax, [edi + 4]
call fcn.004c7887
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x4d44e3
push 0x20019
push ebx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x5c]
call eax
mov edi, eax
jmp 0x4d44e5
cmp esi, ebx
je 0x4d4511
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4d4511
xor edi, edi
cmp edi, 0xffffffff
je 0x4d4511
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 0x4d434f
mov dword [ebp - 0x64], 0x8007000e
cmp dword [ebp - 0x5c], ebx
je 0x4d453e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x4d453e
push dword [ebp - 0x5c]
call eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], ebx
jne 0x4d454d
mov dword [ebp - 0x64], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
call fcn.004eae3c
pop edi
pop esi
pop ebx
leave
ret 0x1c