Function at 0x4e6260
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x568692
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5d86f0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x5d86f0]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [0x5de1e0]
test al, 1
jne 0x4e62da
or eax, 1
mov dword [0x5de214], 7
mov dword [0x5de1e0], eax
xor eax, eax
push 0x56fc90
mov dword [0x5de210], 0
mov word [0x5de200], ax
call fcn.0054221a
add esp, 4
push 0x288
mov dword [esp + 0x34], 0x288
call fcn.0054170e
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
add esp, 4
mov edi, eax
lea eax, [esp + 0x30]
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x4e631e
push edi
call fcn.0054257f
push dword [esp + 0x34]
call fcn.0054170e
add esp, 8
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x4e6322
mov dword [esp + 0x10], edi
lea eax, [esp + 0x30]
push eax
push edi
call esi
test eax, eax
jne 0x4e6717
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
xorps xmm0, xmm0
mov dword [esp + 0x1b8], eax
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.004ece60
mov dword [esp + 0x34], eax
mov byte [esp + 0x1b8], 1
cmp dword [edi + 0x1a0], 6
jne 0x4e66b1
push 0
push 0x5c057c
mov ecx, 0x5de200
call fcn.004e8990
mov eax, dword [edi + 0x190]
xor esi, esi
test eax, eax
jle 0x4e6441
xor ecx, ecx
dec eax
xor edx, edx
mov word [esp + 0x8c], cx
cmp esi, eax
mov dword [esp + 0x96], ecx
movzx eax, byte [edi + esi + 0x194]
xorps xmm0, xmm0
mov word [esp + 0x9a], cx
mov ecx, 0x2d
cmove ecx, edx
movq qword [esp + 0x8e], xmm0
push ecx
push eax
push 0x5c08cc
lea eax, [esp + 0x98]
push 8
push eax
call fcn.00545cbb
add esp, 0x14
cmp word [esp + 0x8c], 0
jne 0x4e6402
xor eax, eax
jmp 0x4e641f
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6410
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
mov ecx, 0x5de200
push eax
call fcn.004eb9d0
mov eax, dword [edi + 0x190]
inc esi
cmp esi, eax
jl 0x4e63a0
push 0xc
xor eax, eax
mov dword [esp + 0x5c], 7
push str.000000000000
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.004e8990
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0x14]
push dword [esp + 0x54]
mov ecx, 0x5de200
push 0
push eax
call fcn.004e8bc0
mov byte [esp + 0x1b8], 3
lea ecx, [esp + 0x44]
cmp dword [esp + 0x58], 8
push dword [esp + 0x54]
cmovae ecx, dword [esp + 0x48]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.004eace0
test eax, eax
mov byte [esp + 0x1b8], 2
setne bl
cmp dword [esp + 0x28], 8
jb 0x4e64cc
push dword [esp + 0x14]
call fcn.00541faa
add esp, 4
test bl, bl
je 0x4e6696
push 0x50
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.004e8060
lea esi, [edi + 8]
mov byte [esp + 0x1b8], 4
cmp byte [esi], 0
jne 0x4e650d
xor ecx, ecx
jmp 0x4e651b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6512
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x64]
call fcn.004e9cb0
push 0xb
push str.Connection
lea ecx, [esp + 0x64]
call fcn.004e9cb0
push 0x103
lea eax, [esp + 0xa1]
mov dword [esp + 0x30], 0
push 0
push eax
mov dword [esp + 0x48], 0
mov byte [esp + 0xa8], 0
call fcn.005443d0
add esp, 0xc
mov dword [esp + 0x40], 0x104
cmp dword [esp + 0x70], 0x10
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e6671
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push str.PnPInstanceId
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e6671
push 3
lea eax, [esp + 0xa0]
push 0x5c0968
push eax
call fcn.0054726d
add esp, 0xc
test eax, eax
je 0x4e65fc
push 3
lea eax, [esp + 0xa0]
push 0x5c096c
push eax
call fcn.0054726d
add esp, 0xc
test eax, eax
jne 0x4e6671
cmp byte [esi], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x4e661a
xor ecx, ecx
jmp 0x4e6629
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6620
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004e8060
lea eax, [esp + 0x14]
mov byte [esp + 0x1b8], 5
push eax
lea ecx, [esp + 0x38]
call fcn.004e9110
lea ecx, [esp + 0x74]
cmp eax, ecx
je 0x4e665e
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004eaa20
cmp dword [esp + 0x28], 0x10
jb 0x4e6671
push dword [esp + 0x14]
call fcn.00541faa
add esp, 4
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x2c], 0
jb 0x4e6696
push dword [esp + 0x5c]
call fcn.00541faa
add esp, 4
mov byte [esp + 0x1b8], 1
cmp dword [esp + 0x58], 8
jb 0x4e66b1
push dword [esp + 0x44]
call fcn.00541faa
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x4e6372
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x38], edi
je 0x4e66e4
mov ecx, dword [eax]
add ecx, 0x28
cmp ecx, 0x5de200
je 0x4e66e4
push 0xffffffffffffffff
push edi
push ecx
mov ecx, 0x5de200
call fcn.004eaa20
mov eax, dword [esp + 0x34]
push eax
push dword [eax]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
call fcn.004ec080
push dword [esp + 0x34]
call fcn.00541faa
add esp, 4
cmp dword [esp + 0x88], 8
jb 0x4e6717
push dword [esp + 0x74]
call fcn.00541faa
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e6728
push eax
call fcn.00541faa
add esp, 4
mov eax, 0x5de200
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0054546b
mov esp, ebp
pop ebp
ret