Function at 0x4ea0e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed666
mov eax, dword fs:[0]
push eax
mov eax, 0x29b4
call fcn.0050ed70
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
call fcn.004b4040
mov ecx, eax
test ecx, ecx
je 0x4ea4b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x29a0], eax
mov eax, str.iphlpapi.dll
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x29a0]
test eax, 0xffff0000
jne 0x4ea156
movzx eax, ax
push eax
call fcn.004bd6a0
jmp 0x4ea162
push 0xc
push str.iphlpapi.dll
call fcn.004c0470
lea eax, [ebp - 0x29a0]
mov dword [ebp - 4], 1
push 1
push eax
call fcn.004ea780
mov edx, dword [ebp - 0x29a0]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x29c0], ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4ea1a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x4ea495
push str.GetAdaptersInfo
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ea45f
lea ecx, [ebp - 0x29b8]
mov dword [ebp - 0x29b8], 0x2880
push ecx
lea ecx, [ebp - 0x2994]
push ecx
call eax
test eax, eax
jne 0x4ea45f
mov eax, edi
mov dword [ebp - 0x29b4], 3
lea ecx, [ebp - 0x299c]
sub eax, ecx
lea esi, [ebp - 0x2994]
mov dword [ebp - 0x29bc], eax
nop word [eax + eax]
lea eax, [ebp - 0x29b0]
mov dword [ebp - 0x29a0], 0x104
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 3
mov dword [ebp - 0x29a4], 1
mov dword [ebp - 0x29b0], 0
mov dword [ebp - 0x29ac], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ea3c9
lea eax, [esi + 8]
push eax
push str._sConnection
lea eax, [ebp - 0x114]
push 0x103
push eax
call fcn.004e9b10
add esp, 0x10
lea eax, [ebp - 0x29ac]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x29b0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ea3bd
mov dword [ebp - 0x29a8], eax
lea eax, [ebp - 0x29a0]
push eax
lea eax, [ebp - 0x29a8]
mov dword [ebp - 0x29a4], 4
push eax
lea eax, [ebp - 0x29a4]
mov dword [ebp - 0x29a0], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x29ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ea3b1
push 0x104
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x29a4], 1
push eax
mov dword [ebp - 0x29a0], 0x103
call fcn.0058c8f0
add esp, 0xc
lea eax, [ebp - 0x29a0]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x29a4]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x29ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ea3b1
mov eax, dword [ebp - 0x29a8]
cmp eax, 1
jne 0x4ea3a2
push ebx
lea eax, [ebp - 0x114]
push 0x6061d8
push eax
call fcn.005b16f0
add esp, 0xc
test eax, eax
jne 0x4ea370
xor ebx, ebx
jmp 0x4ea3b1
mov eax, dword [ebp - 0x29a8]
cmp eax, 1
jne 0x4ea3a2
push 3
lea eax, [ebp - 0x114]
push 0x6061d8
push eax
call fcn.005b16f0
add esp, 0xc
test eax, eax
je 0x4ea39c
mov ebx, 2
jmp 0x4ea3b1
mov eax, dword [ebp - 0x29a8]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x29ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x29b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x299c], eax
mov word [ebp - 0x2998], ax
nop word [eax + eax]
mov eax, dword [ebp - 0x29bc]
lea ecx, [ebp - 0x299c]
add ecx, edx
mov al, byte [eax + ecx]
cmp al, byte [ecx]
jne 0x4ea3fd
inc edx
cmp edx, 6
jb 0x4ea3e0
jmp 0x4ea40e
cmp dword [esi + 0x1a0], 6
jne 0x4ea44f
cmp dword [ebp - 0x29b4], ebx
jle 0x4ea44f
movzx eax, byte [esi + 0x194]
mov byte [edi], al
movzx eax, byte [esi + 0x195]
mov byte [edi + 1], al
movzx eax, byte [esi + 0x196]
mov byte [edi + 2], al
movzx eax, byte [esi + 0x197]
mov byte [edi + 3], al
movzx eax, byte [esi + 0x198]
mov byte [edi + 4], al
movzx eax, byte [esi + 0x199]
mov byte [edi + 5], al
mov dword [ebp - 0x29b4], ebx
mov esi, dword [esi]
test esi, esi
jne 0x4ea210
mov ebx, dword [ebp - 0x29c0]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x299c], eax
mov word [ebp - 0x2998], ax
lea eax, [ebp - 0x299c]
sub edi, eax
nop
lea ecx, [ebp - 0x299c]
add ecx, edx
mov al, byte [edi + ecx]
cmp al, byte [ecx]
jne 0x4ea499
inc edx
cmp edx, 6
jb 0x4ea480
xor al, al
jmp 0x4ea49b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004b3510
int3