Function at 0x4fbdb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x672fa0
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x40], eax
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
push 0x288
call fcn.004d9470
add esp, 4
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, edi
jne 0x4fbe2c
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x4fc114
mov dword [ebp - 0x28], 0x288
lea ecx, [ebp - 0x28]
push ecx
push esi
call fcn.004fbce0
add esp, 8
cmp eax, 0x6f
jne 0x4fbe5c
push esi
call fcn.005e0865
mov edx, dword [ebp - 0x28]
push edx
call fcn.004d9470
add esp, 8
mov dword [ebp - 0x2c], eax
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004fbce0
add esp, 8
cmp eax, edi
jne 0x4fc0e7
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x1c], esi
jmp 0x4fbe80
cmp dword [ebp - 0x1c], 0
je 0x4fc0e7
mov ecx, 0x14
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xb3
push 0
lea ecx, [ebp + 0x51]
push ecx
call fcn.005dfd60
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp + 0x104], 0
push 0x103
push esi
lea edx, [ebp + 0x105]
push edx
call fcn.005dfd60
add esp, 0x18
mov dword [ebp - 0x44], 0x104
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 4
mov eax, dword [ebp - 0x1c]
add eax, 8
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4fbef0
sub eax, ecx
mov esi, ecx
lea edi, [ebp]
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4fbf00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4fbf20
mov ax, word [0x66da34]
mov word [edi], ax
lea eax, [ebp]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4fbf35
mov ecx, dword [0x64a6a4]
mov dword [eax], ecx
mov edx, dword [0x64a6a8]
mov dword [eax + 4], edx
mov cx, word [0x64a6ac]
mov word [eax + 8], cx
mov dl, byte [0x64a6ae]
mov byte [eax + 0xa], dl
lea eax, [ebp - 0x20]
push eax
mov edi, 1
push edi
push 0
lea ecx, [ebp]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4fc0d7
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp + 0x104]
push eax
push 0
push 0
push str.PnpInstanceID
mov ecx, dword [ebp - 0x20]
push ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x4fc0cd
lea edx, [ebp + 0x104]
push edx
call fcn.004dd6c0
add esp, 4
cmp eax, 3
jbe 0x4fc002
push 3
lea eax, [ebp + 0x104]
push eax
push 0x64a690
call fcn.004dd670
add esp, 0xc
test eax, eax
jne 0x4fc002
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x3c]
push edx
push eax
push eax
push str.DefaultNameResourceId
mov eax, dword [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x4fc03b
xor ebx, ebx
cmp dword [ebp - 0x3c], 0x70b
sete bl
jmp 0x4fc06c
push 4
lea ecx, [ebp + 0x104]
push ecx
push str.ROOT
call fcn.004dd670
add esp, 0xc
test eax, eax
je 0x4fc020
mov ebx, edi
jmp 0x4fc06c
push 0
push str.BRIDGE
lea edx, [ebp + 0x104]
push edx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x4fc03f
mov ebx, edi
jmp 0x4fc06c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push str.MediaSubType
mov edx, dword [ebp - 0x20]
push edx
call esi
test eax, eax
jne 0x4fc06c
mov eax, dword [ebp - 0x38]
cmp eax, 2
je 0x4fc06a
cmp eax, edi
je 0x4fc06a
mov ebx, edi
jmp 0x4fc06c
xor ebx, ebx
push 0x613380
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0x1b0]
push eax
call fcn.004dd620
add esp, 8
test eax, eax
je 0x4fc0cd
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x218]
test eax, eax
je 0x4fc0a9
cmp eax, edi
jne 0x4fc0a0
cmp ebx, edi
je 0x4fc0a9
cmp eax, 2
jne 0x4fc0cd
test ebx, ebx
jne 0x4fc0cd
mov dword [ebp - 0x24], edi
add esi, 0x1ac
mov dword [ebp - 0x48], esi
test esi, esi
je 0x4fc0cd
push edi
push 0x2c
lea ecx, [esi + 4]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.004e5820
mov esi, dword [esi]
jmp 0x4fc0b2
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x2c]
jmp 0x4fbe80
push esi
call fcn.005e0865
add esp, 4
jmp 0x4fc10a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 8